
        .container {
            max-width: 138rem;
            margin: 0 auto;
            padding: 20px 10px 20px 10px;
        }

        /* Product Section */
        .product-container {
            display: flex;
            gap: 40px;
            margin: 40px 0;
        }

        .product-gallery {
            flex: 1;
        }

        .main-image {
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            text-align: center;
        }

        .main-image img {
            max-width: 100%;
            height: auto;
        }

        .image-thumbnails {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .thumbnail {
            width: 70px;
            height: 70px;
            background-color: #fff;
            border-radius: 6px;
            padding: 5px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            transition: transform 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .thumbnail:hover {
            transform: translateY(-5px);
        }

        .thumbnail.active {
            border: 2px solid #485F4E;
        }

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

        .product-info {
            flex: 1;
        }

        .product-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #485F4E;
        }

        .product-rating {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .stars {
            color: #ffc107;
            margin-right: 10px;
        }

        .rating-count {
            color: #777;
            font-size: 14px;
        }

        .product-price {
            font-size: 24px;
            font-weight: bold;
            color: #485F4E;
            margin-bottom: 20px;
        }

        .product-description {
            margin-bottom: 25px;
            color: #555;
        }

        .product-actions {
            gap: 5px;
            margin-bottom: 25px;
			background:#eeeeee;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
        }

        .quantity-btn {
            background: #f1f1f1;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
        }

        .qty{
            width: 50px;
            text-align: center;
            border: none;
            padding: 10px 0;
            font-size: 16px;
			box-shadow: none !important;
        }

        .add-to-cart {
            background-color: #485F4E;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
            flex: 1;
        }

        .add-to-cart:hover {
            background-color: #1e3a23;
			color: #FFFFFF;
        }
.fa-heart{font-family: "Font Awesome 5 Free";}
        .wishlist-btn {
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 12px 15px;
            cursor: pointer;
            transition: background-color 0.3s;
			display: none;
        }

        .wishlist-btn:hover {
            background-color: #e9ecef;
        }

        /* Collapsible Shipping & Warranty Section */
        .collapsible-section {
            background-color: #fff;
            border-radius: 8px;
            padding: 0;
            margin-bottom: 30px;
            overflow: hidden;
			padding-bottom: 1.25rem;
        }

        .collapsible-item {
            border-bottom: 1px solid #eaeaea;
        }

        .collapsible-item:last-child {
            border-bottom: none;
        }

        .collapsible-header {
            padding: 18px 25px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
        }

        .collapsible-header:hover {
            background-color: #f8f9fa;
        }

        .collapsible-title {
            display: flex;
            align-items: center;
            font-weight: 600;
            color: #333;
        }

        .collapsible-title i {
            margin-right: 12px;
            color: #485F4E;
            font-size: 18px;
        }

        .collapsible-arrow {
            color: #777;
            transition: transform 0.3s;
        }

        .collapsible-item.active .collapsible-arrow {
            transform: rotate(180deg);
        }

        .collapsible-content {
            padding: 0 25px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s;
        }

        .collapsible-item.active .collapsible-content {
            padding: 0 25px 20px;
            max-height: 200px;
        }

        .collapsible-text {
            color: #555;
            line-height: 1.6;
        }

        /* Custom Section */
        .custom-section {
            background-color: #fff;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .section-title {

        }

        .custom-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .custom-item {
            text-align: center;
            padding: 15px;
            border-radius: 6px;
            background-color: #f8f9fa;
            transition: transform 0.3s;
        }

        .custom-item:hover {
            transform: translateY(-5px);
        }

        .custom-icon {
            font-size: 30px;
            color: #485F4E;
            margin-bottom: 10px;
        }

        .custom-title {
            font-weight: bold;
            margin-bottom: 5px;
        }

        /* Tabs Section */
        .tabs-section {
            background-color: #fff;
            border-radius: 8px;
            padding: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            overflow: hidden;
        }

        .tabs-header {
            display: flex;
            border-bottom: 1px solid #eaeaea;
            background-color: #f8f9fa;
        }

        .tab-btn {
            padding: 15px 25px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            color: #555;
            transition: all 0.3s;
            position: relative;
        }

        .tab-btn.active {
            color: #485F4E;
			background: #e9ecef;
			border-bottom: solid 1px #485F4E;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #485F4E;
        }

        .tab-btn:hover {
            background-color: #e9ecef;
        }

        .tab-content {
            padding: 25px;
        }

        .tab-panel {
            display: none;
        }

        .tab-panel.active {
            display: block;
        }

        .spec-table {
            width: 100%;
            border-collapse: collapse;
        }

        .spec-table th, .spec-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #eaeaea;
        }

        .spec-table th {
            width: 30%;
            font-weight: 600;
            color: #555;
        }

        .spec-table tr:last-child th, .spec-table tr:last-child td {
            border-bottom: none;
        }

        .warning-note {
            margin-top: 20px;
            padding: 15px;
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            border-radius: 4px;
            font-size: 14px;
        }



        .review-item {
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px solid #eaeaea;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .review-author {
            font-weight: 600;
        }

        .review-date {
            color: #777;
            font-size: 14px;
        }

        .review-rating {
            color: #ffc107;
            margin-bottom: 10px;
        }

        /* Related Products */
        .related-section {
            background-color: #fff;
            border-radius: 8px;
			width:138rem;
			margin-left:auto;
			margin-right:auto;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .related-product {
            text-align: center;
            padding: 15px;
            border-radius: 6px;
            background-color: #f8f9fa;
            transition: transform 0.3s;
        }

        .related-product:hover {
            transform: translateY(-5px);
        }

        .related-product img {
            max-width: 100%;
            height: auto;
            margin-bottom: 10px;
        }

        .related-title {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 14px;
			color:#485F4E;
        }

        .related-price {
            color: #485F4E;
            font-weight: bold;
        }

        .back-link {
            display: inline-block;
            margin-top: 20px;
            color: #485F4E;
            text-decoration: none;
            font-weight: bold;
        }

        .back-link i {
            margin-right: 5px;
        }

        /* Newsletter Section */
        .newsletter-section {
            background-color: #485F4E;
            color: white;
            border-radius: 8px;
            padding: 40px;
            text-align: center;
            margin-bottom: 30px;
        }

        .newsletter-title {
            font-size: 24px;
            margin-bottom: 15px;
        }

        .newsletter-desc {
            margin-bottom: 25px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .newsletter-form {
            display: flex;
            max-width: 500px;
            margin: 0 auto;
        }

        .newsletter-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            font-size: 16px;
        }

        .newsletter-btn {
            background-color: #1e3a23;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }

        .newsletter-btn:hover {
            background-color: #152618;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .product-container {
                flex-direction: column;
            }
            
            .custom-grid, .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }
			.thumbnail{width: 50px;
    height: 40px;}
        }

        @media (max-width: 576px) {
            .custom-grid, .related-grid {
                grid-template-columns: 1fr;
            }
            
            .product-actions {
                flex-direction: column;
            }
            .thumbnail{width: 50px;
    height: 40px;}
            .newsletter-form {
                flex-direction: column;
            }
            
            .newsletter-input {
                border-radius: 4px;
                margin-bottom: 10px;
            }
            
            .newsletter-btn {
                border-radius: 4px;
            }
            
            .tabs-header {
                flex-direction: column;
            }
            
            .tab-btn {
                width: 100%;
                text-align: left;
            }
			.products{padding-left:0px !important;}
        }
/* 覆盖价格隐藏样式 */
.product-price .woocommerce-Price-amount.amount,
.custom-product-price .woocommerce-Price-amount.amount {
    display: inline-block !important;
}
.singleproduct{background: #F7F7F7;}
.postion{margin-top: 1.25rem;color: #485F4E;margin-bottom: 1.25rem;}
.postion a{color: #485F4E;}
.paymethod ul{margin-left: 2.875rem !important;}
.paymethod ul li{float: left;list-style: none;margin-right: 1.25rem;}
.paymethod ul li svg{width: 4.225rem;}






a.reset_variations{display:none !important;}

.price .woocommerce-Price-amount{font-size: 24px !important;font-weight: bold !important;color: #485F4E !important;}



/* 使用更具体的选择器确保样式生效 */
div.custom-variable-product form.variations_form.cart {
    display: block !important;
}

div.custom-variable-product form.variations_form.cart table.variations {
    display: block !important;
    width: 100%;
    margin-bottom: 0px;
}

div.custom-variable-product form.variations_form.cart table.variations tr {
    display: block !important;
    margin-bottom: 15px;
}

div.custom-variable-product form.variations_form.cart table.variations td {
    width: 100% !important;
    float: none !important;
	background:none !important;
}

/* 确保数量和按钮在新行 */
div.custom-variable-product form.variations_form.cart .single_variation_wrap {
    display: block !important;
    clear: both !important;
    width: 100%;
}

div.custom-variable-product form.variations_form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;
	margin-bottom:20px;
}

div.custom-variable-product form.variations_form.cart .quantity {
    flex: 0 0 10px;
}

div.custom-variable-product form.variations_form.cart .single_add_to_cart_button {
    flex: 1;
}
.woocommerce-variation{margin-right:10px;float:left !important}
.woocommerce-variation-add-to-cart{width:75% !important;float:left !important}
button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .widget-area .widget a.button.alt{
	
	background-color: #485F4E !important;
    border-color: #485F4E !important;
    color: #ffffff !important;
}
/* 使用属性选择器确保覆盖 */
span[class*="price"],
span[class*="Price-amount"],
span[class*="amount"] {
    display: inline !important;
}

/* 或者使用更具体的选择器 */
span.price > span.woocommerce-Price-amount.amount {
    display: inline-block !important;
}


/* 现代简约风格 - 下拉框 */
.custom-variable-product .variations select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.custom-variable-product .variations select:hover {
    border-color: #c1c1c1;
}

.custom-variable-product .variations select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* 现代简约风格 - 数量选择器 */
.custom-variable-product .quantity {
    position: relative;
    flex: 0 0 120px;
}

.custom-variable-product .qty {
    width: 100%;
    padding: 12px 40px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #333;
    transition: all 0.3s ease;
}

.custom-variable-product .qty:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}
/* 完全重置数量选择器 */
.custom-variable-product .quantity {
    position: relative;
    flex: 0 0 120px;
}

.custom-variable-product .qty {
    all: unset; /* 重置所有样式 */
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8 !important;
    border-radius: 8px;
    background: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center;
    color: #333 !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block !important;
}

.custom-variable-product .qty:focus {
    outline: none;
    border-color: #007cba !important;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}
.label{padding-left:0px !important;background:none !important;}
.value{padding:0px !important;}
.add_to_cart_button{color:#485F4E !important;background:none !important;padding:0px !important;}
.add_to_cart_button:hover{background:none !important;}
.product_type_variable{
    color: #485F4E !important;background:none !important;}
.product_type_variable:hover{background:none !important;}
.products{padding-left:0px !important;}
/* 主图容器 */
.main-image {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 主图片样式 */
#main-product-image {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
}

/* 视频播放器容器 - 关键修改：使用相对定位和最大尺寸限制 */
#video-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 600px; /* 与图片最大高度一致 */
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#video-player {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 600px; /* 限制最大高度 */
}

/* 视频iframe和video样式 - 确保不超出图片区域 */
#video-player iframe,
#video-player video {
    max-width: 100%;
    max-height: 600px; /* 与图片最大高度一致 */
    border: none;
    object-fit: contain; /* 保持比例，不裁剪 */
}

/* 关闭按钮 */
.close-video {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close-video:hover {
    background: #fff;
    transform: scale(1.1);
}

/* 视频缩略图样式 */
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-image {
        min-height: 250px;
    }
    
    #video-player-container,
    #video-player iframe,
    #video-player video {
        max-height: 400px;
    }
}
.wc-block-components-product-badge{background:#F17E62;color:white}
.wc-block-components-product-name{color:black}

/* 评论模块整体样式 */
.reviews-container {
    padding: 20px 0;
}

/* 评论统计 */
.review-summary {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.overall-rating {
    flex: 0 0 120px;
    text-align: center;
}

.overall-rating .rating-value {
    font-size: 36px;
    font-weight: 700;
    color: #F17E62;
    margin-bottom: 5px;
}

.overall-rating .rating-stars {
    color: #F17E62;
    font-size: 18px;
}
#respond{background:none !important;}
.rating-breakdown {
    flex: 1;
}

/* 星级分布进度条 - 完整样式 */
.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    height: 24px;
}

.rating-label {
    flex: 0 0 60px;
    font-size: 14px;
    color: #666;
}
p.stars a::before {color:#F17E62 !important}
.rating-progress {
    flex: 1;
    height: 12px;
    background-color: #f1f1f1;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 10px;
    position: relative;
}

/* 强制显示颜色和宽度 */
.rating-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #F17E62 !important;
    background: linear-gradient(90deg, #F17E62 0%, #c09204 100%) !important;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.rating-count {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* 评论列表 */
.reviews-list {
    margin-bottom: 40px;
}

.review-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

/* 字母头像样式 - 核心修改 */
.review-author {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.review-author::before {
    content: attr(data-initial); /* 使用名字首字母 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-rating {
    margin-bottom: 10px;
    color: #F17E62;
    font-size: 16px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 0;
}

/* 评论表单样式 */
.review-form-container {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.review-form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.comment-form-rating {
    margin-bottom: 20px;
}

.comment-form-rating label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.comment-form-rating select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.comment-form-author,
.comment-form-email,
.comment-form-comment {
    margin-bottom: 15px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
	box-shadow: none !important;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
	box-shadow: none;
}

.form-submit input {
    background-color: #2c5530;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit input:hover {
    background-color: #3a6d3f;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

.required {
    color: #e74c3c;
}

/* 字母头像背景色集合 - 随机配色 */
.author-color-1::before { background-color: #3498db; }
.author-color-2::before { background-color: #e74c3c; }
.author-color-3::before { background-color: #2ecc71; }
.author-color-4::before { background-color: #f39c12; }
.author-color-5::before { background-color: #9b59b6; }
.author-color-6::before { background-color: #1abc9c; }
.author-color-7::before { background-color: #e67e22; }
.author-color-8::before { background-color: #34495e; }

/* 管理员回复样式 */
.review-reply {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 3px solid #2c5530;
    border-radius: 4px;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reply-author {
    font-weight: 600;
    color: #2c5530;
    font-size: 14px;
}

.reply-author i {
    margin-right: 5px;
    font-size: 12px;
}

.reply-date {
    font-size: 11px;
    color: #999;
}

.reply-text {
    color: #444;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
}
/* 管理员回复头像样式 */
.reply-author {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c5530;
    font-size: 14px;
}

.admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #2c5530;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 8px;
}

.admin-avatar::before {
    content: attr(data-initial);
}

.reply-date {
    font-size: 11px;
    color: #999;
}

.reply-text {
    color: #444;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 8px; /* 新增：和头像区域拉开间距 */
}
/* 纯CSS星级样式 - 替代Font Awesome */
.rating-stars {
    display: inline-flex;
    align-items: center;
}

/* 通用星级容器 */
.review-rating {
    margin-bottom: 10px;
    font-size: 16px;
    display: inline-flex;
}

/* 星星样式 */
.review-rating span {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 2px;
    color: #F17E62;
}

/* 实心星 */
.review-rating span.checked::after {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 1;
}

/* 空心星 */
.review-rating span.unchecked::after {
    content: '☆';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 1;
    color: #ddd;
}
            .media-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 15px; }
            .media-gallery { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; }
            .media-item { width: 70px; border-radius: 5px; overflow: hidden;transition: transform 0.3s ease; }
            .media-item:hover { transform: translateY(-5px); }
            .media-thumbnail { width: 70px; height: 70px; position: relative; overflow: hidden; cursor: pointer; }
            .review-image-thumb, .review-video-thumb { width: 100%; height: 100%; object-fit: cover; }
            .video-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; z-index: 1; }
            .media-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; opacity: 0; transition: opacity 0.3s ease; z-index: 2; }
            .media-thumbnail:hover .media-overlay { opacity: 1; }
            .media-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: none; }
            .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); cursor: pointer; }
            .modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90%; max-height: 90%; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
            .modal-close { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.6); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 18px; }
            .modal-image-container, .modal-video-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; }
            .modal-image { max-width: 100%; max-height: 90vh; }
            .modal-video { width: 100%; height: 80vh; border: none; }
			        .write-review-btn { display: inline-block; background: #2c5530; color: white; padding: 12px 30px; border-radius: 4px; text-decoration: none; font-weight: 600; transition: background 0.3s ease; margin: 20px 0; }
        .write-review-btn:hover { background: #1e3d21; color: white; text-decoration: none; }
        .write-review-btn i { margin-right: 8px; }
		@media (max-width: 768px) {.modal-content{width:95%;}.modal-image-container{padding:5px}.related-product{width:26%}}
		/* 禁用所有视频播放器的下载按钮（兼容移动端） */
video::-webkit-media-controls-download-button {
    display: none !important;
}
/* 禁用视频控件的上下文菜单（防止右键下载） */
video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}
/* 针对Firefox/Edge等浏览器的兼容 */
video {
    /* 禁用右键菜单（防止下载） */
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}
/* 移动端专属样式强化 */
@media (max-width: 768px) {
    /* 强制隐藏移动端视频控件的下载选项 */
    #video-player video::-webkit-media-controls {
        overflow: hidden !important;
    }
    #video-player video::-webkit-media-controls-download-button {
        display: none !important;
        visibility: hidden !important;
    }
    /* 禁用移动端长按保存视频 */
    #video-player video {
        -webkit-touch-callout: none; /* 禁用iOS长按菜单 */
        pointer-events: auto;
    }
}
/* 添加到product.css文件中 */
/* 统一简单产品和可变产品的数量选择器与加入购物车按钮布局 */
.product-info .cart,
.product-info .custom-variable-product {
    display: flex;
    align-items: center;
    gap: 10px; /* 按钮之间的间距 */
    margin-bottom: 15px;
}

/* 数量选择器样式 */
.quantity-selector {
    display: inline-flex;
    align-items: center;
	height:50px;
	background:#F2F2F2;
    margin: 0 !important; /* 移除默认外边距 */
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #F2F2F2;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* 确保按钮大小一致 */
}
.quantity-btn:hover{border:none !important}
.quantity-btn.minus {
    border-right: none;
    border-radius: 4px 0 0 4px;
	background:#F2F2F2;
	color:#3b4d40;
}

.quantity-btn.plus {
    border-left: none;
    border-radius: 0 4px 4px 0;
	background:#F2F2F2;
	color:#3b4d40;
}

.quantity {
    margin: 0 !important; /* 移除WooCommerce默认样式 */
}

.quantity input.qty {
    width: 50px !important;
    height: 30px !important;
	background:#F2F2F2 !important;
	border:none !important;
    text-align: center;
    border-radius: 0; /* 移除默认圆角，与按钮匹配 */
    padding: 0 !important; /* 移除默认内边距 */
}

/* 加入购物车按钮样式 */
.single_add_to_cart_button,
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
    white-space: nowrap; /* 防止按钮文字换行 */
    height: 50px; /* 与数量选择器高度一致 */
    padding: 0 15px !important; /* 调整按钮内边距 */
    margin: 0 !important; /* 移除默认外边距 */
	border-radius:5px;
}

/* 心愿单按钮位置调整 */
.wishlist-btn {
    margin-left: 10px; /* 与加入购物车按钮保持间距 */
    height: 30px; /* 与其他按钮高度一致 */
    width: 30px;
}
.price{line-height:50px !important;}