/* ============================================================
   瑞丽市造境珠宝店（个体工商户）· 造镜珠宝 翡翠商城 v2
   风格：传统电商在线购物交易站（顶栏搜索 + 购物车角标 +
         分类导航条 + 楼层首页 + 侧边分类 + 突出价格商品卡）
   配色：墨绿主色 + 鎏金点缀 + 价格红（电商惯例）
   ============================================================ */

:root {
    --c-bg: #f3f4f6;
    --c-white: #ffffff;
    --c-primary: #14543a;        /* 墨绿 主色 */
    --c-primary-2: #1c6b4c;      /* 亮绿 悬停/渐变 */
    --c-gold: #c9a84c;           /* 鎏金 点缀 */
    --c-gold-soft: #e8d9a8;
    --c-price: #d9482f;          /* 价格红（电商惯例，用于「面议」突出） */
    --c-text: #333333;
    --c-text-light: #888888;
    --c-border: #e7e7e7;
    --radius: 6px;
    --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
    --shadow-md: 0 6px 18px rgba(0,0,0,.12);
    --shadow-card: 0 2px 10px rgba(20,84,58,.10);
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC","Microsoft YaHei","Hiragino Sans GB",sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    font-size: 14px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }
h1,h2,h3,h4 { font-weight: 700; color: #222; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: none; border-radius: var(--radius); cursor: pointer;
    font-size: 14px; padding: 10px 20px; transition: all .2s; font-weight: 600;
    font-family: inherit;
}
.btn-gold { background: linear-gradient(135deg,var(--c-primary),var(--c-primary-2)); color: #fff; }
.btn-gold:hover { background: linear-gradient(135deg,var(--c-primary-2),var(--c-primary)); box-shadow: var(--shadow-md); }
.btn-outline-gold { background: #fff; color: var(--c-primary); border: 1px solid var(--c-primary); }
.btn-outline-gold:hover { background: var(--c-primary); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   顶部细条 top-bar
   ============================================================ */
.top-bar { background: #2b2b2b; color: #ccc; font-size: 12.5px; }
.top-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.top-inner .welcome { color: #bbb; }
.top-links { display: flex; align-items: center; gap: 0; }
.top-links a { color: #ccc; padding: 0 10px; transition: color .2s; }
.top-links a:hover { color: var(--c-gold); }
.top-links span.sep { color: #555; }

/* ============================================================
   主头部 header-main：Logo + 搜索框 + 购物车
   ============================================================ */
.header-main {
    background: #fff; display: flex; align-items: center; gap: 28px;
    padding: 18px 15px; position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 48px; width: auto; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo .logo-text b { font-size: 21px; color: var(--c-primary); letter-spacing: 1px; }
.logo .logo-text small { font-size: 11px; color: var(--c-text-light); letter-spacing: 2px; }

/* 搜索框 */
.search-box { flex: 1; max-width: 560px; display: flex; height: 40px; border: 2px solid var(--c-primary); border-radius: var(--radius); overflow: hidden; }
.search-box input { flex: 1; border: none; outline: none; padding: 0 14px; font-size: 14px; background: #fff; }
.search-box button { width: 92px; border: none; background: var(--c-primary); color: #fff; font-size: 15px; cursor: pointer; font-weight: 700; letter-spacing: 2px; }
.search-box button:hover { background: var(--c-primary-2); }
.search-hot { margin-top: 7px; font-size: 12px; color: var(--c-text-light); }
.search-hot a { color: var(--c-text-light); margin-right: 12px; }
.search-hot a:hover { color: var(--c-price); }

/* 搜索下拉结果 */
.search-results {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0 15px;
    background: #fff; border: 1px solid var(--c-border); border-top: none;
    box-shadow: var(--shadow-md); z-index: 999; display: none; max-height: 420px; overflow-y: auto;
    border-radius: 0 0 var(--radius) var(--radius);
}
.search-results.open { display: block; }
.search-results .sr-empty { padding: 22px; text-align: center; color: var(--c-text-light); }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f2f2f2; transition: background .15s; }
.sr-item:hover { background: #faf7ef; }
.sr-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sr-item .sr-info { flex: 1; min-width: 0; }
.sr-item .sr-name { font-size: 13.5px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-item .sr-cat { font-size: 11px; color: var(--c-text-light); margin-top: 2px; }
.sr-item .sr-price { color: var(--c-price); font-weight: 700; font-size: 14px; }
.sr-item .sr-add { flex-shrink: 0; padding: 6px 12px; font-size: 12.5px; }

/* 购物车按钮 */
.cart-btn {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    height: 40px; padding: 0 18px; border: 1px solid var(--c-primary);
    border-radius: var(--radius); color: var(--c-primary); background: #fff; font-weight: 600; transition: all .2s;
}
.cart-btn:hover { background: var(--c-primary); color: #fff; }
.cart-badge {
    display: none; min-width: 18px; height: 18px; line-height: 18px; text-align: center;
    background: var(--c-price); color: #fff; border-radius: 9px; font-size: 12px; padding: 0 5px; font-weight: 700;
}

/* 移动端汉堡 */
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--c-primary); border-radius: 2px; }

/* ============================================================
   分类导航条 category-nav
   ============================================================ */
.category-nav { background: var(--c-primary); }
.category-nav .container { display: flex; align-items: stretch; flex-wrap: wrap; }
.category-nav a {
    color: #fff; padding: 0 18px; height: 44px; line-height: 44px; font-size: 15px;
    position: relative; transition: background .2s; white-space: nowrap;
}
.category-nav a:first-child { background: var(--c-price); font-weight: 700; }
.category-nav a:hover { background: rgba(255,255,255,.14); }
.category-nav a.active { background: var(--c-primary-2); }

/* ============================================================
   通用区块
   ============================================================ */
.section { padding: 34px 0; }
.section-bg-dark { background: #13402e; }
.section-bg-dark .section-title h2,
.section-bg-dark .section-title p { color: #fff; }
.section-title { text-align: center; margin-bottom: 26px; }
.section-title h2 { font-size: 26px; color: #222; position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 3px; background: var(--c-gold); border-radius: 2px; }
.section-title p { color: var(--c-text-light); margin-top: 8px; font-size: 14px; }

.page-hero { background: linear-gradient(135deg,var(--c-primary),var(--c-primary-2)); color: #fff; padding: 40px 0; text-align: center; }
.page-hero h1 { font-size: 30px; color: #fff; }
.page-hero .subtitle { color: rgba(255,255,255,.85); margin-top: 10px; font-size: 15px; }

.breadcrumb { font-size: 13px; color: var(--c-text-light); padding: 14px 15px 0; }
.breadcrumb a:hover { color: var(--c-primary); }

/* ============================================================
   楼层式首页
   ============================================================ */
.hero-slide {
    position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .hero-cap {
    position: absolute; left: 0; bottom: 0; right: 0; padding: 24px 30px;
    background: linear-gradient(transparent,rgba(0,0,0,.55)); color: #fff;
}
.hero-slide .hero-cap h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.hero-slide .hero-cap p { color: rgba(255,255,255,.9); }
.hero-slide .hero-cap .btn { margin-top: 12px; }

/* 分类入口图标条 */
.cat-entry { display: grid; grid-template-columns: repeat(8,1fr); gap: 12px; margin-bottom: 30px; }
.cat-entry a {
    background: #fff; border-radius: var(--radius); padding: 18px 8px; text-align: center;
    box-shadow: var(--shadow-sm); transition: all .2s; border: 1px solid #f0f0f0;
}
.cat-entry a:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-gold); }
.cat-entry .ce-ico { font-size: 30px; }
.cat-entry .ce-name { font-size: 13.5px; margin-top: 8px; color: #333; font-weight: 600; }

/* 楼层 */
.floor { margin-bottom: 14px; }
.floor-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; border-left: 4px solid var(--c-primary); padding-left: 12px; }
.floor-head h3 { font-size: 21px; color: #222; }
.floor-head .more { color: var(--c-text-light); font-size: 13px; }
.floor-head .more:hover { color: var(--c-primary); }

/* ============================================================
   商品卡（电商风）
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.cat-products { grid-template-columns: repeat(4,1fr); }

.product-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    overflow: hidden; transition: all .22s; display: flex; flex-direction: column; position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-gold); }

.prod-gallery { position: relative; padding: 10px 10px 0; }
.prod-main { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 4px; transition: transform .3s; }
.product-card:hover .prod-main { transform: scale(1.05); }
.prod-thumbs { display: flex; gap: 6px; margin-top: 8px; }
.prod-thumbs img { width: 32px; height: 32px; object-fit: cover; border: 1px solid #eee; border-radius: 3px; cursor: pointer; opacity: .7; transition: all .15s; }
.prod-thumbs img.active, .prod-thumbs img:hover { border-color: var(--c-primary); opacity: 1; }

.hot-badge, .preorder-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2; color: #fff; font-size: 12px;
    padding: 3px 9px; border-radius: 3px; font-weight: 700;
}
.hot-badge { background: var(--c-price); }
.preorder-badge { background: var(--c-gold); color: #3a2c00; }
.img-warning { background: #fff7e6; color: #d46b08; border: 1px solid #ffd591; font-size: 11px; padding: 2px 7px; border-radius: 3px; position: absolute; top: 16px; right: 16px; z-index: 2; font-weight: 600; }

.prod-body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 12px; color: var(--c-text-light); }
.prod-title { font-size: 15px; color: #222; margin: 4px 0 6px; font-weight: 600; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.prod-desc { font-size: 12.5px; color: var(--c-text-light); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; margin-bottom: 8px; }
.prod-price { color: var(--c-price); font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.prod-price small { font-size: 12px; font-weight: 400; color: var(--c-text-light); }
.prod-actions { display: flex; gap: 8px; margin-top: auto; }
.prod-actions .btn { flex: 1; }

/* ============================================================
   分类页：左侧分类栏 + 筛选条 + 商品栅格
   ============================================================ */
/* 分类页：吸顶横向分类标签栏（横向滚动入口） */
.cat-tabs-wrap { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.cat-tabs { display: flex; gap: 8px; padding: 10px 15px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.cat-tabs::-webkit-scrollbar { height: 6px; }
.cat-tabs::-webkit-scrollbar-thumb { background: #d9d9d9; border-radius: 3px; }
.cat-tab { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--c-border); background: #fafafa; border-radius: 18px; font-size: 14px; color: #555; cursor: pointer; white-space: nowrap; transition: all .15s; }
.cat-tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cat-tab.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }

/* 分类页：工具栏 + 紧凑商品网格 */
.cat-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-toolbar .ct-count { font-size: 14px; color: var(--c-primary); font-weight: 600; }
.cat-toolbar .ct-hint { font-size: 13px; color: var(--c-text-light); }
.cat-toolbar .btn { margin-left: auto; }

/* 「全部」默认四列紧凑网格；单类选中时居中放大两张卡，减少空旷感 */
.cat-products { grid-template-columns: repeat(4,1fr); gap: 18px; }
.cat-products.is-filtered { grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; }

/* ============================================================
   购物车
   ============================================================ */
.cart-wrap { display: flex; gap: 24px; align-items: flex-start; }
.cart-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 14px; align-items: center; }
.cart-item > img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-title { font-size: 15px; font-weight: 600; color: #222; }
.ci-cat { font-size: 12.5px; color: var(--c-text-light); margin: 2px 0; }
.ci-price { color: var(--c-price); font-weight: 700; margin: 4px 0; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--c-border); border-radius: 4px; overflow: hidden; }
.qty-box button { width: 30px; height: 30px; border: none; background: #f7f7f7; cursor: pointer; font-size: 16px; color: #555; }
.qty-box button:hover { background: #eee; }
.qty-box input { width: 44px; height: 30px; border: none; text-align: center; border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
.ci-remove { background: none; border: none; color: var(--c-text-light); cursor: pointer; font-size: 13px; margin-top: 6px; }
.ci-remove:hover { color: var(--c-price); }

.summary-box { width: 320px; flex-shrink: 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; position: sticky; top: 12px; }
.summary-box h3 { font-size: 17px; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed #eee; }
.summary-row.total { border-bottom: none; font-size: 16px; color: #222; }
.summary-row.total .price { color: var(--c-price); font-weight: 700; font-size: 22px; }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--c-text-light); }
.cart-empty .ce-icon { font-size: 56px; margin-bottom: 14px; }

/* ============================================================
   表单
   ============================================================ */
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 19px; margin-bottom: 14px; color: var(--c-primary); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 600; color: #444; }
.field .req { color: var(--c-price); }
.field input, .field textarea {
    width: 100%; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 11px 13px;
    font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--c-primary); }
.field textarea { min-height: 96px; resize: vertical; }

/* ============================================================
   关于 / 联系
   ============================================================ */
.about-hero-img { width: 100%; border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 21/9; object-fit: cover; }
.about-content p { text-align: center; max-width: 880px; margin: 0 auto 14px; color: #555; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.contact-info, .contact-qr { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-info h3, .contact-qr h4 { font-size: 18px; margin-bottom: 16px; color: var(--c-primary); }
.contact-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed #eee; }
.contact-item:last-child { border-bottom: none; }
.ci-icon { font-size: 22px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f3f8f4; border-radius: 50%; flex-shrink: 0; }
.ci-text h4 { font-size: 14px; color: #333; }
.ci-text p { font-size: 14px; color: #555; }
.contact-qr { text-align: center; }
.contact-qr img { width: 200px; height: 200px; margin: 0 auto 14px; border: 1px solid #eee; border-radius: 6px; }
.wechat-id { color: var(--c-gold); font-weight: 700; font-size: 16px; }

/* ============================================================
   私人订制反馈
   ============================================================ */
.feedback-video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feedback-video { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.feedback-video video { width: 100%; aspect-ratio: 9/16; background: #000; object-fit: cover; }
.video-caption { padding: 12px 14px; font-size: 14px; color: #333; font-weight: 600; }

.feedback-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.gallery-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }

.story-quote { background: #faf7ef; border-left: 4px solid var(--c-gold); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 17px; color: var(--c-primary); font-style: italic; margin-bottom: 20px; }
.story-text p { color: #555; margin-bottom: 12px; }

.chat-box { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.chat-msg { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.chat-bubble { max-width: 78%; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; background: #f3f4f6; color: #333; }
.chat-shop { flex-direction: row-reverse; }
.chat-shop .chat-bubble { background: #e7f3ec; color: #14543a; }

/* ============================================================
   订单查询
   ============================================================ */
.order-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.oc-type { font-size: 12px; color: #fff; background: var(--c-primary); padding: 2px 10px; border-radius: 3px; }
.oc-type.preorder { background: var(--c-gold); color: #3a2c00; }
.oc-type.inquiry { background: #6c8ebf; }
.oc-time { font-size: 12.5px; color: var(--c-text-light); }
.oc-body { font-size: 14px; color: #444; line-height: 1.6; }
.oc-status { font-size: 13px; color: var(--c-primary); margin-top: 8px; font-weight: 600; }
.order-result { margin-top: 18px; }

/* ============================================================
   微信弹窗 & 悬浮按钮 & Toast
   ============================================================ */
.wechat-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 1000; }
.wechat-modal-overlay.show { display: flex; }
.wechat-modal { background: #fff; border-radius: 10px; padding: 26px 30px; text-align: center; position: relative; max-width: 320px; width: 90%; }
.wechat-modal .modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }
.wechat-modal img { width: 200px; height: 200px; margin: 0 auto 12px; }
.wechat-modal h4 { font-size: 17px; color: var(--c-primary); }
.wechat-modal p { font-size: 13px; color: var(--c-text-light); margin: 6px 0 12px; }
.wechat-modal .wechat-id { background: #faf7ef; border-radius: 6px; padding: 8px; color: var(--c-gold); font-weight: 700; }

.mobile-float-btn { position: fixed; right: 16px; bottom: 80px; z-index: 600; width: 54px; height: 54px; border-radius: 50%; background: var(--c-primary); color: #fff; display: none; align-items: center; justify-content: center; text-align: center; font-size: 12px; line-height: 1.2; box-shadow: var(--shadow-md); }
.mobile-float-btn:hover { background: var(--c-primary-2); }

.toast { position: fixed; left: 50%; top: 80px; transform: translateX(-50%) translateY(-20px); background: rgba(0,0,0,.82); color: #fff; padding: 11px 22px; border-radius: 24px; font-size: 14px; opacity: 0; transition: all .3s; z-index: 1100; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--c-primary); }

.mt-lg { margin-top: 16px; } .mt-2xl { margin-top: 34px; }

.cta-section { text-align: center; padding: 40px 20px; }
.cta-section h3 { font-size: 24px; color: #222; margin-bottom: 10px; }
.section-bg-dark .cta-section h3 { color: #fff; }
.cta-section p { color: var(--c-text-light); margin-bottom: 20px; }
.section-bg-dark .cta-section p { color: rgba(255,255,255,.85); }

/* ============================================================
   页脚（电商风 · 墨绿鎏金）
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #18231b 0%, #121915 100%);
    color: #adbaa8;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--c-gold), #f3e5ab, var(--c-gold)) 1;
    margin-top: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 0.9fr 1.3fr;
    gap: 42px 32px;
    padding: 52px 0 44px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,.35);
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
    transition: transform .3s ease;
}

.footer-logo:hover img { transform: scale(1.05) rotate(-2deg); }

.footer-logo-text strong {
    display: block;
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.footer-logo-text span {
    display: block;
    color: var(--c-gold);
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-top: 3px;
    opacity: .85;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.85;
    color: #9caa96;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 20px;
    color: #e8e4d9;
    font-size: 12.5px;
    text-decoration: none;
    transition: all .25s ease;
}

.footer-action-btn i { font-style: normal; font-size: 13px; }

.footer-action-btn:hover {
    background: rgba(201,168,76,.12);
    border-color: var(--c-gold);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 3px; }

.footer-links a {
    display: inline-block;
    color: #adbaa8;
    font-size: 13.5px;
    padding: 5px 0;
    text-decoration: none;
    transition: all .2s ease;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width .25s ease;
}

.footer-links a:hover {
    color: var(--c-gold);
    padding-left: 8px;
}

.footer-links a:hover::after { width: 16px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact-item i {
    font-style: normal;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,168,76,.12);
    border-radius: 50%;
    color: var(--c-gold);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-item .fc-label {
    display: block;
    color: #8a9a82;
    font-size: 11.5px;
    margin-bottom: 1px;
}

.footer-contact-item .fc-value,
.footer-contact-item .fc-value a {
    color: #e4e9e0;
    text-decoration: none;
    word-break: break-all;
}

.footer-contact-item .fc-value a:hover { color: var(--c-gold); text-decoration: underline; }

.footer-bar {
    background: #0e1410;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bar p {
    font-size: 12px;
    color: #7e8c76;
    line-height: 1.85;
    margin: 3px 0;
}

.footer-bar a {
    color: var(--c-gold);
    text-decoration: none;
    transition: color .2s;
}

.footer-bar a:hover { color: #f3e5ab; text-decoration: underline; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3,1fr); }
    .cat-entry { grid-template-columns: repeat(4,1fr); }
    .feedback-video-grid, .feedback-gallery { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .cart-wrap { flex-direction: column; }
    .summary-box { width: 100%; position: static; }
}

@media (max-width: 767px) {
    .top-bar { display: none; }
    .nav-toggle { display: flex; }
    .header-main { flex-wrap: wrap; gap: 12px; padding: 12px 15px; }
    .logo img { height: 40px; }
    .logo .logo-text b { font-size: 18px; }
    .search-box { order: 3; flex: 1 1 100%; max-width: none; height: 38px; }
    .search-hot { display: none; }
    .cart-btn { order: 2; margin-left: auto; padding: 0 12px; height: 38px; font-size: 13px; }
    .search-results { margin: 0 15px; }

    .category-nav { display: none; }
    .category-nav.open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 800; overflow-y: auto; background: var(--c-primary); padding-top: 50px; }
    .category-nav.open .container { flex-direction: column; }
    .category-nav.open a { height: 50px; line-height: 50px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
    .category-nav.open a:first-child { background: var(--c-price); }

    .product-grid, .cat-products { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .hero-slide {
        display: flex;
        flex-direction: column;
        height: auto;
        border-radius: var(--radius);
    }
    .hero-slide img {
        height: 220px;
        position: static;
        border-radius: var(--radius) var(--radius) 0 0;
    }
    .hero-slide .hero-cap {
        position: static;
        background: var(--c-primary);
        padding: 18px 18px 22px;
        text-align: center;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .hero-slide .hero-cap h2 { font-size: 19px; margin-bottom: 8px; }
    .hero-slide .hero-cap p { font-size: 13px; line-height: 1.5; }
    .hero-slide .hero-cap .btn { margin-top: 14px; }
    .cat-entry { grid-template-columns: repeat(4,1fr); gap: 8px; }
    .cat-entry a { padding: 12px 4px; }
    .cat-entry .ce-ico { font-size: 24px; }
    .cat-entry .ce-name { font-size: 11px; }

    .contact-grid { grid-template-columns: 1fr; }
    .cart-wrap { flex-direction: column; }
    .summary-box { width: 100%; position: static; }
    .cart-item { flex-direction: column; align-items: stretch; }
    .cart-item > img { width: 100%; height: 180px; }
    .qty-box { margin-top: 8px; }

    .feedback-video-grid, .feedback-gallery { grid-template-columns: 1fr; }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 22px 16px;
        padding: 26px 0 20px;
    }

    .footer-col { text-align: left; }
    .footer-col.footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    .footer-col.footer-brand h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col.footer-brand .footer-logo { justify-content: center; }
    .footer-col.footer-brand .footer-desc { margin-left: auto; margin-right: auto; max-width: 420px; }
    .footer-col.footer-brand .footer-actions { justify-content: center; }
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 11px;
        padding-bottom: 7px;
    }
    .footer-col h4::after { left: 0; transform: none; }
    .footer-logo { margin-bottom: 12px; }
    .footer-logo img { width: 38px; height: 38px; }
    .footer-logo-text strong { font-size: 17px; }
    .footer-desc { font-size: 12px; line-height: 1.7; margin-bottom: 12px; max-width: none; }
    .footer-actions { gap: 8px; }
    .footer-action-btn { padding: 6px 11px; font-size: 12px; }
    .footer-links a { font-size: 12.5px; padding: 3px 0; }
    .footer-contact-item { gap: 8px; margin-bottom: 9px; font-size: 12px; justify-content: flex-start; }
    .footer-contact-item i { width: 20px; height: 20px; font-size: 11px; margin-top: 1px; }

    .footer-bar { padding: 14px 0; }
    .footer-bar p { font-size: 11px; line-height: 1.6; margin: 2px 0; }

    .page-hero h1 { font-size: 24px; }
    .mobile-float-btn { display: flex; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
}
