/*
Theme Name: Waterbottle
Theme URI: https://www.yisainuo.com/
Author: yisainuo
Author URI: https://www.yisainuo.com/
Description: Sport Bottle Custom Theme
Version: 1.0.0
*/
/* ========================================
   Sport Bottle - Global Stylesheet
   ======================================== */

/* ===== Base ===== */
* { font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ===== Buttons ===== */
.btn-primary {
    background: #593f9a;
    color: #fff;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #382567;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(89, 63, 154, 0.4);
}
.btn-outline {
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* ===== Header ===== */
#header { transition: all 0.3s ease; }
#header.scrolled { background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); }

/* ===== Mobile Menu ===== */
.mobile-menu { transition: transform 0.4s ease; }
.mobile-menu.open { transform: translateX(0); }

/* ===== Section Divider ===== */
.section-line {
    width: 60px;
    height: 3px;
    background: #593f9a;
    margin: 0 auto;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0e0e0e; }
::-webkit-scrollbar-thumb { background: #593f9a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #382567; }

/* ===== Back to Top ===== */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: #0e0e0e;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: #9ca3af;
    font-size: 11px;
    gap: 3px;
    transition: color 0.3s ease;
}
.bottom-nav a:hover,
.bottom-nav a.active {
    color: #593f9a;
}
.bottom-nav a i {
    font-size: 20px;
}

/* ===== Pulse Glow ===== */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(89, 63, 154, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(89, 63, 154, 0); }
}
.pulse-glow { animation: pulseGlow 2.5s infinite; }

/* ===== Floating Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, #593f9a, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Stat Number ===== */
.stat-number { font-variant-numeric: tabular-nums; }

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #382567 0%, #593f9a 100%);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/product-water-bottle.jpg') center/cover no-repeat;
    opacity: 0.3;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 37, 103, 0.85) 0%, rgba(89, 63, 154, 0.75) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 10;
}

/* ===== Hero Carousel Overlay (index) ===== */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 5;
}

/* ===== Hero Swiper (index) ===== */
.hero-swiper .swiper-pagination-bullet { background: #e6e6e6; opacity: 1; width: 30px; height: 4px; border-radius: 0; transition: all 0.3s; }
.hero-swiper .swiper-pagination-bullet-active { background: #fd0002; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { color: #a5a7ab; }

/* ===== Marquee Animation ===== */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Product Card (index & products) ===== */
.product-card { transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(89, 63, 154, 0.15); }
.product-card .card-img { transition: transform 0.5s ease; }
.product-card:hover .card-img { transform: scale(1.08); }
.product-card .card-overlay { opacity: 0; transition: opacity 0.4s ease; }
.product-card:hover .card-overlay { opacity: 1; }
.product-card .card-actions {
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.product-card:hover .card-actions {
    transform: translateY(0);
}
.product-card .card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag-hot { background: #fd0002; color: #fff; }
.tag-new { background: #22c55e; color: #fff; }
.tag-sale { background: #f59e0b; color: #fff; }

/* ===== Category Card (index) ===== */
.category-card { transition: all 0.4s ease; overflow: hidden; }
.category-card:hover { transform: translateY(-6px); }
.category-card .cat-img { transition: transform 0.6s ease; }
.category-card:hover .cat-img { transform: scale(1.1); }
.category-card .cat-arrow { transition: all 0.4s ease; }
.category-card:hover .cat-arrow { background-color: #593f9a; }
.category-card:hover .cat-arrow i { color: #ffffff; }

/* ===== Category Showcase (products) ===== */
.cat-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    cursor: pointer;
}
.cat-showcase img { transition: transform 0.6s ease; }
.cat-showcase:hover img { transform: scale(1.1); }
.cat-showcase .cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(56, 37, 103, 0.9) 100%);
    transition: background 0.4s ease;
}
.cat-showcase:hover .cat-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(56, 37, 103, 0.95) 100%);
}

/* ===== Review Card (index) ===== */
.review-card { transition: all 0.4s ease; }
.review-card:hover { transform: scale(1.03); }
.review-card .review-overlay { transition: opacity 0.4s ease; }
.review-card:hover .review-overlay { opacity: 0.7; }

/* ===== Review Accordion (index) ===== */
.review-accordion {
    transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
}
.review-accordion.active { flex: 4; }
.review-accordion.active .vertical-title {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.review-accordion.active .review-content {
    opacity: 1;
    transition: opacity 0.5s ease 0.2s;
}
.review-accordion:not(.active) .vertical-title {
    opacity: 1;
    transition: opacity 0.3s ease 0.3s;
}
.review-accordion:not(.active) .review-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.review-accordion .review-overlay {
    transition: background 0.5s ease;
}
.review-accordion.active .review-overlay {
    background: rgba(0, 0, 0, 0.55);
}

/* ===== Exhibition Scroll (index) ===== */
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}
.scroll-column-up {
    animation: scrollUp 30s linear infinite;
}
.scroll-column-up:hover { animation-play-state: paused; }
.scroll-column-down {
    animation: scrollDown 30s linear infinite;
}
.scroll-column-down:hover { animation-play-state: paused; }

/* ===== Filter Tabs (products) ===== */
.filter-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e7e7e7;
    background: #fff;
    color: #333;
    white-space: nowrap;
}
.filter-tab:hover {
    border-color: #593f9a;
    color: #593f9a;
}
.filter-tab.active {
    background: #593f9a;
    border-color: #593f9a;
    color: #fff;
}

/* ===== Pagination (products) ===== */
.pagination-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e7e7e7;
    color: #333;
    background: #fff;
}
.pagination-btn:hover {
    border-color: #593f9a;
    color: #593f9a;
}
.pagination-btn.active {
    background: #593f9a;
    border-color: #593f9a;
    color: #fff;
}

/* ===== Filter Sidebar (products) ===== */
.filter-sidebar { transition: transform 0.4s ease; }
.filter-sidebar.open { transform: translateX(0); }
.filter-overlay { transition: opacity 0.4s ease; }

/* ===== Timeline Card (about) ===== */
.timeline-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
}
.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(89, 63, 154, 0.2);
}
.timeline-card-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}
.timeline-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.timeline-card:hover .timeline-card-img img {
    transform: scale(1.1);
}
.timeline-card-img .year-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #593f9a;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(89, 63, 154, 0.4);
}
.timeline-card-content {
    padding: 2rem 1.5rem 1.5rem;
}
.timeline-card-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #202020;
    margin-bottom: 0.75rem;
}
.timeline-card-content p {
    color: #333333;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Timeline Swiper (about) ===== */
.timeline-swiper {
    padding-bottom: 60px !important;
}
.timeline-swiper .swiper-pagination-bullet {
    background: #593f9a;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s;
}
.timeline-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}
.timeline-swiper .swiper-button-next,
.timeline-swiper .swiper-button-prev {
    color: #593f9a;
    background: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.timeline-swiper .swiper-button-next::after,
.timeline-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}
.timeline-swiper .swiper-button-next:hover,
.timeline-swiper .swiper-button-prev:hover {
    background: #593f9a;
    color: #fff;
}

/* ===== Certificate Card (about) ===== */
.cert-card {
    transition: all 0.4s ease;
    overflow: hidden;
}
.cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(89, 63, 154, 0.2);
}
.cert-card img {
    transition: transform 0.5s ease;
}
.cert-card:hover img {
    transform: scale(1.05);
}

/* ===== Factory Gallery (about) ===== */
.factory-card {
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 1rem;
}
.factory-card:hover {
    transform: scale(1.03);
}
.factory-card img {
    transition: transform 0.6s ease;
}
.factory-card:hover img {
    transform: scale(1.1);
}
.factory-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.factory-card:hover .factory-overlay {
    opacity: 1;
}

/* ===== Gallery: Left-Right Layout (productdel) ===== */
.gallery-wrap {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.gallery-main {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f5f5f5;
}
.gallery-main img {
    transition: transform 0.5s ease;
    display: block;
}
.gallery-main:hover img {
    transform: scale(1.05);
}

/* Right thumbnail rail */
.gallery-rail {
    width: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rail-arrow {
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #593f9a;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: none;
}
.rail-arrow:hover {
    background: #593f9a;
    color: #fff;
}
.rail-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.rail-arrow:disabled:hover {
    background: #f3f4f6;
    color: #593f9a;
}
.thumb-list {
    flex: 1;
    overflow: hidden;
    position: relative;
    /* 限制只显示 6 个缩略图：6 × 90px + 5 × 2px(gap) = 550px，多留 2px 余量 */
    max-height: 553px;
}
.thumb-track {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform 0.4s ease;
}
.thumb-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 0.6rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumb-item:hover,
.thumb-item.active {
    border-color: #593f9a;
    box-shadow: 0 4px 12px rgba(89, 63, 154, 0.25);
}

/* Mobile gallery: fallback to horizontal */
@media (max-width: 640px) {
    .gallery-wrap {
        flex-direction: column;
    }
    .gallery-rail {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }
    .rail-arrow {
        width: 36px;
        height: 100%;
        min-height: 72px;
    }
    .thumb-list {
        overflow-x: auto;
        overflow-y: hidden;
    }
    .thumb-track {
        flex-direction: row;
        transform: none !important;
    }
    .thumb-item {
        width: 72px;
        flex-shrink: 0;
    }
}

/* ===== Color Swatch (productdel) ===== */
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}
.color-swatch:hover,
.color-swatch.active {
    border-color: #593f9a;
    transform: scale(1.1);
}
.color-swatch.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ===== Size Option (productdel) ===== */
.size-option {
    padding: 10px 20px;
    border: 2px solid #e7e7e7;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    background: #fff;
}
.size-option:hover,
.size-option.active {
    border-color: #593f9a;
    background: #593f9a;
    color: #fff;
}

/* ===== Spec Table (productdel) ===== */
.spec-table tr:nth-child(even) { background: #f9f9fb; }
.spec-table td { padding: 12px 16px; font-size: 0.9rem; }
.spec-table td:first-child {
    font-weight: 600;
    color: #382567;
    width: 40%;
}

/* ===== Tab Navigation (productdel) ===== */
.tab-btn {
    padding: 12px 28px;
    font-weight: 600;
    color: #333;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.tab-btn:hover { color: #593f9a; }
.tab-btn.active {
    color: #593f9a;
    border-bottom-color: #593f9a;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== Related Product Card (productdel) ===== */
.related-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(89, 63, 154, 0.15);
}
.related-card .card-img { transition: transform 0.5s ease; }
.related-card:hover .card-img { transform: scale(1.08); }

/* ===== Quantity Control (productdel) ===== */
.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e7e7e7;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-weight: 700;
    color: #333;
}
.qty-btn:hover {
    border-color: #593f9a;
    color: #593f9a;
}

/* ===== Feature Icon Box (productdel) ===== */
.feature-box {
    transition: all 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-4px);
}

/* ===== Why Choose Us Card Hover (productdel) ===== */
.adv-card:hover {
    background: #382567 !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(56, 37, 103, 0.25);
}
.adv-card:hover .adv-title {
    color: #fff !important;
}
.adv-card:hover .adv-desc {
    color: #d1d5db !important;
}

/* ===== Product Parameters Table (productdel) ===== */
.param-table-wrap {
    overflow-x: auto;
}
.param-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.param-table th {
    background: #382567;
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
}
.param-table tr {
    border-bottom: 1px solid #f3f4f6;
}
.param-table tr:nth-child(even) {
    background: #f9f9fb;
}
.param-table td {
    padding: 12px 16px;
}
.param-table .param-label {
    font-weight: 600;
    color: #382567;
}
.param-table .param-value {
    color: #333;
}

/* ===== Related Products Swiper (productdel) ===== */
.relatedSwiper {
    padding-bottom: 50px;
}
.relatedSwiper .swiper-button-prev,
.relatedSwiper .swiper-button-next {
    color: #593f9a;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.relatedSwiper .swiper-button-prev:hover,
.relatedSwiper .swiper-button-next:hover {
    background: #593f9a;
    color: #fff;
    box-shadow: 0 6px 16px rgba(89, 63, 154, 0.3);
}
.relatedSwiper .swiper-button-prev::after,
.relatedSwiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}
.relatedSwiper .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}
.relatedSwiper .swiper-pagination-bullet-active {
    background: #593f9a;
    width: 24px;
    border-radius: 5px;
}

/* ===== Process Step Card (customize) ===== */
.process-card {
    transition: all 0.4s ease;
}
.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(89, 63, 154, 0.15);
}
.process-card .step-icon {
    transition: all 0.4s ease;
}
.process-card:hover .step-icon {
    background: #382567;
    transform: scale(1.1);
}
.process-card:hover .step-icon i {
    color: #fff !important;
}

/* ===== Customization Option Card (customize) ===== */
.custom-option {
    transition: all 0.4s ease;
}
.custom-option:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(89, 63, 154, 0.12);
}
.custom-option:hover .option-icon {
    transform: rotateY(180deg);
}
.option-icon {
    transition: transform 0.6s ease;
}

/* ===== Gallery Item (customize) ===== */
.gallery-item {
    transition: all 0.4s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
}
.gallery-item .gallery-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== FAQ Accordion (customize / contact) ===== */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-question {
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: #593f9a;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-icon {
    transition: transform 0.3s ease;
}

/* ===== Blog Card (blog / newdel) ===== */
.blog-card {
    transition: all 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(89, 63, 154, 0.12);
}
.blog-card .blog-img-wrap {
    overflow: hidden;
}
.blog-card .blog-img {
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-img {
    transform: scale(1.08);
}

/* ===== Featured Blog Card (blog) ===== */
.featured-blog {
    transition: all 0.4s ease;
}
.featured-blog:hover {
    box-shadow: 0 20px 40px rgba(89, 63, 154, 0.15);
}
.featured-blog .featured-img {
    transition: transform 0.6s ease;
}
.featured-blog:hover .featured-img {
    transform: scale(1.05);
}

/* ===== Category Filter (blog) ===== */
.cat-filter {
    transition: all 0.3s ease;
}
.cat-filter.active,
.cat-filter:hover {
    background: #593f9a;
    color: #fff;
}

/* ===== Pagination Buttons (blog) ===== */
.page-btn {
    transition: all 0.3s ease;
}
.page-btn.active,
.page-btn:hover {
    background: #593f9a;
    color: #fff;
    border-color: #593f9a;
}

/* ===== Sidebar Tag (blog / newdel) ===== */
.tag-link {
    transition: all 0.3s ease;
}
.tag-link:hover {
    background: #593f9a;
    color: #fff;
}

/* ===== Article Content (newdel) ===== */
.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #333;
}
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #202020;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #202020;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.article-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.article-content ul li {
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.7;
}
.article-content blockquote {
    border-left: 4px solid #593f9a;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f9f9fb;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.article-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* ===== Share Button (newdel) ===== */
.share-btn {
    transition: all 0.3s ease;
}
.share-btn:hover {
    transform: translateY(-2px);
}

/* ===== Contact Info Card (contact) ===== */
.contact-card {
    transition: all 0.4s ease;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(89, 63, 154, 0.12);
}
.contact-card .card-icon {
    transition: all 0.4s ease;
}
.contact-card:hover .card-icon {
    background: #382567;
    transform: scale(1.1);
}

/* ===== Form Input (contact) ===== */
.form-input {
    transition: all 0.3s ease;
}
.form-input:focus {
    border-color: #593f9a;
    box-shadow: 0 0 0 3px rgba(89, 63, 154, 0.1);
}

/* ===== Map Container (contact) ===== */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 1023px) {
    body {
        padding-bottom: 60px;
    }
    #backToTop {
        bottom: 72px;
    }
    .page-hero {
        height: 300px;
    }
    .hero-swiper {
        height: 450px !important;
    }
    .hero-swiper h1 {
        font-size: 2rem !important;
    }
    .stat-number {
        font-size: 2.5rem !important;
    }
    .review-accordion {
        min-width: 0;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 3.5rem;
        padding-right: 1rem;
    }
    .timeline-item .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}

@media (max-width: 640px) {
    .page-hero {
        height: 250px;
    }
    .page-hero h1 {
        font-size: 2rem !important;
    }
    .hero-swiper {
        height: 380px !important;
    }
    .hero-swiper h1 {
        font-size: 1.6rem !important;
    }
    .hero-swiper p {
        font-size: 0.85rem !important;
    }
    .stat-number {
        font-size: 2rem !important;
    }
    .review-accordion .vertical-title {
        font-size: 14px !important;
    }
    .review-accordion-container {
        flex-direction: column !important;
        height: auto !important;
    }
    .review-accordion {
        flex: none !important;
        height: 200px !important;
    }
    .review-accordion.active {
        height: 320px !important;
    }
    .review-accordion.active .review-content {
        opacity: 1;
    }
    .review-accordion.active .vertical-title {
        opacity: 0;
    }
    .review-accordion:not(.active) .review-content {
        opacity: 0;
    }
    .review-accordion:not(.active) .vertical-title {
        opacity: 1;
    }
    .review-content p.text-lg {
        font-size: 0.9rem !important;
    }
    .review-content .p-8 {
        padding: 1rem !important;
    }
}


/* ===== Footer Newsletter Form (Contact Form 7 覆盖) =====
   作用域严格限定 .footer-newsletter-form，不影响页面其他 CF7 表单
   使用 !important 是因为 CF7 插件 CSS 在主题 CSS 之后加载 */
.footer-newsletter-form .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer-newsletter-form .wpcf7-form > p {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.footer-newsletter-form .wpcf7-form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
}
.footer-newsletter-form .wpcf7-form input[type="email"],
.footer-newsletter-form .wpcf7-form input[type="text"],
.footer-newsletter-form .wpcf7-form input[type="tel"],
.footer-newsletter-form .wpcf7-form .wpcf7-text,
.footer-newsletter-form .wpcf7-form .wpcf7-email {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #d1d5db !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
    box-shadow: none !important;
    min-height: auto !important;
    height: auto !important;
}
.footer-newsletter-form .wpcf7-form input[type="email"]::placeholder,
.footer-newsletter-form .wpcf7-form input[type="text"]::placeholder,
.footer-newsletter-form .wpcf7-form input[type="tel"]::placeholder,
.footer-newsletter-form .wpcf7-form .wpcf7-text::placeholder,
.footer-newsletter-form .wpcf7-form .wpcf7-email::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}
.footer-newsletter-form input{
    margin-bottom: 10px !important;
}
.footer-newsletter-form .wpcf7-form input[type="email"]:focus,
.footer-newsletter-form .wpcf7-form input[type="text"]:focus,
.footer-newsletter-form .wpcf7-form input[type="tel"]:focus,
.footer-newsletter-form .wpcf7-form .wpcf7-text:focus,
.footer-newsletter-form .wpcf7-form .wpcf7-email:focus {
    border-color: #593f9a !important;
    background: rgba(255, 255, 255, 0.14) !important;
}
.footer-newsletter-form .wpcf7-form input[type="submit"],
.footer-newsletter-form .wpcf7-form button[type="submit"],
.footer-newsletter-form .wpcf7-form .wpcf7-submit {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #593f9a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: none !important;
    min-height: auto !important;
    height: auto !important;
    text-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.quiry_info textarea{
    height: 120px !important;
}
.footer-newsletter-form .wpcf7-form button[type="submit"]:hover,
.footer-newsletter-form .wpcf7-form .wpcf7-submit:hover {
    background: #382567 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(89, 63, 154, 0.4) !important;
}
/* 强制按钮内图标 (纸飞机) 颜色为白色，覆盖 Font Awesome / SVG 默认色 */
.footer-newsletter-form .wpcf7-form input[type="submit"] i,
.footer-newsletter-form .wpcf7-form button[type="submit"] i,
.footer-newsletter-form .wpcf7-form .wpcf7-submit i,
.footer-newsletter-form .wpcf7-form input[type="submit"] svg,
.footer-newsletter-form .wpcf7-form button[type="submit"] svg,
.footer-newsletter-form .wpcf7-form .wpcf7-submit svg,
.footer-newsletter-form .wpcf7-form input[type="submit"] img,
.footer-newsletter-form .wpcf7-form button[type="submit"] img,
.footer-newsletter-form .wpcf7-form .wpcf7-submit img {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    opacity: 1 !important;
}
.footer-newsletter-form .wpcf7-form .wpcf7-not-valid-tip {
    color: #f87171 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}
.footer-newsletter-form .wpcf7-form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    position: static !important;
}
.footer-newsletter-form .wpcf7-form .wpcf7-spinner {
    display: none !important;
}
.areatextClass::-webkit-input-placeholder { color: red!important;}
.footer-newsletter-form .wpcf7-form input.areatextClass::placeholder,
.footer-newsletter-form .wpcf7-form input.areatextClass::-webkit-input-placeholder {
    color: red !important;
}
.aligncenter {
    display: block !important;
    margin: 0 auto!important;
}
.wpcf7 fieldset{display:none;}
.wpcf7-response-output,.wpcf7-validation-errors {display: none !important;}
span.wpcf7-not-valid-tip {display: none;}
.screen-reader-response {display: none !important;}