/* 服務詳情頁樣式 - 品牌色調 */
:root {
    --icon-fallback-bg: #f5f5f5;
    --icon-fallback-color: #999;
}

.back-to-list {
    background: var(--bg-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.btn-back {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-back:hover {
    color: var(--primary-hover);
}

.salon-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 40px 0;
    color: white;
}

.salon-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.salon-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.salon-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
}

.salon-breadcrumb .breadcrumb-item a:hover {
    color: white;
    text-decoration: none;
}

.salon-breadcrumb .breadcrumb-item.active {
    color: white;
    opacity: 0.8;
}

.salon-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.salon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.meta-item i {
    color: white;
    min-width: 16px;
}

/* 特色圖片 */
.featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
    max-height: 500px;
    object-fit: cover;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* 區塊標題通用樣式 */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.section-title i {
    color: var(--primary-color);
}

.salon-features-section h3,
.price-section h3,
.salon-description h3,
.contact-section h3,
.map-section h3,
.comments-section h3 {
    composes: section-title;
}
.salon-main{padding:10px;}
/* 服務特色區塊優化 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.feature-card {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 5px 15px var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 140px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    border-color: var(--primary-hover);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-primary);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* 圖標後備樣式 */
.feature-icon i {
    font-size: inherit;
}

.feature-icon:empty::before,
.feature-icon i:empty::before {
    content: "✨";
    font-style: normal;
}

.feature-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-top: auto;
    word-break: break-word;
}

/* 價格資訊 */
.price-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(91, 165, 149, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.duration {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* 詳細介紹 */
.description-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.description-content p {
    margin-bottom: 20px;
}

.description-content h2,
.description-content h3,
.description-content h4 {
    margin: 30px 0 20px 0;
    color: var(--text-dark);
    border-bottom: 2px solid var(--light-primary);
    padding-bottom: 10px;
}

.description-content h2 {
    font-size: 1.8rem;
}

.description-content h3 {
    font-size: 1.5rem;
}

.description-content h4 {
    font-size: 1.3rem;
}

.description-content ul,
.description-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.description-content li {
    margin-bottom: 10px;
    color: var(--text-medium);
}

.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

/* 聯絡資訊 */
.contact-info-box {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.contact-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item strong {
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item strong i {
    color: var(--primary-color);
    min-width: 18px;
}

.contact-item p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.6;
    padding-left: 26px;
}

.contact-item a.text-decoration-none {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a.text-decoration-none:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.contact-item .btn-success {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-item .btn-success:hover {
    background: linear-gradient(135deg, var(--secondary-hover), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(172, 76, 77, 0.3);
}

/* 側邊欄通用樣式 */
.salon-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--primary-color);
}

/* 快速聯絡小工具 */
.contact-widget .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-widget .contact-actions .btn {
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
}

.contact-widget .contact-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
}

.contact-widget .contact-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 165, 149, 0.3);
}

.contact-widget .contact-actions .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: white;
}

.contact-widget .contact-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 165, 149, 0.3);
}

/* 相關美容院 */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-salon a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.related-salon a:hover {
    background: var(--light-primary);
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.related-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-salon a:hover .related-image img {
    transform: scale(1.1);
}

.related-content h6 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.related-meta .price {
    color: var(--primary-color);
    font-weight: 600;
    background: var(--light-primary);
    padding: 3px 8px;
    border-radius: 5px;
}

.related-meta .location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-meta .location i {
    color: var(--secondary-color);
}

/* 熱門美容院 */
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.popular-link:hover {
    background: var(--light-primary);
    transform: translateX(5px);
}

.popular-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-link:hover .popular-image img {
    transform: scale(1.1);
}

.popular-content h6 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.popular-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.popular-meta i {
    color: var(--secondary-color);
}

.no-related {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* 評論區域 */
.comments-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.comments-section .alert {
    border-radius: 8px;
    background: var(--light-primary);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

/* 響應式設計 */
@media (max-width: 991px) {
    .salon-sidebar {
        padding-left: 0;
        padding-top: 40px;
    }
    
    .salon-title {
        font-size: 1.8rem;
    }
    
    .featured-image img {
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .salon-title {
        font-size: 1.5rem;
    }
    
    .salon-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-badge {
        font-size: 1rem;
        padding: 10px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .duration {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 5px;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .salon-title {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        min-height: 120px;
        padding: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .price-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .description-content {
        padding: 15px;
        font-size: 1rem;
    }
    
    .contact-info-box {
        padding: 15px;
    }
    
    .related-salon a {
        flex-direction: column;
        text-align: center;
    }
    
    .related-image {
        width: 100%;
        height: 120px;
    }
    
    .popular-link {
        padding: 8px;
    }
    
    .popular-image {
        width: 50px;
        height: 50px;
    }
}

/* 圖片燈箱增強 */
.enlarged-img-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.enlarged-img-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 留言區域樣式 */
.article-comments {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.comments-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.comments-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.comments-subtitle {
    color: #666;
    font-size: 1rem;
}

/* 留言列表 */
.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

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

.comment-avatar {
    flex-shrink: 0;
    margin-right: 15px;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.comment-author {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.comment-date {
    color: #888;
    font-size: 0.9rem;
}

.comment-rating {
    font-size: 0.9rem;
    color: #ffc107;
}

.comment-reply-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-reply-btn:hover {
    background: var(--primary-color);
    color: white;
}

.comment-body {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 回覆列表 */
.comment-replies {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

.comment-reply {
    display: flex;
    margin-bottom: 15px;
}

.comment-reply:last-child {
    margin-bottom: 0;
}

.reply-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.reply-content {
    flex: 1;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.reply-author {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin: 0;
}

.reply-date {
    color: #888;
    font-size: 0.85rem;
}

.reply-body {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 無留言 */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.no-comments i {
    margin-bottom: 20px;
    color: #ddd;
}

.no-comments h4 {
    color: #666;
    margin-bottom: 10px;
}

/* 留言表單 */
.comment-form-container {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.comment-form-container h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

/* 評分系統 */
.rating-group {
    margin-bottom: 20px;
}

.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 1.8rem;
    line-height: 2.5rem;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ddd;
    cursor: pointer;
    padding: 0 3px;
    transition: color 0.3s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

.star-rating input:checked + label {
    color: #ffc107;
}

/* 已登入用戶 */
.logged-in-user {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.user-info h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.user-info p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

/* 字數統計 */
.char-counter {
    text-align: right;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

/* 反垃圾檢查 */
.anti-spam {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.spam-check-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spam-equation {
    font-weight: 600;
    color: var(--primary-color);
}

#spam_check {
    width: 80px;
    display: inline-block;
}

/* 評論政策 */
.comment-policy {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 0.9rem;
}

.comment-policy h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.comment-policy ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.comment-policy li {
    margin-bottom: 8px;
}

/* 留言功能已關閉 */
.comments-disabled {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.comments-disabled i {
    margin-bottom: 20px;
    color: #ddd;
}

.comments-disabled h4 {
    color: #666;
    margin-bottom: 10px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .article-comments {
        padding: 20px;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-meta {
        margin-bottom: 10px;
    }
    
    .comment-replies {
        padding-left: 10px;
    }
    
    .comment-form-container {
        padding: 20px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
/* ====== 评分系统样式 ====== */
.salon-rating-summary {
    background: linear-gradient(135deg, rgba(91, 165, 149, 0.1) 0%, rgba(91, 165, 149, 0.05) 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(91, 165, 149, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars i {
    font-size: 1.5rem;
}

.rating-stars .fa-star,
.rating-stars .fa-star-half-alt {
    color: #FFC107;
}

.rating-stars .fa-star-o {
    color: #ddd;
}

.rating-count {
    font-size: 1rem;
    color: #666;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.rating-breakdown {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.rating-breakdown small {
    font-size: 0.9rem;
}

/* 评分分组样式 */
.rating-group {
    margin-bottom: 25px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 5px;
    margin-top: 10px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 2rem;
    color: #ddd;
    transition: all 0.3s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input[type="radio"]:checked ~ label {
    color: #FFC107;
}

.star-rating input[type="radio"]:checked + label {
    color: #FFC107;
}

/* 评论中的评分 */
.comment-rating {
    display: flex;
    gap: 3px;
    margin-left: 10px;
}

.comment-rating i {
    font-size: 0.9rem;
}

.comment-rating .fa-star.text-warning {
    color: #FFC107;
}

.comment-rating .fa-star-o {
    color: #ddd;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .salon-rating-summary {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .rating-badge {
        justify-content: center;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .rating-stars i {
        font-size: 1.3rem;
    }
    
    .rating-breakdown {
        text-align: center;
        min-width: 100%;
    }
    
    .star-rating label {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .rating-number {
        font-size: 2rem;
    }
    
    .rating-stars i {
        font-size: 1.1rem;
    }
    
    .star-rating label {
        font-size: 1.5rem;
    }
}

/* 动画效果 */
@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.star-rating label:hover {
    animation: starPulse 0.3s ease-in-out;
}

/* 评分详细统计（如果需要） */
.rating-details {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.rating-detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-star-label {
    width: 80px;
    font-size: 0.9rem;
    color: #666;
}

.rating-bar-container {
    flex: 1;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 10px;
}

.rating-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    transition: width 1s ease;
}

.rating-percentage {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}