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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f7fa;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* ========== 主题色（基于图中的薄荷绿+橙） ========== */
:root {
    --primary: #2DD4A7;          /* 薄荷绿主色 */
    --primary-dark: #1FB892;
    --primary-light: #B8EFE0;
    --primary-bg: #E8FAF4;
    --secondary: #FF8C42;        /* 橙色辅色 */
    --secondary-light: #FFD3B0;
    --text-1: #1F2937;
    --text-2: #4B5563;
    --text-3: #9CA3AF;
    --line: #E5E7EB;
    --bg: #FFFFFF;
    --bg-soft: #F5F7FA;
    --danger: #EF4444;
    --warning: #F59E0B;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(45, 212, 167, 0.15);
}

/* ========== 顶部公告栏 ========== */
.top-bar {
    background: #f0f3f6;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12px;
    height: 32px;
    line-height: 32px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
}

.top-left, .top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-right a:hover {
    color: var(--primary);
}

.divider {
    color: #D1D5DB;
}

/* ========== 头部 ========== */
.header {
    background: #fff;
    padding: 18px 0 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 50%, var(--secondary) 50%, var(--secondary) 100%);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 212, 167, 0.25);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: 6px;
    left: -4px;
    transform: rotate(-20deg);
    filter: blur(2px);
}

.logo-top {
    font-size: 18px;
    margin-top: 6px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.logo-bottom {
    font-size: 10px;
    background: var(--secondary);
    width: 100%;
    text-align: center;
    padding: 3px 0;
    margin-top: auto;
    margin-bottom: 0;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-1);
}

.search-box {
    flex: 1;
    max-width: 600px;
}

.search-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    padding-left: 4px;
}

.search-tabs .tab {
    color: var(--text-2);
    font-size: 13px;
    cursor: pointer;
    position: relative;
    padding-bottom: 4px;
}

.search-tabs .tab.active {
    color: var(--primary);
    font-weight: 600;
}

.search-tabs .tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.search-input-wrap {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.search-input-wrap:focus-within {
    box-shadow: 0 0 0 4px rgba(45, 212, 167, 0.15);
}

.search-input-wrap input {
    flex: 1;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-1);
}

.search-input-wrap input::placeholder {
    color: var(--text-3);
}

.search-btn {
    background: var(--primary);
    color: #fff;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-btn i {
    font-size: 16px;
}

.search-hot {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-3);
    padding-left: 4px;
}

.search-hot a {
    margin-right: 12px;
    transition: color 0.2s;
}

.search-hot a:hover {
    color: var(--primary);
}

.header-cart {
    flex-shrink: 0;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--secondary);
    font-weight: 500;
    background: #FFF8F2;
    position: relative;
    transition: all 0.2s;
}

.cart-link:hover {
    border-color: var(--secondary);
    background: #FFF1E2;
}

.cart-link i {
    font-size: 18px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    border: 2px solid #fff;
}

/* ========== 主导航 ========== */
.main-nav {
    background: #fff;
    border-top: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 44px;
}

.all-categories {
    width: 220px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    margin-left: -220px;
    padding-left: 220px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 0 22px;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
    color: var(--text-1);
    transition: color 0.2s;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary);
}

.nav-menu li.active a {
    color: var(--primary);
    font-weight: 600;
}

.nav-menu li.active a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    background: var(--primary);
}

/* ========== Hero 区 ========== */
.hero {
    padding: 20px 0;
}

.hero-inner {
    display: flex;
    gap: 16px;
    height: 480px;
}

/* 左侧分类 */
.side-categories {
    width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 8px 0;
    box-shadow: var(--shadow);
    height: fit-content;
}

.side-categories li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-1);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.side-categories li i {
    font-size: 16px;
    color: var(--primary);
    width: 18px;
}

.side-categories li span {
    flex: 1;
}

.side-categories li em {
    color: var(--text-3);
    font-style: normal;
    font-size: 14px;
}

.side-categories li:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.side-categories li:hover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
}

/* 中间 Banner */
.banner {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #B8EFE0 0%, #D4F4E8 35%, #FFE9D3 100%);
}

.banner-slide {
    position: absolute;
    inset: 0;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.banner-content h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-1);
    line-height: 1.2;
    margin-bottom: 8px;
}

.banner-content h1 span {
    color: var(--primary);
    position: relative;
}

.banner-content h1 span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(45, 212, 167, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.banner-content p {
    color: var(--text-2);
    font-size: 15px;
    margin-bottom: 24px;
}

.banner-btn {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(45, 212, 167, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 212, 167, 0.5);
}

/* Banner 视觉区 */
.banner-visual {
    position: relative;
    width: 360px;
    height: 360px;
    flex-shrink: 0;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(2px);
}

.circle-1 {
    width: 240px;
    height: 240px;
    top: -30px;
    right: -30px;
    background: rgba(184, 239, 224, 0.4);
}

.circle-2 {
    width: 180px;
    height: 180px;
    bottom: -20px;
    left: 20px;
    background: rgba(255, 211, 176, 0.4);
}

.visual-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 50%, var(--secondary) 50%, var(--secondary) 100%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 16px 40px rgba(45, 212, 167, 0.35);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -56%); }
}

.vm-top {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 4px;
}

.vm-bottom {
    font-size: 14px;
    background: var(--secondary);
    width: 110%;
    text-align: center;
    padding: 6px 0;
    letter-spacing: 2px;
    margin-top: 8px;
    border-radius: 0 0 32px 32px;
    margin-bottom: -32px;
}

.visual-card {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 4;
}

.visual-card i {
    font-size: 28px;
}

.card-1 {
    top: 20px;
    right: 40px;
    color: var(--secondary);
    animation: float 3s ease-in-out infinite 0.2s;
}

.card-2 {
    bottom: 60px;
    right: 0;
    animation: float 3.5s ease-in-out infinite 0.4s;
}

.card-3 {
    bottom: 30px;
    left: 30px;
    color: var(--secondary);
    animation: float 3.2s ease-in-out infinite 0.6s;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.banner-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: #fff;
}

/* 右侧用户卡片 */
.user-panel {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-card, .news-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.user-card {
    text-align: center;
    padding: 20px 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary);
    font-size: 28px;
}

.user-greet {
    color: var(--text-2);
    font-size: 13px;
    margin-bottom: 12px;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.btn-primary, .btn-outline {
    flex: 1;
    padding: 8px 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-bg);
}

.news-card {
    flex: 1;
}

.news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.news-title {
    font-weight: 600;
    color: var(--text-1);
    font-size: 14px;
}

.news-head a {
    color: var(--text-3);
    font-size: 12px;
}

.news-head a:hover {
    color: var(--primary);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-list li {
    font-size: 12px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.news-list li:hover {
    color: var(--primary);
}

.dot-new {
    background: var(--secondary);
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 600;
    font-style: normal;
    flex-shrink: 0;
}

.dot-new.green {
    background: var(--primary);
}

.quick-entries {
    background: #fff;
    border-radius: var(--radius);
    padding: 12px 8px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.qe-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    color: var(--text-2);
    font-size: 12px;
    transition: color 0.2s;
}

.qe-item i {
    font-size: 22px;
    color: var(--primary);
}

.qe-item:hover {
    color: var(--primary);
}

/* ========== 服务保障 ========== */
.service-bar {
    background: #fff;
    border-radius: var(--radius);
    margin: 20px auto;
    box-shadow: var(--shadow-sm);
}

.service-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 20px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.service-item:last-child {
    border-right: none;
}

.service-item i {
    font-size: 32px;
    color: var(--primary);
}

.service-item div {
    display: flex;
    flex-direction: column;
}

.service-item strong {
    color: var(--text-1);
    font-size: 14px;
}

.service-item span {
    color: var(--text-3);
    font-size: 12px;
    margin-top: 2px;
}

/* ========== 通用 section ========== */
.section {
    margin: 30px auto;
}

.section-head {
    text-align: center;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 28px;
    color: var(--text-1);
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
}

.section-head h2::before, .section-head h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary));
}

.section-head h2::before {
    right: calc(100% + 20px);
    background: linear-gradient(90deg, transparent, var(--primary));
}

.section-head h2::after {
    left: calc(100% + 20px);
    background: linear-gradient(90deg, var(--primary), transparent);
}

.section-head p {
    color: var(--text-3);
    font-size: 13px;
    letter-spacing: 1px;
}

/* ========== 限时秒杀 ========== */
.flash-sale {
    background: linear-gradient(135deg, #FFE9D3 0%, #FFF8F0 100%);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.flash-sale::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.flash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-title i {
    font-size: 28px;
    color: var(--secondary);
}

.flash-title h2 {
    font-size: 24px;
    color: var(--secondary);
    font-weight: 800;
}

.flash-title span {
    background: var(--secondary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1px;
}

.flash-time {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-label {
    color: var(--text-2);
    font-size: 13px;
}

.time-blocks {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--secondary);
    font-size: 20px;
    font-weight: 700;
}

.time-blocks em {
    background: #2D2D2D;
    color: #fff;
    font-style: normal;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    min-width: 32px;
    text-align: center;
}

.more-link {
    color: var(--text-2);
    font-size: 13px;
    margin-left: 8px;
    transition: color 0.2s;
}

.more-link:hover {
    color: var(--secondary);
}

.flash-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

.flash-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.flash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.flash-img {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.flash-img i {
    font-size: 56px;
    color: rgba(0, 0, 0, 0.15);
}

.flash-info h3 {
    font-size: 13px;
    color: var(--text-1);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}

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

.flash-price .now {
    color: var(--secondary);
    font-size: 20px;
    font-weight: 700;
}

.flash-price .old {
    color: var(--text-3);
    font-size: 12px;
    text-decoration: line-through;
}

.flash-progress {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background: #FFE0C2;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, #FFA866 100%);
    border-radius: 5px;
    position: relative;
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
}

.flash-progress span {
    color: var(--text-3);
    font-size: 11px;
    flex-shrink: 0;
}

.btn-flash {
    width: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, #FFA866 100%);
    color: #fff;
    padding: 8px 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-flash:hover {
    opacity: 0.9;
}

/* ========== 分类入口 ========== */
.category-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.cat-item:hover {
    background: var(--bg-soft);
    transform: translateY(-4px);
}

.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: transform 0.2s;
}

.cat-item:hover .cat-icon {
    transform: scale(1.1);
}

.cat-item span {
    color: var(--text-1);
    font-size: 13px;
}

/* ========== 商品网格 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.product-img {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img i.big {
    font-size: 96px;
    color: rgba(0, 0, 0, 0.12);
    transition: transform 0.3s;
}

.product-card:hover .product-img i.big {
    transform: scale(1.08);
}

.product-img .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.product-img .tag.orange {
    background: var(--secondary);
}

.product-img .tag.green {
    background: #10B981;
}

.product-info {
    padding: 14px 16px 16px;
}

.product-info h3 {
    font-size: 14px;
    color: var(--text-1);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

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

.product-price .now {
    color: var(--secondary);
    font-size: 20px;
    font-weight: 700;
}

.product-price .old {
    color: var(--text-3);
    font-size: 12px;
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-3);
    font-size: 12px;
}

.rating {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 2px;
}

/* ========== 品牌专区 ========== */
.brand-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.brand-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.brand-card:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.brand-name {
    font-size: 14px;
    color: var(--text-1);
    font-weight: 600;
    margin-bottom: 4px;
}

.brand-tag {
    font-size: 11px;
    color: var(--secondary);
    background: #FFF1E2;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

/* ========== 特色服务 ========== */
.feature-section {
    background: linear-gradient(135deg, #E8FAF4 0%, #FFF8F0 100%);
    border-radius: var(--radius);
    padding: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #FFF1E2 100%);
    color: var(--primary);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.feature-card h3 {
    color: var(--text-1);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.6;
}

/* ========== 底部 ========== */
.footer {
    background: #2D3748;
    color: #CBD5E0;
    margin-top: 40px;
    padding: 40px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.2fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #4A5568;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #A0AEC0;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-qr p {
    font-size: 12px;
    color: #A0AEC0;
    margin-top: 8px;
}

.qr-row {
    display: flex;
    gap: 12px;
}

.qr-box {
    width: 90px;
    height: 90px;
    background: repeating-linear-gradient(45deg, #fff, #fff 4px, #2D3748 4px, #2D3748 8px);
    border-radius: 6px;
    position: relative;
}

.qr-box::before, .qr-box::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 6px solid #2D3748;
}

.qr-box::before {
    top: 6px;
    left: 6px;
}

.qr-box::after {
    top: 6px;
    right: 6px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.8;
}

/* ========== 右侧悬浮工具 ========== */
.float-toolbar {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-radius: 12px;
    padding: 8px 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 99;
}

.ft-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 11px;
    transition: all 0.2s;
    cursor: pointer;
    min-width: 50px;
}

.ft-item i {
    font-size: 20px;
    color: var(--primary);
}

.ft-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.ft-item.back-top {
    margin-top: 4px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

/* ========== 响应式 ========== */
@media (max-width: 1240px) {
    .container {
        width: 95%;
    }
}
