/* ============================================
   無言文化 · Wuyan Culture — 原始版样式
   ============================================ */

/* ============================================
   视频开场动画 · Luxury Video Intro
   ============================================ */
.video-intro {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    background: #0a0a0a;
    will-change: transform, opacity;
}
.video-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.video-intro.scrolled video {
    transform: scale(1.06);
}
.video-intro-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 85%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    transition: background 1s ease;
}
.video-intro.scrolled .video-intro-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
}

/* ---- 页面层级 ---- */
.top-bar,
.navbar,
.hero,
.story-section,
.products-section,
.heritage-section,
.contact-section,
.footer,
.cart-modal,
.checkout-modal,
.toast,
.back-to-top {
    position: relative;
    z-index: 1;
}

/* ---- 视频模式 Hero ---- */
.hero-video-mode {
    background: transparent !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video-mode .hero-overlay {
    background: none !important;
}

/* ---- 奢侈品入场动画 ---- */
.hero-video-mode .hero-content {
    opacity: 0;
    animation: heroContentIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-video-mode .hero-badge {
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}
.hero-video-mode .hero-title {
    opacity: 0;
    animation: fadeSlideUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}
.hero-video-mode .hero-subtitle {
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.3s forwards;
}
.hero-video-mode .hero-buttons {
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.7s forwards;
}
.hero-video-mode .hero-scroll {
    opacity: 0;
    animation: fadeSlideUp 0.7s ease 2.2s forwards;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CSS Variables ---------- */
:root {
    --ink: #1a1a1a;
    --ink-light: #555;
    --paper: #faf7f2;
    --paper-warm: #f5efe5;
    --cinnabar: #b5343f;
    --cinnabar-deep: #8b1a2b;
    --gold: #c9a96e;
    --gold-light: #e0cfa0;
    --jade: #5a8265;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 8px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; background: none; }
input, select, textarea { font-family: inherit; outline: none; border: none; }

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* ---------- Container ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250,247,242,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-icon {
    width: 30px; height: 30px;
    background: var(--cinnabar-deep);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif SC', serif;
    font-size: 0.85rem; font-weight: 900;
    border-radius: 3px;
}
.logo-text { font-family: 'Noto Serif SC', serif; font-size: 1rem; font-weight: 700; color: var(--ink); }
.nav-menu { display: flex; gap: 4px; }
.nav-link {
    padding: 8px 16px; font-size: 0.78rem; font-weight: 500;
    color: var(--ink-light); letter-spacing: 1px; text-transform: uppercase;
    border-radius: 4px; transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--cinnabar-deep); background: rgba(139,26,43,0.04); }
.nav-actions { display: flex; align-items: center; gap: 16px; position: relative; }
.cart-icon {
    position: relative; font-size: 1.05rem; color: var(--ink-light);
    padding: 4px; transition: color 0.3s;
    background: none; border: none; cursor: pointer;
    font-family: inherit; line-height: 1;
}
.cart-icon:hover { color: var(--cinnabar-deep); }
.cart-count {
    position: absolute; top: -4px; right: -8px;
    background: var(--cinnabar); color: white;
    font-size: 0.6rem; font-weight: 700;
    width: 17px; height: 17px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
.cart-count.pulse { animation: badgePulse 0.4s ease; }
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Cart Dropdown */
.cart-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
}
.cart-dropdown.open {
    display: block;
    animation: dropIn 0.25s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.cart-dropdown-inner {
    max-height: 420px;
    overflow-y: auto;
}
.cart-dropdown-items {
    padding: 8px 16px;
}
.cart-dropdown-empty {
    text-align: center;
    color: #bbb;
    padding: 32px 16px;
    font-size: 0.85rem;
}
.cart-dropdown-footer {
    padding: 16px;
    border-top: 1px solid #f0ede4;
    background: var(--paper-warm);
}
.cart-dropdown-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 0.88rem;
}
.cart-dropdown-total strong {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.15rem;
    color: var(--cinnabar-deep);
}

/* Dropdown cart item */
.cart-drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f2ea;
}
.cart-drop-item:last-child { border-bottom: none; }
.cart-drop-thumb {
    width: 38px; height: 38px;
    background: var(--paper-warm);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; flex-shrink: 0;
    color: var(--ink-light);
    overflow: hidden;
}
.cart-drop-info { flex: 1; min-width: 0; }
.cart-drop-info h4 {
    font-size: 0.78rem; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-drop-info .drop-price { font-size: 0.72rem; color: var(--ink-light); }
.cart-drop-qty {
    display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.cart-drop-qty .qty-btn {
    width: 24px; height: 24px; border-radius: 50%;
    border: 1px solid #e0dcd0; background: white;
    color: var(--ink-light); font-size: 0.85rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
    font-family: inherit; line-height: 1; padding: 0;
}
.cart-drop-qty .qty-btn:hover { border-color: var(--cinnabar-deep); color: var(--cinnabar-deep); }
.cart-drop-qty .qty-val { width: 20px; text-align: center; font-size: 0.82rem; font-weight: 600; }
.cart-drop-subtotal {
    font-weight: 700; font-size: 0.85rem; color: var(--cinnabar-deep);
    min-width: 52px; text-align: right; flex-shrink: 0;
}
.cart-drop-remove {
    background: none; border: none; cursor: pointer;
    color: #ccc; font-size: 0.75rem; padding: 2px;
    transition: color 0.2s; flex-shrink: 0;
    font-family: inherit; line-height: 1;
}
.cart-drop-remove:hover { color: var(--cinnabar); }

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

.menu-toggle { display: none; font-size: 1.2rem; color: var(--ink-light); }

/* Language Switcher */
.lang-switcher {
    position: relative;
    z-index: 999;
}
.lang-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 12px; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 1px; color: var(--ink-light);
    border: 1px solid rgba(0,0,0,0.15); border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255,255,255,0.5);
    font-family: inherit;
    line-height: 1.4;
    white-space: nowrap;
    min-width: 44px;
    justify-content: center;
}
.lang-btn:hover { border-color: var(--cinnabar-deep); color: var(--cinnabar-deep); background: white; }
.lang-dropdown {
    display: none;
    position: absolute; top: calc(100% + 6px); right: 0;
    background: white; border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 6px; min-width: 150px; z-index: 9999;
}
.lang-option {
    display: block; width: 100%; padding: 10px 16px;
    font-size: 0.82rem; text-align: left; border-radius: 5px;
    color: var(--ink-light); transition: background 0.2s, color 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
.lang-option:hover { background: rgba(139,26,43,0.06); color: var(--cinnabar-deep); }
.lang-option.active { color: var(--cinnabar-deep); font-weight: 600; background: rgba(139,26,43,0.05); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #e8e2d4 0%, #cec6b2 30%, #a09880 55%, #4a4440 85%, #2c2824 100%);
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 140% 50% at 50% 100%, rgba(12,12,12,0.7) 0%, transparent 60%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ink-particle {
    position: absolute;
    animation: inkRise 10s infinite;
    opacity: 0;
}
.ink-particle.gold { background: var(--gold); width: 2px; height: 2px; border-radius: 1px; }
.ink-particle.light { background: rgba(255,255,255,0.5); border-radius: 50%; }
@keyframes inkRise {
    0% { opacity: 0; transform: translateY(100vh) translateX(0) scale(0); }
    10% { opacity: 0.8; }
    85% { opacity: 0.06; }
    100% { opacity: 0; transform: translateY(-10vh) translateX(var(--drift, 0px)) scale(0.4); }
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 0 24px; max-width: 700px;
}
.hero-badge {
    display: inline-block; padding: 6px 20px;
    border: 1px solid rgba(201,169,110,0.35); border-radius: 50px;
    font-size: 0.7rem; font-weight: 500; letter-spacing: 4px;
    color: var(--gold); margin-bottom: 36px;
    backdrop-filter: blur(8px);
}
.hero-title { font-family: 'Noto Serif SC', serif; margin-bottom: 32px; }
.title-line {
    display: block;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900; color: white;
    letter-spacing: 0.02em; line-height: 1.15;
}
.title-line.accent { color: var(--gold); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: 0.12em; }
.hero-subtitle { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 2; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.45); font-size: 0.65rem;
    letter-spacing: 3px; text-transform: uppercase;
    animation: scrollFloat 2.5s ease-in-out infinite;
    cursor: pointer;
    transition: color 0.3s;
}
.hero-scroll:hover {
    color: rgba(255,255,255,0.85);
}
@keyframes scrollFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; font-size: 0.85rem; font-weight: 500;
    letter-spacing: 1px; border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--cinnabar-deep); color: white; box-shadow: 0 4px 20px rgba(139,26,43,0.2); }
.btn-primary:hover { background: var(--cinnabar); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,26,43,0.35); }
.btn-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.5); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header.light .section-title { color: white; }
.section-header.light .section-label { color: var(--gold-light); }
.section-label {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 5px; color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-family: 'Noto Serif SC', serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
.section-desc { max-width: 640px; margin: 16px auto 0; color: var(--ink-light); font-size: 0.9rem; line-height: 1.8; }
.section-divider {
    width: 50px; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--cinnabar-deep));
    margin: 20px auto 0; border-radius: 1px;
}

/* ---------- Story Section ---------- */
.story-section { padding: 100px 0; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.story-img-placeholder { aspect-ratio: 4/3; }
.story-img-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.story-text h3 { font-family: 'Noto Serif SC', serif; font-size: 1.6rem; color: var(--cinnabar-deep); margin-bottom: 20px; }
.story-text p { color: var(--ink-light); line-height: 2; margin-bottom: 16px; font-size: 0.9rem; }

/* ---------- Product Sections ---------- */
.products-section { padding: 100px 0; }
.mahjong-section { background: var(--white); }
.teaset-section { background: var(--paper); }

.product-showcase {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
    margin-bottom: 80px;
    padding: 36px; background: white;
    border-radius: 12px; box-shadow: var(--shadow);
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-showcase:last-child { margin-bottom: 0; }
.product-showcase:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-showcase.reverse .product-image-wrapper { order: 2; }
.product-showcase.reverse .product-info { order: 1; }

.product-image-wrapper { position: relative; }
.product-image-main { border-radius: var(--radius); overflow: hidden; }
.product-img-placeholder { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.product-img-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* CSS Art Backgrounds */
.mahjong-bg-2 { background: linear-gradient(175deg, #1e3d6e, #15305c 40%, #0f2548 70%, #142f5a 100%); display: flex; align-items: center; justify-content: center; }
.mahjong-bg-3 { background: linear-gradient(175deg, #4a2010, #3d1a0b 40%, #301408 70%, #4a2210 100%); display: flex; align-items: center; justify-content: center; }
.teaset-bg-2 { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.5) 0%, transparent 40%), linear-gradient(150deg, #fafaf5, #f0efe5 40%, #edeadf 70%, #f0efe5 100%); display: flex; align-items: center; justify-content: center; }
.teaset-bg-3 { background: radial-gradient(circle at 50% 40%, rgba(180,215,200,0.2) 0%, transparent 45%), linear-gradient(150deg, #dcece4, #d0e4da 40%, #cde0d6 70%, #d0e4da 100%); display: flex; align-items: center; justify-content: center; }

/* CSS Mahjong Tiles */
.mj-tile {
    width: 130px; height: 162px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.mj-tile::before { content: ''; position: absolute; inset: 10px; border: 1.5px solid rgba(201,169,110,0.15); border-radius: 7px; }
.mj-tile.ivory {
    background: linear-gradient(180deg, #fefefa, #f7f3e8 20%, #efe8d4 50%, #f2ecdd 75%, #faf7ee);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mj-tile.enamel {
    background: linear-gradient(175deg, #1e3d6e, #15305c 25%, #0f2548 50%, #142f5a 75%, #1a3870);
    border: 2px solid var(--gold);
    box-shadow: inset 0 0 0 3px #1a3360, inset 0 0 0 5px rgba(201,169,110,0.3), 0 8px 30px rgba(0,0,0,0.25);
}
.mj-tile.wood {
    background: linear-gradient(175deg, #5c2a0e, #4a2010 25%, #3d1a0b 50%, #4a2210 75%, #563010);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.mj-char { font-family: 'Noto Serif SC', serif; font-size: 3.5rem; font-weight: 900; position: relative; z-index: 1; }
.mj-tile.ivory .mj-char { color: #8b1a2b; }
.mj-tile.enamel .mj-char { color: var(--gold); text-shadow: 0 0 12px rgba(201,169,110,0.3); }
.mj-tile.wood .mj-char { color: #c9a050; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }

/* CSS Teapot Icons */
.teapot-icon { font-size: 5rem; }
.teapot-icon.blue { color: rgba(50,40,120,0.15); }
.teapot-icon.celadon { color: rgba(80,140,120,0.15); }

/* Product Info */
.product-series {
    display: inline-block; padding: 4px 16px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 2px;
    color: var(--cinnabar-deep); background: rgba(139,26,43,0.05);
    border-radius: 50px; margin-bottom: 12px;
}
.product-name { font-family: 'Noto Serif SC', serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; color: var(--gold); font-size: 0.85rem; }
.product-rating span { color: var(--ink-light); margin-left: 6px; font-size: 0.78rem; }
.product-intro { color: var(--ink-light); line-height: 1.9; margin-bottom: 18px; font-size: 0.9rem; }
.product-features { margin-bottom: 20px; }
.product-features li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.85rem; color: var(--ink-light); }
.product-features li i { color: var(--jade); font-size: 0.8rem; }
.product-price-row {
    display: flex; align-items: baseline; gap: 12px;
    padding: 16px 0; margin-bottom: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.product-price { font-family: 'Noto Serif SC', serif; font-size: 1.6rem; font-weight: 700; color: var(--cinnabar-deep); }
.product-price-old { font-size: 0.95rem; color: #aaa; text-decoration: line-through; }
.product-discount { padding: 2px 10px; background: var(--cinnabar-deep); color: white; font-size: 0.7rem; font-weight: 700; border-radius: 3px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Add to Cart 点击反馈动画 */
.add-to-cart.added {
    animation: cartPop 0.5s ease;
}
@keyframes cartPop {
    0%   { transform: scale(1); }
    30%  { transform: scale(0.93); }
    60%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}
/* 角标弹出动画 */
.cart-count.pulse {
    animation: badgePulse 0.4s ease;
}
@keyframes badgePulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.product-actions .btn-outline { color: var(--ink-light); border-color: rgba(0,0,0,0.12); }
.product-actions .btn-outline:hover { border-color: var(--cinnabar-deep); color: var(--cinnabar-deep); background: rgba(139,26,43,0.03); }

/* ---------- Heritage Section ---------- */
.heritage-section { padding: 100px 0; background: var(--ink); color: white; position: relative; overflow: hidden; }
.heritage-bg-pattern {
    position: absolute; inset: 0;
    background: radial-gradient(1px 1px at 20% 30%, rgba(201,169,110,0.12) 0%, transparent 100%),
                radial-gradient(1px 1px at 60% 20%, rgba(201,169,110,0.09) 0%, transparent 100%),
                radial-gradient(1px 1px at 85% 60%, rgba(201,169,110,0.1) 0%, transparent 100%);
    pointer-events: none;
}
.heritage-section .container { position: relative; z-index: 1; }
.heritage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 80px; }
.heritage-card {
    text-align: center; padding: 40px 20px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; transition: all 0.3s;
}
.heritage-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(201,169,110,0.2); transform: translateY(-4px); }
.heritage-icon {
    width: 52px; height: 52px; margin: 0 auto 18px;
    background: rgba(201,169,110,0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--gold);
}
.heritage-card h4 { font-family: 'Noto Serif SC', serif; font-size: 0.95rem; margin-bottom: 8px; }
.heritage-card p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.8; }

/* Heritage Story Cards */
.story-cards { display: flex; flex-direction: column; gap: 24px; }
.story-card {
    display: grid; grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; overflow: hidden;
}
.story-card.reverse .story-card-img { order: 2; }
.story-card-img {
    min-height: 240px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: rgba(255,255,255,0.08);
}
.story-card-bg.bg-1 { background: linear-gradient(135deg, #1a1210, #2d1a14); }
.story-card-bg.bg-2 { background: linear-gradient(135deg, #0a1a12, #122d1a); }
.story-card-text { padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; }
.story-card-text h4 { font-family: 'Noto Serif SC', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: 16px; }
.story-card-text p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 2; margin-bottom: 10px; }

/* ---------- Contact Section ---------- */
.contact-section { padding: 100px 0; background: var(--paper-warm); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
    display: flex; gap: 16px; padding: 20px 24px;
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: box-shadow 0.3s;
}
.contact-card:hover { box-shadow: var(--shadow-hover); }
.contact-card i { color: var(--cinnabar-deep); font-size: 1.1rem; margin-top: 2px; }
.contact-card h4 { font-size: 0.88rem; margin-bottom: 2px; }
.contact-card p { font-size: 0.8rem; color: var(--ink-light); }
.contact-qr {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; background: white;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.qr-placeholder {
    width: 64px; height: 64px; background: var(--ink);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.5rem;
}
.contact-qr span { font-size: 0.82rem; color: var(--ink-light); }

/* Contact Form */
.contact-form-wrapper { background: white; border-radius: 12px; box-shadow: var(--shadow-hover); padding: 44px 40px; }
.contact-form h3 { font-family: 'Noto Serif SC', serif; font-size: 1.2rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--ink-light); }
.form-group label span { color: var(--cinnabar-deep); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; border: 1px solid #e8e4da; border-radius: 6px;
    font-size: 0.88rem; background: var(--paper); transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.08); background: white;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: 72px 0 0; position: relative; }
.footer-pattern {
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.15), transparent);
}
.footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: 'Noto Serif SC', serif; font-size: 1.05rem; color: var(--gold); }
.footer-brand p { font-size: 0.8rem; line-height: 1.8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 34px; height: 34px; background: rgba(255,255,255,0.05);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: all 0.3s;
}
.footer-social a:hover { background: var(--cinnabar-deep); color: white; }
.footer-links h4 { color: white; margin-bottom: 14px; font-size: 0.88rem; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-links ul li a:hover { color: var(--gold); }
.footer-newsletter h4 { color: white; margin-bottom: 10px; font-size: 0.88rem; }
.footer-newsletter p { font-size: 0.8rem; margin-bottom: 14px; }
.newsletter-form { display: flex; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.newsletter-form input { flex: 1; padding: 12px 16px; background: rgba(255,255,255,0.04); color: white; font-size: 0.85rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.2); }
.newsletter-form button { padding: 12px 18px; background: var(--gold); color: var(--ink); transition: background 0.3s; }
.newsletter-form button:hover { background: var(--gold-light); }
.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.25); line-height: 2; }

/* ---------- Cart Modal ---------- */
.cart-modal { position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.cart-modal.active { pointer-events: auto; opacity: 1; }
.cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); }
.cart-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 400px; max-width: 95vw; background: white;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.4s ease;
}
.cart-modal.active .cart-panel { transform: translateX(0); }
.cart-header { padding: 20px 24px; border-bottom: 1px solid #f0ede4; display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: 'Noto Serif SC', serif; font-size: 1.05rem; }
.cart-close { font-size: 1.1rem; color: var(--ink-light); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { text-align: center; color: #bbb; padding: 60px 0; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f5f2ea; }
.cart-item-thumb { width: 44px; height: 44px; background: var(--paper-warm); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.8rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info .item-price { color: var(--ink-light); font-size: 0.75rem; }
.cart-item-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-item-subtotal { font-weight: 700; font-size: 0.88rem; color: var(--cinnabar-deep); white-space: nowrap; }
.cart-footer { padding: 20px 24px; border-top: 1px solid #f0ede4; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 0.95rem; }
.cart-total-price { font-family: 'Noto Serif SC', serif; font-size: 1.3rem; font-weight: 700; color: var(--cinnabar-deep); }

/* Cart Quantity Controls */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #e0dcd0;
    background: white;
    color: var(--ink-light);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}
.qty-btn:hover {
    border-color: var(--cinnabar-deep);
    color: var(--cinnabar-deep);
    background: rgba(139,26,43,0.03);
}
.qty-val {
    width: 24px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

/* Cart Remove Button */
.cart-remove-btn {
    background: none; border: none; cursor: pointer;
    color: #ccc; font-size: 0.8rem; padding: 4px;
    transition: color 0.3s; font-family: inherit; line-height: 1;
}
.cart-remove-btn:hover { color: var(--cinnabar-deep); }

/* ---------- Checkout Modal ---------- */
.checkout-modal {
    position: fixed; inset: 0; z-index: 2500;
    pointer-events: none; opacity: 0;
    transition: opacity 0.4s;
}
.checkout-modal.active { pointer-events: auto; opacity: 1; }
.checkout-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
}
.checkout-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 580px; max-width: 95vw;
    background: var(--paper);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.checkout-modal.active .checkout-panel { transform: translateX(0); }

.checkout-header {
    padding: 16px 24px; border-bottom: 1px solid #e8e0d4;
    display: flex; align-items: center; gap: 16px;
}
.checkout-header h3 { font-family: 'Noto Serif SC', serif; font-size: 1.1rem; flex: 1; text-align: center; }
.checkout-back-btn, .checkout-close-btn {
    font-size: 0.85rem; color: var(--ink-light);
    padding: 4px 8px; transition: color 0.3s;
    display: flex; align-items: center; gap: 4px;
}
.checkout-back-btn:hover, .checkout-close-btn:hover { color: var(--cinnabar-deep); }

/* Steps */
.checkout-steps {
    display: flex; padding: 20px 32px; gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.checkout-step {
    flex: 1; display: flex; align-items: center; gap: 10px;
    color: #ccc; position: relative;
}
.checkout-step::after {
    content: ''; flex: 1; height: 1px; background: #e8e0d4; margin: 0 8px;
}
.checkout-step:last-child::after { display: none; }
.checkout-step .step-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: #e8e0d4; color: #999;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700;
    transition: all 0.3s;
}
.checkout-step .step-label { font-size: 0.75rem; font-weight: 500; }
.checkout-step.active { color: var(--cinnabar-deep); }
.checkout-step.active .step-num { background: var(--cinnabar-deep); color: white; }
.checkout-step.done { color: var(--jade); }
.checkout-step.done .step-num { background: var(--jade); color: white; }

/* Checkout Body */
.checkout-body {
    flex: 1; overflow-y: auto; padding: 24px 32px;
}
.checkout-page { display: none; }
.checkout-page.active { display: block; }

.checkout-form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    margin-bottom: 20px;
}
.checkout-form-grid .form-group { display: flex; flex-direction: column; gap: 6px; }
.checkout-form-grid .form-group.full { grid-column: 1 / -1; }
.checkout-form-grid .form-group label { font-size: 0.8rem; font-weight: 500; color: var(--ink-light); }
.checkout-form-grid .form-group label span { color: var(--cinnabar-deep); }
.checkout-form-grid input, .checkout-form-grid select {
    padding: 12px 14px; border: 1px solid #e8e0d4; border-radius: 6px;
    font-size: 0.88rem; background: white; transition: border-color 0.3s;
}
.checkout-form-grid input:focus, .checkout-form-grid select:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}

/* Payment */
.checkout-label { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; display: block; }
.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border: 2px solid #e8e0d4; border-radius: 8px;
    transition: all 0.3s;
}
.payment-option.active .payment-card { border-color: var(--cinnabar-deep); background: rgba(139,26,43,0.02); }
.payment-card i { font-size: 1.4rem; color: var(--cinnabar-deep); width: 24px; text-align: center; }
.payment-card strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.payment-card span { font-size: 0.75rem; color: var(--ink-light); }

/* Order Summary */
.checkout-summary { margin-bottom: 24px; }
.checkout-summary h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.checkout-summary-info {
    background: white; border-radius: 8px; padding: 14px 18px;
    margin-bottom: 16px; font-size: 0.82rem; color: var(--ink-light); line-height: 2;
}
.checkout-summary-items {
    background: white; border-radius: 8px; padding: 8px 16px;
    margin-bottom: 16px;
}
.chk-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f5f2ea; font-size: 0.82rem; }
.chk-item:last-child { border-bottom: none; }
.chk-item-icon { font-size: 1rem; color: var(--ink-light); width: 20px; text-align: center; }
.chk-item-name { flex: 1; }
.chk-item-qty { color: var(--ink-light); }
.chk-item-price { font-weight: 600; }
.checkout-summary-totals { background: white; border-radius: 8px; padding: 14px 18px; }
.chk-total-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.85rem; }
.chk-total-row.grand { border-top: 1px solid #f0ede4; margin-top: 8px; padding-top: 12px; font-size: 1rem; font-weight: 700; }
.chk-total-row.grand span:last-child { font-size: 1.2rem; color: var(--cinnabar-deep); }
.chk-shipping-free { color: var(--jade); font-weight: 500; }

/* Success */
.checkout-success { text-align: center; padding: 48px 0; }
.success-icon { font-size: 3.5rem; color: var(--jade); margin-bottom: 20px; }
.checkout-success h3 { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; margin-bottom: 14px; }
.checkout-success p { color: var(--ink-light); font-size: 0.88rem; line-height: 1.9; margin-bottom: 24px; }
.success-order-num {
    display: inline-block; background: var(--paper-warm);
    padding: 16px 28px; border-radius: 8px; margin-bottom: 28px;
}
.success-order-num span { display: block; font-size: 0.75rem; color: var(--ink-light); margin-bottom: 4px; }
.success-order-num strong { font-size: 1rem; font-family: 'Noto Serif SC', serif; letter-spacing: 1px; }

/* Checkout Responsive */
@media (max-width: 768px) {
    .checkout-panel { width: 100vw; max-width: 100vw; }
    .checkout-form-grid { grid-template-columns: 1fr; }
    .checkout-body { padding: 20px; }
    .checkout-steps { padding: 16px 20px; }
}

/* ---------- Toast & Back to Top ---------- */
.toast {
    position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--ink); color: white;
    padding: 14px 28px; border-radius: 50px;
    font-size: 0.85rem; box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 3000; opacity: 0;
    transition: all 0.4s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.back-to-top {
    position: fixed; bottom: 32px; right: 32px; z-index: 999;
    width: 44px; height: 44px; background: var(--ink);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0; pointer-events: none; transition: all 0.4s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--cinnabar-deep); transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .story-grid, .product-showcase, .story-card { grid-template-columns: 1fr; }
    .product-showcase.reverse .product-image-wrapper { order: 0; }
    .product-showcase.reverse .product-info { order: 0; }
    .story-card.reverse .story-card-img { order: 0; }
    .heritage-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-menu.open {
        display: flex; flex-direction: column;
        position: fixed; top: 64px; left: 0; right: 0;
        background: rgba(250,247,242,0.98);
        backdrop-filter: blur(20px);
        padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.06);
        z-index: 999;
    }
    .menu-toggle { display: block; }
    .heritage-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-showcase { padding: 24px; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; justify-content: center; }
    .story-card-text { padding: 28px 20px; }
    .story-card-img { min-height: 180px; }
    .contact-form-wrapper { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
    .cart-panel { width: 100vw; max-width: 100vw; }
    .cart-item { flex-wrap: wrap; gap: 8px; }
    .cart-item-info { flex-basis: calc(100% - 56px); }
    .cart-item-qty { order: 2; margin-left: 56px; }
    .cart-item-right { order: 3; margin-left: auto; }
}
