/* 
 Theme Name:   jiayu theme
 Theme URI:    https://community.jiayuwlkj.cn
 Description:  good!
 Author:       admin
 Author URI:   https://rxpulxy.com
 Template:     woostify
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

:root {
    /* 颜色系统 - 温润色系 (Base & Backgrounds) */
    --color-cream: #FAF9F6;      /* 奶白色，主背景 */
    --color-sand: #F0EBE1;       /* 柔和沙色，区块背景 */
    --color-taupe: #D7D0C8;      /* 暖灰，边框或次要元素 */
    --color-peach: #FCECE9;      /* 淡桃粉，特定高亮区 */
    --color-skin: #F5E6E0;       /* 肤触感柔和肉桂粉 */
    --color-champagne: #F2E3C6;  /* 香槟金 */

    /* 颜色系统 - 多巴胺色系 (Accents & CTA) */
    --color-blue: #0047FF;       /* 克莱因蓝，主按钮/高亮 */
    --color-green: #B2FF05;      /* 酸性绿，标签/悬停 */
    --color-orange: #FF5A00;     /* 亮橘色，特殊促销/警告 */
    --color-pink: #FF007F;       /* 火龙果粉，强调/对比色 */

    /* 文本与基础颜色 */
    --color-text-dark: #1A1A1A;  /* 深色文本 */
    --color-text-light: #666666; /* 浅色文本 */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-deep-navy: #050A14;  /* 极深藏青，替代纯黑的高级深邃色 */

    /* 字体排版 */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* 布局与间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --container-width: 1440px;
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-pill: 9999px;
}

/* 全局重置与基础样式 */
body.home {
    background-color: var(--color-cream);
}

body {
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 独立站专属按钮样式 */
.btn-dopamine {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background-color: var(--color-blue);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-dopamine:hover {
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-black) 100%) !important;
    color: var(--color-champagne) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 10, 20, 0.4), 0 0 10px rgba(242, 227, 198, 0.2) !important;
}

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

.btn-outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    box-shadow: none;
}

/* 首页通用容器 */
.jy-home-section {
    padding: var(--spacing-xl) 5%;
    max-width: 1400px; /* 原来是 var(--container-width) (1200px)，改成1400px让它更宽，减少两边留白 */
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .jy-home-section {
        padding: var(--spacing-lg) 5%;
    }
}

/* ==========================================
   Block 1: Hero Banner Slider
   ========================================== */
.jy-hero-slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--color-sand);
}

.jy-hero-slider-container {
    position: relative;
    width: 100%;
    /* Keep a reasonable aspect ratio or max-height */
    height: 70vh; 
    min-height: 400px;
    max-height: 800px;
    overflow: hidden;
}

.jy-hero-slides-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.jy-hero-slide {
    flex: 0 0 100%;
    height: 100%;
    width: 100%;
    position: relative;
}

.jy-hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.jy-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
.jy-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-text-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, color 0.3s;
}

.jy-slider-btn:hover {
    background: var(--color-deep-navy);
    color: var(--color-champagne);
}

.jy-slider-prev {
    left: 20px;
}

.jy-slider-next {
    right: 20px;
}

/* Slider Indicators */
.jy-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.jy-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.jy-slider-dot.active {
    background: var(--color-deep-navy);
}

@media (max-width: 992px) {
    .jy-hero-slider-container {
        height: 50vh;
    }
    .jy-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .jy-hero-slider-container {
        height: 40vh;
    }
}

/* ==========================================
   Block 1.5: Factory Banner
   ========================================== */
.jy-factory-banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* 与上面轮播图之间如果有需要，可以加一点外边距。这里保持贴合。 */
}

.jy-factory-banner-container {
    width: 100%;
    position: relative;
}

.jy-factory-banner-img {
    width: 100%;
    display: block;
    object-fit: cover;
    /* 和上面轮播图保持一样的高度裁剪 */
    height: 70vh;
    min-height: 400px;
    max-height: 800px;
}

@media (max-width: 768px) {
    .jy-factory-banner-img {
        height: 40vh; /* 移动端也和轮播图保持一致 */
    }
}

/* ==========================================
   Block 2: Shop by Category (V2: 3 Cards)
   ========================================== */
.jy-section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.jy-section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.jy-section-desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.jy-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.jy-category-card-v2 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* 保持正方形，类似参考图 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jy-category-bg-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

/* 统一粉紫色半透明遮罩 */
.jy-category-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180, 100, 140, 0.7); /* 参考图的粉紫色 */
    z-index: 1;
    transition: background-color 0.3s ease;
}

.jy-category-card-v2:hover .jy-category-bg-v2 {
    transform: scale(1.05);
}

.jy-category-card-v2:hover .jy-category-overlay-v2 {
    background-color: rgba(180, 100, 140, 0.6); /* 悬停时稍微变亮 */
}

.jy-category-content-v2 {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    justify-content: center;
}

.jy-cat-tag-v2 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jy-cat-title-v2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.jy-cat-desc-v2 {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.jy-cat-btn-v2 {
    border-color: #fff;
    color: #fff;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.jy-cat-btn-v2:hover {
    background: #fff;
    color: rgba(180, 100, 140, 1);
}

@media (max-width: 992px) {
    .jy-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jy-categories-grid {
        grid-template-columns: 1fr;
    }
    .jy-category-card-v2 {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================
   Block 3: Bestsellers
   ========================================== */
.jy-products-section .jy-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.jy-products-section .jy-section-title {
    margin-bottom: 0;
}

.jy-link-more {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.jy-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.jy-product-card {
    display: flex;
    flex-direction: column;
}

.jy-product-image {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: var(--spacing-sm);
    display: block;
}

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

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

.jy-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--border-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jy-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jy-product-rating {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.jy-product-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.jy-product-title a {
    color: var(--color-text-dark);
}

.jy-product-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
}

.jy-product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.jy-product-price {
    display: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.jy-btn-add {
    background-color: transparent;
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jy-btn-add:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 71, 255, 0.2);
}

/* 产品卡片多巴胺悬停变化 */
.jy-product-card:nth-child(2) .jy-btn-add:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    box-shadow: 0 4px 8px rgba(255, 90, 0, 0.2);
}
.jy-product-card:nth-child(3) .jy-btn-add:hover {
    background-color: var(--color-green);
    color: var(--color-text-dark);
    border-color: var(--color-green);
    box-shadow: 0 4px 8px rgba(178, 255, 5, 0.2);
}
.jy-product-card:nth-child(4) .jy-btn-add:hover {
    background-color: var(--color-pink);
    border-color: var(--color-pink);
    box-shadow: 0 4px 8px rgba(255, 0, 127, 0.2);
}

@media (max-width: 1024px) {
    .jy-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .jy-products-section .jy-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    .jy-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
    .jy-product-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================
   Block 3.1: Technology Focus (Now Certificates)
   ========================================== */
.jy-tech-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-white);
    padding: var(--spacing-xl) 5%; /* 恢复左右内边距，因为加了 .jy-home-section class 会使用这里的值或者 .jy-home-section 的值 */
    max-width: 1400px; /* 改为与顶部相同的1400px，让两侧更宽 */
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box; /* 防止 padding 撑破容器 */
}

.jy-tech-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
}

.jy-tech-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.jy-tech-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.jy-certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.jy-cert-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.jy-cert-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .jy-certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .jy-certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .jy-tech-section {
        padding: var(--spacing-md) 5%;
    }
}

/* ==========================================
   Block 3.2: The Workshop
   ========================================== */
.jy-workshop-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jy-workshop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.jy-workshop-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.jy-workshop-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.25);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.jy-workshop-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-lg) 5%;
    max-width: 800px;
}

.jy-workshop-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.jy-workshop-text {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Video Sound Toggle Button */
.jy-video-sound-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.jy-video-sound-btn:hover {
    background: rgba(0,0,0,0.7);
    border-color: #fff;
    transform: scale(1.1);
}

.jy-video-sound-btn.active {
    border-color: var(--color-champagne);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 12px rgba(242, 227, 198, 0.3);
}

/* ==========================================
   Block 4: Brand Philosophy
   ========================================== */
.jy-story-section {
    display: flex;
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-black) 100%); /* 高级深邃渐变深蓝 */
    color: var(--color-skin); /* 文字带有一点肤色温度 */
}

.jy-story-image {
    flex: 1;
    min-height: 60vh;
}

.jy-story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--spacing-xl) 8%;
    background: transparent;
}

.jy-story-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: var(--color-champagne); /* 标题使用香槟金提亮 */
}

.jy-story-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    color: var(--color-skin);
    opacity: 0.9;
}

.jy-brand-btn {
    background: linear-gradient(135deg, var(--color-champagne) 0%, var(--color-skin) 100%);
    color: var(--color-deep-navy) !important;
    box-shadow: none;
}

.jy-brand-btn:hover {
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-black) 100%) !important;
    color: var(--color-champagne) !important;
    box-shadow: 0 4px 15px rgba(5, 10, 20, 0.4), 0 0 10px rgba(242, 227, 198, 0.2) !important;
    border: 1px solid var(--color-champagne);
}

@media (max-width: 992px) {
    .jy-story-section {
        flex-direction: column;
    }
    
    .jy-story-image {
        min-height: 40vh;
        width: 100%;
    }
    
    .jy-story-content {
        padding: var(--spacing-lg) 5%;
        text-align: center;
        align-items: center;
    }
}

    
/* ==========================================
   Block 5: The Maudern (Blog)
   ========================================== */
.jy-blog-section .jy-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
}

.jy-blog-section .jy-section-title {
    margin-bottom: 0;
}

.jy-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.jy-blog-card {
    display: flex;
    flex-direction: column;
}

.jy-blog-image {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: var(--spacing-md);
    display: block;
}

.jy-blog-image .jy-img-placeholder {
    transition: transform 0.5s ease;
}

.jy-blog-image:hover .jy-img-placeholder {
    transform: scale(1.05);
}

.jy-blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.jy-blog-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.jy-blog-title a {
    color: var(--color-text-dark);
}

.jy-blog-excerpt {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .jy-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jy-blog-section .jy-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    .jy-blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================
   B2B Catalog Mode (Hide Cart & Checkout)
   ========================================== */
.single-product div.product form.cart,
.single-product div.product .product_meta,
.single-product div.product .yith-wcwl-add-to-wishlist,
.single-product div.product .tinv-wraper,
.single-product div.product .woostify-safe-checkout,
.single-product div.product .guaranteed-safe-checkout {
    display: none !important;
}

.jy-b2b-btn {
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-black) 100%) !important;
    color: var(--color-champagne) !important;
    box-shadow: 0 4px 15px rgba(5, 10, 20, 0.2) !important;
}

.jy-b2b-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 10, 20, 0.4), 0 0 15px rgba(242, 227, 198, 0.3) !important;
}
/* ==========================================
   Contact & Inquiry Form Styles
   ========================================== */
.jy-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.jy-form-row {
    display: flex;
    gap: var(--spacing-sm);
    width: 100%;
}

.jy-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jy-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.jy-form-group input,
.jy-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-taupe);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.jy-form-group input:focus,
.jy-form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.1);
}

.jy-form-group input::placeholder,
.jy-form-group textarea::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .jy-form-row {
        flex-direction: column;
        gap: 0;
    }
    .jy-form-group {
        margin-bottom: var(--spacing-sm);
    }
}

/* ==========================================
   Block 7: Customization / OEM Service
   ========================================== */
.jy-oem-section {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
}

.jy-oem-container {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl) 10%;
    text-align: center;
    border: 1px solid var(--color-taupe);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* 装饰性底层图案 - 增加一些专业和设计感 */
.jy-oem-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-peach) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.jy-oem-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.jy-oem-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

.jy-oem-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.jy-oem-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--color-text-dark);
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
}

.jy-oem-btn:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 71, 255, 0.2);
}

@media (max-width: 768px) {
    .jy-oem-container {
        padding: var(--spacing-lg) 5%;
    }
}

/* ==========================================
   Header Logo Customization
   ========================================== */
@media (min-width: 992px) {
    /* 增加头部容器最大宽度，使 logo 更靠左，菜单更靠右 (Woostify 默认是 1200px) */
    .site-header-inner .woostify-container {
        max-width: 1400px;
    }
    
    /* 额外单独向左微调 logo 位置 */
    .header-layout-1 .site-branding {
        margin-left: -40px; 
    }
}

/* ==========================================
   Block 8: Location / Map
   ========================================== */
.jy-map-section {
    padding-bottom: var(--spacing-xl);
}

.jy-map-container {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    /* Set a larger height for the map */
    height: 600px; /* 原来是 450px，现在加大到 600px */
    background-color: #f5f5f5; /* placeholder background while loading */
}

.jy-map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block;
}

@media (max-width: 992px) {
    .jy-map-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .jy-map-container {
        height: 350px; /* 移动端也稍微加大了一点 */
    }
}


