@charset "utf-8";

/* ==========================================
   现代医疗电商样式 - 药企云科技（广州）有限公司
   ========================================== */

/* ========== 设计令牌 (Design Tokens) ========== */
:root {
    /* 主色系 */
    --primary-blue: #0066CC;
    --primary-blue-light: #0080FF;
    --primary-blue-dark: #0052A3;
    
    /* 辅助色 */
    --accent-green: #00A86B;
    --accent-green-light: #00C980;
    --accent-orange: #FF6B35;
    
    /* 背景色 */
    --bg-white: #FFFFFF;
    --bg-light-blue: #F5F9FF;
    --bg-gray: #F8F9FA;
    
    /* 文字色 */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    
    /* 边框和阴影 */
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== 全局重置 ========== */
* {
    box-sizing: border-box !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--bg-light-blue) !important;
    color: var(--text-primary) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.clear {
    clear: both;
}

/* ========== 覆盖旧样式的关键规则 ========== */
.w1190s {
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px;
}

/* 清除旧样式的浮动布局 */
.slider-ul > li {
    float: none !important;
}

/* 清除旧样式的固定尺寸 */
.today-push .box .li-box {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    float: none !important;
    background: transparent !important;
    cursor: pointer;
}

/* 清除旧样式的固定宽度 */
.today-push .content {
    width: auto !important;
}

/* 清除旧样式的图片尺寸 */
.today-push .box li .img-box {
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
    position: relative;
}

.today-push .box li .img-box img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
}

/* Banner样式覆盖 */
.hwg-pc-banner {
    position: relative;
    overflow: hidden;
}

.hwg-pc-banner img {
    display: block !important;
    width: 100% !important;
    height: 420px !important;
    object-fit: cover;
}

/* ========== 现代化顶部工具栏 ========== */
.ng-toolbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    min-width: 100%;
    border-bottom: none;
    box-shadow: var(--shadow-md);
}

.ng-toolbar .ng-toolbar-con {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.ng-toolbar-left a {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
}

.ng-toolbar-left a:hover {
    color: #FFFFFF;
}

.ng-toolbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ng-bar-node-box {
    margin-left: 0 !important;
}

.ng-toolbar .ng-bar-node {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 0 12px;
    transition: all var(--transition-fast);
}

.ng-toolbar .ng-bar-node:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.ng-toolbar .ng-bar-node span {
    color: inherit;
}

.reg-bar-node a.login {
    color: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.reg-bar-node a.login:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.reg-bar-node a.reg-bbb {
    background: var(--accent-orange);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    margin-left: 12px;
    transition: all var(--transition-fast);
}

.reg-bar-node a.reg-bbb:hover {
    background: #FF8555;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* ========== 现代化主导航 ========== */
.os-header-wrap {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.os-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.os-logo {
    flex-shrink: 0;
}

.os-logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.os-logo:hover .os-logo-img {
    transform: scale(1.05);
}

.os-logo-gwc {
    display: none; /* 隐藏旧的购物车按钮，已在右上角有 */
}

/* ========== 现代化搜索栏 ========== */
.os-search {
    flex: 1;
    max-width: 560px;
    margin: 0 32px;
}

.g-search {
    position: relative;
}

.search-keyword-box {
    position: relative;
}

.search-keyword {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    font-size: 15px;
    transition: all var(--transition-fast);
    background: var(--bg-gray);
}

.search-keyword:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    transform: translateY(-50%) scale(1.05);
}

.keys {
    margin-top: 10px;
    font-size: 13px;
}

.keys font {
    color: var(--text-muted);
}

.keys a {
    color: var(--text-secondary);
    margin-right: 12px;
    transition: color var(--transition-fast);
}

.keys a:hover {
    color: var(--primary-blue);
}

/* ========== 现代化导航菜单 ========== */
.os-main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
    clear: none !important;
}

.os-sort {
    position: relative !important;
    float: none !important;
    width: auto !important;
}

.os-sort-hook {
    display: flex !important;
    align-items: center !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-md) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all var(--transition-fast);
    float: none !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.os-sort-hook::after {
    content: "▼" !important;
    font-size: 10px !important;
    margin-left: 8px !important;
    transition: transform var(--transition-fast);
}

.os-sort:hover .os-sort-hook {
    box-shadow: var(--shadow-lg);
}

.os-sort:hover .os-sort-hook::after {
    transform: rotate(180deg);
}

.os-sort-contx {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 8px !important;
    background: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-xl) !important;
    overflow: visible !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all var(--transition-normal);
    min-width: 220px !important;
    width: auto !important;
    height: auto !important;
    z-index: 100 !important;
    padding: 0 !important;
}

.os-sort:hover .os-sort-contx {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 覆盖旧版导航遮罩 */
.os-nav-cover {
    display: none !important;
}

.os-sort-list {
    padding: 12px 0 !important;
    height: auto !important;
    width: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    list-style: none !important;
    margin: 0 !important;
}

.os-sort-list li {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    color: var(--text-primary) !important;
    overflow: visible !important;
    transition: background var(--transition-fast);
    list-style: none !important;
}

.os-sort-list li a {
    color: var(--text-primary) !important;
}

.os-sort-list li:hover {
    background: var(--bg-light-blue);
}

.os-sort-list .inner-box {
    padding: 12px 20px !important;
    height: auto !important;
    margin: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    line-height: 1.6 !important;
}

.os-sort-list .inner-box strong {
    float: none !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
}

.os-sort-list strong a {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.os-sort-list strong a:hover {
    color: var(--primary-blue) !important;
}

/* 修复导航索引 */
.os-nav-index {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    list-style: none !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.os-nav-index li {
    position: relative !important;
    list-style: none !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
}

.os-nav-index li a {
    display: block !important;
    padding: 8px 16px !important;
    color: var(--text-primary) !important;
    font-size: 15px !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-fast);
}

.os-nav-index li a:hover {
    background: var(--bg-light-blue);
    color: var(--primary-blue);
}

/* ========== 现代化Banner轮播 ========== */
.hwg-pc-banner {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%) !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.hwg-pc-banner img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform var(--transition-slow);
    min-width: 0 !important;
}

.hwg-pc-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

/* Banner遮罩层样式 */
.banner-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.75) 0%, rgba(0, 168, 107, 0.75) 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.banner-content {
    text-align: center !important;
    color: #FFFFFF !important;
    padding: 20px !important;
}

.banner-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    margin: 0 0 16px 0 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3) !important;
    animation: fadeInUp 1s ease-out !important;
    color: #FFFFFF !important;
}

.banner-subtitle {
    font-size: 20px !important;
    font-weight: 300 !important;
    letter-spacing: 2px !important;
    margin-top: 0 !important;
    opacity: 0.95 !important;
    animation: fadeInUp 1s ease-out 0.2s both !important;
    color: #FFFFFF !important;
    margin: 0 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .banner-title {
        font-size: 32px !important;
    }
    
    .banner-subtitle {
        font-size: 16px !important;
    }
}

/* ========== 现代化区块标题 ========== */
.tit-header {
    padding: 32px 0 24px !important;
    text-align: center !important;
    border-bottom: none !important;
    border: none !important;
    margin: 0 !important;
}

.tit-header label {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 12px !important;
    float: none !important;
    line-height: 1.2 !important;
}

.tit-header label::after {
    content: "";
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green)) !important;
    border-radius: 2px !important;
}

.tit-header .sub {
    display: block !important;
    margin-top: 8px !important;
    font-size: 14px !important;
    color: var(--text-muted) !important;
    letter-spacing: 3px !important;
    font-weight: 300 !important;
    float: none !important;
}

/* ========== 今日推荐区域 ========== */
.today-push {
    max-width: 1200px !important;
    margin: 32px auto !important;
    padding: 0 20px;
    width: auto !important;
}

.today-push .content {
    background: var(--bg-white) !important;
    border-radius: var(--radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--shadow-md) !important;
    width: auto !important;
    position: static !important;
}

.today-push .slider-ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.today-push .slider-ul li {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.today-push .li-box {
    display: flex !important;
    flex-direction: column !important;
    background: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color) !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    float: none !important;
    box-sizing: border-box !important;
}

.today-push .li-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.today-push .img-box {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    background: var(--bg-gray) !important;
}

.today-push .img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--transition-slow);
    margin: 0 !important;
}

.today-push .li-box:hover .img-box img {
    transform: scale(1.1);
}

.today-push .info-box {
    padding: 16px !important;
    position: static !important;
}

.today-push .detail {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    height: 2.8em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.today-push .info {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 12px !important;
}

.today-push .price-box {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.today-push .new-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--accent-orange) !important;
}

/* ========== 医疗器械/常备药品区域 ========== */
.mother-child {
    max-width: 1200px !important;
    margin: 48px auto !important;
    padding: 0 20px;
    width: auto !important;
    position: relative !important;
}

.mc-content {
    display: flex !important;
    gap: 24px !important;
    background: var(--bg-white) !important;
    border-radius: var(--radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--shadow-md) !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 300px !important;
}

.mother-child .ad-box {
    flex-shrink: 0 !important;
    width: 280px !important;
    min-width: 280px !important;
    position: relative !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%) !important;
    float: none !important;
    height: auto !important;
}

.mother-child .ad-box img.whl {
    width: 100% !important;
    height: 100% !important;
    min-height: 300px !important;
    object-fit: cover !important;
    opacity: 0.3 !important;
}

.mother-child .reciCon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 24px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.mother-child .reciCon ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    overflow: visible !important;
}

.mother-child .reciCon li {
    margin-bottom: 12px !important;
    list-style: none !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
    border-radius: 0 !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mother-child .reciCon li:last-child {
    margin-bottom: 0 !important;
}

.mother-child .reciCon a {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-sm) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    text-decoration: none !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

.mother-child .reciCon a:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateX(4px);
}

.mother-child .content {
    flex: 1 !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    min-width: 0 !important;
}

.mother-child .content ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    height: auto !important;
    overflow: visible !important;
}

.mother-child .content li {
    background: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    overflow: visible !important;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color) !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
    height: auto !important;
}

.mother-child .content li:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.mother-child .content li a.prourl {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
    overflow: visible !important;
    z-index: auto !important;
}

.mother-child .goods-img {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
    background: var(--bg-gray) !important;
    margin: 0 !important;
}

.mother-child .goods-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--transition-slow);
}

.mother-child .content li:hover .goods-img img {
    transform: scale(1.1);
}

.mother-child .goods-box {
    padding: 12px 14px !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.mother-child .infosub {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
}

.mother-child .info {
    font-size: 12px !important;
    color: var(--text-secondary) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
}

.mother-child .price-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    height: auto !important;
    overflow: visible !important;
}

.mother-child .new-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--accent-orange) !important;
    line-height: 1.3 !important;
}

.mother-child .old-price {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    text-decoration: line-through !important;
    line-height: 1.3 !important;
}

/* ========== 现代化页脚 ========== */
.ng-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    margin-top: 64px !important;
    width: 100% !important;
    min-width: 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
    color: #FFFFFF !important;
    overflow: visible !important;
    border: none !important;
}

/* 清除旧版footer的白色/浅色背景 */
.ng-footer,
.ng-footer .ng-s-footer,
.ng-footer .footer-content,
.ng-footer .ng-s-f-con {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    min-width: 0 !important;
    width: auto !important;
}

/* 彻底清除旧版footer样式 */
.ng-footer .ng-ser-box,
.ng-footer .ng-ser-box-con,
.ng-footer .ng-promise,
.ng-footer .ng-help-box {
    display: none !important;
    background: transparent !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    float: none !important;
    overflow: visible !important;
}

.ng-footer .ng-ser-box-con {
    margin: 0 !important;
}

.ng-s-footer {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 48px 20px 32px !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    overflow: visible !important;
    text-align: center !important;
}

.footer-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.footer-brand {
    text-align: center !important;
    margin-bottom: 32px !important;
    padding-bottom: 32px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-logo {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: 1px !important;
}

.footer-slogan {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
    letter-spacing: 2px !important;
}

.footer-contact {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
    padding-bottom: 32px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.contact-icon {
    font-size: 18px !important;
}

.contact-text {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.ng-footer .ng-s-f-con {
    text-align: center !important;
    width: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    background: transparent !important;
    color: #FFFFFF !important;
}

.ng-footer .ng-s-f-con p,
.ng-footer .ng-s-f-con p.ng-copyright {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px !important;
    line-height: 2 !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-align: center !important;
}

.ng-footer .ng-s-f-con a,
.ng-footer .ng-s-f-con p.ng-copyright a {
    color: #5dade2 !important;
    transition: color var(--transition-fast);
    text-decoration: none !important;
}

.ng-footer .ng-s-f-con a:hover,
.ng-footer .ng-s-f-con p.ng-copyright a:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

.ng-footer .ng-s-f-con .ng-copyright {
    opacity: 0.9 !important;
    display: block !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 添加装饰元素 */
.ng-footer::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green), var(--accent-orange));
    border-radius: 2px;
}

/* 页脚响应式 */
@media screen and (max-width: 768px) {
    .footer-contact {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
    }
    
    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 4px !important;
    }
    
    .footer-logo {
        font-size: 20px !important;
    }
    
    .footer-slogan {
        font-size: 12px !important;
    }
}

/* ========== 响应式设计 ========== */
@media screen and (max-width: 1024px) {
    .os-wrapper {
        flex-wrap: wrap !important;
    }
    
    .os-search {
        order: 3 !important;
        max-width: 100% !important;
        margin: 16px 0 0 !important;
    }
    
    .os-main-nav {
        order: 2 !important;
    }
    
    .w1190s {
        padding: 0 16px;
    }
}

@media screen and (max-width: 768px) {
    .os-wrapper {
        padding: 12px 16px !important;
    }
    
    .os-logo-img {
        height: 40px !important;
    }
    
    .tit-header label {
        font-size: 24px !important;
    }
    
    .today-push .slider-ul,
    .mother-child .content ul {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 12px !important;
    }
    
    .mc-content {
        flex-direction: column !important;
    }
    
    .mother-child .ad-box {
        width: 100% !important;
        height: 200px !important;
    }
    
    .hwg-pc-banner img {
        height: 280px !important;
    }
    
    .search-keyword {
        height: 42px !important;
        font-size: 14px !important;
    }
    
    .search-btn {
        padding: 0 18px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .today-push,
    .mother-child {
        padding: 0 16px !important;
    }
}

@media screen and (max-width: 480px) {
    .ng-toolbar .ng-toolbar-con {
        padding: 0 12px !important;
    }
    
    .ng-toolbar-left {
        font-size: 13px !important;
    }
    
    .ng-toolbar-right {
        gap: 12px !important;
    }
    
    .ng-toolbar .ng-bar-node {
        font-size: 13px !important;
        padding: 0 8px !important;
    }
    
    .reg-bar-node a.reg-bbb {
        padding: 5px 12px !important;
        font-size: 13px !important;
    }
    
    .os-nav-index {
        gap: 4px !important;
    }
    
    .os-nav-index li a {
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
    
    .tit-header {
        padding: 24px 0 16px !important;
    }
    
    .tit-header label {
        font-size: 20px !important;
    }
    
    .today-push,
    .mother-child {
        padding: 0 12px !important;
    }
    
    .today-push .content,
    .mc-content {
        padding: 16px !important;
    }
    
    .today-push .slider-ul,
    .mother-child .content ul {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}

/* ========== 动画效果 ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.today-push,
.mother-child {
    animation: fadeIn 0.6s ease-out;
}

/* 商品卡片hover效果增强 */
.movebox {
    transition: all var(--transition-normal);
}

.moveimg {
    transition: transform var(--transition-slow);
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 悬浮标签 */
.tit-header label::before {
    content: "";
    position: absolute;
    top: -8px;
    right: -12px;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 购物车图标动画 */
@keyframes cartBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.ng-bar-node-mini-cart:hover {
    animation: cartBounce 0.6s ease;
}

/* ========== 辅助类 ========== */
.w1190s {
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px;
}

.lazyimg {
    opacity: 1 !important;
    transition: opacity var(--transition-normal);
}

.lazyimg.loaded {
    opacity: 1 !important;
}

/* 清除旧样式中可能导致空白的问题 */
.today-push .box {
    overflow: visible !important;
    height: auto !important;
    width: 100% !important;
}

/* 清除旧样式中的浮动问题 */
.mother-child.clearfix::after,
.today-push .content::after,
.mc-content::after {
    content: "";
    display: table;
    clear: both;
}

/* 确保所有商品卡片链接正确显示 */
.li-box,
.prourl {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.prourl {
    display: block !important;
    color: inherit !important;
}

/* 清除旧样式中的 clearfix 浮动 */
.mother-child.clearfix,
.today-push .content.clearfix {
    overflow: visible !important;
}

/* ==========================================
   2026-09-18 增强样式 - 顶部条与搜索框
   ========================================== */

/* ----- 顶部条：横向绿蓝渐变 + 图标 ----- */
.ng-toolbar {
    background: linear-gradient(90deg, #10b981 0%, #0ea5e9 100%) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08) !important;
}

.ng-toolbar .ng-toolbar-con {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.ng-toolbar-left a {
    color: rgba(255, 255, 255, .95) !important;
    font-size: 12px !important;
    letter-spacing: .2px;
}

.ng-toolbar-right {
    gap: 6px !important;
}

.ng-toolbar .ng-bar-node {
    color: rgba(255, 255, 255, .92) !important;
    font-size: 12px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center;
    height: 22px;
    line-height: 22px;
    border-radius: 11px;
    transition: all .2s ease;
    position: relative;
}

.ng-toolbar .ng-bar-node-box + .ng-bar-node-box::before,
.ng-bar-node.reg-bar-node + .ng-bar-node-box::before,
.ng-bar-node-box + .ng-bar-node-box .ng-bar-node::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .3);
}

.ng-toolbar .ng-bar-node:hover {
    color: #fef3c7 !important;
    background: rgba(255, 255, 255, .15) !important;
}

/* ----- 顶部图标 ----- */
.top-ico {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 4px;
    vertical-align: -2px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.top-ico-user {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}

.top-ico-reg {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}

.top-ico-shop {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l1.5 9.5a2 2 0 0 0 2 1.5h11a2 2 0 0 0 2-1.5L21 9'/><path d='M3 9h18l-2-5H5L3 9z'/></svg>");
}

.top-ico-cart {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='20' r='1.5'/><circle cx='18' cy='20' r='1.5'/><path d='M2 2h3l2.6 13.5a2 2 0 0 0 2 1.5h7.7a2 2 0 0 0 2-1.6L21 6H6'/></svg>");
}

/* ----- 登录按钮：透明胶囊，悬停泛白 ----- */
.reg-bar-node a.login {
    color: #ffffff !important;
    padding: 0 12px !important;
    border-radius: 11px;
    background: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    transition: all .2s ease;
}

.reg-bar-node a.login:hover {
    background: rgba(255, 255, 255, .2) !important;
    color: #fff !important;
}

/* ----- 注册按钮：橙色渐变胶囊 + 阴影 ----- */
.reg-bar-node a.reg-bbb {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
    color: #ffffff !important;
    padding: 0 16px !important;
    border-radius: 11px !important;
    font-weight: 600 !important;
    margin-left: 8px !important;
    box-shadow: 0 3px 10px rgba(249, 115, 22, .4) !important;
    display: inline-flex !important;
    align-items: center;
    height: 22px !important;
    line-height: 22px !important;
    border: 0 !important;
    transition: all .25s ease !important;
}

.reg-bar-node a.reg-bbb:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(249, 115, 22, .55) !important;
    color: #fff !important;
}

/* ----- 搜索栏：白色卡片 + 金色聚焦 + 内嵌图标 ----- */
.os-search {
    flex: 1;
    max-width: 560px;
    margin: 0 24px !important;
}

.g-search {
    position: relative;
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    z-index: auto !important;
}

.search-keyword-box {
    position: relative;
    background: #ffffff;
    border: 2px solid var(--primary-blue) !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 102, 204, .12);
    transition: box-shadow .25s ease, border-color .25s ease;
    width: auto !important;
    float: none !important;
    padding: 0 0 0 0 !important;
    border-right: 2px solid var(--primary-blue) !important;
}

.search-keyword-box:focus-within {
    border-color: #fbbf24 !important;
    box-shadow: 0 6px 18px rgba(14, 165, 233, .25);
}

.search-ico-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center / contain;
    pointer-events: none;
    z-index: 2;
}

.search-keyword {
    width: 100% !important;
    height: 44px !important;
    padding: 0 110px 0 42px !important;
    border: 0 !important;
    border-radius: 24px !important;
    font-size: 14px !important;
    background: transparent !important;
    outline: none !important;
    color: #1e293b !important;
    float: none !important;
    margin-top: 0 !important;
    display: block;
}

.search-keyword::placeholder {
    color: #94a3b8 !important;
}

.search-keyword:focus {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.g-search .search-btn {
    position: absolute !important;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px !important;
    width: auto !important;
    padding: 0 22px !important;
    background: linear-gradient(135deg, #0052A3 0%, #0066CC 50%, #0080FF 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all .25s ease !important;
    box-shadow: 0 2px 6px rgba(0, 102, 204, .3);
    float: none !important;
    line-height: 36px !important;
    z-index: 3;
}

.g-search .search-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, .45) !important;
    background: linear-gradient(135deg, #0066CC 0%, #0080FF 50%, #0ea5e9 100%) !important;
}

.search-ico-btn {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center / contain;
    pointer-events: none;
}

.keys {
    margin-top: 8px;
    font-size: 12px !important;
    padding-left: 8px;
}

.keys font {
    color: #94a3b8 !important;
}

.keys a {
    color: #64748b !important;
    margin-right: 12px;
    transition: color .2s ease;
}

.keys a:hover {
    color: var(--primary-blue) !important;
}
