/* ============================================================
 * 商品详情页专属样式
 * 从 product_detail.html 内联 <style> 中抽离，优化 SEO 代码文本比
 * ============================================================ */

/* 移动端语言切换按钮 */
.product-page-mobile-language-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

/* 屏幕阅读器仅用链接（商品高清图集） */
.product-gallery-direct-links.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
 * 信任徽章行
 * ============================================================ */
.mall-trust-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    margin: 12px 0 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.mall-trust-badges::-webkit-scrollbar {
    display: none;
}
.mall-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary, #a4b0be);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}
.mall-trust-badge svg {
    color: var(--accent-color, #ff4757);
    flex-shrink: 0;
}
.mall-trust-badge-link {
    color: var(--text-primary, #ffffff);
    transition: color 0.2s ease;
}
.mall-trust-badge-link:hover {
    color: var(--accent-color, #ff4757);
    text-decoration: underline;
}

/* ============================================================
 * 酒水规格卡片
 * ============================================================ */
.product-specs-card {
    background: linear-gradient(145deg, rgba(25, 42, 68, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(229, 193, 88, 0.28);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 18px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.product-specs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(229, 193, 88, 0.2);
}
.specs-icon {
    font-size: 1rem;
}
.product-specs-header h4 {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 700;
    color: #E5C158;
    letter-spacing: 0.02em;
}
.product-specs-list {
    margin: 0;
    padding: 0;
}
.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
    font-size: 0.86rem;
}
.specs-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.specs-row dt {
    color: #94A3B8;
    margin: 0;
}
.specs-row dd {
    color: #F8FAFC;
    font-weight: 600;
    margin: 0;
    text-align: right;
}
.duty-paid-tag {
    color: #00FF88 !important;
    font-weight: 700 !important;
}

/* ============================================================
 * 企业大宗采购 / B2B 卡片
 * ============================================================ */
.product-b2b-section {
    margin: 28px 0 20px 0;
}
.product-b2b-card {
    background: linear-gradient(135deg, rgba(25, 42, 68, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(229, 193, 88, 0.35);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
}
.product-b2b-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #E5C158 0%, #00ffa3 100%);
}
.b2b-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.b2b-content-wrap {
    flex: 1;
    min-width: 260px;
}
.b2b-header-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
.b2b-icon-badge {
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(229, 193, 88, 0.12);
    border: 1px solid rgba(229, 193, 88, 0.25);
    border-radius: 10px;
    flex-shrink: 0;
}
.b2b-title {
    color: #E5C158;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.35;
}
.b2b-desc {
    color: #CBD5E1;
    font-size: 0.85rem;
    margin: 4px 0 0 0;
    line-height: 1.45;
}
.b2b-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 10px;
    padding-left: 50px;
}
.b2b-perk {
    font-size: 0.78rem;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.b2b-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.b2b-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.b2b-action-btn.whatsapp {
    background: #25D366;
    color: #fff;
    border: 1px solid transparent;
}
.b2b-action-btn.whatsapp:hover {
    background: #22bf5b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.b2b-action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #f8fafc);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
}
.b2b-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary, #94a3b8);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .product-b2b-card {
        padding: 15px;
    }
    .b2b-perks {
        padding-left: 0;
    }
    .b2b-actions {
        flex-direction: column;
    }
    .b2b-action-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================================
 * 分区标题（产品亮点 / FAQ 等通用）
 * ============================================================ */
.product-section-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 28px 0 14px 0;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.02em;
}
.product-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(229, 193, 88, 0.6) 0%, rgba(0, 215, 122, 0.35) 40%, rgba(255, 255, 255, 0.05) 100%);
}
.product-section-title .section-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(229, 193, 88, 0.18), rgba(0, 215, 122, 0.12));
    border: 1px solid rgba(229, 193, 88, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ============================================================
 * 产品亮点网格
 * ============================================================ */
.product-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.highlight-item {
    background: linear-gradient(145deg, rgba(30, 50, 75, 0.45) 0%, rgba(15, 27, 42, 0.65) 100%);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #E5C158 0%, #00D77A 100%);
    border-radius: 3px 0 0 3px;
}
.highlight-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 215, 122, 0.4);
    box-shadow: 0 8px 24px rgba(0, 215, 122, 0.12);
}
.highlight-title {
    color: #E5C158;
    font-size: 0.92rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}
.highlight-desc, .highlight-text {
    font-size: 0.86rem;
    color: #CBD5E1;
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
 * 商品标签包装（风味特色 / 适用场景）
 * ============================================================ */
.product-tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}
.product-tag-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.product-tag-label {
    font-weight: 700;
    font-size: 0.86rem;
    color: #94A3B8;
}
.product-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.product-tag-pill {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}
.feature-pill {
    background: rgba(255, 71, 87, 0.12);
    color: #FFA4AC;
    border: 1px solid rgba(255, 71, 87, 0.3);
}
.feature-pill:hover {
    background: rgba(255, 71, 87, 0.22);
    border-color: rgba(255, 71, 87, 0.5);
    color: #FFFFFF;
    transform: translateY(-1px);
}
.scenario-pill {
    background: rgba(0, 212, 255, 0.12);
    color: #7CE3FF;
    border: 1px solid rgba(0, 212, 255, 0.3);
}
.scenario-pill:hover {
    background: rgba(0, 212, 255, 0.22);
    border-color: rgba(0, 212, 255, 0.5);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* ============================================================
 * 品鉴与饮用建议
 * ============================================================ */
.drinking-guide-content {
    background: linear-gradient(135deg, rgba(229, 193, 88, 0.08) 0%, rgba(13, 27, 42, 0.7) 100%);
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(229, 193, 88, 0.25);
    border-left: 4px solid #E5C158;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================
 * 品牌故事
 * ============================================================ */
.brand-story-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.9rem;
    line-height: 1.75;
    color: #CBD5E1;
}
.brand-story-content p {
    margin: 0 0 10px 0;
}
.brand-story-content p:last-child {
    margin-bottom: 0;
}

/* ============================================================
 * 合作线下体验点
 * ============================================================ */
.partner-stores-subtext {
    font-size: 0.84rem;
    color: #94A3B8;
    margin-bottom: 12px;
}
.partner-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}
.store-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}
.store-card:hover {
    border-color: rgba(0, 215, 122, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 215, 122, 0.12);
}
.store-card-header {
    margin-bottom: 8px;
}
.store-badge {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.badge-dining {
    background: rgba(229, 193, 88, 0.15);
    color: #F3D069;
    border: 1px solid rgba(229, 193, 88, 0.35);
}
.badge-retail {
    background: rgba(0, 215, 122, 0.12);
    color: #00FF88;
    border: 1px solid rgba(0, 215, 122, 0.35);
}
.store-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 4px 0 6px 0;
    color: #F8FAFC;
}
.store-address, .store-hours {
    font-size: 0.84rem;
    color: #94A3B8;
    margin: 4px 0;
    line-height: 1.45;
}
.store-map-link {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.store-map-link a {
    font-size: 0.84rem;
    color: #00FF88;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}
.store-map-link a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* ============================================================
 * FAQ 折叠面板
 * ============================================================ */
.product-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
    overflow: hidden;
}
.product-faq-item[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 215, 122, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.product-faq-question {
    cursor: pointer;
    font-size: 0.92rem;
    color: #F8FAFC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-weight: 600;
}
.product-faq-question::-webkit-details-marker {
    display: none;
}
.faq-question-text {
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(0, 215, 122, 0.15);
    color: #00FF88;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}
.faq-toggle-icon {
    font-size: 0.95rem;
    color: #00FF88;
    transition: transform 0.25s ease;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 215, 122, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-faq-item[open] .faq-toggle-icon {
    transform: rotate(45deg);
    background: rgba(255, 71, 87, 0.15);
    color: #FF4757;
}
.product-faq-answer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: #CBD5E1;
    line-height: 1.65;
}
.product-faq-answer p {
    margin: 0;
}
