 /* ===== 推荐产品 ===== */
 .royal-rec-products {
     overflow: hidden;
     border: 1px solid #e8e8e8;
     border-radius: .5rem;
     -webkit-box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.03);
     box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.03);
     margin: 4rem 0;
 }

 .royal-rec-products li {
     padding: 0 1rem;
     overflow: hidden;
 }

 .royal-rec-products li:last-child .royal-rec-products-item {
     border: none;
 }

 .royal-rec-products-item {
     padding: 1.5rem 0;
     border-bottom: 1px solid #e8e8e8;
     overflow: hidden;
 }

 .royal-rec-products-info {
     padding-left: 1.5rem;
 }

 .royal-rec-products-info h3 {
     font-size: 1.4rem;
     font-weight: 400;
     height: 4.2rem;
     overflow: hidden;
 }

 /* ===== 产品列表网格 ===== */
 .royal-product-list-section {

     overflow: hidden;
     padding: 4rem 0;
 }

 .royal-product-list {
     overflow: hidden;
     margin-right: -1rem;
 }

 .royal-list-product-item {
     padding: 1rem;
 }

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

 .royal-list-product-card {
     overflow: hidden;
     border-radius: .5rem;
     border: 1px solid #f4f4f4;
     background-color: #fff;
     position: relative;
     box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.02);
     transition: all ease-in-out .5s;
     padding: 2rem;
 }

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



 .royal-list-product-info {
     padding: 2rem 0 0;
     overflow: hidden;
 }

 .royal-list-product-info h3 {
     font-size: 1.6rem;
     position: relative;
     height: 4.8rem;
     overflow: hidden;
 }

 /* ===== 商品详情页样式 ===== */
 .royal-product-detail-section {
     padding: 8rem 0 8rem;
     overflow: hidden;
 }

 .royal-product-detil-content {
     padding: 1rem 0 1rem 1rem;
 }

 .royal-product-detail-intro {
     overflow: hidden;
     padding: 2rem 0;
 }

 .royal-product-detail-info {
     overflow: hidden;
     padding-left: 4rem;
 }

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

 .royal-product-detail-info-title {
     font-size: 2rem;
     font-weight: 900;
     text-transform: uppercase;
     color: #007dc2;
 }

 .royal-product-detail-desc {
     color: #888;
     line-height: 1.8;
     font-size: 1.6rem;
     overflow: hidden;
     margin: 2rem 0 4rem;
 }

 /* 放大镜 */
 .royal-zoomdiv {
     z-index: 9;
     position: absolute;
     top: 2rem;
     left: 2rem;
     width: 20rem;
     height: 20rem;
     background: #ffffff;
     border: 1px solid #e8e8e8;
     display: none;
     text-align: center;
     overflow: hidden;
     border-radius: 0.5rem;
 }

 .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;

 }

 /* ===== 主图轮播区域 ===== */
 .royal-product-detail-swiper-main {
     width: 100%;
     overflow: hidden;
     position: relative;
     border: 1px solid #e8e8e8;
     background: #fff;
     margin-bottom: 1rem;
     border-radius: 0.5rem;
 }

 /* 图片容器 - 垂直居中显示 */
 .royal-product-detail-image-wrapper {
     text-align: center;
     background: #f4f4f4;
     min-height: 300px;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
 }

 /* 主图样式 */
 .royal-product-detail-image {
     max-width: 100%;
     max-height: 400px;
     -o-object-fit: contain;
     /* Opera/IE 边缘 */
     object-fit: contain;
     cursor: pointer;
     -webkit-transition: -webkit-transform 0.2s ease;
     transition: -webkit-transform 0.2s ease;
     -o-transition: transform 0.2s ease;
     transition: transform 0.2s ease;
     transition: transform 0.2s ease, -webkit-transform 0.2s ease;
 }


 /* ===== 缩略图轮播 ===== */
 .royal-product-detail-swiper-thumbs {
     overflow: hidden;
     padding: 0.5rem 0;
 }

 /* 缩略图容器 */
 .royal-product-detail-thumb-wrapper {
     border: 1px solid #e8e8e8;
     border-radius: 0.2rem;
     cursor: pointer;
     height: 8rem;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
     background: #fff;
 }

 /* 当前激活的缩略图 */
 .swiper-slide-active .royal-product-detail-thumb-wrapper {
     border-color: #007dc2;
     border-width: 0.2rem;
     overflow: hidden;
 }

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

 /* ===== 详情内容区域 ===== */
 .royal-product-detail-content {
     overflow: hidden;
     margin: 4rem 0;
 }

 .royal-product-detail-content-title {
     padding-bottom: 2rem;
     margin-bottom: 4rem;
     border-bottom: 1px solid #e8e8e8;
     font-size: 2rem;
     font-weight: 900;
     text-transform: uppercase;
     color: #007dc2;
 }

 .royal-product-detail-content-title span {
     position: relative;
     padding-bottom: 2.6rem;
 }

 .royal-product-detail-content-title span::after {
     width: 100%;
     height: 0.5rem;
     background: #007dc2;
     left: 0;
     bottom: 0;
     position: absolute;
     content: '';
     border-radius: 0.5rem;
 }

 .royal-product-detail-content h3 {
     font-size: 2rem;
     margin: 2rem 0;
     color: #007dc2;
 }

 .royal-product-detail-content-info {
     line-height: 1.8;
     overflow-x: auto;
     /* 小屏表格横向滚动 */
 }

 .royal-product-detail-content-info table {
     width: 100%;
     border-collapse: collapse;
     /* 合并边框 */
 }

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

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

 /* ===== 移动端适配 ===== */
 @media (max-width: 640px) {

     /* 列表页 */
     .royal-product-list-section {
         padding: 2rem 0;
     }

     .royal-product-list {
         margin: 0 -1rem;
         padding: 1rem 0;
     }

     /* 详情页 */
     .royal-product-detail-section {
         padding: 2rem 0;
     }

     .royal-product-detil-content {
         padding: 2rem 0 0;
     }

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

     .royal-product-detail-info {
         padding: 2rem 0;
     }

     .royal-product-detail-desc {
         margin: 1rem 0 2rem;
     }

     .royal-product-detail-content {
         margin: 2rem 0 0;
     }
 }