/* ==================== 京东风格商城样式 ==================== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #333;
}

/* 容器样式 */
.container {
    width: 1480px;
    margin: 0 auto;
}

/* ==================== 京东风格顶部导航 ==================== */
.jd-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

/* 顶部信息栏 */
.jd-header-top {
    height: 30px;
    background: #f1f1f1;
    line-height: 30px;
    font-size: 12px;
}

.jd-header-top .container {
    display: flex;
    justify-content: space-between;
}

.header-top-left, .header-top-right {
    display: flex;
    align-items: center;
}

.top-link {
    color: #666;
    padding: 0 10px;
}

.top-link:hover {
    color: #e33333;
}

.separator {
    color: #ddd;
}

/* 主导航栏 */
.jd-header-main {
    height: 100px;
    padding: 15px 0;
    background: #fff;
}

.jd-header-main .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.jd-logo-wrap {
    width: 190px;
    height: 60px;
}

.jd-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 搜索框 */
.jd-search-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 550px;
}

.jd-search-wrap > div:first-child {
    display: flex;
    align-items: center;
    border: 2px solid #e33333;
}

.search-select-wrap {
    background: #f3f3f3;
    padding: 0 12px;
    height: 36px;
    display: flex;
    align-items: center;
    border-right: 1px solid #ccc;
}

.search-select {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.search-input {
    flex: 1;
    height: 36px;
    padding: 0 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background: #e33333;
    color: #fff;
    border: none;
    height: 36px;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-btn:hover {
    background: #d42b2b;
}

.hot-words {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hot-label {
    color: #999;
    font-size: 12px;
}

.hot-words a {
    color: #666;
    font-size: 12px;
    margin-right: 10px;
}

.hot-words a:hover {
    color: #e33333;
}

/* 右侧快捷入口 */
.jd-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cart, .header-service {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
    position: relative;
    padding: 8px 15px;
}

.header-cart:hover, .header-service:hover {
    color: #e33333;
}

.header-cart {
    background: #fff;
    border: 1px solid #eee;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e33333;
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* 分类导航栏 */
.jd-category-nav {
    background: #fff;
    border-bottom: 2px solid #e33333;
}

.jd-category-nav .container {
    display: flex;
    align-items: center;
}

.category-all {
    background: #e33333;
    color: #fff;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-items {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 20px;
}

.category-item {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.category-item:hover, .category-item.active {
    color: #e33333;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #e33333;
}

/* ==================== 商城主体区域 ==================== */
.shop-body {
    padding: 0;
    background: #fff;
}

.shop-spa-container {
    background: #fff;
    min-height: calc(100vh - 200px);
}

/* ==================== 京东风格顶部横幅区域 ==================== */
.jd-banner-area {
    background: #fff;
    padding: 10px 0 0;
}

.banner-row {
    display: flex;
    gap: 10px;
    height: 420px;
    background: #fff;
}

/* ==================== 京东风格左侧分类导航 ==================== */
.jd-category-sidebar {
    width: 190px;
    background: #fff;
    padding: 10px 0;
    position: relative;
    border-radius: 0;
}

.category-sidebar-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    border-left: 3px solid transparent;
}

.category-sidebar-item:hover {
    background: #fff5f5;
    border-left-color: #e33333;
    color: #e33333;
}

.item-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-name i {
    font-size: 11px;
    color: #999;
}

.category-sidebar-item:hover .item-name i {
    color: #e33333;
}

.item-arrow {
    color: #ccc;
    font-size: 12px;
}

.category-sidebar-item:hover .item-arrow {
    color: #e33333;
}

/* 分类悬浮菜单 */
.category-float-menu {
    position: absolute;
    left: 190px;
    top: 0;
    width: 800px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.15);
    padding: 20px;
    display: none;
    z-index: 100;
}

.jd-category-sidebar .category-sidebar-item:hover .category-float-menu {
    display: block;
}

.float-menu-col {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.float-menu-item {
    padding: 5px 15px;
    background: #f9f9f9;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
}

.float-menu-item:hover {
    background: #e33333;
    color: #fff;
}

/* ==================== 京东风格轮播图 ==================== */
.jd-carousel {
    flex: 1;
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex-shrink: 0;
    width: 100%;
    height: 420px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(0,0,0,0.1);
}

.carousel-indicator.active {
    background: #fff;
    border-color: #e33333;
}

/* ==================== 京东风格右侧快捷区域 ==================== */
.jd-carousel-right {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    background: #fff;
}

.right-item {
    height: calc(50% - 5px);
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.right-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s;
}

/* ==================== 京东风格快捷入口频道 ==================== */
.jd-channels {
    background: #fff;
    padding: 15px 0;
    margin-bottom: 10px;
}

.channel-row {
    display: flex;
    justify-content: space-around;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.channel-item:hover {
    transform: translateY(-3px);
}

.channel-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}

.channel-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* ==================== 促销标签区域 ==================== */
.jd-promotion-tags {
    background: #fff;
    padding: 10px 20px;
    overflow: hidden;
}

.jd-promotion-tags-inner {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.promotion-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.promotion-tag:hover {
    transform: scale(1.06);
}

.national-subsidy {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}

.judicial-sale {
    background: #fff;
    border: 1px solid #e33333;
    color: #e33333;
}

.enterprise-plan {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
}

.enterprise {
    background: #fff;
    border: 1px solid #0984e3;
    color: #0984e3;
}

.phone-card {
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
    color: #fff;
}

.sports {
    background: #fff;
    border: 1px solid #00b894;
    color: #00b894;
}

.jd-mart {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: #fff;
}

.jd-life {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
}

.cross-border {
    background: #fff;
    border: 1px solid #6c5ce7;
    color: #6c5ce7;
}

.all-channels {
    background: #f5f5f5;
    color: #666;
}

/* ==================== 商品展示区域 ==================== */
.jd-goods-section {
    background: #fff;
    margin-bottom: 10px;
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 15px 0;
    border-bottom: 2px solid #e33333;
    margin-bottom: 15px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title span:first-child {
    color: #e33333;
}

.section-more {
    font-size: 13px;
    color: #999;
}

.section-more:hover {
    color: #e33333;
}

/* 商品网格 */
.goods-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.goods-item {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 1px solid #f5f5f5;
}

.goods-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border-color: #e33333;
}

.goods-item:hover::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid #e33333;
    border-radius: 8px;
    animation: borderFlow 2s linear infinite;
    pointer-events: none;
}

@keyframes borderFlow {
    0% {
        clip-path: inset(0 0 98% 0);
    }
    25% {
        clip-path: inset(0 98% 0 0);
    }
    50% {
        clip-path: inset(98% 0 0 0);
    }
    75% {
        clip-path: inset(0 0 0 98%);
    }
    100% {
        clip-path: inset(0 0 98% 0);
    }
}

/* 商品操作按钮 */
.goods-actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.goods-item:hover .goods-actions {
    opacity: 1;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.cart-btn {
    background: linear-gradient(135deg, #e33333, #ff6b6b);
    color: #fff;
}

.cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(227, 51, 51, 0.4);
}

/* 购物车动画相关样式 */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cart-bounce {
    animation: cartBounce 0.4s ease-in-out;
}

@keyframes cartShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.cart-shake {
    animation: cartShake 0.4s ease-in-out;
}

#float-cart {
    cursor: pointer;
}

.buy-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}

.buy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.4);
}

.goods-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 12px;
    border-radius: 6px;
    background: #f9f9f9;
}

.goods-title {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    height: auto;
    min-height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    padding-right: 0;
    position: relative;
    word-break: break-all;
}

.goods-title:hover {
    color: #e33333;
}

.goods-price-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.goods-price {
    font-size: 20px;
    font-weight: 700;
    color: #e33333;
}

.goods-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.goods-sales {
    font-size: 12px;
    color: #999;
}

.goods-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.tag {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 2px;
}

.tag-self {
    background: #e33333;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
}

.tag-hot {
    background: linear-gradient(135deg, #ff6b6b, #e33333);
    color: #fff;
}

.tag-new {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
}

/* ==================== 页脚区域 ==================== */
.jd-footer {
    background: #fff;
}

/* 页脚服务保障 */
.footer-services {
    display: flex;
    justify-content: space-around;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.service-item i {
    font-size: 24px;
    color: #e33333;
}

/* 页脚帮助中心 */
.footer-help {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.help-section {
    width: 200px;
}

.help-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.help-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-section li {
    margin-bottom: 10px;
}

.help-section a {
    font-size: 12px;
    color: #666;
}

.help-section a:hover {
    color: #e33333;
}

.help-section.contact {
    text-align: center;
}

.help-section.contact .phone {
    font-size: 20px;
    font-weight: 700;
    color: #e33333;
    margin: 10px 0 5px 0;
}

.help-section.contact .time {
    font-size: 12px;
    color: #666;
}

/* 版权信息 */
.footer-copyright {
    padding: 20px 0;
    text-align: center;
}

.copyright-links {
    margin-bottom: 10px;
}

.copyright-links a {
    font-size: 12px;
    color: #666;
    margin: 0 10px;
}

.copyright-links span {
    color: #ddd;
}

.footer-copyright p {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

/* 右侧悬浮菜单 */
.shop-float-menu {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-menu-item {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.float-menu-item:hover {
    background: #e33333;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(227, 51, 51, 0.4);
}

.float-menu-item:hover i,
.float-menu-item:hover span {
    color: #fff;
}

.float-menu-item i {
    font-size: 22px;
    color: #333;
    margin-bottom: 2px;
}

.float-menu-item span {
    font-size: 10px;
    color: #666;
}

.float-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e33333;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* AI聊天窗口 */
.ai-chat-panel {
    position: fixed;
    bottom: 100px;
    right: 110px;
    width: 420px;
    height: 580px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-panel.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #e33333, #b02a2a);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar i {
    font-size: 20px;
}

.chat-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
}

.chat-header-right {
    display: flex;
    gap: 8px;
}

.chat-minimize,
.chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.chat-minimize:hover,
.chat-close:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f7fa;
}

.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.chat-message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #e33333, #b02a2a);
    color: #fff;
}

.user-message .message-avatar {
    background: #f0f0f0;
    color: #333;
}

.message-avatar i {
    font-size: 18px;
}

.message-content {
    max-width: 70%;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.user-message .message-content {
    background: #e33333;
    color: #fff;
}

.message-content p {
    margin: 0 0 8px 0;
    line-height: 1.6;
    font-size: 13px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.suggestion-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.suggestion-item:hover {
    background: #e33333;
    color: #fff;
    border-color: #e33333;
}

.chat-footer {
    border-top: 1px solid #e0e0e0;
    padding: 12px 16px;
    background: #fff;
}

.chat-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

#chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#chat-input:focus {
    border-color: #e33333;
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #e33333, #b02a2a);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

.chat-tools {
    display: flex;
    gap: 8px;
}

.chat-tool-btn {
    padding: 8px 14px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}

.chat-tool-btn:hover {
    background: #e33333;
    color: #fff;
}

/* 反馈面板 */
.feedback-panel {
    position: fixed;
    bottom: 100px;
    right: 110px;
    width: 380px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.feedback-panel.active {
    display: flex;
}

.panel-header {
    background: #f5f7fa;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.panel-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.panel-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.panel-close:hover {
    color: #e33333;
}

.panel-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 18px;
}

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

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: #e33333;
}

.panel-footer {
    padding: 14px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary,
.btn-primary {
    padding: 11px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-primary {
    background: linear-gradient(135deg, #e33333, #b02a2a);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 51, 51, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .shop-float-menu {
        right: 15px;
    }
    
    .float-menu-item {
        width: 48px;
        height: 48px;
    }
    
    .ai-chat-panel,
    .feedback-panel {
        right: 80px;
        width: calc(100% - 100px);
        bottom: 20px;
    }
    
    .footer-services {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-help {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .help-section {
        width: 45%;
    }
}



/* ==================== 响应式适配 ==================== */
@media (max-width: 1500px) {
    .container {
        width: 1200px;
    }
    .goods-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1500px) {
    .goods-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .container {
        width: 992px;
    }
    .goods-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .jd-carousel-right {
        display: none;
    }
}

@media (max-width: 992px) {
    .container {
        width: 768px;
    }
    .goods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-right {
        grid-template-columns: repeat(4, 1fr);
    }
    .jd-category-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    .goods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-right {
        grid-template-columns: repeat(2, 1fr);
    }
    .jd-header-top {
        display: none;
    }
    .jd-header-main {
        height: 70px;
        padding: 10px 0;
    }
    .category-items {
        display: none;
    }
    .jd-search-wrap {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .goods-grid {
        grid-template-columns: 1fr;
    }
    .featured-right {
        grid-template-columns: 1fr;
    }
    .search-input {
        display: none;
    }
}

/* ==================== 用户头像下拉菜单 ==================== */
.user-info-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0 10px;
}

.user-avatar-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: #666;
}

.user-avatar-wrap:hover .user-name {
    color: #e33333;
}

.user-avatar-wrap:hover .fa-chevron-down {
    color: #e33333;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 1000;
    display: none;
    padding: 8px 0;
}

.user-info-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 0;
}

.dropdown-item .top-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    line-height: 1.5;
}

.dropdown-item .top-link:hover {
    background: #f5f5f5;
    color: #e33333;
}

.dropdown-item .top-link i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* ==================== 京东风格用户面板 ==================== */
.jd-user-panel {
    width: 200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.jd-user-panel:hover {
    box-shadow: 0 4px 20px rgba(227, 51, 51, 0.15);
    border-color: #e33333;
    transform: translateY(-2px);
}

.user-panel-header {
    padding: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
}

.user-panel-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.user-panel-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e33333;
}

.user-panel-info {
    flex: 1;
    min-width: 0;
}

.user-panel-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.user-panel-level {
    font-size: 11px;
    color: #e33333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-panel-desc {
    font-size: 11px;
    color: #999;
}

/* 钱包和积分区域 */
.user-panel-wallet {
    display: flex;
    padding: 12px;
    gap: 12px;
    border-bottom: 1px solid #eee;
}

.wallet-item {
    flex: 1;
    text-align: center;
}

.wallet-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.wallet-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.wallet-symbol {
    font-size: 14px;
    color: #e33333;
    font-weight: 600;
}

.wallet-amount {
    font-size: 18px;
    color: #e33333;
    font-weight: 700;
}

/* 充值提现按钮 */
.user-panel-wallet-actions {
    display: flex;
    padding: 12px;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.wallet-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.recharge-btn {
    background: linear-gradient(135deg, #e33333, #ff6b6b);
    color: #fff;
}

.recharge-btn:hover {
    background: linear-gradient(135deg, #cc2222, #e33333);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(227, 51, 51, 0.3);
}

.withdraw-btn {
    background: #fff;
    color: #e33333;
    border: 1px solid #e33333;
}

.withdraw-btn:hover {
    background: #e33333;
    color: #fff;
    transform: translateY(-1px);
}

.user-panel-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    gap: 8px;
}

.user-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #fff;
    border-radius: 0;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.user-action-item:hover {
    background: #e33333;
    color: #fff;
}

.user-action-item i {
    font-size: 18px;
    margin-bottom: 6px;
}

.user-action-item span {
    font-size: 12px;
}

.user-action-item.login-btn {
    background: linear-gradient(135deg, #e33333, #ff6b6b);
    color: #fff;
}

.user-action-item.login-btn:hover {
    background: linear-gradient(135deg, #cc2222, #e33333);
}

.user-action-item.register-btn {
    background: #fff;
    color: #e33333;
    border: 1px solid #e33333;
}

.user-action-item.register-btn:hover {
    background: #e33333;
    color: #fff;
}

.user-panel-quick {
    padding: 0 12px 12px;
}

.quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 12px;
    color: #e33333;
    transition: all 0.3s;
}

.quick-btn:hover {
    background: #e33333;
    color: #fff;
    border-color: #e33333;
}

/* 响应式隐藏用户面板 */
@media (max-width: 1200px) {
    .jd-user-panel {
        display: none;
    }
}

/* ==================== 商品规格选择弹窗 ==================== */
.goods-spec-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.goods-spec-modal.active {
    display: flex;
}

.spec-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.spec-modal-content {
    position: relative;
    width: 520px;
    background: #fff;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spec-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spec-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.spec-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
}

.spec-modal-close:hover {
    background: #e33333;
    color: #fff;
}

.spec-modal-body {
    padding: 24px;
}

.spec-goods-info {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.spec-goods-image {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.spec-goods-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec-goods-price {
    font-size: 22px;
    font-weight: 700;
    color: #e33333;
    margin-bottom: 8px;
}

.spec-goods-stock {
    font-size: 13px;
    color: #666;
}

.spec-group {
    margin-bottom: 24px;
}

.spec-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.spec-option:hover {
    border-color: #e33333;
    color: #e33333;
}

.spec-option.active {
    border-color: #e33333;
    background: #fff5f5;
    color: #e33333;
}

.quantity-group {
    margin-bottom: 8px;
}

.quantity-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
}

.quantity-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.quantity-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.quantity-btn:hover {
    background: #e33333;
    color: #fff;
    border-color: #e33333;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 70px;
    height: 38px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
    color: #333;
    outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spec-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
}

.btn-confirm-buy {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #e33333, #c41d1d);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 51, 51, 0.4);
}

.btn-confirm-buy:active {
    transform: translateY(0);
}

/* ==================== 淘宝风格商品详情页面 ==================== */
.tb-goods-detail {
    background: #f5f5f5;
    padding: 20px 0;
}

.tb-goods-detail .container {
    background: #fff;
    padding: 20px;
}

/* 面包屑导航 */
.tb-breadcrumb {
    font-size: 12px;
    color: #666;
    padding: 10px 0;
    margin-bottom: 15px;
}

.tb-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.tb-breadcrumb a:hover {
    color: #FF6A00;
}

.tb-breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

/* 商品主要信息区域 */
.tb-goods-main {
    display: flex;
    gap: 30px;
    padding-top: 20px;
}

/* 左侧商品图片区域 */
.tb-goods-gallery {
    width: 460px;
    flex-shrink: 0;
}

.tb-main-image-wrap {
    position: relative;
    width: 460px;
    height: 460px;
    border: 1px solid #eee;
    background: #f9f9f9;
    margin-bottom: 15px;
}

.tb-main-goods-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tb-goods-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.tb-tag {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 2px;
}

.tb-tag-self {
    background: #FF6A00;
    color: #fff;
}

.tb-thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.tb-thumb-item {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9f9f9;
}

.tb-thumb-item.active {
    border-color: #FF6A00;
}

.tb-thumb-item:hover {
    border-color: #FF6A00;
}

.tb-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧商品详情信息 */
.tb-goods-info {
    flex: 1;
}

.tb-goods-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.tb-goods-subtitle {
    font-size: 13px;
    color: #FF6A00;
    margin-bottom: 15px;
}

/* 价格区域 */
.tb-price-section {
    background: #fff5f5;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.tb-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tb-price-label {
    font-size: 13px;
    color: #666;
}

.tb-current-price {
    font-size: 30px;
    font-weight: 700;
    color: #FF6A00;
}

.tb-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* 促销信息 */
.tb-promotion-section {
    margin-bottom: 15px;
}

.tb-promotion-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tb-promotion-label {
    font-size: 13px;
    color: #666;
    width: 70px;
    flex-shrink: 0;
}

.tb-promotion-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tb-coupon-tag {
    background: linear-gradient(135deg, #FF6A00, #ff8c38);
    color: #fff;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
}

.tb-promotion-text {
    font-size: 13px;
    color: #333;
}

/* 配送信息 */
.tb-delivery-section {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tb-delivery-label {
    font-size: 13px;
    color: #666;
    width: 70px;
    flex-shrink: 0;
}

.tb-delivery-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #333;
}

.tb-service-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.tb-service-item i {
    color: #FF6A00;
}

/* 商品属性选择 */
.tb-attribute-section {
    margin-bottom: 20px;
}

.tb-attribute-item {
    margin-bottom: 15px;
}

.tb-attribute-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.tb-attribute-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tb-attribute-option {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 2px;
}

.tb-attribute-option:hover {
    border-color: #FF6A00;
    color: #FF6A00;
}

.tb-attribute-option.active {
    border-color: #FF6A00;
    background: #fff5f0;
    color: #FF6A00;
}

/* 数量选择 */
.tb-quantity-section {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.tb-quantity-label {
    font-size: 13px;
    color: #666;
    width: 70px;
    flex-shrink: 0;
}

.tb-quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.tb-quantity-btn {
    width: 36px;
    height: 36px;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.2s;
}

.tb-quantity-btn:hover {
    background: #FF6A00;
    color: #fff;
}

.tb-quantity-input {
    width: 60px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.tb-stock-info {
    margin-left: 15px;
    font-size: 13px;
    color: #666;
}

/* 操作按钮区域 */
.tb-action-section {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.tb-btn-add-cart {
    flex: 0 0 180px;
    height: 46px;
    background: linear-gradient(135deg, #ff8c38, #FF6A00);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.tb-btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.tb-btn-buy-now {
    flex: 0 0 180px;
    height: 46px;
    background: linear-gradient(135deg, #FF6A00, #e55a00);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.tb-btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.tb-btn-favorite {
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-btn-favorite:hover {
    color: #FF6A00;
    border-color: #FF6A00;
}

.tb-btn-favorite.active {
    color: #FF6A00;
}

/* 统计信息 */
.tb-stats-section {
    display: flex;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.tb-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.tb-stat-item span:first-child {
    color: #FF6A00;
    font-weight: 600;
}

/* 商品详情标签页 */
.tb-goods-tabs {
    margin-top: 30px;
    background: #f5f5f5;
    padding: 20px;
}

.tb-tab-nav {
    display: flex;
    background: #fff;
    border-bottom: 2px solid #FF6A00;
    margin-bottom: 20px;
}

.tb-tab-btn {
    padding: 15px 35px;
    background: #fff;
    border: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.tb-tab-btn:hover {
    color: #FF6A00;
}

.tb-tab-btn.active {
    background: #FF6A00;
    color: #fff;
}

.tb-tab-content {
    background: #fff;
    padding: 20px;
}

.tb-tab-pane {
    display: none;
}

.tb-tab-pane.active {
    display: block;
}

/* 商品详情内容 */
.tb-goods-description {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.tb-goods-images {
    margin-top: 20px;
}

.tb-goods-images img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* 规格参数表格 */
.tb-spec-table {
    width: 100%;
}

.tb-spec-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tb-spec-label {
    width: 150px;
    padding: 12px 15px;
    background: #f9f9f9;
    font-size: 13px;
    color: #666;
    flex-shrink: 0;
}

.tb-spec-value {
    flex: 1;
    padding: 12px 15px;
    font-size: 13px;
    color: #333;
}

/* 评论区域 */
.tb-comment-overview {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tb-comment-score {
    text-align: center;
}

.tb-score-number {
    font-size: 40px;
    font-weight: 700;
    color: #FF6A00;
    margin-bottom: 5px;
}

.tb-score-stars {
    color: #FF6A00;
    font-size: 16px;
    margin-bottom: 5px;
}

.tb-score-text {
    font-size: 13px;
    color: #666;
}

.tb-comment-stats {
    flex: 1;
}

.tb-stat-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.tb-stat-bar span:first-child {
    width: 50px;
    color: #666;
}

.tb-stat-progress {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
}

.tb-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #FF6A00, #ff8c38);
    border-radius: 4px;
}

.tb-comment-list {
    margin-top: 20px;
}

.tb-comment-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.tb-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tb-comment-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tb-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
}

.tb-comment-name {
    font-size: 13px;
    color: #333;
}

.tb-comment-time {
    font-size: 12px;
    color: #999;
}

.tb-comment-content {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

/* 售后保障 */
.tb-service-content {
    padding: 30px;
    text-align: center;
}

.tb-service-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.tb-service-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 店铺信息 */
.tb-shop-info {
    padding: 30px;
}

.tb-shop-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.tb-shop-logo {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.tb-shop-detail {
    flex: 1;
}

.tb-shop-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.tb-shop-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.tb-shop-actions {
    display: flex;
    gap: 10px;
}

.tb-shop-btn {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.tb-shop-btn:hover {
    border-color: #FF6A00;
    color: #FF6A00;
}

.tb-shop-btn.primary {
    background: #FF6A00;
    color: #fff;
    border-color: #FF6A00;
}

.tb-shop-btn.primary:hover {
    background: #e55a00;
}

/* 相关商品 */
.tb-related-goods {
    margin-top: 30px;
}

.tb-related-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #FF6A00;
    margin-bottom: 20px;
}

.tb-related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.tb-related-item {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.tb-related-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tb-related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.tb-related-name {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
    margin-bottom: 8px;
}

.tb-related-price {
    font-size: 16px;
    font-weight: 700;
    color: #FF6A00;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .tb-goods-main {
        flex-direction: column;
    }
    
    .tb-goods-gallery {
        width: 100%;
    }
    
    .tb-main-image-wrap {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 15px;
    }
    
    .tb-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .tb-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tb-action-section {
        flex-wrap: wrap;
    }
    
    .tb-btn-add-cart,
    .tb-btn-buy-now {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .tb-goods-detail .container {
        padding: 10px;
    }
    
    .tb-main-image-wrap {
        height: auto;
    }
    
    .tb-main-goods-image {
        width: 100%;
        height: auto;
    }
    
    .tb-current-price {
        font-size: 24px;
    }
    
    .tb-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tb-comment-overview {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==================== 京东风格商品详情页 - 针对原HTML结构 ==================== */

/* 整体容器背景 */
.jinsom-main-goods-single {
    background: #f4f4f4 !important;
    padding: 20px 0 !important;
}

.jinsom-main-goods-single .jinsom-main-content {
    width: 1200px !important;
    margin: 0 auto !important;
    background: #fff !important;
    padding: 0 !important;
}

/* 商品头部区域 - 京东风格布局 */
.jinsom-goods-single-header {
    display: flex !important;
    gap: 30px !important;
    padding: 20px !important;
    background: #fff !important;
}

/* 左侧图片区域 */
.jinsom-goods-single-header .left {
    width: 450px !important;
    flex-shrink: 0 !important;
}

.jinsom-goods-single-header .left .views {
    position: relative !important;
    width: 450px !important;
    height: 450px !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    margin-bottom: 15px !important;
}

.jinsom-goods-single-header .left .views img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.jinsom-goods-single-header .left .views .mark {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 10 !important;
}

/* 缩略图列表 */
.jinsom-goods-single-header .left .list {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
}

.jinsom-goods-single-header .left .list li {
    width: 60px !important;
    height: 60px !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 2px !important;
}

.jinsom-goods-single-header .left .list li.on {
    border-color: #e4393c !important;
}

.jinsom-goods-single-header .left .list li:hover {
    border-color: #e4393c !important;
}

.jinsom-goods-single-header .left .list li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 右侧商品信息区域 */
.jinsom-goods-single-header .right {
    flex: 1 !important;
}

/* 商品标题 */
.jinsom-goods-single-header .right .title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #666 !important;
    line-height: 28px !important;
    margin-bottom: 8px !important;
}

.jinsom-goods-single-header .right .subtitle {
    font-size: 12px !important;
    color: #e4393c !important;
    margin-bottom: 15px !important;
}

/* 价格区域 - 京东风格粉色背景 */
.jinsom-goods-single-header .right .info {
    background: #f7f7f7 !important;
    padding: 12px 15px !important;
    margin-bottom: 20px !important;
}

.jinsom-goods-single-header .right .info .price-info {
    margin-bottom: 8px !important;
}

/* 价格显示 */
.jinsom-goods-single-header .right li.price {
    display: flex !important;
    align-items: baseline !important;
    margin-bottom: 10px !important;
}

.jinsom-goods-single-header .right li.price span:first-child {
    font-size: 12px !important;
    color: #999 !important;
    margin-right: 10px !important;
}

.jinsom-goods-single-header .right li.price span:last-child {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
}

.jinsom-goods-single-header .right li.price .yuan {
    font-size: 16px !important;
}

.jinsom-goods-single-header .right li.price c {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #e4393c !important;
}

.jinsom-goods-single-header .right li.price n {
    font-size: 14px !important;
    color: #999 !important;
}

.jinsom-goods-single-header .right li.price d {
    text-decoration: line-through !important;
}

/* 服务信息 */
.jinsom-goods-single-header .right li.server {
    display: flex !important;
    align-items: center !important;
}

.jinsom-goods-single-header .right li.server span:first-child {
    font-size: 12px !important;
    color: #999 !important;
    margin-right: 10px !important;
}

.jinsom-goods-single-header .right li.server span:last-child {
    display: flex !important;
    gap: 12px !important;
    font-size: 12px !important;
}

.jinsom-goods-single-header .right li.server n {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #999 !important;
}

/* 统计信息 */
.jinsom-goods-single-header .right .number-info {
    display: flex !important;
    gap: 20px !important;
    padding-top: 8px !important;
    border-top: 1px dotted #ddd !important;
}

.jinsom-goods-single-header .right .number-info .like,
.jinsom-goods-single-header .right .number-info .buy {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    color: #999 !important;
}

.jinsom-goods-single-header .right .number-info .like p,
.jinsom-goods-single-header .right .number-info .buy p {
    margin: 0 !important;
}

.jinsom-goods-single-header .right .number-info .like i,
.jinsom-goods-single-header .right .number-info .buy i {
    color: #a7a7a7 !important;
}

/* 属性选择区域 */
.jinsom-goods-single-header .right .select,
.jinsom-goods-single-header .right .select-price {
    margin-bottom: 12px !important;
}

.jinsom-goods-single-header .right .select li,
.jinsom-goods-single-header .right .select-price li {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.jinsom-goods-single-header .right .select li span,
.jinsom-goods-single-header .right .select-price li span {
    font-size: 12px !important;
    color: #666 !important;
    margin-bottom: 8px !important;
    margin-right: 10px !important;
    display: block !important;
    white-space: nowrap !important;
    padding-top: 5px !important;
}

.jinsom-goods-single-header .right .select li n,
.jinsom-goods-single-header .right .select-price li n {
    display: inline-flex !important;
    padding: 6px 14px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #666 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
}

.jinsom-goods-single-header .right .select li n:hover,
.jinsom-goods-single-header .right .select-price li n:hover {
    border-color: #e4393c !important;
    color: #e4393c !important;
}

.jinsom-goods-single-header .right .select li n.on,
.jinsom-goods-single-header .right .select-price li n.on {
    border-color: #e4393c !important;
    color: #e4393c !important;
    position: relative !important;
}

.jinsom-goods-single-header .right .select li n.on::after,
.jinsom-goods-single-header .right .select-price li n.on::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-bottom: 12px solid #e4393c !important;
    border-left: 12px solid transparent !important;
}

/* 数量选择 */
.jinsom-goods-single-header .right li.number {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.jinsom-goods-single-header .right li.number span:first-child {
    font-size: 12px !important;
    color: #666 !important;
    margin-right: 10px !important;
}

.jinsom-goods-single-header .right li.number span:last-child {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #ccc !important;
    overflow: hidden !important;
}

.jinsom-goods-single-header .right li.number i {
    width: 30px !important;
    height: 30px !important;
    background: #f3f3f3 !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #666 !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.jinsom-goods-single-header .right li.number i:hover {
    background: #e4393c !important;
    color: #fff !important;
}

.jinsom-goods-single-header .right li.number i.on {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.jinsom-goods-single-header .right li.number #jinsom-goods-number {
    width: 46px !important;
    height: 30px !important;
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    text-align: center !important;
    font-size: 14px !important;
    outline: none !important;
}

/* 按钮区域 - 京东风格按钮 */
.jinsom-goods-single-header .right .btn {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

/* 加入购物车按钮 */
.jinsom-goods-single-header .right .btn .add-cart {
    flex: 0 0 160px !important;
    height: 44px !important;
    background: #ffeded !important;
    color: #e4393c !important;
    border: 1px solid #e4393c !important;
    border-radius: 2px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.3s !important;
}

.jinsom-goods-single-header .right .btn .add-cart:hover {
    background: #e4393c !important;
    color: #fff !important;
}

/* 立即购买按钮 */
.jinsom-goods-single-header .right .btn .buy {
    flex: 0 0 160px !important;
    height: 44px !important;
    background: #e4393c !important;
    color: #fff !important;
    border: 1px solid #e4393c !important;
    border-radius: 2px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.3s !important;
}

.jinsom-goods-single-header .right .btn .buy:hover {
    background: #df3033 !important;
    border-color: #df3033 !important;
}

.jinsom-goods-single-header .right .btn .buy.no {
    background: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
}

/* 收藏、客服、分享按钮 */
.jinsom-goods-single-header .right .btn .like,
.jinsom-goods-single-header .right .btn .contact,
.jinsom-goods-single-header .right .btn .share {
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    color: #999 !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
}

.jinsom-goods-single-header .right .btn .like span,
.jinsom-goods-single-header .right .btn .contact span,
.jinsom-goods-single-header .right .btn .share span {
    font-size: 10px !important;
    margin-top: 2px !important;
}

.jinsom-goods-single-header .right .btn .like:hover,
.jinsom-goods-single-header .right .btn .contact:hover,
.jinsom-goods-single-header .right .btn .share:hover {
    color: #e4393c !important;
    border-color: #e4393c !important;
}

/* 相关商品区域 */
.jinsom-goods-single-commend-list {
    margin-top: 30px !important;
    background: #fff !important;
    padding: 0 !important;
}

.jinsom-goods-single-commend-list .menu {
    background: #fff !important;
    border-bottom: 1px solid #ddd !important;
    padding: 15px 20px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.jinsom-goods-single-commend-list .menu li {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #e4393c !important;
    padding: 0 !important;
    border: none !important;
}

.jinsom-goods-single-commend-list .menu .right {
    display: flex !important;
    gap: 15px !important;
}

.jinsom-goods-single-commend-list .menu .right a {
    color: #666 !important;
    font-size: 12px !important;
}

/* 商品详情标签页 - 京东风格 */
.jinsom-goods-single-content {
    margin-top: 30px !important;
    background: #fff !important;
    padding: 0 !important;
}

.jinsom-goods-single-content .menu {
    display: flex !important;
    background: #f7f7f7 !important;
    border-bottom: 1px solid #e4393c !important;
    margin-bottom: 0 !important;
}

.jinsom-goods-single-content .menu li {
    padding: 12px 30px !important;
    background: #f7f7f7 !important;
    border: none !important;
    font-size: 14px !important;
    color: #666 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-weight: 500 !important;
}

.jinsom-goods-single-content .menu li:hover {
    color: #e4393c !important;
}

.jinsom-goods-single-content .menu li.on {
    background: #e4393c !important;
    color: #fff !important;
}

.jinsom-goods-single-content .list {
    background: #fff !important;
    padding: 20px !important;
}

.jinsom-goods-single-content .list .content {
    font-size: 14px !important;
    color: #333 !important;
    line-height: 1.8 !important;
}