/* ================= 奢侈品级设计系统 (基础变量与重置) ================= */
:root {
    --lux-font-serif: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
    --lux-font-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --lux-primary: #1a1a1a;
    --lux-secondary: #6b6560;
    --lux-accent: #c9a96e;
    --lux-accent-hover: #b8965f;
    --lux-bg: #faf9f7;
    --lux-surface: #ffffff;
    --lux-border: #e8e4df;
    --lux-border-light: #f2efe9;
    --lux-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --lux-shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --lux-shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
    --lux-shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
    --lux-transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --lux-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* AI 标签专属颜色 */
    --ai-gradient-start: #4facfe;
    --ai-gradient-end: #00f2fe;
    --ai-glow: rgba(79, 172, 254, 0.4);
}

.lux-page {
    box-sizing: border-box;
    font-family: var(--lux-font-sans);
    color: var(--lux-primary);
    background-color: var(--lux-bg);
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.lux-page * { box-sizing: border-box; }
.lux-page a { text-decoration: none; color: inherit; transition: all 0.3s var(--lux-transition); }
.lux-page img { max-width: 100%; display: block; }
.lux-container { max-width: 1440px; margin: 0 auto; padding: 40px 32px 80px; }

/* ================= 面包屑导航 ================= */
.lux-breadcrumb {
    display: flex; align-items: center; gap: 12px; margin-bottom: 48px; padding: 16px 0;
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lux-secondary);
    border-bottom: 1px solid var(--lux-border-light);
}
.lux-breadcrumb a { font-weight: 400; position: relative; padding-bottom: 2px; }
.lux-breadcrumb a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--lux-accent); transition: width 0.3s var(--lux-transition);
}
.lux-breadcrumb a:hover { color: var(--lux-accent); }
.lux-breadcrumb a:hover::after { width: 100%; }
.lux-breadcrumb .sep { opacity: 0.3; font-weight: 200; }
.lux-breadcrumb .current { color: var(--lux-primary); font-weight: 500; letter-spacing: 2px; }

/* ================= 主展示区 ================= */
.lux-showcase {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; margin-bottom: 100px; align-items: start;
}

/* 图片画廊 (修复高度塌陷核心) */
.lux-gallery { position: relative; width: 100%; }
.lux-gallery-wrapper {
    width: 100%; aspect-ratio: 4/5; min-height: 450px;
    background: var(--lux-surface); border-radius: 4px;
    overflow: hidden; box-shadow: var(--lux-shadow-lg); position: relative;
}
.lux-gallery-wrapper::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(0,0,0,0.03); border-radius: 4px; pointer-events: none; z-index: 2;
}
.swiper { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.swiper-slide { display: flex; align-items: center; justify-content: center; background: var(--lux-surface); }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--lux-ease-out); }
.swiper-slide:hover img { transform: scale(1.03); }

.swiper-button-next, .swiper-button-prev {
    width: 48px; height: 48px; color: var(--lux-primary) !important; background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important; box-shadow: 0 4px 16px rgba(0,0,0,0.08); backdrop-filter: blur(8px);
    transition: all 0.3s var(--lux-transition);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: 600; letter-spacing: 0; }
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--lux-surface) !important; transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.swiper-pagination-bullet {
    width: 8px; height: 8px; background: var(--lux-secondary) !important; opacity: 0.3; transition: all 0.3s var(--lux-transition);
}
.swiper-pagination-bullet-active { opacity: 1; background: var(--lux-accent) !important; width: 24px; border-radius: 4px; }

/* =================  整合部分：现代轻奢风格局部样式 ================= */

.lux-page { 
    background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 100%) !important; 
}

.aman-detail-section { 
    margin-top: 80px; 
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 60px 80px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
}

.aman-desc-toggle {
    background: linear-gradient(135deg, #faf9f7 0%, #f0ece6 100%) !important; 
    border: 1px solid #e8e4de !important;
    border-radius: 20px !important;
    padding: 24px 32px !important; 
    height: auto !important; 
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
}

.aman-desc-toggle:hover { 
    background: linear-gradient(135deg, #f5f2ec 0%, #ebe5db 100%) !important; 
    border-color: #c9a96e !important; 
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.15) !important;
}

.aman-desc-toggle .toggle-label span { 
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 24px !important; 
    color: #1a1a1a !important; 
    text-transform: none !important; 
    letter-spacing: 1px !important; 
    font-weight: 700 !important;
}

.aman-desc-toggle .toggle-icon { 
    display: none !important; 
}

.aman-desc-toggle .toggle-arrow { 
    font-size: 18px !important; 
    font-weight: 700 !important; 
    color: #c9a96e !important; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; 
}

.aman-desc-toggle.active .toggle-arrow { 
    transform: rotate(180deg) !important; 
}

.aman-content-wrapper {
    background: transparent !important; 
    padding: 60px 0 0 0 !important; 
    margin-top: 0 !important;
    border: none !important; 
    box-shadow: none !important; 
    border-radius: 0 !important;
}

.aman-content-wrapper h1, 
.aman-content-wrapper h2, 
.aman-content-wrapper h3, 
.aman-content-wrapper h4 {
    font-family: 'Noto Sans SC', sans-serif !important;
    color: #1a1a1a !important; 
    font-weight: 700 !important; 
    letter-spacing: 0.5px !important;
    text-align: left !important; 
    margin: 64px 0 28px !important; 
    font-size: 30px !important; 
    line-height: 1.4 !important;
    position: relative !important;
    padding-left: 28px !important;
}

.aman-content-wrapper h2::after, 
.aman-content-wrapper h3::after {
    display: none !important;
}

.aman-content-wrapper h2::before, 
.aman-content-wrapper h3::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 5px !important;
    height: 30px !important;
    background: linear-gradient(135deg, #c9a96e 0%, #b8956a 100%) !important;
    border-radius: 3px !important;
    display: block !important;
}

.aman-content-wrapper p {
    font-family: 'Noto Sans SC', sans-serif !important; 
    font-size: 16px !important;
    color: #555555 !important; 
    line-height: 2.2 !important; 
    letter-spacing: 0 !important;
    text-align: justify !important; 
    margin-bottom: 24px !important; 
    font-weight: 400 !important;
}

.aman-content-wrapper img {
    display: block !important; 
    max-width: 100% !important; 
    height: auto !important; 
    margin: 48px auto !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12) !important; 
    border-radius: 24px !important; 
    opacity: 1 !important; 
    visibility: visible !important;
}

.aman-content-wrapper blockquote {
    border-left: 5px solid #c9a96e !important; 
    border-image: linear-gradient(180deg, #c9a96e 0%, #b8956a 100%) 1 !important;
    padding: 28px 36px !important; 
    margin: 48px 0 !important;
    background: linear-gradient(135deg, #faf9f7 0%, #f0ece6 100%) !important; 
    color: #555555 !important; 
    font-style: normal !important;
    font-family: 'Noto Sans SC', sans-serif !important; 
    font-size: 16px !important; 
    line-height: 2 !important; 
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
}

/* ========== 🚨 右侧商品详情 - 新样式 ========== */

/* 品牌标签 */
.lux-brand {
    font-family: 'Inter', 'Noto Sans SC', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #c9a96e !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f0ece6 !important;
}

/* 标题 */
.lux-title {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: 0.5px !important;
}

/* 副标题 */
.lux-subtitle {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
    font-size: 15px !important;
    color: #999999 !important;
    line-height: 1.8 !important;
    margin: 0 0 28px 0 !important;
    font-weight: 400 !important;
}

/* 价格卡片 */
.lux-price-block {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f1ec 100%) !important;
    border-radius: 20px !important;
    padding: 28px 32px !important;
    margin-bottom: 28px !important;
    border: 1px solid rgba(201, 169, 110, 0.08) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.lux-price-current {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #c9a96e !important;
    line-height: 1 !important;
}

.lux-price-original {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 18px !important;
    color: #aaaaaa !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
}

.lux-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a96e 0%, #b8956a 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* 规格组通用样式 */
.lux-specs-group { margin-bottom: 24px !important; }

/* 规格标签 */
.lux-specs-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 14px !important;
}

.lux-specs-label::before {
    content: '⬡';
    color: #c9a96e;
    font-size: 18px;
}

/* 规格列表 */
.lux-specs-list {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.lux-spec-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 90px !important;
    padding: 16px 24px !important;
    border-radius: 14px !important;
    border: 2px solid #e8e4de !important;
    background: #ffffff !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.lux-spec-item:hover {
    border-color: #c9a96e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.15) !important;
}

.lux-spec-item.active {
    background: linear-gradient(135deg, #c9a96e 0%, #b8956a 100%) !important;
    border-color: #c9a96e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.25) !important;
}

/* 颜色圆点 */
.lux-color-dot {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    margin-right: 8px !important;
    border: 2px solid rgba(0,0,0,0.1) !important;
    flex-shrink: 0 !important;
}

/* 数量选择区域 */
.lux-quantity-section { margin-top: 4px !important; }

.lux-qty-control {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    background: #ffffff !important;
    border: 2px solid #e8e4de !important;
    border-radius: 14px !important;
    padding: 4px !important;
    width: fit-content !important;
}

.lux-qty-btn {
    width: 48px !important;
    height: 48px !important;
    border: none !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lux-qty-btn:hover { background: #f5f3f0 !important; }
.lux-qty-btn:disabled { opacity: 0.3 !important; cursor: not-allowed !important; }

.lux-qty-input {
    width: 60px !important;
    height: 48px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    outline: none !important;
    font-family: 'Noto Sans SC', sans-serif !important;
}

/* 库存框样式 */
.lux-stock-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    background: #fdf9f2 !important;
    border: 1px solid rgba(201, 169, 110, 0.2) !important;
    font-size: 13px !important;
}

.lux-stock-box.low-stock { background: #fff8f0 !important; border-color: rgba(255, 152, 0, 0.3) !important; }
.lux-stock-box.out-of-stock { background: #fff5f5 !important; border-color: rgba(244, 67, 54, 0.3) !important; }

.stock-label { color: #999 !important; font-weight: 400 !important; }
.stock-value { color: #c9a96e !important; font-weight: 700 !important; font-size: 15px !important; }

/* 汇总条 - 深色卡片 */
.lux-summary-bar {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
    border-radius: 18px !important;
    padding: 24px 32px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 28px 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.lux-summary-label {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 15px !important;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
}

.lux-summary-total {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #c9a96e !important;
    line-height: 1 !important;
}

/* 规格/评价 Tab 模块 */
.lux-module-section { margin-top: 24px !important; }
.lux-module-toggle-group { display: flex !important; gap: 12px !important; margin-bottom: 20px !important; }

.lux-module-toggle-btn {
    flex: 1 !important;
    padding: 14px 20px !important;
    background: #ffffff !important;
    border: 2px solid #e8e4de !important;
    border-radius: 12px !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
}

.lux-module-toggle-btn:hover { border-color: #c9a96e !important; color: #c9a96e !important; }
.lux-module-toggle-btn.active { background: #1a1a1a !important; border-color: #1a1a1a !important; color: #ffffff !important; }

.lux-module-content { display: none !important; }
.lux-module-content.active { display: block !important; }

/* 规格参数列表 */
.lux-specs-display-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.lux-specs-display-list li {
    display: flex !important;
    justify-content: space-between !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f5f3f0 !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 14px !important;
}
.lux-specs-display-list li:first-child { color: #999999 !important; }
.lux-specs-display-list li:last-child { border-bottom: none !important; }

/* 评价表格 */
.lux-review-table { width: 100% !important; border-collapse: collapse !important; }
.lux-review-table th {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #999999 !important;
    text-align: left !important;
    padding: 12px 8px !important;
    border-bottom: 2px solid #f0ece6 !important;
}
.lux-review-table td { padding: 14px 8px !important; font-size: 14px !important; border-bottom: 1px solid #f5f3f0 !important; }
.lux-stars { color: #c9a96e !important; font-size: 14px !important; letter-spacing: 2px !important; }
.lux-stars span { color: #e0dcd6 !important; }
.lux-stars span.active { color: #c9a96e !important; }
.lux-empty-reviews { text-align: center !important; padding: 40px 20px !important; }

/* 操作按钮 */
.lux-action-bar { display: flex !important; gap: 14px !important; margin: 24px 0 !important; }
.lux-btn {
    flex: 1 !important;
    padding: 18px 24px !important;
    border-radius: 16px !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.lux-btn-outline { background: #ffffff !important; color: #1a1a1a !important; border: 2px solid #e0dcd6 !important; }
.lux-btn-outline:hover { border-color: #c9a96e !important; color: #c9a96e !important; transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important; }
.lux-btn-primary { background: linear-gradient(135deg, #c9a96e 0%, #b8956a 100%) !important; color: #ffffff !important; border: none !important; box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3) !important; }
.lux-btn-primary:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 28px rgba(201, 169, 110, 0.4) !important; }
.lux-btn-primary:disabled { background: #ccc !important; cursor: not-allowed !important; color: #999 !important; box-shadow: none !important; transform: none !important; }

/* ================= 🚨 分享区域 (修复核心) ================= */
.lux-share-section { margin-top: 16px !important; }
.lux-share-trigger-btn {
    width: 100% !important; padding: 16px !important; background: transparent !important;
    border: 2px dashed #e0dcd6 !important; border-radius: 14px !important;
    font-family: 'Noto Sans SC', sans-serif !important; font-size: 14px !important;
    color: #999999 !important; cursor: pointer !important; transition: all 0.3s ease !important;
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
}
.lux-share-trigger-btn:hover { border-color: #c9a96e !important; color: #c9a96e !important; background: #fdf9f2 !important; }
.lux-share-trigger-btn svg { width: 18px !important; height: 18px !important; }

/* 分享面板 (底部弹出式 - 移动端风格) */
.lux-share-panel {
    display: none !important; position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
    background: #ffffff !important; border-radius: 24px 24px 0 0 !important;
    padding: 28px 24px 40px !important; z-index: 9999 !important;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12) !important;
}
.lux-share-panel.active { display: block !important; }
.lux-share-panel-title {
    font-family: 'Noto Sans SC', sans-serif !important; font-size: 18px !important;
    font-weight: 700 !important; color: #1a1a1a !important; text-align: center !important; margin-bottom: 24px !important;
}
.lux-share-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; }
.lux-share-item {
    display: flex !important; flex-direction: column !important; align-items: center !important;
    gap: 8px !important; cursor: pointer !important; transition: transform 0.2s ease !important;
}
.lux-share-item:hover { transform: translateY(-3px) !important; }
.lux-share-item .icon-wrap {
    width: 52px !important; height: 52px !important; border-radius: 16px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}
.lux-share-item span { font-size: 12px !important; color: #666666 !important; font-weight: 500 !important; }

/* 🚨 分享面板 - 新样式（匹配 HTML 类名 -new，桌面端悬浮式） */
.lux-share-section-new { position: relative !important; margin-top: 16px !important; }
.lux-share-trigger-new {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 10px !important; width: 100% !important; padding: 16px !important; background: transparent !important;
    border: 2px dashed #e0dcd6 !important; border-radius: 14px !important;
    font-family: 'Noto Sans SC', sans-serif !important; font-size: 14px !important;
    color: #999999 !important; cursor: pointer !important; transition: all 0.3s ease !important;
}
.lux-share-trigger-new:hover { border-color: #c9a96e !important; color: #c9a96e !important; background: #fdf9f2 !important; }
.lux-share-trigger-new svg { width: 18px !important; height: 18px !important; }

/* 分享面板 (悬浮式) */
.lux-share-panel-new {
    position: absolute !important; top: calc(100% + 12px) !important; left: 50% !important;
    transform: translateX(-50%) !important; z-index: 10000 !important; /* 提高层级防止遮挡 */
    background: #ffffff !important; border: 1px solid #e8e4de !important;
    border-radius: 16px !important; box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    padding: 24px !important; display: none !important; min-width: 320px !important;
    animation: luxFadeDown 0.3s ease !important;
}
.lux-share-panel-new.active { display: block !important; }

@keyframes luxFadeDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.lux-share-panel-title-new {
    font-family: 'Noto Sans SC', sans-serif !important; font-size: 16px !important;
    font-weight: 600 !important; color: #1a1a1a !important; margin-bottom: 20px !important;
    text-align: center !important; letter-spacing: 1px !important;
}
.lux-share-grid-new { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
.lux-share-item-new {
    display: flex !important; flex-direction: column !important; align-items: center !important;
    gap: 8px !important; cursor: pointer !important; padding: 12px 8px !important;
    border-radius: 12px !important; transition: all 0.25s ease !important; border: 1px solid transparent !important;
}
.lux-share-item-new:hover { background: #faf9f7 !important; border-color: #e8e4de !important; transform: translateY(-3px) !important; }
.lux-share-icon-wrap {
    width: 48px !important; height: 48px !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    transition: transform 0.2s ease !important;
}
.lux-share-item-new:hover .lux-share-icon-wrap { transform: scale(1.1) !important; }
.lux-share-icon-wrap svg { width: 24px !important; height: 24px !important; }
.lux-share-item-name { font-size: 11px !important; color: #666666 !important; font-weight: 500 !important; letter-spacing: 0.5px !important; }

/* 二维码弹窗 */
.lux-qr-modal-overlay { 
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0,0,0,0.6); /* 加深背景色，更明显 */
    display: none; /* 这里保留 none，靠 HTML 的 style 或 JS 控制 */
    align-items: center; 
    justify-content: center; 
    z-index: 100000 !important; /* 强制最高层级 */
    backdrop-filter: blur(4px); 
}

.lux-qr-modal {
    background: var(--lux-surface); padding: 40px; border-radius: 16px;
    text-align: center; box-shadow: var(--lux-shadow-xl); position: relative;
    width: 340px; animation: luxFadeDown 0.3s var(--lux-ease-out);
}
.lux-qr-modal h3 { margin: 0 0 20px; font-family: var(--lux-font-serif); font-size: 22px; letter-spacing: 0.5px; color: var(--lux-primary); }
.lux-qr-modal img { width: 220px; height: 220px; border: 1px solid var(--lux-border); padding: 16px; margin: 0 auto 20px; display: block; background: #fff; border-radius: 8px; }
.lux-qr-modal p { font-size: 13px; color: var(--lux-secondary); margin: 0; letter-spacing: 0.3px; }
.lux-qr-modal .close-qr { position: absolute; top: 16px; right: 16px; font-size: 24px; cursor: pointer; color: var(--lux-secondary); line-height: 1; transition: color 0.2s; }
.lux-qr-modal .close-qr:hover { color: var(--lux-primary); }

/* ========== 🚨 详情描述 + 规格参数 + 用户评价 整合区域 ========== */
.lux-tabs-row { display: flex !important; gap: 16px !important; margin-bottom: 0 !important; }
.lux-tabs-row .aman-desc-toggle { flex: 1 !important; margin-bottom: 0 !important; }

.lux-full-panel {
    display: none !important; width: 100% !important; margin-top: 24px !important;
    padding: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important;
}
.lux-full-panel.active { display: block !important; }
.lux-specs-full-content { padding: 20px 0 !important; }
.lux-reviews-full-content { padding: 20px 0 !important; }

/* ==========  臻选茶系导航样式 ========== */
.tea-section { padding: 80px 0 60px; background: #faf9f7; }
.tea-section-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif !important;
    font-size: 36px !important; font-weight: 400 !important; color: #1a1a1a !important;
    text-align: center !important; margin: 0 0 16px 0 !important; letter-spacing: 2px !important;
}
.tea-section-title::after { content: ''; display: block; width: 60px; height: 2px; background: #c9a96e; margin: 20px auto 0; }
.tea-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 1200px; margin: 40px auto 0; padding: 0 20px; }
.tea-card {
    display: flex; flex-direction: column; align-items: center; padding: 32px 20px;
    background: #ffffff; border: 1px solid #e8e4de; border-radius: 12px; text-decoration: none; transition: all 0.3s ease;
}
.tea-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: #c9a96e; }
.tea-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.tea-icon svg { width: 24px; height: 24px; stroke: #ffffff; fill: none; stroke-width: 1.5; }
.tea-name {
    font-family: 'Cormorant Garamond', serif !important; font-size: 18px !important;
    font-weight: 600 !important; color: #1a1a1a !important; margin-bottom: 6px !important; letter-spacing: 0.5px !important;
}
.tea-desc { font-family: 'Inter', sans-serif !important; font-size: 12px !important; color: #999999 !important; font-weight: 300 !important; letter-spacing: 0.5px !important; }

/* 新页脚 */
.site-footer-new { background: transparent !important; color: #1a1a1a !important; padding: 40px 0 !important; text-align: center !important; }
.site-footer-new p { font-family: 'Inter', sans-serif !important; font-size: 13px !important; margin: 0 !important; opacity: 0.7; }

/* ================= AI 悬浮对话框 ================= */
.lux-ai-float-trigger {
    position: fixed; bottom: 32px; right: 32px; width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ai-gradient-start), var(--ai-gradient-end)); color: #fff; border: none;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.4); cursor: pointer; z-index: 9998;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0); pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lux-ai-float-trigger.show-ai { opacity: 1; transform: scale(1); pointer-events: auto; animation: floatBounce 3s ease-in-out infinite; }
.lux-ai-float-trigger:hover { transform: scale(1.12); box-shadow: 0 12px 40px rgba(79, 172, 254, 0.6); }
.lux-ai-float-trigger.hidden { display: none; }
.lux-ai-float-trigger .trigger-badge {
    position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; background: #ff4757; border-radius: 50%;
    font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff; animation: badgePulse 2s ease-in-out infinite;
}
@keyframes floatBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes badgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.lux-ai-float-window {
    position: fixed; bottom: 32px; right: 32px; width: 480px; height: 680px; max-height: calc(100vh - 64px);
    background: var(--lux-surface); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    display: none; flex-direction: column; z-index: 9999; overflow: hidden;
    transform: translateY(20px) scale(0.95); opacity: 0; transition: all 0.35s var(--lux-ease-out);
}
.lux-ai-float-window.active { display: flex; transform: translateY(0) scale(1); opacity: 1; }

.lux-ai-float-header {
    padding: 14px 18px; background: linear-gradient(135deg, var(--ai-gradient-start), var(--ai-gradient-end));
    color: #fff; display: flex; justify-content: space-between; align-items: center; cursor: move;
    user-select: none; flex-shrink: 0; border-radius: 16px 16px 0 0;
}
.lux-ai-float-header-left { display: flex; align-items: center; gap: 10px; }
.lux-ai-float-title { font-size: 15px; font-weight: 700; letter-spacing: 0.3px; }
.lux-ai-float-btn {
    width: 28px; height: 28px; border-radius: 6px; border: none; background: rgba(255,255,255,0.2);
    color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all 0.2s;
}
.lux-ai-float-btn:hover { background: rgba(255,255,255,0.35); }

.lux-ai-float-chat { flex: 1; overflow-y: auto; padding: 16px; background: var(--lux-bg); }
.lux-chat-bubble { max-width: 82%; margin-bottom: 14px; display: flex; flex-direction: column; animation: luxFadeInUp 0.3s var(--lux-ease-out); }
@keyframes luxFadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.lux-chat-bubble.user { align-items: flex-end; }
.lux-chat-bubble.assistant { align-items: flex-start; }
.lux-bubble-content {
    padding: 12px 16px; border-radius: 12px; font-size: 13px; line-height: 1.65;
    white-space: pre-wrap; word-break: break-word; font-family: var(--lux-font-sans);
}
.lux-chat-bubble.user .lux-bubble-content { background: linear-gradient(135deg, var(--ai-gradient-start), var(--ai-gradient-end)); color: #fff; border-radius: 12px 12px 2px 12px; }
.lux-chat-bubble.assistant .lux-bubble-content { background: var(--lux-surface); color: var(--lux-primary); border: 1px solid var(--lux-border); border-radius: 12px 12px 12px 2px; box-shadow: var(--lux-shadow-sm); }

.lux-ai-float-input-area { padding: 14px 16px; background: var(--lux-surface); border-top: 1px solid var(--lux-border); flex-shrink: 0; }
.lux-ai-float-input-row { display: flex; gap: 10px; align-items: flex-end; }
.lux-ai-float-textarea {
    flex: 1; min-height: 40px; max-height: 100px; border: 1px solid var(--lux-border); border-radius: 10px;
    padding: 10px 14px; font-size: 13px; color: var(--lux-primary); resize: none; outline: none;
    font-family: var(--lux-font-sans); line-height: 1.5; transition: border-color 0.2s;
}
.lux-ai-float-textarea:focus { border-color: var(--ai-gradient-start); }
.lux-ai-float-send {
    width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--ai-gradient-start), var(--ai-gradient-end));
    border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: all 0.2s; flex-shrink: 0;
}
.lux-ai-float-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(79,172,254,0.4); }
.lux-ai-float-send:disabled { background: var(--lux-border); cursor: not-allowed; transform: none; box-shadow: none; }

.lux-ai-float-tools { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.lux-ai-float-tools .lux-lang-tag {
    padding: 4px 10px; font-size: 10px; font-weight: 600; letter-spacing: 0.3px; border: 1px solid var(--lux-border);
    border-radius: 12px; background: var(--lux-bg); color: var(--lux-secondary); cursor: pointer;
    transition: all 0.2s; text-transform: none; line-height: 1.4; user-select: none;
}
.lux-ai-float-tools .lux-lang-tag:hover { border-color: var(--ai-gradient-start); color: var(--ai-gradient-start); }
.lux-ai-float-tools .lux-lang-tag.active { background: var(--lux-primary); color: #fff; border-color: var(--lux-primary); }

/* 底部语言切换 */
.lux-lang-switch-footer {
    margin-top: 100px; padding: 48px 0; display: flex; align-items: center; justify-content: center; gap: 48px;
    border-top: 1px solid var(--lux-border-light);
}
.lux-lang-tags { display: flex; justify-content: center; flex-wrap: nowrap; gap: 12px; }
.lux-lang-tag {
    cursor: pointer; padding: 10px 20px; font-size: 11px; font-weight: 600; color: var(--lux-secondary);
    border: 1px solid transparent; border-radius: 2px; transition: all 0.3s var(--lux-transition);
    background: transparent; user-select: none; letter-spacing: 1.5px; text-transform: uppercase;
}
.lux-lang-tag:hover { color: var(--lux-primary); border-color: var(--lux-border); }
.lux-lang-tag.active { background: var(--lux-primary); color: #fff; border-color: var(--lux-primary); }

/* 滚动条 */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--lux-border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--lux-secondary); }

/* ================= 🐼 熊猫行走与变身动画 ================= */
#panda-walker {
    position: fixed; bottom: 32px; right: -100px; width: 100px; height: 120px; z-index: 9999; pointer-events: none;
    animation: pandaMove 5.25s linear forwards;
}
#panda-walker.landing { animation: none; right: 32px; }
#panda-walker.landing .panda-body-wrapper { animation: pandaLand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important; }
#panda-walker.landing .panda-leg { animation: none !important; opacity: 0; transition: opacity 0.2s; }
#panda-walker.landing .panda-shadow { animation: none !important; opacity: 0; transition: opacity 0.2s; }

.panda-container { position: relative; width: 100%; height: 100%; }
.panda-shadow {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 12px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%; animation: shadowPulse 0.6s ease-in-out infinite;
}
.panda-body-wrapper {
    position: absolute; bottom: 5px; left: 0; width: 100%; height: 100%;
    animation: pandaBounce 0.6s ease-in-out infinite; transform-origin: bottom center;
}
.panda-leg { position: absolute; bottom: 0; width: 20px; height: 30px; z-index: -1; }
.panda-leg.left-leg { left: 25px; animation: legJumpLeft 0.6s ease-in-out infinite; transform-origin: top center; }
.panda-leg.right-leg { right: 25px; animation: legJumpRight 0.6s ease-in-out infinite; transform-origin: top center; }

@keyframes pandaMove { 0% { right: -150px; } 100% { right: 32px; } }
@keyframes pandaBounce { 0%, 100% { transform: translateY(0) scaleY(0.95) scaleX(1.05); } 50% { transform: translateY(-35px) scaleY(1.1) scaleX(0.95); } }
@keyframes legJumpLeft { 0%, 100% { transform: translateY(0) rotate(15deg) scaleY(0.8); } 50% { transform: translateY(-15px) rotate(-30deg) scaleY(1.2); } }
@keyframes legJumpRight { 0%, 100% { transform: translateY(0) rotate(-15deg) scaleY(0.8); } 50% { transform: translateY(-15px) rotate(30deg) scaleY(1.2); } }
@keyframes shadowPulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.4; } 50% { transform: translateX(-50%) scale(0.5); opacity: 0.1; } }
@keyframes pandaLand { 0% { transform: translateY(0) scale(1, 1) rotate(0deg); opacity: 1; } 20% { transform: translateY(10px) scale(1.3, 0.7) rotate(0deg); } 50% { transform: translateY(-60px) scale(0.8, 1.2) rotate(360deg); opacity: 1; } 100% { transform: translateY(-40px) scale(0) rotate(720deg); opacity: 0; } }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
    .lux-showcase { grid-template-columns: 1fr; gap: 48px; }
    .lux-details { position: static; }
    .lux-ai-float-window { width: 580px; height: 780px; }
    .tea-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .lux-container { padding: 24px 16px 48px; }
    .lux-showcase { gap: 32px; margin-bottom: 60px; }
    .lux-title { font-size: 28px !important; }
    .lux-gallery-wrapper { aspect-ratio: 3/4; min-height: 350px; }
    .lux-action-bar { flex-direction: column !important; }
    .lux-btn { width: 100%; }
    .lux-share-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .lux-module-toggle-group { flex-direction: column; }
    .lux-lang-switch-footer { flex-direction: column; gap: 24px; }
    .lux-lang-switch-footer::before, .lux-lang-switch-footer::after { display: none; }
    .lux-lang-tags { flex-wrap: wrap; justify-content: center; }
    .lux-desc-content { padding: 24px 20px; }
    .lux-content-header-row { flex-direction: column; align-items: stretch; }
    .lux-ai-float-window { width: calc(100% - 16px) !important; height: calc(100% - 80px) !important; bottom: 8px !important; right: 8px !important; left: 8px !important; border-radius: 12px; }
    .lux-ai-float-trigger { bottom: 20px; right: 20px; width: 56px; height: 56px; }
    
    #panda-walker { bottom: 20px; width: 80px; height: 96px; }
    #panda-walker.landing { right: 20px; }
    @keyframes pandaMove { 0% { right: -120px; } 100% { right: 20px; } }

    .aman-detail-section { margin-top: 40px; padding: 32px 20px !important; border-radius: 16px !important; }
    .aman-desc-toggle { padding: 18px 20px !important; border-radius: 14px !important; }
    .aman-desc-toggle .toggle-label span { font-size: 18px !important; }
    .aman-content-wrapper { padding: 32px 0 0 0 !important; }
    .aman-content-wrapper h1, .aman-content-wrapper h2, .aman-content-wrapper h3 { font-size: 22px !important; margin: 40px 0 20px !important; padding-left: 18px !important; }
    .aman-content-wrapper h2::before, .aman-content-wrapper h3::before { width: 4px !important; height: 22px !important; }
    .aman-content-wrapper p { font-size: 15px !important; line-height: 1.9 !important; }
    .aman-content-wrapper img { margin: 24px auto !important; border-radius: 16px !important; }
    .aman-content-wrapper blockquote { padding: 20px 24px !important; margin: 32px 0 !important; font-size: 15px !important; border-radius: 12px !important; }

    .lux-subtitle { font-size: 13px !important; }
    .lux-price-block { padding: 20px 24px !important; border-radius: 16px !important; }
    .lux-price-current { font-size: 32px !important; }
    .lux-price-original { font-size: 15px !important; }
    .lux-spec-item { min-width: 76px !important; padding: 12px 18px !important; font-size: 13px !important; }
    .lux-summary-bar { padding: 20px 24px !important; border-radius: 14px !important; }
    .lux-summary-total { font-size: 26px !important; }
    .lux-action-bar { gap: 10px !important; }
    .lux-btn { padding: 16px 20px !important; font-size: 15px !important; border-radius: 14px !important; }
    .lux-share-grid { gap: 16px !important; }
    .lux-tabs-row { flex-direction: column !important; gap: 10px !important; }
    .lux-tabs-row .aman-desc-toggle { width: 100% !important; }

    .tea-section { padding: 40px 0 30px; }
    .tea-section-title { font-size: 28px !important; }
    .tea-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tea-card { padding: 24px 16px; }
    .tea-icon { width: 48px; height: 48px; }
    .tea-name { font-size: 16px !important; }

    /* 响应式分享面板 */
    .lux-share-grid-new { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
    .lux-share-panel-new { min-width: 280px !important; padding: 20px !important; }
}
/* ================= 🚨 AI 对话框样式强制修复 ================= */

/* 1. 窗口主体 */
/* =================  AI 对话框样式强制修复 ================= */
#aiFloatWindow {
    position: fixed !important;
    bottom: 32px !important;
    right: 32px !important;
    width: 580px !important;  /* 改为 480 */
    height: 780px !important; /* 改为 680 */
    max-height: calc(100vh - 40px) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
    display: none !important;
    flex-direction: column !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    font-family: 'Inter', 'Noto Sans SC', sans-serif !important;
}
#aiFloatWindow.active {
    display: flex !important;
}

/* 2. 头部 (Header) - 修复渐变背景和布局 */
.lux-ai-float-header {
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; /* 恢复蓝青渐变 */
    color: #fff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: move !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    border-radius: 16px 16px 0 0 !important;
}

.lux-ai-float-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.lux-ai-float-header-left .panda-mini {
    width: 28px !important;
    height: 28px !important;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.lux-ai-float-header-left .panda-mini svg { width: 20px; height: 20px; }

.lux-ai-float-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

.lux-ai-float-badge {
    background: rgba(255,255,255,0.25) !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.lux-ai-float-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.lux-ai-float-header-right .room-info {
    font-size: 10px !important;
    opacity: 0.9 !important;
    letter-spacing: 0.5px !important;
    margin-right: 4px;
}

.lux-ai-float-btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    border: none !important;
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    padding: 0 !important;
    margin: 0 !important;
}
.lux-ai-float-btn:hover { background: rgba(255,255,255,0.35) !important; }

/* 3. 模式切换栏 (Mode Bar) - 修复按钮样式 */
.lux-ai-float-mode-bar {
    display: flex !important;
    padding: 10px 16px !important;
    gap: 8px !important;
    border-bottom: 1px solid #f2efe9 !important;
    flex-shrink: 0 !important;
    background: #faf9f7 !important;
}

.lux-ai-float-mode-btn {
    flex: 1 !important;
    padding: 7px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #e8e4df !important;
    background: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #6b6560 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
    font-family: 'Noto Sans SC', sans-serif !important;
}

.lux-ai-float-mode-btn.active {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #1a1a1a !important;
}

/* 4. 聊天区域 */
.lux-ai-float-chat {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px !important;
    background: #faf9f7 !important;
}

/* 5. 输入区域 */
.lux-ai-float-input-area {
    padding: 14px 16px !important;
    background: #ffffff !important;
    border-top: 1px solid #e8e4df !important;
    flex-shrink: 0 !important;
}

.lux-ai-float-input-row {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-end !important;
}

.lux-ai-float-textarea {
    flex: 1 !important;
    min-height: 40px !important;
    max-height: 100px !important;
    border: 1px solid #e8e4df !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #1a1a1a !important;
    resize: none !important;
    outline: none !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    line-height: 1.5 !important;
}

.lux-ai-float-send {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}
.lux-ai-float-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(79,172,254,0.4); }
.lux-ai-float-send:disabled { background: #e8e4df !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }

/* 6. 语言标签 */
.lux-ai-float-tools {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 10px !important;
    flex-wrap: wrap !important;
}
.lux-ai-float-tools .lux-lang-tag {
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    border: 1px solid #e8e4df !important;
    border-radius: 12px !important;
    background: #faf9f7 !important;
    color: #6b6560 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}
.lux-ai-float-tools .lux-lang-tag.active {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #1a1a1a !important;
}
/* ================= 🚨 扩大 AI 对话框尺寸 ================= */
.lux-ai-float-window {
    /* 原尺寸是 400x600，现在扩大到 480x680 */
    width: 580px !important;
    height: 780px !important;
    max-height: calc(100vh - 40px) !important; /* 防止超出屏幕高度 */
    
    /* 保持原有的其他样式 */
    position: fixed !important;
    bottom: 32px !important;
    right: 32px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
    display: none !important;
    flex-direction: column !important;
    z-index: 9999 !important;
    overflow: hidden !important;
}

/* 移动端适配：在小屏幕上自动变回全屏或合适大小 */
@media (max-width: 768px) {
    .lux-ai-float-window {
        width: calc(100% - 32px) !important; /* 左右留 16px */
        height: calc(100vh - 80px) !important; /* 上下留空间 */
        bottom: 16px !important;
        right: 16px !important;
        left: 16px !important;
    }
}
/* ================= 🚨 规格参数卡片化样式 (模仿截图2) ================= */

.lux-specs-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 卡片之间的间距 */
    padding: 10px 0;
}

.lux-spec-card {
    background: #f9f9f9 !important; /* 截图2的浅灰背景 */
    border-radius: 20px !important; /* 大圆角 */
    padding: 24px 30px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02) !important;
    transition: transform 0.2s ease;
}

.lux-spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
}

/* 头部：头像 + 标题 */
.lux-spec-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

/* 左侧圆形头像 (金色背景，白色文字) */
.lux-spec-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #c9a96e !important; /* 金色，与品牌色一致 */
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Noto Sans SC', sans-serif;
    flex-shrink: 0;
}

.lux-spec-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 参数名称 (模仿截图2的用户名) */
.lux-spec-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin-bottom: 4px;
    font-family: 'Noto Sans SC', sans-serif;
}

/* 副标题 (模仿截图2的日期) */
.lux-spec-meta {
    font-size: 12px;
    color: #999999 !important;
    font-weight: 400;
}

/* 参数值内容 (模仿截图2的评论内容) */
.lux-spec-value {
    font-size: 15px;
    color: #555555 !important;
    line-height: 1.6;
    padding-left: 64px; /* 向左偏移，与标题文字对齐，避开头像 */
    font-family: 'Noto Sans SC', sans-serif;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .lux-spec-card {
        padding: 20px !important;
    }
    .lux-spec-value {
        padding-left: 0 !important; /* 移动端取消偏移，占满宽度 */
        margin-top: 12px;
        border-top: 1px solid #eee;
        padding-top: 12px;
    }
}
/* =================  修复后台视频/图片溢出边界 ================= */

/* 1. 强制限制视频和 iframe 的宽度 */
.lux-desc-content video,
.lux-desc-content iframe,
.lux-desc-content img,
.aman-content-wrapper video,
.aman-content-wrapper iframe,
.aman-content-wrapper img {
    max-width: 100% !important; /* 核心：最大宽度不超过父容器 */
    height: auto !important;    /* 高度自动，保持比例 */
    display: block !important;
    margin: 20px auto !important; /* 居中显示 */
    box-sizing: border-box;
}

/* 2. 针对 iframe (如 B站、YouTube 嵌入视频) 的特殊处理 */
/* 保持 16:9 比例，防止高度塌陷 */
.lux-desc-content iframe,
.aman-content-wrapper iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    border: none;
    border-radius: 12px; /* 加个圆角更美观 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 3. 针对本地 video 标签的美化 */
.lux-desc-content video,
.aman-content-wrapper video {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #000; /* 视频加载前的背景色 */
}
/* ================= 🚨 强制扩大 AI 对话框 (最高优先级) ================= */
#aiFloatWindow.lux-ai-float-window {
    width: 580px !important;
    height: 780px !important;
    max-height: calc(100vh - 40px) !important;
    min-width: 480px !important; /* 防止被压缩 */
}

/* 如果上面的不行，试一下这个针对 ID 的 */
#aiFloatWindow {
    width: 580px !important;
    height: 780px !important;
}

/* ================= 🚨 让 AI 对话区域充满对话框 ================= */

/* 1. 聊天容器本身占满 */
.lux-ai-float-chat {
    width: 100% !important;
    box-sizing: border-box;
    padding: 16px !important; /* 保持一点内边距 */
}

/* 2. 重置所有气泡的基础宽度限制 */
.lux-ai-float-chat .lux-chat-bubble {
    max-width: 100% !important; /* 取消 82% 的限制 */
    width: 100% !important;
    margin-bottom: 20px !important; /* 增加间距 */
}

/* 3. 专门针对 AI 回复 (Assistant)：完全铺满 */
.lux-ai-float-chat .lux-chat-bubble.assistant {
    align-items: flex-start !important; /* 靠左对齐 */
    width: 100% !important;
}

.lux-ai-float-chat .lux-chat-bubble.assistant .lux-bubble-content {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 12px !important;
}

/* 4. 专门针对用户回复 (User)：保持气泡样式，靠右 */
.lux-ai-float-chat .lux-chat-bubble.user {
    align-items: flex-end !important; /* 靠右对齐 */
    justify-content: flex-end !important;
    width: auto !important; /* 宽度自适应内容 */
    max-width: 85% !important; /* 用户消息不要太宽 */
    margin-left: auto !important; /* 推到右边 */
}

.lux-ai-float-chat .lux-chat-bubble.user .lux-bubble-content {
    /* 用户气泡保持原有样式 */
}

/* 5. 修复商品卡片的宽度，让它也铺满 */
.lux-product-card {
    width: 100% !important;
    box-sizing: border-box;
}
