/* =========================================
   CielTane Global Styles - High-End Minimalist
   ========================================= */

:root {
    --color-primary: #1a1a1a;    /* 接近纯黑 */
    --color-secondary: #666666;  /* 中灰 */
    --color-accent: #333333;     /* 深灰 */
    --color-border: #e5e5e5;     /* 浅灰边框 */
    --color-bg-body: #ffffff;
    --color-bg-light: #f9f9f9;   /* 极浅灰背景 */
    
    --font-main: 'Noto Sans SC', "Helvetica Neue", Helvetica, Arial, sans-serif;
    
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 100px;
    
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-primary);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

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

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

p {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Buttons */
.btn, .btn-primary, .btn-submit {
    display: inline-block;
    padding: 12px 36px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0; /* Sharp edges */
}

.btn:hover, .btn-primary:hover, .btn-submit:hover {
    background-color: #fff;
    color: var(--color-primary);
}

/* =========================================
   Header
   ========================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.header-top {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-left, .header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--color-secondary);
}

.header-actions {
    justify-content: flex-end;
    gap: 20px;
}

.header-left .divider {
    margin: 0 10px;
    color: var(--color-border);
}

.branding {
    flex: 1;
    text-align: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.icon {
    font-size: 16px;
    color: var(--color-primary);
}

/* Navigation */
.header-nav {
    border-top: 1px solid transparent; 
}

.main-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0 20px;
}

.main-menu a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    position: relative;
    padding-bottom: 5px;
}

.main-menu a.active,
.main-menu a:hover {
    color: var(--color-primary);
}

.main-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background-color: #f0f0f0; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.hero-section img.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 80px;
    max-width: 600px;
    backdrop-filter: blur(5px);
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* =========================================
   Product Grid
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 cols */
    gap: 30px;
    margin-bottom: var(--spacing-xl);
}

.product-card {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    background-color: var(--color-bg-light);
    aspect-ratio: 1;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

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

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

.product-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-primary);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    font-size: 14px;
    color: var(--color-secondary);
}

.wishlist-icon {
    cursor: pointer;
    font-size: 16px;
}

.wishlist-icon:hover {
    color: #e74c3c;
}

/* Sold Out Badge */
.sold-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
}

/* Sold Out Visuals */
.product-card.sold-out .product-image img {
    opacity: 0.6;
    filter: grayscale(100%);
}

.product-card.sold-out h3,
.product-card.sold-out .product-meta {
    color: #999;
}

/* Product Card Link Reset */
.product-card-link {
    display: block;
    color: inherit;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--color-bg-light);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--color-primary);
}

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

.footer-col ul li a {
    font-size: 13px;
    color: var(--color-secondary);
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: var(--color-secondary);
}

/* =========================================
   Auth Pages (Login/Register)
   ========================================= */
.auth-body {
    background-color: #2c2e30; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    /* 允许整个页面垂直滚动，禁止水平滚动 */
    overflow-y: auto;
    overflow-x: hidden;
    /* 移除固定高度限制，让页面可以自然滚动 */
    height: auto;
}

.auth-body .site-header {
    background: #fff;
    position: relative;
    z-index: 2;
}

/* 让视频覆盖整个页面，包括页脚 */
.auth-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #2c2e30;
}

.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    /* 定义固定的视频背景区域高度，完美包容登录注册框 */
    min-height: 700px; /* 固定高度，确保能完美包容登录注册框 */
    height: auto; /* 允许内容超出时自动扩展 */
    /* 移除内部滚动，让整个页面滚动 */
    overflow: visible;
    /* 确保容器有背景色，与视频备用背景色一致 */
    background-color: #2c2e30;
    margin: 0;
}

/* 背景视频样式 - 固定在定义的背景区域内 */
.auth-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* 视频自适应填充，保持比例，无黑边 */
    object-fit: cover;
    object-position: center;
    /* 如果视频加载失败，备用背景色 */
    background-color: #2c2e30;
    /* 淡入效果 */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* 完全禁用视频的交互，防止影响页面滚动 */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* 防止视频拖拽 */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    /* 确保视频不会超出定义的背景区域 */
    max-width: 100%;
    max-height: 100%;
}

/* 视频加载完成后显示 */
.auth-background-video.loaded {
    opacity: 1;
}

/* 登录注册页面页脚使用白色背景，与首页保持一致 */
.auth-body footer {
    position: relative;
    z-index: 1;
    background-color: var(--color-bg-light) !important;
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
    margin-top: 0; /* 移除上边距，避免与视频容器之间的黑边 */
}

.auth-body footer .container {
    color: var(--color-primary);
}

.auth-body footer .footer-col h4 {
    color: var(--color-primary);
}

.auth-body footer a {
    color: var(--color-secondary);
}

.auth-body footer a:hover {
    color: var(--color-primary);
}

.auth-body footer .copyright {
    color: var(--color-secondary);
    border-top: 1px solid #e0e0e0;
}

/* 苹果液态玻璃效果 - 半透明卡片 */
.auth-card {
    position: relative;
    z-index: 1;
    /* 半透明背景 */
    background: rgba(255, 255, 255, 0.15);
    /* 毛玻璃效果 */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* 边框 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* 阴影 */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    width: 100%;
    max-width: 320px; /* 进一步缩小，从360px减小到320px */
    padding: 32px; /* 进一步缩小，从40px减小到32px */
    border-radius: 16px;
    text-align: center;
    /* 确保在小屏幕上可以完整显示 */
    margin: auto;
    min-height: auto;
    /* 防止内容被裁剪 */
    box-sizing: border-box;
}

/* 卡片内文字颜色调整 */
.auth-card h2 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-card .form-group label {
    color: rgba(255, 255, 255, 0.9);
}

.auth-card .form-group input {
    /* 深色背景，确保文字清晰可见 */
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* 确保文字清晰 */
    -webkit-text-fill-color: rgba(255, 255, 255, 1);
    /* 圆角，与外框保持一致 */
    border-radius: 12px;
}

.auth-card .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
}

.auth-card .form-group input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    -webkit-text-fill-color: rgba(255, 255, 255, 1);
    /* 保持圆角 */
    border-radius: 12px;
}

/* 确保输入的文字始终是白色 */
.auth-card .form-group input:-webkit-autofill,
.auth-card .form-group input:-webkit-autofill:hover,
.auth-card .form-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: rgba(255, 255, 255, 1) !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.4) inset !important;
    box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.4) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* 保持圆角 */
    border-radius: 12px !important;
}

.auth-card .btn-block {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    /* 圆角，与外框保持一致 */
    border-radius: 12px;
    padding: 14px 24px;
}

.auth-card .btn-block:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* 保持圆角 */
    border-radius: 12px;
}

.auth-card .auth-link {
    color: rgba(255, 255, 255, 0.9);
}

.auth-card .auth-link a {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-card .error-message {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px;
    /* 圆角，与其他元素保持一致 */
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
}

/* 成功消息样式（绿色背景） */
.auth-card .error-message[style*="background-color: #e3f9e5"] {
    background: rgba(227, 249, 229, 0.3) !important;
    color: rgba(31, 122, 31, 0.95) !important;
    border: 1px solid rgba(31, 122, 31, 0.3) !important;
}

.auth-card h2 {
    margin-bottom: 30px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

.error-message {
    background: #ffe6e6;
    color: #d63031;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 13px;
}

.auth-link {
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-secondary);
}

/* =========================================
   Explore Page (Dark Mode)
   ========================================= */
.explore-body {
    background-color: var(--color-primary); 
    color: #f5f5f5;
}

.explore-body .site-header {
    background-color: #222;
    border-color: #333;
}

.explore-body .header-left,
.explore-body .header-actions,
.explore-body .logo-text,
.explore-body .main-menu a {
    color: #ccc;
}

.explore-body .main-menu a.active,
.explore-body .main-menu a:hover {
    color: #fff;
}

.explore-body .main-menu a.active::after {
    background-color: #fff;
}

.explore-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.explore-section:nth-child(even) {
    flex-direction: row-reverse;
}

.explore-content {
    flex: 1;
}

.explore-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
}

.explore-content p {
    color: #aaa;
    line-height: 1.8;
}

.explore-image {
    flex: 1;
}

.explore-image img {
    border-radius: 2px;
    filter: grayscale(80%) contrast(110%);
}

/* =========================================
   News Section (参考 Yeti 风格)
   ========================================= */
.news-section {
    padding: 80px 0;
    background-color: transparent; /* 保持探索页黑色背景 */
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    max-width: 100%;
}

/* 精简版新闻样式 */
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 新闻项之间的分隔线（参考央视样式） */
.news-item-link:not(:last-child) .news-item-compact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
    margin-bottom: 0;
}

.news-item-compact {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* 顶部对齐 */
    gap: 24px;
    padding: 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%; /* 确保占满容器宽度 */
    text-align: left; /* 文本左对齐 */
    max-width: 100%;
}

.news-item-compact:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
    transform: translateX(4px);
}

.news-image-compact {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 4px;
}

.news-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item-compact:hover .news-image-compact img {
    transform: scale(1.1);
}

.news-content-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    text-align: left; /* 确保文本左对齐 */
    padding-top: 4px; /* 与图片顶部对齐 */
}

.news-content-compact .news-title {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
    letter-spacing: 0.3px;
}

.news-content-compact .news-date {
    margin: 0;
    font-size: 13px;
    color: #999;
    margin-top: auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.news-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.news-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #1a1a1a;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 400;
}

.news-title {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.news-summary {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.news-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-container {
        gap: 20px;
        margin-top: 40px;
    }
    
    .news-section {
        padding: 60px 0;
    }
    
    .news-image {
        height: 200px;
    }
    
    /* 精简版新闻移动端样式 */
    .news-item-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }
    
    .news-image-compact {
        width: 100%;
        height: 200px;
        order: 1; /* 图片在上 */
    }
    
    .news-content-compact {
        order: 2; /* 内容在下 */
        padding-top: 0;
        width: 100%;
    }
    
    .news-content-compact .news-title {
        font-size: 16px;
        -webkit-line-clamp: 3;
        margin-bottom: 8px;
    }
    
    .news-content-compact .news-date {
        font-size: 12px;
        margin-top: 0;
    }
}

/* =========================================
   Coming Soon (Cookware)
   ========================================= */
.coming-soon-container {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    text-align: center;
}

/* =========================================
   Product Detail Page (Snow Peak Style)
   ========================================= */
.product-detail-container {
    padding-top: 40px;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 12px;
    color: var(--color-secondary);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumbs a {
    color: var(--color-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs .sep {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumbs .current {
    color: var(--color-primary);
}

/* Detail Layout */
.detail-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Left Image */
.detail-image {
    flex: 1.5; /* 60% approx */
    background-color: transparent; /* Clean bg */
    position: relative;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Subtle premium shadow */
}

/* Sold Out Overlay for Detail Page */
.detail-image.sold-out::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* 半透明遮罩 */
    z-index: 1;
}

.detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    z-index: 10;
}

/* Right Info */
.detail-info {
    flex: 1; /* 40% approx */
    padding-top: 10px;
}

.product-title {
    font-size: 32px;
    font-weight: 300; /* Thin elegant font */
    margin-bottom: 15px;
    line-height: 1.2;
    color: #000;
}

.product-price {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 30px;
    border-bottom: 1px solid #eee; /* Very thin line */
    padding-bottom: 30px;
}

.product-description {
    font-size: 15px;
    line-height: 1.8; /* Breathable spacing */
    color: var(--color-secondary);
    margin-bottom: 40px;
}

/* Action Buttons */
.product-actions {
    margin-bottom: 50px;
}

.btn-large {
    display: block;
    width: 100%;
    padding: 18px 0;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    border-radius: 2px; /* Micro radius */
}

.btn-black {
    background-color: #000;
    color: #fff;
}

.btn-black:hover {
    background-color: #333; /* Dark gray hover */
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* Specs List (Technical Details) */
.specs-list {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
}

.spec-item .label {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-item .value {
    color: #000;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 10px;
    }
    
    .header-nav {
        overflow-x: auto;
    }
    
    .main-menu {
        gap: 20px;
        padding: 10px 0;
        min-width: 500px; /* Ensure scroll on tiny screens */
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .explore-section {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .detail-image {
        width: 100%;
    }
}

/* =========================================
   Snow Peak Style Cart Drawer
   ========================================= */
.sp-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sp-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sp-cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.sp-cart-drawer.open {
    right: 0;
}

.sp-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sp-cart-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sp-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-cart-close:hover {
    color: #000;
}

.sp-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sp-cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}
.sp-cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: #f9f9f9;
}
.sp-cart-item-info {
    flex: 1;
}
.sp-cart-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #000;
}
.sp-cart-item-price {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.sp-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sp-cart-qty-btn {
    background: none;
    border: 1px solid #ddd;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.sp-cart-qty-btn:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}
.sp-cart-qty {
    font-size: 14px;
    min-width: 30px;
    text-align: center;
}

/* 购物车商品禁用状态（已下架） */
.sp-cart-item-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.sp-cart-item-disabled-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.sp-cart-item-controls-disabled {
    font-size: 12px;
    color: #999;
    padding: 8px 0;
}

.sp-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}
.sp-cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}
.sp-cart-checkout {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}
.sp-cart-checkout:hover {
    background: #333;
}
.sp-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

@media (max-width: 768px) {
    .sp-cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    /* 登录/注册页面响应式优化 */
    .auth-container {
        padding: 40px 16px;
        min-height: 600px; /* 移动端也使用固定高度，确保视频背景区域一致 */
        align-items: flex-start;
        padding-top: 40px;
        overflow: visible; /* 确保移动端也是整个页面滚动 */
    }
    
    .auth-card {
        max-width: 100%;
        padding: 30px 20px; /* 进一步减小移动端padding */
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .auth-card h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .auth-card .form-group input {
        padding: 14px 12px;
        font-size: 16px; /* 防止 iOS 自动缩放 */
    }
    
    .auth-card .btn-block {
        padding: 14px;
        font-size: 16px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .auth-container {
        padding: 20px 12px;
        padding-top: 30px;
        min-height: 550px; /* 超小屏幕使用稍小的高度 */
        overflow: visible; /* 确保整个页面滚动 */
    }
    
    .auth-card {
        padding: 24px 16px; /* 进一步减小小屏幕padding */
        border-radius: 10px;
    }
    
    .auth-card h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
}

