/*
Theme Name: WiresCables
Theme URI: https://www.yisainuo.com/
Author: yisainuo
Author URI: https://www.yisainuo.com/
Description: ZL Cable WordPress Theme
Version: 1.0.0
*/
/* ===== Shared: Mobile Drawer (all pages) ===== */
#mobileDrawer {
    transition: transform 0.3s ease-in-out;
}
#mobileDrawer.is-open {
    transform: translateX(0) !important;
}
#mobileBackdrop {
    transition: opacity 0.3s ease-in-out;
}
body.no-scroll {
    overflow: hidden;
}

/* ===== Shared: Scrollbar Hide ===== */
.scrollbar-hide::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide,
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== Shared: Line Clamp ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Inline Style Replacements ===== */
.nav-ml {
    margin-left: 200px;
}
.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.icon-fs-20 {
    font-size: 20px;
}

/* ===== peo_del.html: Product Detail Table Styles ===== */
.overflow-hidden.rounded-xl table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
.overflow-hidden.rounded-xl thead {
    background-color: #021c36;
    color: #ffffff;
}
.overflow-hidden.rounded-xl tbody {
    background-color: #ffffff;
}
.overflow-hidden.rounded-xl th,
.overflow-hidden.rounded-xl td {
    padding: 1rem;
    border-right: 1px solid #c4c6ce;
}
.overflow-hidden.rounded-xl th:last-child,
.overflow-hidden.rounded-xl td:last-child {
    border-right: none;
}
.overflow-hidden.rounded-xl th {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}
.overflow-hidden.rounded-xl tbody td {
    border-bottom: 1px solid #c4c6ce;
}
.overflow-hidden.rounded-xl tbody tr:last-child td {
    border-bottom: none;
}
.overflow-hidden.rounded-xl td:first-child {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #43474d;
    background-color: #ffffff;
}
@media (max-width: 767px) {
    .overflow-hidden.rounded-xl th,
    .overflow-hidden.rounded-xl td {
        padding: 0.75rem 0.5rem;
        font-size: 13px;
    }
    .overflow-hidden.rounded-xl th {
        font-size: 12px;
        line-height: 16px;
    }
    .overflow-hidden.rounded-xl td:first-child {
        font-size: 12px;
        line-height: 16px;
    }
    .table-scroll-mobile {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-scroll-mobile table {
        min-width: 360px;
    }
}

/* ===== peo_del.html: Product Detail Glass Effect ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== peo_del.html: Related Solutions Pagination ===== */
.related-solutions-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary, #1f4ed8);
}

/* ===== news.html: News Glass Card ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ===== case.html: Case Glass Effect ===== */
.case-glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}
.project-card:hover .project-overlay {
    opacity: 1;
}

/* ===== index.html: Home Hero ===== */
.hero-gradient {
    background: linear-gradient(180deg, rgba(2, 28, 54, 0.8) 0%, rgba(2, 28, 54, 0.4) 100%);
}
.stats-grid-border > div {
    border-bottom: 1px solid #e1e3e4;
}
@media (min-width: 768px) {
    .stats-grid-border > div {
        border-bottom: none;
        border-right: 1px solid #e1e3e4;
    }
    .stats-grid-border > div:last-child {
        border-right: none;
    }
}
@media (max-width: 640px) {
    .hero-section {
        height: auto;
        min-height: 0;
    }
    .hero-section .hero-swiper {
        height: auto;
        position: static;
    }
    .hero-section .swiper-slide {
        height: auto;
        overflow: visible;
    }
    .hero-section picture {
        display: block;
        width: 100%;
        height: auto;
    }
    .hero-section picture img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }
    .hero-content {
        display: none;
    }
}
.hero-swiper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}
.hero-swiper .swiper-slide {
    overflow: hidden;
}
.hero-swiper picture {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-swiper picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: clamp(38px, 4.2vw, 52px) !important;
    height: clamp(38px, 4.2vw, 52px) !important;
    color: #ffffff;
    background: rgba(2, 28, 54, 0.35);
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(2, 28, 54, 0.6);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: clamp(14px, 1.7vw, 18px) !important;
    font-weight: 700;
}
.hero-swiper .swiper-pagination {
    bottom: 24px !important;
}
.hero-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: #51dcbc;
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

/* ===== news_con.html: News Detail Glass Sidebar ===== */
.glass-sidebar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== pro.html: Product Card ===== */
.product-card:hover .product-image {
    transform: scale(1.05);
}
.filter-chip.active {
    background-color: #72f9d8;
    color: #002019;
}

/* ===== contact.html: Contact Glass Effect ===== */
.contact-glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ===== about.html: Journey Pagination ===== */
.journey-pagination .swiper-pagination-bullet {
    background: #021c36;
    opacity: 0.3;
}
.journey-pagination .swiper-pagination-bullet-active {
    background: #021c36;
    opacity: 1;
}

/* ===== contact.html & footer: Contact Form 7 Dark Form ===== */
.quiry_info .wpcf7-form,
.footer-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quiry_info .wpcf7-form > p,
.footer-form-wrap .wpcf7-form > p {
    margin: 0;
}
.quiry_info .wpcf7-form-control,
.footer-form-wrap .wpcf7-form-control {
    width: 100%;
    background: rgba(2, 28, 54, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 10px;
}
.quiry_info .wpcf7-form-control::placeholder,
.footer-form-wrap .wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.quiry_info .wpcf7-form-control:focus,
.footer-form-wrap .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-primary, #1f4ed8);
    background: rgba(2, 28, 54, 0.8);
}
.quiry_info textarea.wpcf7-form-control,
.footer-form-wrap textarea.wpcf7-form-control {
    height: 110px;
    resize: vertical;
    font-family: inherit;
}
.quiry_info .wpcf7-submit,
.footer-form-wrap .wpcf7-submit {
    width: 100%;
    background: var(--color-primary, #1f4ed8);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}
.quiry_info .wpcf7-submit:hover,
.footer-form-wrap .wpcf7-submit:hover {
    background: #1a44b8;
}
.quiry_info .wpcf7-response-output,
.footer-form-wrap .wpcf7-response-output {
    margin: 8px 0 0;
    padding: 0;
    border: none;
    color: #ffffff;
    font-size: 13px;
}
.quiry_infos textarea{height: 110px;}
.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;}
