﻿/* 商品详情页面样式 - 优化版本 */

/* 主容器 */
.pinfo-container {
    width: 1920px;
    min-height: 100vh;
    color: #242424;
    font-family: Arial, sans-serif;
}

.pinfo-wrapper {
    width: 1200px;
    margin: 0 auto;
}

/* 商品主要信息区域 */
.pinfo-main {
    display: flex;
    gap: 72px;
    padding: 76px 0;
}

/* 商品图片区域 */
.pinfo-images {
    display: flex;
    gap: 23px;
}

.pinfo-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 613px; /* 限制最大高度为主图高度 */
    overflow-y: auto; /* 超出时显示滚动条 */
    overflow-x: hidden; /* 隐藏水平滚动条 */
    scrollbar-width: thin; /* Firefox滚动条样式 */
    scrollbar-color: #105E8C #f0f0f0; /* Firefox滚动条颜色 */
}

/* Webkit浏览器滚动条样式 */
.pinfo-thumbnails::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.pinfo-thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.pinfo-thumbnails::-webkit-scrollbar-thumb {
    background: #105E8C;
    border-radius: 3px;
}

.pinfo-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #0d4f73;
}

.pinfo-thumbnail {
    width: 115px;
    height: 115px;
    cursor: pointer;
    flex-shrink: 0; /* 防止缩略图被压缩 */
}

.pinfo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pinfo-main-image {
    width: 609px;
    height: 613px;
    position: relative;
}

/* 商品图片轮播图专用样式 */
.pinfo-image-swiper {
    width: 100%;
    position: relative;
    overflow: hidden; /* 确保遮罩层不会超出容器 */
    touch-action: pan-y; /* 允许垂直滚动，但限制水平触摸手势 */
    border-radius: 8px; /* 添加圆角效果 */
}

.pinfo-image-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.pinfo-image-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pinfo-image-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 改为cover使图片填充满容器并尽可能放大 */
    object-position: center; /* 确保图片居中显示 */
    display: block;
}

/* 分页器样式 */
.pinfo-image-swiper .pinfo-swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pinfo-image-swiper .pinfo-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.pinfo-image-swiper .pinfo-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #105E8C;
    transform: scale(1.2);
}

/* 前进后退按钮样式 */
.pinfo-image-swiper .pinfo-swiper-button-next,
.pinfo-image-swiper .pinfo-swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30; /* 确保高于遮罩层 */
    transition: all 0.3s;
    opacity: 0;
}

.pinfo-image-swiper:hover .pinfo-swiper-button-next,
.pinfo-image-swiper:hover .pinfo-swiper-button-prev {
    opacity: 1;
}

.pinfo-image-swiper .pinfo-swiper-button-next:hover,
.pinfo-image-swiper .pinfo-swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pinfo-image-swiper .pinfo-swiper-button-next {
    right: 15px;
}

.pinfo-image-swiper .pinfo-swiper-button-prev {
    left: 15px;
}

.pinfo-image-swiper .pinfo-swiper-button-next i,
.pinfo-image-swiper .pinfo-swiper-button-prev i {
    color: #105E8C;
    font-size: 16px;
}

/* 缩略图点击激活样式 */
.pinfo-thumbnail.active {
    border: 2px solid #105E8C;
    box-shadow: 0 0 8px rgba(16, 94, 140, 0.3);
}

.pinfo-thumbnail {
    transition: all 0.3s;
    cursor: pointer;
}

.pinfo-thumbnail:hover {
    opacity: 0.8;
}

/* 放大镜效果样式 */
.pinfo-magnifier-mask {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid #105E8C;
    border-radius: 50%;
    cursor: crosshair;
    display: none;
    pointer-events: none;
    z-index: 25;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px); /* Safari兼容 */
}

.pinfo-magnifier-viewer {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 3px solid #105E8C;
    border-radius: 20px; /* 增加圆角效果 */
    background-color: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    z-index: 35;
    left: 630px; /* 放置在主图右侧 */
    top: 0;
    pointer-events: none; /* 确保不会阻挡其他交互 */
}

.pinfo-magnifier-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.pinfo-magnifier-image {
    position: absolute;
    object-fit: contain; /* 改为contain确保图片完整显示 */
    object-position: top left; /* 确保图片从左上角开始显示 */
    transition: none;
    transform-origin: top left;
    /* 尺寸将通过JavaScript动态设置 */
}

/* 当鼠标悬浮在轮播图上时显示放大镜 */
.pinfo-image-swiper:hover .pinfo-magnifier-mask {
    display: block;
}

.pinfo-image-swiper:hover .pinfo-magnifier-viewer {
    display: block;
}

/* 确保主图容器有足够空间放置放大镜 */
.pinfo-main-image {
    width: 609px;
    height: 613px;
    position: relative;
}

/* 商品信息区域 */
.pinfo-details {
    flex: 1;
    max-width: 381px;

}

.pinfo-title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #126495;
}

.pinfo-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pinfo-reviews {
    font-size: 16px;
    text-decoration: underline;
    margin-bottom: 20px;
    cursor: pointer;
}

.pinfo-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #B5B5B5;
}

.pinfo-current-price {
    color: #BB0000;
    font-size: 18px;
    font-weight: bold;
}

.pinfo-original-price {
    text-decoration: line-through;
    font-size: 18px;
    color: #666;
}

.pinfo-favorite {
    margin-left: auto;
    cursor: pointer;
}

/* 规格选择 */
.pinfo-specs-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 18px;
}

.pinfo-specs-container {
    margin-bottom: 31px;
}

/* SKU轮播图专用样式 */
.pinfo-specs-swiper {
    width: 100%;
    overflow: hidden;
}

.pinfo-specs-swiper .swiper-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.pinfo-specs {
    display: flex;
}

.pinfo-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 168px;
    flex-shrink: 0;
}

/* 最后一个元素不需要右边距 */
.pinfo-spec-item:last-child {
    margin-right: 0;
}

.pinfo-spec-image {
    width: 168px;
    height: 194px;
    margin-bottom: 10px;
    background-position: center;
    background-size: contain;
}

.pinfo-spec-name {
    font-size: 14px;
    margin-bottom: 8px;
}

.pinfo-quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #105E8C;
    border-radius: 43px;
    width: 90px;
    height: 28px;
}

.pinfo-quantity-btn {
    width: 32px;
    height: 28px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    color: #105E8C;
    font-weight: bold;
    outline: none;
}

.pinfo-quantity-btn:focus,
.pinfo-quantity-btn:active {
    outline: none !important;
    box-shadow: none;
}

.pinfo-quantity-btn:hover {
    background-color: rgba(16, 94, 140, 0.1);
}

.pinfo-quantity-btn:active,
.pinfo-quantity-btn.clicked {
    background-color: rgba(16, 94, 140, 0.2);
    transform: scale(0.95);
}

.pinfo-quantity-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pinfo-quantity-input {
    width: 24px;
    text-align: center;
    border: none;
    font-size: 17px;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

/* 隐藏Chrome、Safari、Edge等WebKit浏览器的数字输入框spinner */
.pinfo-quantity-input::-webkit-outer-spin-button,
.pinfo-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 隐藏Firefox浏览器的数字输入框spinner */
.pinfo-quantity-input[type=number] {
    -moz-appearance: textfield;
}

.pinfo-quantity-input:focus {
    background-color: rgba(16, 94, 140, 0.05);
}

/* 星级评分/导航控制 */
.pinfo-rating {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 20px;
    align-items: center;
}

.pinfo-star {
    cursor: pointer;
    transition: opacity 0.3s, color 0.3s, transform 0.3s;
    font-size: 16px;
    color: #999;
}

.pinfo-star:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.pinfo-star-prev,
.pinfo-star-next {
    opacity: 0.8;
    font-size: 25px;
}

.pinfo-star-prev:hover,
.pinfo-star-next:hover {
    opacity: 1;
}

/* 页码指示器样式 */
.pinfo-star-page {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    color: #999;
    font-size: 16px;
}

.pinfo-star-page:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #105E8C;
}

.pinfo-star-page.active {
    opacity: 1;
    transform: scale(1.05);
    color: #105E8C;
}

.pinfo-star-page.clicked {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

/* 当到达边界时，禁用对应的导航按钮 */
.pinfo-star-prev.disabled,
.pinfo-star-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pinfo-star-prev.disabled:hover,
.pinfo-star-next.disabled:hover {
    opacity: 0.3;
}

/* 购买按钮 */
.pinfo-add-to-cart {
    width: 100%;
    height: 44px;
    background-color: #105E8C;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    outline: none;
}

.pinfo-add-to-cart:focus,
.pinfo-add-to-cart:active {
    outline: none !important;
    box-shadow: 0 4px 8px rgba(16, 94, 140, 0.3);
}

.pinfo-add-to-cart:hover {
    background-color: #0d4f73;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 94, 140, 0.3);
}

.pinfo-add-to-cart.success {
    background-color: #28a745;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 标签页导航 */
.pinfo-tabs {
    padding: 78px 0 0;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 100;
}

.pinfo-tab-nav {
    display: flex;
    border-top: 1px solid #105E8C;
    border-bottom: 1px solid #105E8C;
}

.pinfo-tab-item {
    flex: 1;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    background-color: white;
    position: relative;
}


/* 右边框 */
.pinfo-tab-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: #105E8C;
}

/* 第一个元素不需要左边框 */
.pinfo-tab-item:first-child::after {
   width: 0;
}

.pinfo-tab-item:last-child::after {
    width: 0;
 }

.pinfo-tab-item:last-child {
    /* 移除之前的样式 */
}

.pinfo-tab-item.active {
    background-color: #105E8C;
    color: #F9F9F9;
    border-color: #105E8C;
    z-index: 1;
    border-radius: 0 30px;
}

/* 激活状态的边框颜色调整 */
.pinfo-tab-item.active::before,
.pinfo-tab-item.active::after {
    width:0;
}

.pinfo-tab-item:hover:not(.active) {
    background-color: #f0f0f0;
}

/* 内容区域 */
.pinfo-section {
    padding: 38px 0 50px;
}

.pinfo-section-title {
    color: #105E8C;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* 商品视频区域 */
.pinfo-videos-container {
    margin-bottom: 68px;
    width: 100%;
    overflow: hidden; /* 防止内容溢出 */
    position: relative; /* 为子元素定位提供参考 */
}

/* 视频轮播图专用样式 */
.pinfo-videos-swiper {
    width: 100%;
    overflow: hidden;
    transform-origin: center top; /* 设置缩放的原点为上方中心 */
    transition: transform 0.3s ease; /* 平滑过渡效果 */
    position: relative; /* 确保变换效果正确应用 */
}

.pinfo-videos-swiper .swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out;
}

.pinfo-videos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.pinfo-video-item {
    min-height: 297px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background-position: center;
    background-size: cover;
    margin-right: 70px; /* 固定间距，对应大屏幕配置 */
}

.pinfo-video-item:hover {
    background-color: #e0e0e0;
    transform: scale(1.02);
}

.pinfo-video-item:last-child {
    margin-right: 0;
}

.pinfo-video-thumb {
    width: 60px;
    height: 60px;
}

/* 视频分页器样式 */
.pinfo-video-pagination {
    display: flex;
    justify-content: center;
    gap: 45px;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    align-items: center;
    width: 100%;
    position: relative;
}

.pinfo-video-pagination-star {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    color: #999;
    font-size: 16px;
}

.pinfo-video-pagination-star:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #105E8C;
}

.pinfo-video-pagination-star.active {
    opacity: 1;
    transform: scale(1.05);
    color: #105E8C;
}

.pinfo-video-pagination-star.clicked {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

/* 视频轮播图导航按钮状态 */
.pinfo-video-pagination-btn-prev,
.pinfo-video-pagination-btn-next {
    opacity: 0.8;
}

.pinfo-video-pagination-btn-prev:hover,
.pinfo-video-pagination-btn-next:hover {
    opacity: 1;
}

.pinfo-video-pagination-btn-prev.disabled,
.pinfo-video-pagination-btn-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pinfo-video-pagination-btn-prev.disabled:hover,
.pinfo-video-pagination-btn-next.disabled:hover {
    opacity: 0.3;
}

/* 商品参数 */
.pinfo-params {
    width: 100%;
    border-collapse: collapse;
    margin: 60px 0;
}

.pinfo-param-row {
    border-bottom: 1px solid #e0e0e0;
}

.pinfo-param-row:last-child {
}

.pinfo-param-item {
    padding: 20px 15px;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.pinfo-param-item:last-child {
    border-right: none;
}

.pinfo-param-item span {
    color: #105E8C;
}

/* 商品详情图片 */
.pinfo-detail-image {
    text-align: center;
    padding: 67px 0;
}

.pinfo-detail-image img {
    width: 100%;
    height: auto;
}

.rating {
    overflow: hidden;
    display: inline-block;
    position: relative;
    font-size: 14px;
    color: #105E8C;
}

.rating-star {
    padding: 0 2px;
    margin: 0;
    cursor: pointer;
    display: block;
    float: right;
}

.rating-star:after {
    position: relative;
    font-family: FontAwesome;
    content: '\f006';
}

.rating-star.checked ~ .rating-star:after, .rating-star.checked:after {
    content: '\f005';
}

/* 用户评价 */
.pinfo-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pinfo-reviews-header-left {
    position: relative;
}

.pinfo-reviews-avatar {
    width: 45px;
    height: 45px;
    font-size: 55px;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.pinfo-reviews-count {
    color: #105E8C;
    font-size: 18px;
    margin-right: auto;
    position: absolute;
    top: -10px;
    right: -10px;
}

.pinfo-write-review {
    display: flex;
    align-items: center;
    gap: 13px;
}

.pinfo-write-review-btn {
    font-size: 18px;
    background: none;
    cursor: pointer;
    outline: none;
    border: 2px solid #dfdcdc;
    padding: 5px 20px;
}

.pinfo-write-review-btn:focus,
.pinfo-write-review-btn:active {
    outline: none !important;
}

/* 三个点按钮样式 */
.pinfo-write-review-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 60px;
    height: 40px;
    border: 2px solid #dfdcdc;
    background: none;
    cursor: pointer;
    outline: none;
    padding: 5px 10px;
}

.pinfo-write-review-btn-icon:focus,
.pinfo-write-review-btn-icon:active {
    outline: none !important;
}

.pinfo-write-review-btn-icon-point {
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 评价轮播图专用样式 */
.pinfo-reviews-list {
    margin-bottom: 40px;
    height: 300px; /* 固定高度，显示2个评价项 */
    overflow: hidden;
}

.pinfo-reviews-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pinfo-reviews-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column; /* 垂直方向 */
    transition-timing-function: ease-in-out;
}

.pinfo-review-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
}

.pinfo-review-user {
    width: 400px;
    font-size: 18px;
}

.pinfo-review-content {
    flex: 1;
    text-align: center;
}

.pinfo-review-rating {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pinfo-review-text {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.pinfo-review-meta {
    width: 409px;
    text-align: right;
}

.pinfo-review-date {
    color: #767676;
    font-size: 16px;
    margin-bottom: 32px;
}

.pinfo-review-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.pinfo-review-like,
.pinfo-review-dislike {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.pinfo-review-count {
    font-size: 16px;
}

.pinfo-review-count.like {
    color: #105E8C;
}

/* 点赞和踩按钮的交互样式 */
.pinfo-review-like,
.pinfo-review-dislike {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.pinfo-review-like:hover,
.pinfo-review-dislike:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.pinfo-review-like.active {
    background-color: rgba(16, 94, 140, 0.1);
    color: #105E8C;
}

.pinfo-review-like.active .pinfo-review-count {
    color: #105E8C;
    font-weight: bold;
}

.pinfo-review-dislike.active {
    background-color: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.pinfo-review-dislike.active .pinfo-review-count {
    color: #ff4444;
    font-weight: bold;
}

.pinfo-review-like.clicked,
.pinfo-review-dislike.clicked {
    transform: scale(0.95);
    background-color: rgba(16, 94, 140, 0.2);
}

.pinfo-review-like img,
.pinfo-review-dislike img {
    transition: all 0.2s ease;
}

.pinfo-review-like:hover img,
.pinfo-review-dislike:hover img {
    transform: scale(1.1);
}

.pinfo-review-like.active img {
    /* filter: brightness(0) saturate(100%) invert(30%) sepia(95%) saturate(1000%) hue-rotate(200deg) brightness(90%) contrast(90%); */
}

.pinfo-review-dislike.active img {
    /* filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(7500%) hue-rotate(0deg) brightness(100%) contrast(100%); */
}

/* 评价分页按钮样式 */
.pinfo-pagination-btn-prev,
.pinfo-pagination-btn-next {
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s, transform 0.3s;
    font-size: 16px;
    color: #999;
    cursor: pointer;
}

.pinfo-pagination-btn-prev:hover,
.pinfo-pagination-btn-next:hover {
    opacity: 1;
    color: #105E8C;
    transform: scale(1.1);
}

.pinfo-pagination-btn-prev.disabled,
.pinfo-pagination-btn-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pinfo-pagination-btn-prev.disabled:hover,
.pinfo-pagination-btn-next.disabled:hover {
    opacity: 0.3;
    transform: none;
}

/* 分页 */
.pinfo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
}

.pinfo-pagination-text {
    font-size: 16px;
}

/* 推荐商品 */
.pinfo-recommendations {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 商品卡片基础样式 */
.pd-product-card {
    width: 239px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pd-product-card:hover {
    transform: translateY(-2px);
}

.pd-product-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.pd-product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pd-product-image:hover .pd-product-image-overlay {
    opacity: 1;
}

.pd-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pd-product-title {
    font-size: 16px;
    line-height: 1.4;
}

.pd-product-title a {
    color: #242424;
    text-decoration: none;
}

.pd-product-title a:hover {
    color: #105E8C;
}

.pd-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #BB0000;
}

.pd-product-price a {
    color: inherit;
    text-decoration: none;
}

.pd-product-actions {
    margin-top: auto;
}

.pd-add-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}


.pd-cart-icon {
    flex-shrink: 0;
}

.pd-cart-text {
    font-size: 14px;
    white-space: nowrap;
}

.pinfo-recommendation-item {
    width: 239px;
    height: 472px;
    background-image: url(../images/shangpinxiangqing/shangpinxiangqing_109_109.jpg);
    background-size: cover;
    background-position: center;
}

/* 退货信息 */
.pinfo-return-info {
    text-align: center;
    line-height: 1.6;
}

.pinfo-return-text {
    font-size: 18px;
    margin-bottom: 15px;
}

.pinfo-return-notice {
    margin: 49px 0 55px;
}

.pinfo-return-terms {
    margin-top: 55px;
}

.pinfo-magnifier-content img {
    max-width: max-content;
}

.pinfo-review-content-box {
    display: none;
}

/* 响应式设计 */
@media (max-width: 1920px) {
    .pinfo-container {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .pinfo-videos-swiper {
        /* 移除强制宽度设置，让其自适应 */
        width: 100%;
        max-width: 100%;
    }
    .pinfo-videos-container {
        margin-bottom: 0;
        width: 100%;
        overflow: hidden; /* 确保缩放后的内容不会溢出 */
        display: flex;
        justify-content: center; /* 居中显示缩放后的内容 */
    }
    
    /* 确保视频项在小屏幕下的布局 */
    .pinfo-video-item {
        min-height: 297px !important;
        margin-right: 70px;
        flex-shrink: 0;
    }
    
    .pinfo-video-item:last-child {
        margin-right: 0;
    }
    
    /* 视频轮播图在小屏幕下的优化 */
    .pinfo-videos {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: max-content; /* 让宽度适应内容 */
        min-width: 100%; /* 确保至少占满容器宽度 */
    }
    
    .pinfo-review-content-box {
        display: block;
    }
    .pinfo-review-content {
        display: none;
    }
    .pinfo-review-user {
        display: none;
    }
    .pinfo-details {
        flex: 1;
        max-width: none;
        width: 744px;
        margin: 0 auto;
    }

    .pinfo-specs-swiper .swiper-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .pinfo-wrapper {
        width: 100%;
        padding: 0 20px;
        overflow-x: auto;
    }
    
    .pinfo-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .pinfo-images {
        justify-content: center;
    }
    
    /* SKU规格在小屏幕下一行显示4个 */
    .pinfo-specs {
        flex-direction: row;
        gap: 0;
    }
    
    .pinfo-spec-item {
        min-width: calc(25% - 10px); /* 4个元素，每个占25%减去间距 */
        width: calc(25% - 10px);
        margin-right: 10px;
    }
    
    .pinfo-spec-item:last-child {
        margin-right: 0;
    }
    
    /* 隐藏标签页导航 */
    .pinfo-tabs {
        display: none;
    }

    /* 视频分页器在小屏幕下的优化 */
    .pinfo-video-pagination {
        gap: 30px;
        padding: 10px 0;
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }

    /* 推荐商品响应式 - 中等屏幕 */
    .pinfo-recommendations {
        gap: 15px;
        justify-content: center;
    }
    
    .pd-product-card {
        width: calc(33.333% - 10px);
        min-width: 220px;
        max-width: 280px;
    }
    
    .pd-product-image {
        height: 280px;
    }
    
    .pd-product-info {
    }
    
    .pd-product-title {
        font-size: 15px;
    }
    
    .pd-product-price {
        font-size: 17px;
    }
    
    .pd-add-cart-btn {
        padding: 8px 12px;
    }
    
    .pd-cart-text {
        font-size: 13px;
    }
}

@media (max-width: 910px) {
    /* 其他样式保持不变，删除视频轮播图的响应式规则 */
}

@media (max-width: 810px) {
    /* 禁用放大镜效果 */
    .pinfo-magnifier-mask,
    .pinfo-magnifier-viewer {
        display: none !important;
    }
    
    /* 改变图片区域布局为上下排列 */
    .pinfo-images {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    /* 缩略图容器水平居中 */
    .pinfo-thumbnails {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        order: 2; /* 放在主图下方 */
        max-width: 500px; /* 限制最大宽度为主图最大宽度 */
        overflow-x: auto; /* 超出时显示水平滚动条 */
        overflow-y: hidden; /* 隐藏垂直滚动条 */
        flex-wrap: nowrap; /* 不换行，保持水平排列 */
    }
    
    /* 主图容器 */
    .pinfo-main-image {
        order: 1; /* 放在缩略图上方 */
        width: 100%;
        max-width: 500px;
        height: auto; /* 与轮播图高度保持一致 */
    }
    
    /* 调整主图轮播图尺寸 */
    .pinfo-image-swiper {
        width: 100%;
        height: auto;
        border-radius: 8px; /* 添加圆角效果 */
        overflow: hidden; /* 确保圆角生效 */
    }
    
    .pinfo-image-swiper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 改为cover使图片填充满容器并尽可能放大 */
        object-position: center; /* 确保图片居中显示 */
    }
    
    /* 调整缩略图尺寸 */
    .pinfo-thumbnail {
        width: 80px;
        height: 80px;
        flex-shrink: 0; /* 防止缩略图被压缩 */
    }
    
    /* 调整商品详情区域 */
    .pinfo-details {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* 调整主容器 */
    .pinfo-main {
        align-items: center;
    }
    
    /* SKU规格在移动设备下一行显示2个，与大屏幕保持一致 */
    .pinfo-specs {
        flex-direction: row;
        gap: 0;
    }
    
    .pinfo-spec-item {
        min-width: calc(50% - 5px); /* 2个元素，每个占50%减去间距 */
        width: calc(50% - 5px);
        margin-right: 10px;
    }
    
    .pinfo-spec-item:nth-child(2n) {
        margin-right: 0; /* 每行第2个元素不需要右边距 */
    }

    .pinfo-videos-container {
        margin-bottom: 0;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }
    
    .pinfo-videos-swiper {
        width: 100%;
        transform-origin: center top;
    }
    
    /* 在超小屏幕下进一步调整视频项 */
    .pinfo-video-item {
        min-height: 224px !important;
        margin-right: 50px;
    }

    .pinfo-video-pagination {
        gap: 20px;
        padding: 8px 0;
        margin-top: 10px;
    }
    
    .pinfo-video-pagination-btn-prev,
    .pinfo-video-pagination-btn-next {
        font-size: 20px !important;
    }

    /* 推荐商品响应式 - 小屏幕 */
    .pinfo-recommendations {
        gap: 15px;
        justify-content: center;
    }
    
    .pd-product-card {
        width: calc(50% - 8px);
        min-width: 180px;
        max-width: 250px;
    }
    
    .pd-product-image {
        height: 250px;
    }
    
    .pd-product-info {
    }
    
    .pd-product-title {
        font-size: 14px;
    }
    
    .pd-product-price {
        font-size: 16px;
    }
    
    .pd-add-cart-btn {
        padding: 8px 10px;
    }
    
    .pd-cart-text {
        font-size: 12px;
    }
}

@media (max-width: 537px) {
    /* 超小屏幕优化 */
    
    /* 图片区域整体优化 */
    .pinfo-images {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0 10px;
    }
    
    /* 主图容器适应超小屏幕 */
    .pinfo-main-image {
        order: 1;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
    }
    
    /* 轮播图容器优化 */
    .pinfo-image-swiper {
        width: 100%;
        height: auto;
        min-height: 250px;
        border-radius: 6px;
        overflow: hidden;
    }
    
    /* 轮播图slide适应 */
    .pinfo-image-swiper .swiper-slide {
        width: 100%;
        height: auto;
        min-height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 轮播图图片优化 */
    .pinfo-image-swiper .swiper-slide img {
        width: 100%;
        height: auto;
        min-height: 250px;
        object-fit: cover;
        object-position: center;
    }
    
    /* 缩略图容器优化 */
    .pinfo-thumbnails {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        order: 2;
        max-width: 100%;
        overflow-x: auto; /* 添加水平滚动 */
        overflow-y: hidden; /* 隐藏垂直滚动 */
        flex-wrap: nowrap; /* 不换行，启用滚动 */
    }
    
    /* 缩略图尺寸调整 */
    .pinfo-thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 4px;
        overflow: hidden;
        flex-shrink: 0; /* 防止缩略图被压缩 */
    }
    
    .pinfo-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* 分页器位置调整 */
    .pinfo-image-swiper .pinfo-swiper-pagination {
        bottom: 10px;
    }
    
    /* 导航按钮调整 */
    .pinfo-image-swiper .pinfo-swiper-button-next,
    .pinfo-image-swiper .pinfo-swiper-button-prev {
        width: 36px;
        height: 36px;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .pinfo-image-swiper .pinfo-swiper-button-next {
        right: 10px;
    }
    
    .pinfo-image-swiper .pinfo-swiper-button-prev {
        left: 10px;
    }
    
    /* 商品详情区域优化 */
    .pinfo-details {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 10px;
    }
    
    /* 主容器优化 */
    .pinfo-main {
        align-items: stretch;
        gap: 20px;
        padding: 20px 0;
    }
    
    /* 容器内边距调整 */
    .pinfo-wrapper {
        padding: 0 10px;
    }

    .pinfo-videos-container {
        margin-bottom: 0;
        padding: 0 10px;
        width: 100%;
        overflow: hidden;
    }
    
    /* 超小屏幕下的视频项优化 */
    .pinfo-video-item {
        min-height: 187px !important;
        margin-right: 30px;
    }

    .pinfo-video-pagination {
        gap: 15px;
        padding: 5px 0;
        margin-top: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pinfo-video-pagination-btn-prev,
    .pinfo-video-pagination-btn-next {
        font-size: 18px !important;
        padding: 5px;
    }

    /* 推荐商品响应式 - 超小屏幕 */
    .pinfo-recommendations {
        gap: 15px;
        justify-content: center;
        padding: 0 10px;
    }
    
    .pd-product-card {
        width: 100%;
        max-width: 300px;
    }
    
    .pd-product-image {
        height: 220px;
    }
    
    .pd-product-info {
    }
    
    .pd-product-title {
        font-size: 15px;
    }
    
    .pd-product-price {
        font-size: 17px;
    }
    
    .pd-add-cart-btn {
        padding: 10px 15px;
    }
    
    .pd-cart-text {
        font-size: 13px;
    }
}

/* 隐藏所有按钮的默认外边框和焦点样式 */
button {
    outline: none;
    border: none;
}

button:focus,
button:active {
    outline: none !important;
    border: none;
    box-shadow: none;
}

/* 当显示放大镜时，暂时禁用Swiper的触摸交互 */
.pinfo-image-swiper:hover {
    touch-action: none;
}

/* 商品评价弹出窗样式 */
.pinfo-review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.pinfo-review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.pinfo-review-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.pinfo-review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.pinfo-review-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.pinfo-review-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.pinfo-review-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.pinfo-review-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.pinfo-review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pinfo-review-user-info,
.pinfo-review-rating-field,
.pinfo-review-text-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pinfo-review-user-info label,
.pinfo-review-rating-field label,
.pinfo-review-text-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.pinfo-review-user-display {
    font-size: 16px;
    color: #105E8C;
    padding: 8px 12px;
    background-color: #f0f8ff;
    border: 1px solid #d0e7ff;
    border-radius: 6px;
}

.pinfo-review-stars {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pinfo-star-item {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.pinfo-star-item:hover,
.pinfo-star-item.active {
    color: #105E8C;
    transform: scale(1.1);
}

.pinfo-star-item i {
    transition: all 0.2s;
}

.pinfo-rating-text {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

.pinfo-review-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}

.pinfo-review-textarea:focus {
    outline: none;
    border-color: #105E8C;
    box-shadow: 0 0 0 3px rgba(16, 94, 140, 0.1);
}

.pinfo-review-char-count {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.pinfo-review-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.pinfo-review-cancel-btn,
.pinfo-review-submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pinfo-review-cancel-btn {
    background-color: #f5f5f5;
    color: #666;
}

.pinfo-review-cancel-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.pinfo-review-submit-btn {
    background-color: #105E8C;
    color: white;
}

.pinfo-review-submit-btn:hover {
    background-color: #0d4f73;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 94, 140, 0.3);
}

.pinfo-review-submit-btn:disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 移动设备适配 */
@media (max-width: 600px) {
    .pinfo-review-modal-content {
        width: 95vw;
        margin: 20px;
    }
    
    .pinfo-review-modal-header,
    .pinfo-review-modal-footer {
        padding: 16px 20px;
    }
    
    .pinfo-review-modal-body {
        padding: 20px;
    }
    
    .pinfo-review-stars {
        justify-content: center;
    }
    
    .pinfo-star-item {
        font-size: 28px;
    }
}

.pinfo-star-page {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.pinfo-star-page:hover {
    opacity: 1;
    transform: scale(1.1);
}

.pinfo-star-page.active {
    opacity: 1;
    transform: scale(1.05);
}

.pinfo-star-page.clicked {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

/* 移除重复的样式规则 */

.pinfo-star {
    display: inline-block;
    margin: 0 2px;
    vertical-align: middle;
}

.pinfo-star.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pinfo-star:not(.disabled) {
    cursor: pointer;
}

.pinfo-rating {
    text-align: center;
    padding: 10px 0;
}

/* 分页按钮通用样式 */
.pinfo-pagination-btn {
    cursor: pointer;
    transition: opacity 0.3s, color 0.3s, transform 0.3s;
    font-size: 16px;
    color: #999;
    display: inline-block;
    margin: 0 3px;
    vertical-align: middle;
}

.pinfo-pagination-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
    color: #105E8C;
}

.pinfo-pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pinfo-pagination-btn:not(.disabled):hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* 375px及以下手机端优化 - pinfo-section-reviews相关样式 */
@media (max-width: 375px) {
    /* 评价头部优化 */
    .pinfo-reviews-header {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: space-between;
    }
    
    .pinfo-reviews-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }
    
    .pinfo-reviews-avatar {
        width: 35px;
        height: 35px;
        font-size: 45px;
        margin-top: 2px;
    }
    
    .pinfo-reviews-count {
        font-size: 16px;
        margin: 0;
    }
    
    /* 写评价按钮组优化 */
    .pinfo-write-review {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .pinfo-write-review-btn {
        font-size: 16px;
        padding: 8px 15px;
        flex: 1;
    }
    
    .pinfo-write-review-btn-icon {
        width: 50px;
        height: 45px;
        padding: 8px;
        flex-shrink: 0;
    }
    
    /* 评价列表高度调整 */
    .pinfo-reviews-list {
        height: auto;
        min-height: 200px;
    }
    
    /* 评价项布局优化 - 改为垂直布局 */
    .pinfo-review-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    /* 评价用户信息优化 */
    .pinfo-review-user {
        width: 100%;
        font-size: 16px;
        order: 1;
    }
    
    /* 评价内容优化 */
    .pinfo-review-content {
        width: 100%;
        text-align: left;
        order: 2;
    }
    
    .pinfo-review-rating {
        margin-top: 15px;
        justify-content: flex-start;
    }
    
    .pinfo-review-text {
        font-size: 16px;
        text-align: left;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
    
    /* 评价元信息优化 */
    .pinfo-review-meta {
        width: 100%;
        text-align: left;
        order: 3;
    }
    
    .pinfo-review-date {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .pinfo-review-actions {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .pinfo-review-like,
    .pinfo-review-dislike {
        padding: 8px 12px;
    }
    
    .pinfo-review-count {
        font-size: 14px;
    }
    
    /* 评价轮播图优化 */
    .pinfo-reviews-swiper {
        height: auto;
    }
    
    .pinfo-reviews-swiper .swiper-wrapper {
        flex-direction: column;
    }
    
    /* 评价分页按钮优化 */
    .pinfo-pagination-btn-prev,
    .pinfo-pagination-btn-next {
        font-size: 14px;
    }
    
    .pinfo-pagination {
        gap: 25px;
        padding: 15px 0;
    }
    
    .pinfo-pagination-text {
        font-size: 14px;
    }
    
    /* 评价内容盒子在手机端显示 */
    .pinfo-review-content-box {
        display: block;
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .pinfo-review-content {
        display: none;
    }

    /* 推荐商品响应式 - 极小屏幕 */
    .pinfo-recommendations {
        gap: 12px;
        padding: 0 5px;
    }
    
    .pd-product-card {
        width: 100%;
        max-width: 280px;
    }
    
    .pd-product-image {
        height: 200px;
    }
    
    .pd-product-info {
    }
    
    .pd-product-title {
        font-size: 14px;
    }
    
    .pd-product-price {
        font-size: 16px;
    }
    
    .pd-add-cart-btn {
        padding: 8px 12px;
    }
    
    .pd-cart-text {
        font-size: 12px;
    }
}

/* 376px到599px中等尺寸手机端优化 - pinfo-section-reviews相关样式 */
@media (min-width: 376px) and (max-width: 599px) {
    /* 评价头部优化 */
    .pinfo-reviews-header {
        flex-direction: row;
        gap: 18px;
        align-items: center;
        justify-content: space-between;
    }
    
    .pinfo-reviews-header-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }
    
    .pinfo-reviews-avatar {
        width: 40px;
        height: 40px;
        font-size: 50px;
        margin-top: 3px;
    }
    
    .pinfo-reviews-count {
        font-size: 17px;
        margin: 0;
    }
    
    /* 写评价按钮组优化 */
    .pinfo-write-review {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
    
    .pinfo-write-review-btn {
        font-size: 17px;
        padding: 10px 18px;
        flex: 1;
    }
    
    .pinfo-write-review-btn-icon {
        width: 55px;
        height: 51px;
        padding: 10px;
        flex-shrink: 0;
    }
    
    /* 评价列表高度调整 */
    .pinfo-reviews-list {
        height: auto;
        min-height: 250px;
    }
    
    /* 评价项布局优化 - 改为垂直布局 */
    .pinfo-review-item {
        flex-direction: column;
        gap: 18px;
        padding: 25px 0;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    /* 评价用户信息优化 */
    .pinfo-review-user {
        width: 100%;
        font-size: 17px;
        order: 1;
    }
    
    /* 评价内容优化 */
    .pinfo-review-content {
        width: 100%;
        text-align: left;
        order: 2;
    }
    
    .pinfo-review-rating {
        margin-top: 18px;
        justify-content: flex-start;
    }
    
    .pinfo-review-text {
        font-size: 17px;
        text-align: left;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
    
    /* 评价元信息优化 */
    .pinfo-review-meta {
        width: 100%;
        text-align: left;
        order: 3;
    }
    
    .pinfo-review-date {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .pinfo-review-actions {
        justify-content: flex-start;
        gap: 18px;
    }
    
    .pinfo-review-like,
    .pinfo-review-dislike {
        padding: 10px 15px;
    }
    
    .pinfo-review-count {
        font-size: 15px;
    }
    
    /* 评价轮播图优化 */
    .pinfo-reviews-swiper {
        height: auto;
    }
    
    .pinfo-reviews-swiper .swiper-wrapper {
        flex-direction: column;
    }
    
    /* 评价分页按钮优化 */
    .pinfo-pagination-btn-prev,
    .pinfo-pagination-btn-next {
        font-size: 15px;
    }
    
    .pinfo-pagination {
        gap: 30px;
        padding: 18px 0;
    }
    
    .pinfo-pagination-text {
        font-size: 15px;
    }
    
    /* 评价内容盒子在手机端显示 */
    .pinfo-review-content-box {
        display: block;
        background-color: #f8f9fa;
        padding: 18px;
        border-radius: 10px;
        margin-top: 12px;
    }
    
    .pinfo-review-content {
        display: none;
    }

    /* 推荐商品响应式 - 中等手机屏幕 */
    .pinfo-recommendations {
        gap: 12px;
        padding: 0 8px;
    }
    
    .pd-product-card {
        width: 100%;
        max-width: 320px;
    }
    
    .pd-product-image {
        height: 240px;
    }
    
    .pd-product-info {
    }
    
    .pd-product-title {
        font-size: 15px;
    }
    
    .pd-product-price {
        font-size: 17px;
    }
    
    .pd-add-cart-btn {
        padding: 10px 15px;
    }
    
    .pd-cart-text {
        font-size: 13px;
    }
}