/*
Theme Name: Oakoryn Child
Template: astra
Version: 1.0.0
*/

/* ===== 品牌色彩系统 ===== */
:root {
    --oak-primary: #3B2A1A;
    --oak-secondary: #8B5E3C;
    --oak-accent: #C4915A;
    --oak-cream: #F5EFE6;
    --oak-warm-white: #FDFAF6;
    --pod-green: #5C7A4E;
    --pod-earth: #A0785A;
    --pod-sand: #D4B896;
    --pod-light: #EDE3D7;
    --steam-copper: #B5651D;
    --steam-dark: #2C1810;
    --steam-gold: #D4A017;
    --oak-text: #2C2016;
    --oak-text-light: #6B5744;
    --oak-border: #DDD0C4;
    --oak-shadow: rgba(59,42,26,0.12);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 全局 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--oak-text);
    background-color: var(--oak-warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--oak-primary);
    line-height: 1.3;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
a { color: var(--oak-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--oak-accent); }
img { max-width: 100%; height: auto; display: block; }

/* ===== 导航栏 ===== */
#masthead, .site-header, header.site-header {
    background: var(--oak-warm-white) !important;
    border-bottom: 2px solid var(--oak-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--oak-shadow);
}
.site-title a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--oak-primary) !important;
}
.main-header-menu .menu-item > a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--oak-text) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.main-header-menu .menu-item > a:hover {
    color: var(--oak-accent) !important;
    background: var(--pod-light);
}

/* ===== Hero ===== */
.oakoryn-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #3B2A1A 0%, #8B5E3C 50%, #B5651D 100%);
}
.oakoryn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(196,145,90,0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(92,122,78,0.2) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}
.hero-text { color: white; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196,145,90,0.25);
    border: 1px solid rgba(196,145,90,0.5);
    color: #C4915A;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: white !important;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-title .highlight {
    color: #C4915A;
    display: block;
    font-style: italic;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C4915A;
    color: white !important;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #C4915A;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.btn-primary:hover {
    background: #D4A04A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196,145,90,0.4);
    color: white !important;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white !important;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
    color: white !important;
}
.hero-stats { display: flex; gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat-number { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: #C4915A; display: block; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-product-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.hero-product-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.hero-product-card.featured { grid-column: span 2; }
.hero-product-icon { font-size: 3rem; margin-bottom: 8px; display: block; }
.hero-product-name { font-family: var(--font-heading); font-size: 1rem; color: white; font-weight: 700; margin-bottom: 4px; }
.hero-product-price { font-size: 0.9rem; color: #C4915A; font-weight: 700; }
.hero-product-tag { display: inline-block; background: rgba(196,145,90,0.3); color: #C4915A; padding: 2px 10px; border-radius: 9999px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-top: 6px; }

/* ===== 信任栏 ===== */
.trust-bar { background: #3B2A1A; padding: 16px 0; }
.trust-bar-inner { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

/* ===== Section 通用 ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #C4915A; margin-bottom: 8px; }
.section-subtitle { font-size: 1.05rem; color: #6B5744; max-width: 560px; margin: 0 auto; }

/* ===== 产品线分类 ===== */
.product-lines-section { padding: 96px 0; background: #FDFAF6; }
.product-lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.product-line-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.product-line-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(59,42,26,0.25); }
.product-line-card.pod-line { background: linear-gradient(160deg, #A0785A 0%, #5C7A4E 60%, #3B2A1A 100%); }
.product-line-card.steam-line { background: linear-gradient(160deg, #2C1810 0%, #B5651D 60%, #D4A017 100%); }
.product-line-image { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10rem; opacity: 0.2; transition: all 0.3s ease; }
.product-line-card:hover .product-line-image { opacity: 0.32; transform: scale(1.05); }
.product-line-content { position: relative; z-index: 2; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); }
.product-line-tag { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.pod-line .product-line-tag { background: rgba(92,122,78,0.6); color: #A8D99C; border: 1px solid rgba(168,217,156,0.4); }
.steam-line .product-line-tag { background: rgba(181,101,29,0.6); color: #F0C070; border: 1px solid rgba(240,192,112,0.4); }
.product-line-title { font-family: var(--font-heading); font-size: 1.8rem; color: white !important; font-weight: 900; margin-bottom: 6px; }
.product-line-desc { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.5; }
.product-line-cta { display: inline-flex; align-items: center; gap: 8px; color: white !important; font-weight: 700; font-size: 0.9rem; border-bottom: 2px solid #C4915A; padding-bottom: 2px; transition: all 0.3s ease; }
.product-line-cta::after { content: '→'; transition: all 0.3s ease; }
.product-line-card:hover .product-line-cta::after { transform: translateX(4px); }

/* ===== 畅销产品 ===== */
.bestsellers-section { padding: 96px 0; background: #F5EFE6; }
.woocommerce ul.products li.product {
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(59,42,26,0.12) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #DDD0C4 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px) !important; box-shadow: 0 16px 40px rgba(59,42,26,0.18) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-heading) !important; font-size: 1rem !important; color: #3B2A1A !important; padding: 0 16px !important; }
.woocommerce ul.products li.product .price { color: #C4915A !important; font-weight: 700 !important; padding: 0 16px !important; }
.woocommerce ul.products li.product .button { background: #3B2A1A !important; color: white !important; border-radius: 4px !important; font-weight: 700 !important; transition: all 0.3s ease !important; margin: 16px !important; width: calc(100% - 32px) !important; padding: 12px !important; }
.woocommerce ul.products li.product .button:hover { background: #C4915A !important; }

/* ===== 制作流程 ===== */
.how-it-works-section { padding: 96px 0; background: #FDFAF6; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 40px; left: calc(16.67% + 32px); right: calc(16.67% + 32px); height: 2px; background: repeating-linear-gradient(90deg,#DDD0C4 0px,#DDD0C4 8px,transparent 8px,transparent 16px); }
.step-card { text-align: center; position: relative; z-index: 1; padding: 32px; }
.step-number { width: 80px; height: 80px; border-radius: 50%; background: #F5EFE6; border: 3px solid #DDD0C4; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: #3B2A1A; margin: 0 auto 16px; transition: all 0.3s ease; }
.step-card:hover .step-number { background: #C4915A; border-color: #C4915A; color: white; transform: scale(1.1); }
.step-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.step-title { font-family: var(--font-heading); font-size: 1.2rem; color: #3B2A1A; margin-bottom: 8px; }
.step-desc { font-size: 0.9rem; color: #6B5744; line-height: 1.6; }

/* ===== 评价区 ===== */
.reviews-section { padding: 96px 0; background: #F5EFE6; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.review-card { background: white; border-radius: 16px; padding: 28px; box-shadow: 0 2px 12px rgba(59,42,26,0.12); border: 1px solid #DDD0C4; transition: all 0.3s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(59,42,26,0.12); }
.review-stars { color: #F4C430; font-size: 1rem; margin-bottom: 12px; }
.review-text { font-size: 0.9rem; color: #2C2016; line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.reviewer-info { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #A0785A, #5C7A4E); display: flex; align-items: center; justify-content: center; font-weight: 700; color: white; font-size: 0.9rem; flex-shrink: 0; }
.reviewer-name { font-weight: 700; font-size: 0.85rem; color: #3B2A1A; }
.reviewer-verified { font-size: 0.75rem; color: #5C7A4E; }
.review-product-tag { font-size: 0.75rem; color: #6B5744; background: #EDE3D7; padding: 3px 10px; border-radius: 9999px; margin-top: 8px; display: inline-block; }

/* ===== 社区区 ===== */
.community-section { padding: 96px 0; background: #3B2A1A; text-align: center; }
.community-section .section-eyebrow { color: #C4915A; }
.community-section .section-title { color: white !important; }
.community-section .section-subtitle { color: rgba(255,255,255,0.7); }
.social-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; max-width: 1200px; margin: 32px auto 0; padding: 0 32px; }
.social-item { aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; }
.social-item-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.5rem; color: rgba(255,255,255,0.3); transition: all 0.3s ease; background: rgba(255,255,255,0.05); }
.social-item:hover .social-item-placeholder { color: rgba(255,255,255,0.8); background: rgba(196,145,90,0.2); }

/* ===== 邮件订阅 ===== */
.newsletter-section { padding: 64px 0; text-align: center; background: linear-gradient(135deg, #A0785A 0%, #8B5E3C 100%); }
.newsletter-inner { max-width: 600px; margin: 0 auto; padding: 0 32px; }
.newsletter-title { font-family: var(--font-heading); font-size: 2rem; color: white !important; margin-bottom: 8px; }
.newsletter-subtitle { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.newsletter-discount { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: white; padding: 8px 20px; border-radius: 9999px; font-weight: 700; font-size: 0.9rem; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 14px 18px; border: 2px solid rgba(255,255,255,0.4); border-radius: 8px; background: rgba(255,255,255,0.15); color: white; font-size: 0.95rem; outline: none; transition: all 0.3s ease; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { border-color: white; background: rgba(255,255,255,0.25); }
.newsletter-btn { padding: 14px 24px; background: white; color: #8B5E3C !important; border: none; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.newsletter-btn:hover { background: #C4915A; color: white !important; transform: translateY(-2px); }

/* ===== Footer ===== */
.site-footer, #colophon {
    background: #3B2A1A !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 64px 0 24px !important;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: white; margin-bottom: 16px; display: block; }
.footer-logo span { color: #C4915A; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social-link { width: 38px; height: 38px; border-radius: 4px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7) !important; font-size: 1rem; transition: all 0.3s ease; text-decoration: none !important; }
.footer-social-link:hover { background: #C4915A; border-color: #C4915A; color: white !important; transform: translateY(-2px); }
.footer-col-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6) !important; text-decoration: none !important; transition: all 0.3s ease; }
.footer-links a:hover { color: #C4915A !important; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding: 16px 32px 0; max-width: 1200px; margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.payment-icon { height: 24px; background: rgba(255,255,255,0.15); border-radius: 4px; padding: 2px 8px; font-size: 0.7rem; color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; font-weight: 700; margin-left: 4px; }

/* ===== WooCommerce 全局 ===== */
.woocommerce .single_add_to_cart_button, .woocommerce button.button.alt {
    background: #3B2A1A !important;
    color: white !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 16px 32px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}
.woocommerce .single_add_to_cart_button:hover { background: #C4915A !important; transform: translateY(-2px) !important; box-shadow: 0 8px 20px rgba(196,145,90,0.35) !important; }
.woocommerce .price, .woocommerce .price .amount { color: #C4915A !important; font-weight: 700 !important; }
.woocommerce .checkout-button { background: #C4915A !important; color: white !important; border-radius: 8px !important; }
.woocommerce .star-rating span::before { color: #F4C430 !important; }
.woocommerce div.product .product_title { font-family: var(--font-heading) !important; color: #3B2A1A !important; font-size: clamp(1.5rem, 4vw, 2.2rem) !important; }
.kit-includes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
.kit-includes-list li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: #2C2016; }
.kit-includes-list li::before { content: '✓'; color: #5C7A4E; font-weight: 700; }

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-cta-group { justify-content: center; }
    .hero-stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .product-lines-grid { grid-template-columns: 1fr; }
    .woocommerce ul.products li.product { width: calc(50% - 8px) !important; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .reviews-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: repeat(3,1fr); }
    .newsletter-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .woocommerce ul.products li.product { width: 100% !important; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .social-grid { grid-template-columns: repeat(2,1fr); }
}