/* ============================================
   星禾铺子 STARHELY - 前台样式
   主色调：深蓝(#1a2744) + 金色(#c8a45a) + 白色
   ============================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

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

/* Main content offset for fixed navbar */
.main-content {
    min-height: 100vh;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: transparent;
    transition: all 0.4s ease;
}

/* 非首页：导航栏默认深蓝底 */
.navbar.navbar-solid {
    background: rgba(26,39,68,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar.navbar-solid .nav-link {
    color: rgba(255,255,255,0.9);
}

.navbar.scrolled {
    background: rgba(26,39,68,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar.scrolled .nav-link {
    color: rgba(255,255,255,0.9);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    padding: 8px 20px;
    font-size: 15px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #c8a45a;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #c8a45a;
    border-radius: 1px;
}

.nav-link-login {
    border: 1px solid rgba(200,164,90,0.4);
    border-radius: 4px;
    font-size: 13px;
    margin-left: 8px;
}
.nav-link-login:hover {
    border-color: #c8a45a;
    color: #c8a45a !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: relative;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 5px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: -2px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0d1528;
}

/* Hero背景轮播层 */
.hero-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-bg-slide.active {
    opacity: 1;
}

/* 加深过渡遮罩层（突出Hero文字） */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8,14,30,0.92) 0%, rgba(8,14,30,0.65) 40%, rgba(8,14,30,0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 60px;
    max-width: 720px;
    animation: fadeInUp 1.2s ease;
}

.hero-company {
    color: #c8a45a;
    font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 4px;
    margin-bottom: 28px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(42px, 7vw, 80px);
    color: #fff;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.3;
    margin-bottom: 28px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: clamp(15px, 1.8vw, 19px);
    letter-spacing: 2px;
    margin-bottom: 12px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-cta {
    margin-top: 40px;
}

/* 右侧竖排文字 */
.hero-vertical-text {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: clamp(12px, 1.2vw, 15px);
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    animation: fadeIn 2s ease 0.5s both;
    max-height: 80vh;
    line-height: 1.8;
}

/* 轮播指示器 */
.hero-carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #c8a45a;
    transform: scale(1.2);
}

/* 底部滚动提示 */
.hero-scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(4px, 4px); opacity: 0.8; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 2px;
}

.btn-gold {
    background: #c8a45a;
    color: #1a2744;
}

.btn-gold:hover {
    background: #d4b36a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,164,90,0.35);
}

.btn-outline-gold {
    background: transparent;
    color: #c8a45a;
    border: 1px solid #c8a45a;
}

.btn-outline-gold:hover {
    background: #c8a45a;
    color: #1a2744;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    color: #1a2744;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.section-desc {
    color: #888;
    font-size: 15px;
    letter-spacing: 2px;
}

.section-action {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   Product Grid
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2744, #2a3a5c);
    color: #c8a45a;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
}

.product-placeholder.large {
    height: 400px;
}

.product-card-body {
    padding: 24px;
}

.product-type-tag {
    display: inline-block;
    background: rgba(200,164,90,0.12);
    color: #c8a45a;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-name {
    font-size: 20px;
    color: #1a2744;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-origin {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: #c8a45a;
    font-size: 20px;
    font-weight: 700;
}

.product-price small {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* ============================================
   Trace Features
   ============================================ */
.trace-section {
    background: #f7f8fa;
}

.trace-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trace-feature-item {
    text-align: center;
    padding: 24px 16px;
}

.trace-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #c8a45a;
}

.trace-feature-icon svg {
    width: 100%;
    height: 100%;
}

.trace-feature-item h3 {
    color: #1a2744;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.trace-feature-item p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   Brand Section
   ============================================ */
.brand-section {
    background: #1a2744;
    color: #fff;
}

.brand-section .section-title {
    color: #c8a45a;
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.brand-philosophy {
    margin: 24px 0 32px;
}

.brand-philosophy p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.brand-visual {
    display: flex;
    justify-content: center;
}

.brand-visual-inner {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(200,164,90,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.brand-visual-pattern {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(200,164,90,0.15);
    border-radius: 4px;
}

.brand-visual-text {
    color: #c8a45a;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 6px;
    text-align: center;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* 品牌LOGO/二维码图片 */
.brand-qr-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
    height: 320px;
    background: linear-gradient(135deg, #1a2744, #0d1528);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 72px;
}

.page-hero-title {
    color: #c8a45a;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 12px;
}

.page-hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    letter-spacing: 2px;
}

/* ============================================
   Filter Section
   ============================================ */
.filter-section {
    padding-top: 50px;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #c8a45a;
    color: #c8a45a;
}

.filter-btn.active {
    background: #c8a45a;
    border-color: #c8a45a;
    color: #1a2744;
    font-weight: 600;
}

/* ============================================
   Trace Search
   ============================================ */
.trace-search-section {
    padding-top: 50px;
}

.trace-search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.trace-search-inner {
    display: flex;
    gap: 12px;
}

.trace-search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.trace-search-input:focus {
    border-color: #c8a45a;
}

.trace-search-btn {
    padding: 14px 36px;
    white-space: nowrap;
}

.trace-search-hint {
    color: #999;
    font-size: 13px;
    margin-top: 12px;
}

/* Trace Result */
.trace-result {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.trace-result-header {
    background: linear-gradient(135deg, #1a2744, #2a3a5c);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trace-result-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trace-product-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.trace-result-product h2 {
    color: #fff;
    font-size: 24px;
    margin: 8px 0 4px;
}

.trace-origin {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.trace-batch-badge {
    text-align: center;
}

.batch-label {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.batch-number {
    color: #c8a45a;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Trace Timeline */
.trace-timeline {
    padding: 32px;
}

.trace-timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 32px;
    position: relative;
}

.trace-timeline-item:last-child {
    padding-bottom: 0;
}

.trace-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.trace-timeline-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c8a45a;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #c8a45a;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

.trace-timeline-content {
    flex: 1;
}

.trace-timeline-content h4 {
    color: #1a2744;
    font-size: 17px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.trace-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.trace-info-item {
    display: flex;
    flex-direction: column;
}

.trace-info-item.full-width {
    grid-column: 1 / -1;
}

.trace-info-label {
    color: #999;
    font-size: 13px;
    margin-bottom: 4px;
}

.trace-info-value {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.trace-report-link {
    color: #c8a45a;
    text-decoration: underline;
}

.trace-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.trace-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s;
}

.trace-gallery-item img:hover {
    transform: scale(1.05);
}

.trace-gallery-caption {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 4px;
}

/* Trace Not Found */
.trace-not-found {
    text-align: center;
    padding: 60px 20px;
}

.trace-not-found-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.trace-not-found h3 {
    color: #1a2744;
    font-size: 22px;
    margin-bottom: 8px;
}

.trace-not-found p {
    color: #999;
    margin-bottom: 24px;
}

/* ============================================
   Story Page
   ============================================ */
.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-intro h2 {
    color: #1a2744;
    font-size: 28px;
    letter-spacing: 4px;
    margin-bottom: 32px;
    text-align: center;
}

.story-text p {
    color: #555;
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-indent: 2em;
}

.story-text blockquote {
    border-left: 3px solid #c8a45a;
    padding: 16px 24px;
    margin: 32px 0;
    background: #f7f8fa;
    color: #c8a45a;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-indent: 0;
}

.story-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.story-value-item {
    text-align: center;
    padding: 32px 20px;
    background: #f7f8fa;
    border-radius: 8px;
}

.story-value-item h3 {
    color: #c8a45a;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.story-value-item p {
    color: #888;
    font-size: 14px;
    line-height: 1.8;
}

.article-list {
    display: grid;
    gap: 24px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f7f8fa;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.article-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-cover {
    width: 160px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body h3 {
    color: #1a2744;
    font-size: 18px;
    margin-bottom: 6px;
}

.article-body time {
    color: #c8a45a;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

.article-body p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.news-list {
    display: grid;
    gap: 16px;
}

.news-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-item time {
    color: #c8a45a;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.news-item h4 {
    color: #555;
    font-size: 15px;
    font-weight: 400;
}

/* ============================================
   Coop Page
   ============================================ */
.coop-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.coop-type-card {
    text-align: center;
    padding: 40px 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.coop-type-card:hover {
    border-color: #c8a45a;
    box-shadow: 0 8px 30px rgba(200,164,90,0.15);
    transform: translateY(-4px);
}

.coop-type-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
}

.coop-type-icon svg {
    width: 100%;
    height: 100%;
}

.coop-type-card h3 {
    color: #1a2744;
    font-size: 20px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.coop-type-card p {
    color: #888;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.coop-type-contact {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.coop-type-contact span {
    color: #c8a45a;
    font-size: 14px;
}

/* Coop Form */
.coop-form-section {
    background: #f7f8fa;
}

.coop-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.coop-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.coop-form-header h2 {
    color: #1a2744;
    font-size: 24px;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.coop-form-header p {
    color: #999;
    font-size: 14px;
}

.coop-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1a2744;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #c8a45a;
}

.form-group textarea {
    resize: vertical;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-action {
    text-align: center;
    margin-top: 8px;
}

.form-success-message {
    text-align: center;
    padding: 40px 20px;
}

.form-success-message h3 {
    color: #1a2744;
    font-size: 22px;
    margin: 16px 0 8px;
}

.form-success-message p {
    color: #888;
}

.form-error-message {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ============================================
   Product Detail
   ============================================ */
.product-detail-section {
    padding-top: 40px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-image {
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-info h2 {
    color: #1a2744;
    font-size: 28px;
    margin: 16px 0 12px;
}

.product-detail-info .product-price {
    font-size: 28px;
    margin: 16px 0;
}

.product-description {
    margin: 20px 0;
    color: #666;
    line-height: 2;
    font-size: 15px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #1a2744;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    margin-bottom: 16px;
}

.footer-slogan {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #c8a45a;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 4px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
    color: #c8a45a;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trace-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-content {
        grid-template-columns: 1fr;
    }

    .brand-visual {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .coop-types-grid {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .navbar {
        height: 56px;
    }
    
    .navbar.scrolled {
        height: 56px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(26,39,68,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 70px 20px 24px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -4px 0 24px rgba(0,0,0,0.3);
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 15px 12px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 15px;
        border-radius: 0;
        display: flex;
        align-items: center;
    }

    .nav-link.active {
        color: #c8a45a;
        background: rgba(200,164,90,0.08);
    }

    .nav-link.active::after {
        display: none;
    }
    
    .nav-link-login {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .nav-toggle {
        display: block;
    }

    .nav-logo-img {
        height: 32px;
    }

    .section {
        padding: 50px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .trace-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-values {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .page-hero {
        height: 220px;
        margin-top: 60px;
    }

    .hero {
        min-height: 500px;
        height: 90vh;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-company {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-title {
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-vertical-text {
        display: none;
    }

    .trace-result-header {
        flex-direction: column;
        text-align: center;
    }

    .trace-result-product {
        flex-direction: column;
    }

    .trace-info-grid {
        grid-template-columns: 1fr;
    }

    .coop-form .form-row {
        grid-template-columns: 1fr;
    }

    .coop-form-wrapper {
        padding: 24px;
    }

    .brand-visual-inner {
        width: 240px;
        height: 240px;
    }

    .trace-search-inner {
        flex-direction: column;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 12px;
    }
    
    .nav-logo-img {
        height: 28px;
    }

    .hero-title {
        letter-spacing: 2px;
    }

    .section-title {
        letter-spacing: 2px;
    }

    .trace-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
