/*
Theme Name: 新建文件夹
Theme URI: https://www.yisainuo.com/
Author: yisainuo
Author URI: https://www.yisainuo.com/
Description: 太阳能光伏企业主题
Version: 1.0.0
*/
body{ font-family: 'Arial', sans-serif;}
.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;}
/* Mobile Bottom Navigation */
.footmenu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 0.5rem 0;
}

.footmenu .con {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.footmenu .con a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: #666;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem;
    transition: color 0.2s;
}

.footmenu .con a i {
    font-size: 1rem;
}

.footmenu .con a:hover,
.footmenu .con a.active {
    color: #2ecc71;
}

@media (max-width: 768px) {
    .footmenu {
        display: block;
    }
    body {
        padding-bottom: 5rem;
    }
}

/* Language Switcher Styles */
.language {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.language-main {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 140px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    margin-top: 0.5rem;
}

.language:hover .language-main,
.language:focus-within .language-main {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-cont {
    padding: 0.5rem;
}

.language-post {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.language-post a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.language-post a::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #2ecc71;
    border-radius: 2px;
    transition: height 0.2s ease;
}

.language-post a:hover {
    background-color: rgba(0, 86, 179, 0.08);
    color: #2ecc71;
    padding-left: 1.25rem;
}

.language-post a:hover::before {
    height: 50%;
}

.language-post a[aria-current="page"],
.language-post a.active {
    background-color: rgba(0, 86, 179, 0.1);
    color: #2ecc71;
    font-weight: 600;
}

.language-post a[aria-current="page"]::before,
.language-post a.active::before {
    height: 50%;
}

.language-post a + a {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.language-post a:first-child {
    border-top: none;
}

/* Fixed Side Social Media */
.fixed-social-sidebar {
    position: fixed;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fixed-social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #1a2b3c;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fixed-social-sidebar a:hover {
    background: #2ecc71;
    transform: scale(1.1);
}

.fixed-social-sidebar a.email-btn:hover {
    background: #ea4335;
}

.fixed-social-sidebar a.phone-btn:hover {
    background: #34a853;
}

.fixed-social-sidebar a.whatsapp-btn:hover {
    background: #25d366;
}

@media (max-width: 768px) {
    .fixed-social-sidebar {
        right: 10px;
        bottom: 80px;
        transform: none;
    }
    
    .fixed-social-sidebar a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Gallery Slideshow Styles */
.gallery-slide {
    display: none;
}
.gallery-slide.active {
    display: block;
}
.thumbnail-btn.active {
    border-color: #2ecc71;
}

/* Related Products Swiper Styles */
/* .relatedSwiper {
    width: 100%;
    padding-bottom: 50px;
}
.relatedSwiper .swiper-slide {
    width: 320px;
    height: auto;
}
.relatedSwiper .swiper-slide a.card-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.relatedSwiper .swiper-slide a.card-product .card-image {
    flex-shrink: 0;
}
.relatedSwiper .swiper-slide a.card-product .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.relatedSwiper .swiper-slide a.card-product .card-content .card-btn {
    margin-top: auto;
} */

