/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'HarmonyOS Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f7;
    padding-top: var(--header-height);
}

/* 无障碍：跳过导航链接 */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* 颜色变量 */
:root {
    --header-height: 80px;
    --primary-color: #8b4513;
    --secondary-color: #d4a574;
    --accent-color: #daa520;
    --text-dark: #2c1810;
    --text-light: #8b7355;
    --bg-light: #faf9f7;
    --bg-white: #ffffff;
    --border-color: #e8dcc0;
    --shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
/* 焦点可见性 - 无障碍 */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Source Han Serif SC', '思源宋体', serif;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

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

.logo-img {
    height: 48px;
    width: auto;
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.private-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.private-btn:hover {
    background: var(--secondary-color) !important;
    color: white !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* 核心视觉区 */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(139,69,19,0.3));
}

.hero-content {
    position: absolute;
    top: calc(50% - var(--header-height) / 2);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 信任背书 */
.trust-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

/* 优惠券入口横幅 */
.coupon-banner {
    padding: 0.75rem 0;
    background: linear-gradient(90deg, rgba(218,165,32,0.2), rgba(139,69,19,0.15));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.coupon-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

.coupon-banner-link:hover {
    color: var(--secondary-color);
}

.coupon-banner-arrow {
    transition: transform 0.2s ease;
}

.coupon-banner-link:hover .coupon-banner-arrow {
    transform: translateX(4px);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* 产品卡片 */
.featured-products {
    padding: 4rem 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card,
.product-item {
    position: relative;
}

.product-corner-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0 0 8px 0;
}

.product-original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9em;
}

.product-current-price {
    color: var(--primary-color);
    font-weight: 700;
}

.product-promo-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-tag {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-info .product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 数据看板 */
.stats-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 品牌故事 */
.brand-story {
    padding: 4rem 0;
    background: var(--bg-white);
}

.brand-story .story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.story-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.brand-story .story-image {
    position: relative;
}

.brand-story .story-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: block;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--text-dark);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* 购物车 */
.cart-trigger {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar.open + .cart-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cart-remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 12px;
    cursor: pointer;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-coupon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.cart-coupon-select {
    padding: 0.35rem 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 120px;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cart-discount-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.cart-final-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-final-total {
    color: var(--primary-color);
}

.cart-coupon-claim {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(218,165,32,0.12), rgba(139,69,19,0.08));
    border-bottom: 1px solid var(--border-color);
}

.cart-coupon-claim-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.cart-coupon-claim-cards {
    display: flex;
    gap: 0.75rem;
}

.cart-coupon-mini {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--bg-white);
    border-radius: 10px;
    border: 2px dashed var(--accent-color);
    position: relative;
}

.cart-coupon-mini-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-coupon-mini-desc {
    font-size: 0.75rem;
    color: var(--text-light);
}

.cart-coupon-claim-btn {
    margin-top: 0.25rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.cart-coupon-claim-btn.claimed {
    background: var(--text-light) !important;
    cursor: not-allowed;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* 产品详情弹窗 */
.product-detail-modal .modal-content {
    max-width: 900px;
    width: 95%;
    margin: 2rem auto;
    max-height: 90vh;
    overflow-y: auto;
}

.product-detail-content {
    position: relative;
    padding: 0;
}

.product-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-detail-gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.product-detail-title {
    margin-bottom: 0.5rem;
}

.product-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-detail-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-detail-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 1.2rem;
}

.product-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.product-detail-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-tab {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.detail-tab.active,
.detail-tab:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.detail-panel {
    display: none;
}

.detail-panel.active {
    display: block;
}

.detail-text {
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-line;
}

.product-detail-tabs {
    flex-wrap: wrap;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-table td:first-child {
    color: var(--text-light);
    width: 120px;
}

.product-reviews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-review-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.review-user {
    font-weight: 600;
}

.review-rating {
    color: var(--accent-color);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .product-detail-body {
        grid-template-columns: 1fr;
    }

    .product-info .product-actions {
        flex-wrap: wrap;
    }
}

/* 尊重用户偏好：减少动画 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .brand-story .story-img {
        max-height: 280px;
    }

    .brand-story .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   UI/UX 质感升级补丁 (Modern Premium Theme)
   ========================================= */

/* 1. 全局色彩与高级阴影重置 */
:root {
    --primary-color: #6B4021; /* 更沉稳的深棕色 */
    --secondary-color: #c79564;
    --accent-color: #DFA941;
    --accent-green: #517D56; /* 新增：代表有机的低饱和绿色 */
    --text-dark: #231611;
    --text-light: #89786E;
    --bg-light: #FBF9F6; /* 更温暖的米白色 */
    --border-color: #EFE8E0;
    
    /* 现代化的多层柔和阴影 */
    --shadow-sm: 0 2px 8px rgba(107, 64, 33, 0.04);
    --shadow-md: 0 8px 24px rgba(107, 64, 33, 0.06);
    --shadow-hover: 0 16px 32px rgba(107, 64, 33, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--bg-light);
    letter-spacing: 0.3px; /* 增加一点字间距，提升阅读体验 */
}

/* 2. 毛玻璃导航栏 (Glassmorphism Header) */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* 3. 现代化卡片与悬浮动效 */
.product-card, .story-card, .trust-item, .merch-item, 
.advantage-item, .activity-card, .custom-option, .case-item,
.assurance-card {
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: var(--shadow-md);
    border-radius: 16px; /* 更圆润的边角 */
    transition: var(--transition-smooth);
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
}

.product-card:hover, .story-card:hover, .trust-item:hover, 
.merch-item:hover, .advantage-item:hover, .activity-card:hover,
.custom-option:hover, .case-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* 图片圆角处理 */
.product-image, .story-image, .case-item img, .merch-item img {
    border-radius: 16px 16px 0 0;
}

/* 4. 精致的标签 (Tags/Badges) 扁平化+低饱和度 */
.product-tag, .story-category, .assurance-tag, .activity-tag, .benefit-tag {
    background: rgba(223, 169, 65, 0.12);
    color: #C08D2C;
    border: 1px solid rgba(223, 169, 65, 0.2);
    font-weight: 600;
    padding: 4px 10px;
}
/* 对特殊的有机/健康标签使用绿色系 */
.product-tag:contains("有机"), .product-tag:contains("养生") {
    background: rgba(81, 125, 86, 0.1);
    color: var(--accent-green);
    border-color: rgba(81, 125, 86, 0.2);
}

/* 5. 按钮的高级质感 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #8B5733);
    border-radius: 24px; /* 胶囊型按钮更现代 */
    box-shadow: 0 4px 12px rgba(107, 64, 33, 0.2);
    letter-spacing: 1px;
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(107, 64, 33, 0.3);
    transform: translateY(-2px) scale(1.02);
}
.btn-secondary {
    border-radius: 24px;
    border-width: 1.5px;
}

/* 6. Hero 首屏视觉优化 */
.hero-overlay {
    background: linear-gradient(135deg, rgba(20, 10, 5, 0.6), rgba(107, 64, 33, 0.35));
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 响应式字体大小 */
    letter-spacing: 2px;
    font-weight: 800;
}
.hero-subtitle {
    font-weight: 300;
    letter-spacing: 1px;
}

/* 7. 购物车侧边栏美化 */
.cart-sidebar {
    border-radius: 24px 0 0 24px; /* 左侧圆角 */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
}
.cart-coupon-mini {
    background: rgba(223, 169, 65, 0.05);
    border: 1px dashed rgba(223, 169, 65, 0.4);
    transition: var(--transition-smooth);
}
.cart-coupon-mini:hover {
    background: rgba(223, 169, 65, 0.1);
    transform: translateY(-2px);
}

/* 8. 美化各页面的 Banner (渐变更柔和) */
.category-banner::before, .stories-hero, .ip-hero, .custom-hero, .page-hero, .private-hero {
    background: linear-gradient(135deg, #6B4021, #A16A42);
    position: relative;
    overflow: hidden;
}
/* 给 Banner 添加一个微妙的纹理/光晕效果 */
.page-hero::after, .custom-hero::after, .private-hero::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
/* =========================================
   优惠券专属视觉增强 (Vivid Coupon Theme)
   ========================================= */

   :root {
    /* 定义优惠券专属的高饱和度色彩 */
    --coupon-main: #E85D04;      /* 鲜明的亮橙红色，提升领取欲 */
    --coupon-dark: #DC2F02;      /* 交互加深色 */
    --coupon-gradient: linear-gradient(135deg, #FF7A00, #FF3D00); /* 强视觉冲击的渐变 */
    --coupon-bg-light: #FFF5F0;  /* 极其柔和的暖橘色背景，不刺眼 */
    --coupon-border: #FFB088;    /* 鲜明的边缘虚线色 */
}

/* 1. 顶部横幅优惠券入口 (全局顶部 Banner) */
.coupon-banner {
    background: var(--coupon-gradient); /* 醒目的渐变底色 */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 61, 0, 0.25); /* 橙色光晕 */
    position: relative;
    overflow: hidden;
}
/* 给 Banner 加一点高光反光质感 */
.coupon-banner::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: couponShine 4s infinite;
}
@keyframes couponShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.coupon-banner-link {
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* 让白字在亮色背景上更清晰 */
}
.coupon-banner-link:hover {
    color: #FFF !important;
    transform: scale(1.02);
}

/* 2. 侧边栏迷你优惠券 (购物车内) */
.cart-coupon-mini {
    background: var(--coupon-bg-light) !important;
    border: 2px dashed var(--coupon-border) !important;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.08);
}
/* 巧妙的 CSS 技巧：给优惠券左右两侧加上“半圆打孔”效果，看起来更像真实的纸质券 */
.cart-coupon-mini::before,
.cart-coupon-mini::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background-color: #fff; /* 这里要和父容器背景色一致 */
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.cart-coupon-mini::before {
    left: -8px;
    border-right: 2px dashed var(--coupon-border);
}
.cart-coupon-mini::after {
    right: -8px;
    border-left: 2px dashed var(--coupon-border);
}

.cart-coupon-mini-value {
    color: var(--coupon-main) !important;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(232, 93, 4, 0.15); /* 数值加上淡淡的投影 */
}

/* 3. 优惠券领取按钮 */
.cart-coupon-claim-btn {
    background: var(--coupon-gradient) !important;
    color: white !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(232, 93, 4, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    z-index: 2; /* 确保按钮在打孔之上 */
}
.cart-coupon-claim-btn:hover:not(.claimed) {
    background: linear-gradient(135deg, #FF9100, #FF5500) !important;
    box-shadow: 0 6px 16px rgba(232, 93, 4, 0.4);
    transform: translateY(-2px);
}
.cart-coupon-claim-btn.claimed {
    background: #D1D5DB !important; /* 已领取变成灰色 */
    color: #9CA3AF !important;
    box-shadow: none;
    transform: none;
}

/* 4. 社群页面大优惠券卡片 (.coupon-card) */
.coupon-card {
    background: var(--coupon-bg-light);
    border: 2px dashed var(--coupon-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(232, 93, 4, 0.08);
    position: relative;
    overflow: hidden;
}
.coupon-value {
    color: var(--coupon-main);
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(232, 93, 4, 0.15);
    border-right: 2px dashed #FFD0B5; /* 面额和文字中间的虚线分隔 */
    padding-right: 1.5rem;
}
.coupon-info h3 {
    color: var(--coupon-dark);
}

/* 5. 定制页面优惠提示框 (.custom-coupon-notice) */
.custom-coupon-notice {
    background: linear-gradient(90deg, var(--coupon-bg-light), #ffffff);
    border-left: 4px solid var(--coupon-main);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.06);
}
.custom-coupon-notice p strong {
    color: var(--coupon-dark);
    font-size: 1.15em;
    font-weight: 800;
    background: var(--coupon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* 将强调整体做成渐变色字 */
}