:root {
    --ns-bg: #fbf9f4;
    --ns-surface: #ffffff;
    --ns-soft: #f0eee9;
    --ns-text: #1b1c19;
    --ns-muted: #424841;
    --ns-primary: #17341c;
    --ns-secondary: #7e562e;
    --ns-line: #c2c8bf;
    --ns-shadow: 0 12px 30px rgba(23, 52, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #e5e5e5;
    color: var(--ns-text);
    font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    display: flex;
    justify-content: center;
}

.ns001-app {
    width: 480px;
    min-height: 100vh;
    background: var(--ns-bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding-bottom: 84px;
    overflow-x: hidden;
}

.ns001-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(251, 249, 244, 0.92);
    border-bottom: 1px solid var(--ns-line);
    backdrop-filter: blur(8px);
}

.ns001-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ns001-top-left h1 {
    margin: 0;
    font-size: 20px;
    color: var(--ns-primary);
    font-weight: 700;
}

.ns001-menu-btn {
    border: 0;
    background: var(--ns-soft);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 18px;
    color: var(--ns-primary);
    cursor: pointer;
}

.ns001-search {
    color: var(--ns-primary);
    font-size: 20px;
}

.ns001-hero {
    padding: 38px 20px;
    background: linear-gradient(135deg, rgba(23, 52, 28, 0.06) 0%, rgba(126, 86, 46, 0.08) 100%);
}

.ns001-hero-inner {
    max-width: 440px;
}

.ns001-hero h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.2;
    color: var(--ns-primary);
}

#ns001-hero-open-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--ns-primary);
    background: #f8f4ec;
    border-radius: 999px;
    padding: 6px 9px;
    white-space: nowrap;
}

.ns001-hero p {
    margin: 0;
    color: var(--ns-muted);
    font-size: 14px;
    line-height: 1.75;
}

.ns001-hero-cta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background: var(--ns-primary);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

.ns001-category-nav {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(251, 249, 244, 0.95);
    border-top: 1px solid rgba(194, 200, 191, 0.3);
    border-bottom: 1px solid rgba(194, 200, 191, 0.35);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ns001-category-nav::-webkit-scrollbar {
    display: none;
}

.ns001-nav-chip {
    flex: 0 0 auto;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #ece8df;
    color: #4b4f4a;
    font-size: 12px;
    padding: 7px 14px;
    white-space: nowrap;
}

.ns001-nav-chip.active {
    background: var(--ns-primary);
    color: #fff;
}

.ns001-sections {
    padding: 20px;
}

.goods-category {
    margin-bottom: 34px;
}

.category-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border-bottom: 1px solid rgba(23, 52, 28, 0.16);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.category-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    color: var(--ns-primary);
    font-weight: 700;
}

.category-en {
    color: var(--ns-secondary);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.goods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.goods-item {
    background: var(--ns-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(194, 200, 191, 0.7);
    box-shadow: 0 4px 14px rgba(20, 30, 20, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.goods-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--ns-shadow);
}

.goods-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f2f1ed;
}

.goods-item-name {
    margin: 0;
    padding: 9px 10px 4px;
    color: var(--ns-primary);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.goods-item-desc {
    margin: 0;
    padding: 0 10px 12px;
    color: #5b615b;
    font-size: 12px;
    line-height: 1.6;
}

.ns001-footer {
    margin: 4px 20px 20px;
    background: var(--ns-soft);
    border: 1px solid rgba(194, 200, 191, 0.75);
    border-radius: 14px;
    text-align: center;
    padding: 16px 14px;
}

.ns001-footer-brand {
    font-size: 20px;
    color: var(--ns-primary);
    font-weight: 700;
}

.ns001-footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ns001-footer-links a {
    color: var(--ns-muted);
    text-decoration: none;
    font-size: 12px;
}

.ns001-footer p {
    margin: 10px 0 0;
    color: #747b74;
    font-size: 11px;
}

#ns001-drawer.sw-menu,
#ns001-footer-nav.sw-fnav {
    width: 480px;
}

.empty-tip {
    text-align: center;
    color: #8e948e;
    padding: 60px 20px;
    font-size: 14px;
}
