/*
 * main.css
 * 主题额外调整样式 — 所有自定义覆盖/补充写在这里
 */

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: #f5f5f7;
    padding: 3rem 0;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: center;
    min-height: 30vh;
}

/* Left Column */
.hero-left-inner {
    max-width: 540px;
}

/* Tagline */
.hero-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* Main Title */
.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

/* Description */
.hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}
.hero-desc p {
    margin-bottom: 0.5rem;
}

/* Brand Logo Carousel */
.hero-brand-logos {
    margin-bottom: 2rem;
    overflow: hidden;
}
.logo-track {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.logo-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-slide img {
    max-height: 36px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.2s;
    filter: grayscale(100%);
}
.logo-slide img:hover {
    opacity: 1;
    filter: none;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}
.hero-btn-primary {
    background: #e94560;
    color: #fff;
    border: 2px solid #e94560;
}
.hero-btn-primary:hover {
    background: #d63851;
    border-color: #d63851;
    color: #fff;
    text-decoration: none;
}
.hero-btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
}
.hero-btn-outline:hover {
    border-color: #e94560;
    color: #e94560;
    text-decoration: none;
}

/* Right Column — Media */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-media {
    width: 100%;
    max-width: 480px;
}
.hero-media-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: block;
}
.hero-media-placeholder {
    aspect-ratio: 4/3;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.875rem;
}

/* ========================================
   Product Category Tabs
   ======================================== */

/* Tab Navigation */
.product-tabs {
    margin-top: 2rem;
}
.tab-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 0 0 2rem;
    padding: 0;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
    user-select: none;
}
.tab-nav-item {
    padding: 0.75rem 1.5rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}
.tab-nav-item:hover {
    color: #e94560;
    background: rgba(233,69,96,0.04);
}
.tab-nav-item:active {
    transform: scale(0.96);
}
.tab-nav-item.active {
    color: #e94560;
    border-bottom-color: #e94560;
    font-weight: 600;
}

/* Tab Panels */
.tab-contents {
    position: relative;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* Product Grid — CSS Grid 5列 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 1023px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
.product-grid-item {
    list-style: none;
}
.product-tab-item {
    display: block;
    padding: 1.25rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
    min-height: 56px;
    box-sizing: border-box;
}
.product-tab-item:hover {
    background: #fff;
    border-color: #e94560;
    box-shadow: 0 4px 12px rgba(233,69,96,0.15);
    transform: translateY(-2px);
    text-decoration: none;
}
.product-tab-item:active {
    transform: scale(0.97);
}
.product-tab-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #333;
    display: block;
    line-height: 1.4;
}
.product-tab-item:hover .product-tab-title {
    color: #e94560;
}

/* Empty state */
.tab-empty {
    text-align: center;
    color: #999;
    font-size: 0.875rem;
    padding: 2rem;
}

/* ========================================
   Reviews Carousel
   ======================================== */
.reviews-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0 2.5rem;
}
.reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
    will-change: transform;
}
.review-card {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3); /* 3 per view - gap */
    min-width: 0;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
}
.review-text {
    font-size: 0.9375rem;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    text-align: left;
}
.reviewer-name {
    font-weight: 600;
    color: #222;
    font-style: normal;
    display: block;
}
.reviewer-role {
    display: block;
    font-size: 0.8125rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Prev / Next buttons */
.rv-prev,
.rv-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.rv-prev:hover,
.rv-next:hover {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}
.rv-prev { left: 0; }
.rv-next { right: 0; }

/* Dots */
.rv-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.rv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s;
}
.rv-dot.active {
    background: #e94560;
}

/* ========================================
   Certificates & Exhibition Carousels
   ======================================== */
.cert-carousel,
.exhibition-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -0.5rem 1.5rem;
    padding: 0 2.5rem;
}
.cc-track,
.ec-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
    will-change: transform;
}
.cc-slide,
.ec-slide {
    flex: 0 0 calc((100% - 3 * 1.5rem) / 4); /* 4 per view */
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.ec-slide {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3); /* 3 per view */
}
.cert-logo {
    width: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: opacity 0.2s;
}
.cert-logo:hover {
    opacity: 1;
    filter: none;
}
.ec-slide figure {
    margin: 0;
}
.ec-slide img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Reuse rv-prev/rv-next for cert carousel buttons */
.cc-prev,
.cc-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.cc-prev:hover,
.cc-next:hover {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}
.cc-prev { left: 0; }
.cc-next { right: 0; }

/* Reuse rv-dot for cert dots */
.cc-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.exhibition-label {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

/* 背景色互换：
   Section 7 (about) → #1a1a2e（深色）
   Section 8 (stats) → #fff（白色）
   Section 9 (advantages) → #F7F7F7（浅灰）
*/
.stats-section {
    background: #fff !important;
    color: #475569 !important;
}
.stats-section .section-title {
    color: #0F172A !important;
}
.stats-section .stat-number {
    color: #e94560 !important;
}

.advantages-section {
    background: #F7F7F7;
}
.process-section{background: #f8f9fa;}
/* ========================================
   About / 公司简介
   背景 #1a1a2e (来自 stats) / 卡片保持白底
   ======================================== */
.abt-section {
    background: #1a1a2e;
}

.abt-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.abt-section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.abt-desc {
	text-align: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.abt-features {
    display: flex;
    gap: 1.5rem;
}

.abt-feature-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s, transform 0.25s;
}

.abt-feature-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.abt-feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.75rem;
}

.abt-feature-card .elementor-widget-text-editor .elementor-widget-container p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.abt-feature-card .elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.abt-feature-card .elementor-icon-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
}

.abt-feature-card .elementor-icon-list-item i {
    color: #2563EB;
    font-size: 0.75rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* Font Awesome 未加载时 fallback */
.abt-feature-card .fa-dot-circle:before {
    content: "\f192";
    font-family: "Font Awesome 5 Free", "FontAwesome", "fa-solid-900", serif;
    font-weight: 900;
}

/* 纯 CSS fallback: 兼容无 FA 环境 */
.abt-feature-card .elementor-icon-list-item i:empty::before,
.abt-feature-card .elementor-icon-list-item i:not(.fa-fw):empty {
    content: "\25CF";
    font-family: serif;
    font-size: 0.625rem;
    color: #2563EB;
}

@media (max-width: 768px) {
    .abt-section .pure-g {
        flex-direction: column;
    }
    .abt-features {
        flex-direction: column;
        gap: 1rem;
    }
    .abt-section-title {
        font-size: 1.625rem;
        text-align: center;
    }
    .abt-feature-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ========================================
   Industries Tab Section
   ======================================== */
.ind-tabs {
    margin-top: 2rem;
}

.ind-tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.ind-tab-btn {
    flex: 1;
    padding: 1rem 0.75rem;
    background: transparent;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #777;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    white-space: nowrap;
    text-align: center;
}

.ind-tab-btn:hover {
    color: #1a1a2e;
    background: #fafafa;
}

.ind-tab-btn--active {
    color: #8f1c21;
    border-bottom-color: #8f1c21;
    background: #fff;
}

.ind-panels {
    position: relative;
}

.ind-panel {
    display: none;
    animation: indFadeIn 0.4s ease;
}

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

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

.ind-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 2.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.ind-image {
    flex: 0 0 400px;
}

.ind-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.ind-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ind-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.ind-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(201, 168, 76, 0.92);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 1;
}

.ind-text {
    flex: 1;
}

.ind-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.875rem;
}

.ind-desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.8;
}

.ind-desc .text {
    margin-bottom: 1rem;
}

.ind-desc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ind-desc ul li {
    padding: 0.625rem 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 0.875rem;
    color: #444;
}

.ind-desc ul li:last-child {
    border-bottom: none;
}

.ind-desc ul li strong {
    color: #1a1a2e;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1023px) {
    .reviews-carousel { padding: 0 2rem; }
    .review-card {
        flex: 0 0 calc((100% - 1 * 1.5rem) / 2); /* 2 per view */
    }
}
@media (max-width: 640px) {
    .reviews-carousel { padding: 0 1.5rem; }
    .review-card {
        flex: 0 0 100%; /* 1 per view */
    }
}
@media (max-width: 767px) {
    .hero-section {
        padding: 2rem 0;
    }
    .hero-inner {
        min-height: auto;
    }
    .hero-left-inner {
        max-width: 100%;
        text-align: center;
        padding-bottom: 2rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .logo-track {
        justify-content: center;
    }
    .hero-right {
        order: -1;
    }
}

/* ========================================
   Industries Tab — Responsive
   ======================================== */
@media (max-width: 768px) {
    .ind-inner {
        flex-direction: column;
        padding: 1.5rem;
    }
    .ind-image {
        flex: none;
        width: 100%;
    }
    .ind-image img {
        height: 200px;
    }
    .ind-tab-btn {
        font-size: 0.8125rem;
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
}

/* ========================================
   Page Hero Banner（默认页面 & About 页面共用）
   参考 xiangxiangdaily.com/about-xiangxiangdaily/
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background pattern overlay */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(233,69,96,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

/* Breadcrumb */
.page-breadcrumb {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}
.page-breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.page-breadcrumb a:hover {
    color: #e94560;
    text-decoration: none;
}
.page-breadcrumb .sep {
    color: rgba(255,255,255,0.3);
    margin: 0 0.25rem;
}
.page-breadcrumb .current {
    color: rgba(255,255,255,0.7);
}

/* Hero Title */
.page-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

/* Hero Description */
.page-hero-desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Default page content section */
.page-content-section {
    padding: 3rem 0 0 0;
}
.page-article {
    max-width: 800px;
    margin: 0 auto;
}

.page-article .entry-content h2,
.page-article .entry-content h3 {
    color: #1a1a2e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-article .entry-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-links {
    margin-top: 2rem;
}

/* ========================================
   Single Product Page
   ======================================== */

/* Product Hero Banner */
.product-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(233,69,96,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.product-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.product-breadcrumb {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}
.product-breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.product-breadcrumb a:hover {
    color: #e94560;
    text-decoration: none;
}
.product-breadcrumb .sep {
    color: rgba(255,255,255,0.3);
    margin: 0 0.25rem;
}
.product-breadcrumb .current {
    color: rgba(255,255,255,0.7);
}
.product-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
	
}

/* Product Detail Layout */
.product-detail {
    padding: 3rem 0;
}

/* Left: Gallery */
.product-gallery-col {
    padding-right: 1.5rem;
}
.product-carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
	position:relative
}
.product-carousel .carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.product-carousel-placeholder {
    width: 100%;
    min-height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.875rem;
    overflow: hidden;
}
.product-carousel-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right: Product Info */
.product-info-col {
    padding-left: 1.5rem;
}

/* Description */
.product-description {
    margin-bottom: 1.5rem;
}
.product-description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}
.product-description h2,
.product-description h3 {
    color: #1a1a2e;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.product-description ul {
    list-style: disc;
    padding-left: 1.25rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

/* Attributes / Features */
.product-attributes {
    margin-bottom: 1.5rem;
}
.product-attr-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.product-attr-item:last-child {
    border-bottom: none;
}
.product-attr-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.375rem;
}
.product-attr-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
}

/* Product CTA */
.product-cta {
    margin-top: 1.5rem;
}

/* Latest Products */
.latest-products-section {
    background: #f8f9fa;
}
.latest-grid {
    margin-top: 1rem;
	gap:15px;
	flex-flow:unset
}
.latest-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e9ecef;
}
.latest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.latest-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.latest-card-link:hover {
    text-decoration: none;
}
.latest-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.latest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.latest-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    padding: 0.875rem 1rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}
.latest-card:hover .latest-card-title {
    color: #e94560;
}

/* ========================================
   Product Gallery Thumbnails (滚动缩略图)
   ======================================== */
.carousel-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.75rem;
    position: relative;
}
.carousel-thumbs {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.thumbs-track {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    will-change: transform;
}
.thumb-item {
    flex: 0 0 calc((100% - 1.5rem) / 4);
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
    background: #f5f5f7;
}
.thumb-item:hover {
    opacity: 0.85;
}
.thumb-item.active {
    border-color: #e94560;
    opacity: 1;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumb scroll buttons */
.thumbs-prev,
.thumbs-next {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 0;
}
.thumbs-prev:hover,
.thumbs-next:hover {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}

/* ========================================
   Product Accordion
   ======================================== */
.product-accordion {
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}
.accordion-item {
    border-bottom: 1px solid #e9ecef;
}
.accordion-item:last-child {
    border-bottom: none;
}

/* Title / Header */
.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.125rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a2e;
}
.accordion-title:hover {
    background: #f8f9fa;
}
.accordion-item.active .accordion-title {
    color: #e94560;
}

/* Icons */
.accordion-icon {
    font-size: 0.875rem;
    line-height: 1;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 0.75rem;
}
.icon-minus {
    display: none;
}
.accordion-item.active .icon-plus {
    display: none;
}
.accordion-item.active .icon-minus {
    display: inline;
}

/* Content panel */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 1.125rem;
    color: #555;
    font-size: 0.875rem;
    line-height: 1.7;
}
.accordion-item.active .accordion-content {
    padding-bottom: 1rem;
}
.accordion-content p {
    margin-bottom: 0.5rem;
}
.accordion-content p:last-child {
    margin-bottom: 0;
}
.accordion-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}
.accordion-content ul li {
    padding: 0.25rem 0;
}

/* Responsive */
@media (max-width: 767px) {
    .product-hero {
        padding: 2.5rem 0 1.5rem;
    }
    .product-hero-title {
        font-size: 1.625rem;
    }
    .product-gallery-col {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    .product-info-col {
        padding-left: 0;
    }
}

/* ========================================
   Category / Blog Post Grid
   ======================================== */
.category-posts-section {
    padding: 3rem 0 4rem;
}
.post-grid {
    margin: 0 -0.75rem;
}
.post-grid > [class*="pure-u"] {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}

/* Card */
.post-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Thumbnail */
.post-card-thumb-link {
    display: block;
    overflow: hidden;
}
.post-card-thumb {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

/* Body */
.post-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.post-card-title a {
    color: #1a1a2e;
    text-decoration: none;
}
.post-card-title a:hover {
    color: #e94560;
}

/* Meta */
.post-card-meta {
    font-size: 0.8125rem;
    color: #888;
    margin-bottom: 0.75rem;
}
.post-card-comments {
    color: #aaa;
}

/* Excerpt */
.post-card-excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}
.post-card-excerpt p {
    margin: 0;
}

/* Read More */
.post-card-readmore {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #e94560;
    text-decoration: none;
    display: inline-block;
    transition: padding-left 0.2s;
}
.post-card-readmore:hover {
    padding-left: 4px;
    text-decoration: none;
    color: #d63851;
}

/* Pagination */
.post-pagination {
    margin-top: 2.5rem;
    text-align: center;
}
.post-pagination .page-numbers {
    display: inline-flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    justify-content: center;
}
.post-pagination a,
.post-pagination span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    color: #555;
    transition: all 0.2s;
}
.post-pagination a:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #e94560;
}
.post-pagination span.current {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
    font-weight: 600;
}
.post-pagination .dots {
    border: none;
    color: #aaa;
    min-width: auto;
}

/* Empty state */
.post-empty {
    text-align: center;
    color: #999;
    padding: 3rem 0;
    font-size: 1rem;
}

/* ========================================
   Single Post Navigation
   ======================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.post-navigation {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}
.post-navigation .nav-next {
    text-align: right;
}
.post-navigation a {
    color: #555;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: color 0.2s;
    text-decoration: none;
    word-break: break-word;
}
.post-navigation a:hover {
    color: #e94560;
}
.post .box{padding-right:30px}
/* ========================================
   Archive Product Grid
   ======================================== */

/* Category filter bar */
.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}
.cat-filter-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}
.cat-filter-btn:hover {
    border-color: #e94560;
    color: #e94560;
    text-decoration: none;
}
.cat-filter-btn.active {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}

/* Archive toolbar */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.archive-count {
    font-size: 0.875rem;
    color: #888;
}
.archive-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.archive-sort label {
    font-size: 0.875rem;
    color: #888;
}
.sort-select {
    padding: 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
}
.sort-select:focus {
    outline: none;
    border-color: #e94560;
}

/* Product grid — 4 columns */
.product-grid-archive {
    margin: 0 -0.625rem;
}
.product-grid-archive > [class*="pure-u"] {
    padding: 0 0.625rem;
    margin-bottom: 1.25rem;
}

.archive-product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
.archive-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.archive-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.archive-product-link:hover {
    text-decoration: none;
}

/* Image container */
.archive-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.archive-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.archive-product-card:hover .archive-product-img img {
    transform: scale(1.05);
}
.archive-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.8125rem;
}

/* Card body */
.archive-product-body {
    padding: 0.875rem 0.75rem;
}
.archive-product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.25rem;
    line-height: 1.4;
    transition: color 0.2s;
}
.archive-product-card:hover .archive-product-title {
    color: #e94560;
}
.archive-product-cat {
    font-size: 0.75rem;
    color: #aaa;
    display: block;
}
.detail_box>div{display:none}
.detail_box .on{display:block}
.detail_box .box1{padding:30px 0}
.detail .detail_nav .on{background-color:white;border-bottom:1px solid white;margin-bottom:-3px}
.detail .detail_nav>div{border:1px solid #cccccc;background-color:#cccccc}
.detail .detail_nav>div:hover{background-color:white;border-bottom:1px solid white}