/* ============================================================
   智远家居 · 设计系统 v2
   温馨大气 · 专业家居网站风格
   色板：暖白底 / 原木暖色 / 品牌深绿 / 暖沙点缀
   ============================================================ */

:root {
    /* 色板 */
    --bg: #faf7f2;
    --bg-deep: #f3ede3;
    --surface: #ffffff;
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-soft: #e7f0ea;
    --accent: #c8a882;
    --accent-dark: #a98467;
    --accent-soft: #f6efe4;
    --text: #2b2622;
    --text-muted: #8a8178;
    --border: #e9e1d5;
    --danger: #c0392b;
    --danger-soft: #fbeae7;
    --info: #3a6ea5;
    --info-soft: #e8f0f8;
    --warn: #b7791f;
    --warn-soft: #fbf1dc;

    /* 字体 */
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

    /* 圆角与阴影 */
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(43, 38, 34, 0.06);
    --shadow-md: 0 6px 20px rgba(43, 38, 34, 0.08);
    --shadow-lg: 0 16px 40px rgba(43, 38, 34, 0.12);

    /* 布局 */
    --container: 1200px;
    --sidebar-w: 240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.btn:hover {
    border-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(45, 106, 79, 0.3);
}
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; }
.btn-danger { color: var(--danger); border-color: #ecc9c4; }
.btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* ============ 表单 ============ */
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .02em;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-check { flex-direction: row; align-items: center; gap: 10px; }
.check-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}
.check-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
}
.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 6px;
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    border-radius: 6px;
}
.password-toggle:hover { color: var(--primary); background: var(--primary-soft); }

/* ============ 提示 ============ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 18px;
}
.alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid #f0c9c4; }

/* ============ 前台导航 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}
.brand-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .06em;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    position: relative;
    padding: 8px 14px;
    color: var(--text);
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
}
.nav-cta { margin-left: 10px; }

/* ============ 页脚 ============ */
.site-footer {
    margin-top: 80px;
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.82);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.65); }
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    letter-spacing: .04em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

/* ============ 页面头部 ============ */
.page-head {
    text-align: center;
    padding: 56px 0 36px;
}
.page-head h1 {
    font-size: 34px;
    letter-spacing: .04em;
}
.page-head p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 15px;
}
.section { padding: 24px 0; }
.section-narrow { max-width: 720px; margin: 0 auto; }

/* ============ 面板 ============ */
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}
.panel-narrow { max-width: 640px; margin: 0 auto; }
.panel-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}
.panel-title {
    font-size: 17px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* ============ 首页 Hero ============ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(200, 168, 130, 0.18), transparent 60%),
        radial-gradient(ellipse 50% 70% at 10% 90%, rgba(45, 106, 79, 0.12), transparent 60%),
        linear-gradient(160deg, #f6efe4 0%, #faf7f2 55%, #eef3ec 100%);
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 88px 0 72px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: .08em;
}
.hero h1 {
    font-size: 46px;
    line-height: 1.25;
    margin: 20px 0 18px;
    letter-spacing: .02em;
}
.hero h1 em {
    font-style: normal;
    color: var(--primary);
}
.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-stat b {
    display: block;
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--primary-dark);
}
.hero-stat span { font-size: 13px; color: var(--text-muted); }
.hero-visual {
    position: relative;
    min-height: 380px;
}
.hero-frame {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background:
        linear-gradient(150deg, rgba(45, 106, 79, 0.08), rgba(200, 168, 130, 0.14)),
        repeating-linear-gradient(45deg, rgba(43, 38, 34, 0.03) 0 2px, transparent 2px 14px);
    border: 1px solid var(--border);
    overflow: hidden;
}
.hero-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-frame::before {
    content: "智远家居";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 30px;
    letter-spacing: .3em;
    color: rgba(45, 106, 79, 0.35);
    pointer-events: none;
    z-index: 1;
}
/* 环保板材区域轮播 */
.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .8s ease;
    z-index: 0;
}
.hero-carousel .hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-carousel .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-carousel .hero-slide-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    z-index: 3;
}
.hero-carousel .hero-slide .thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 40px;
    color: rgba(45, 106, 79, 0.5);
}
.hero-badge {
    position: absolute;
    right: 14px;
    bottom: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-badge .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-badge b { display: block; font-size: 15px; }
.hero-badge span { font-size: 12.5px; color: var(--text-muted); }

/* ============ 区块标题 ============ */
.section-head {
    text-align: center;
    margin-bottom: 40px;
}
.section-head .kicker {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: .18em;
    text-transform: uppercase;
}
.section-head h2 {
    font-size: 30px;
    margin-top: 8px;
    letter-spacing: .03em;
}
.section-head p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 14.5px;
}

/* ============ 瀑布流 ============ */
.waterfall {
    columns: 3;
    column-gap: 24px;
    transition: opacity .4s ease;
}
.waterfall.rotating { opacity: 0.35; }
.waterfall-card {
    display: block;
    break-inside: avoid;
    margin-bottom: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.waterfall-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.waterfall-card .thumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-soft), var(--primary-soft));
}
.waterfall-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.waterfall-card:hover .thumb img { transform: scale(1.05); }
.waterfall-card .thumb-tall { height: 280px; }
.waterfall-card .thumb-wide { height: 240px; }
.waterfall-card .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 42px;
    color: rgba(45, 106, 79, 0.4);
}
.waterfall-card .card-body { padding: 16px 18px 18px; }
.waterfall-card .card-cat {
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: .06em;
}
.waterfall-card .card-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    margin: 4px 0 8px;
    color: var(--text);
}
.waterfall-card .card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.waterfall-card .card-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
}
.waterfall-card .card-price small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.waterfall-card .card-more {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.waterfall-card:hover .card-more { color: var(--primary); }

/* ============ 品牌理念 ============ */
.story {
    padding: 72px 0;
}
.story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.story-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    background:
        linear-gradient(150deg, rgba(45, 106, 79, 0.10), rgba(200, 168, 130, 0.16)),
        repeating-linear-gradient(45deg, rgba(43, 38, 34, 0.03) 0 2px, transparent 2px 14px);
    border: 1px solid var(--border);
}
.story-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-body h2 {
    font-size: 28px;
    margin-bottom: 16px;
}
.story-body > p { color: var(--text-muted); margin-bottom: 22px; }
.story-points { list-style: none; }
.story-points li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.story-points li:last-child { border-bottom: none; }
.story-points .pt-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-points b { display: block; font-size: 15px; }
.story-points span { font-size: 13.5px; color: var(--text-muted); }

/* ============ 特色服务 ============ */
.features {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-card .feat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.25);
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); overflow-wrap: break-word; }

/* ============ CTA 横幅 ============ */
.cta-banner {
    margin: 72px 0 0;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 85% 10%, rgba(255, 255, 255, 0.12), transparent 60%);
}
.cta-banner h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
}
.cta-banner p { color: rgba(255, 255, 255, 0.8); margin-bottom: 30px; position: relative; }
.cta-banner .hero-actions { justify-content: center; position: relative; }

/* ============ 产品网格 ============ */
.search-bar {
    max-width: 560px;
    margin: 0 auto 36px;
    display: flex;
    gap: 10px;
}
.search-bar input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}
.search-bar .btn { border-radius: 999px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-card .thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-soft), var(--primary-soft));
}
.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 40px;
    color: rgba(45, 106, 79, 0.4);
}
.product-card .card-body { padding: 18px; }
.product-card .card-cat {
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: .06em;
}
.product-card .card-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    margin: 5px 0 10px;
    color: var(--text);
}
.product-card .card-desc {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    min-height: 38px;
}
.product-card .card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-card .card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}
.product-card .card-price small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.product-card .card-more {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.product-card:hover .card-more { color: var(--primary); }
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.empty-state p { font-size: 15px; }

/* ============ 详情页 ============ */
.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    padding: 20px 0 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--border); }
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 28px 0 56px;
    align-items: start;
}
.detail-gallery {
    position: sticky;
    top: 96px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--accent-soft), var(--primary-soft));
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-gallery .thumb-placeholder {
    font-family: var(--font-serif);
    font-size: 56px;
    color: rgba(45, 106, 79, 0.4);
}
.detail-info .detail-cat {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--accent-soft);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.detail-info h1 {
    font-size: 30px;
    margin-bottom: 14px;
}
.detail-price {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 16px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 20px;
}
.detail-price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.detail-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.9;
    margin-bottom: 26px;
}
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.detail-points { list-style: none; }
.detail-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    padding: 7px 0;
}
.detail-points svg { color: var(--primary); flex: none; }

/* ============ 咨询/订购双栏 ============ */
.split-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: start;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.contact-card h3 {
    font-size: 17px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.contact-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ct-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item b { display: block; font-size: 14px; }
.contact-item span { font-size: 13px; color: var(--text-muted); }

/* ============ 登录页 ============ */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 60% 70% at 80% 15%, rgba(200, 168, 130, 0.16), transparent 60%),
        radial-gradient(ellipse 50% 60% at 15% 85%, rgba(45, 106, 79, 0.12), transparent 60%),
        var(--bg);
    padding: 24px;
}
.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
}
.login-brand { text-align: center; margin-bottom: 28px; }
.brand-mark-lg {
    width: 56px;
    height: 56px;
    font-size: 26px;
    border-radius: 16px;
    margin: 0 auto 14px;
}
.login-brand h1 { font-size: 22px; letter-spacing: .06em; }
.login-brand p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.login-form .form-group { margin-bottom: 18px; }
.login-foot {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
}

/* ============ 后台布局 ============ */
.admin-body {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}
.admin-sidebar {
    width: var(--sidebar-w);
    flex: none;
    background: linear-gradient(180deg, #22302a, #1b2a24);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-brand-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .05em;
}
.admin-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    transition: background .2s, color .2s;
}
.admin-nav a svg { flex: none; opacity: .85; }
.admin-nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-nav a.active {
    background: rgba(45, 106, 79, 0.55);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--accent);
}
.admin-sidebar-foot {
    padding: 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-sidebar-foot a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
}
.admin-sidebar-foot a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar h2 { font-size: 20px; }
.admin-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
}
.admin-user::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}
.admin-content { padding: 28px; }

/* ============ 统计卡片 ============ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.stat-icon.green { background: var(--primary-soft); color: var(--primary); }
.stat-icon.amber { background: var(--warn-soft); color: var(--warn); }
.stat-icon.blue { background: var(--info-soft); color: var(--info); }
.stat-icon.sand { background: var(--accent-soft); color: var(--accent-dark); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-value {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.stat-link { font-size: 13px; color: var(--primary); }
.stat-link:hover { color: var(--primary-dark); }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.table thead th {
    text-align: left;
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    letter-spacing: .03em;
}
.table tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: #fbf8f3; }
.cell-truncate {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cell-muted { color: var(--text-muted); white-space: nowrap; }
.cell-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    white-space: nowrap;
}
.inline-form { display: inline-flex; align-items: center; gap: 6px; }
.select-sm {
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: var(--surface);
    color: var(--text);
}
.select-sm:focus { outline: none; border-color: var(--primary); }

/* ============ 徽章 ============ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-ok { background: var(--primary-soft); color: var(--primary); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--bg-deep); color: var(--text-muted); }

/* ============ 空态 ============ */
.empty-hint {
    text-align: center;
    padding: 36px 16px;
    color: var(--text-muted);
    font-size: 14px;
}

/* ============ Toast ============ */
.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%, 20px);
    background: var(--primary-dark);
    color: #fff;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 999;
    max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { background: var(--danger); }

/* ============ 图库 ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow .2s;
}
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.gallery-item .gallery-meta {
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.gallery-item .gallery-meta > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.gallery-item .gallery-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; padding: 56px 0; }
    .hero-visual { min-height: 280px; }
    .waterfall { columns: 2; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-gallery { position: static; min-height: 300px; }
    .split-layout { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .panel-grid { grid-template-columns: 1fr; }
    .story { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .header-inner { height: 60px; }
    .brand-name { font-size: 17px; }
    .main-nav a { padding: 6px 10px; font-size: 14px; }
    .nav-cta { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .waterfall { columns: 1; }
    .product-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .admin-body { flex-direction: column; }
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    .admin-brand { border-bottom: none; padding: 14px 16px; }
    .admin-nav { flex-direction: row; flex-wrap: wrap; padding: 8px 12px; }
    .admin-nav a { padding: 8px 12px; }
    .admin-sidebar-foot { flex-direction: row; padding: 8px 12px; border-top: none; }
    .admin-content { padding: 16px; }
    .admin-topbar { padding: 14px 16px; }
    .cta-banner { padding: 40px 24px; }
}