/* Bootstrap Grid System - Essential Classes */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Global system font stack to avoid Google Fonts */
:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body, button, input, select, textarea {
    font-family: var(--font-sans) !important;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1580px) {
    .container {
        max-width: 1530px;
    }
}

.row {
    display: flex;
    margin-right: -15px;
    margin-left: -15px;
}

/* Base column styles */
[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* col-12 - Always 100% width */
.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* col-6 - Always 50% width */
.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* col-4 - Always 33.333% width */
.col-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
}

/* col-8 - Always 66.666% width */
.col-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
}

/* Small (sm) breakpoint - 576px and up */
@media (min-width: 576px) {
    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-sm-4 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
    
    .col-sm-8 {
        flex: 0 0 66.6666666667%;
        max-width: 66.6666666667%;
    }
}

/* Medium (md) breakpoint - 768px and up */
@media (min-width: 768px) {
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-5 {
        flex: 0 0 41.6666666667%;
        max-width: 41.6666666667%;
    }
    
    .col-md-7 {
        flex: 0 0 58.3333333333%;
        max-width: 58.3333333333%;
    }
    
    .col-md-4 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
    
    .col-md-8 {
        flex: 0 0 66.6666666667%;
        max-width: 66.6666666667%;
    }
}

/* Large (lg) breakpoint - 992px and up */
@media (min-width: 992px) {
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-4 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
    
    .col-lg-8 {
        flex: 0 0 66.6666666667%;
        max-width: 66.6666666667%;
    }
    
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

/* Extra Large (xl) breakpoint - 1200px and up */
@media (min-width: 1200px) {
    .col-xl-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-xl-4 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
    
    .col-xl-8 {
        flex: 0 0 66.6666666667%;
        max-width: 66.6666666667%;
    }
    
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

/* Mobile first - xs columns (default behavior) */
.col-xs-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Only apply 100% width on mobile devices (below 576px) */
@media (max-width: 575px) {
    .col-xs-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Utility classes */
.align-items-center {
    align-items: center !important;
}

/* ---------------- Footer menu readability tweaks ---------------- */
/* Main footer menus inside widgets */
.footer ul.footer-menu li a {
    font-size: 16px;          /* larger, clearer text on desktop */
    line-height: 1.6;         /* comfortable line height */
    font-weight: 500;         /* slightly bolder for legibility */
}

/* ---------- Header logo sizing tweaks ---------- */
.logo svg {
    height: 44px;
    width: auto;
}

@media (min-width: 1365px) {
    .logo svg {
        height: 52px;
    }
}

@media (max-width: 575.98px) {
    .logo svg {
        height: 40px;
    }
}

/* Item spacing for footer menus */
.footer ul.footer-menu li {
    margin: 16px 20px 0;      /* a bit more breathing room */
}

/* Additional bottom-right footer links */
.footer .footer-additional-menu li a {
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .footer ul.footer-menu li a {
        font-size: 15px;
    }
    .footer ul.footer-menu li {
        margin: 14px 16px 0;
    }
    .footer .footer-additional-menu li a {
        font-size: 14.5px;
    }
}

@media (max-width: 575.98px) {
    .footer ul.footer-menu li a {
        font-size: 14px;
    }
    .footer ul.footer-menu li {
        margin: 12px 14px 0;
    }
    .footer .footer-additional-menu li a {
        font-size: 14px;
    }
}

.justify-content-center {
    justify-content: center !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Padding utilities */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

/* 强制重置产品标签页的列表样式 - 必须在最前面 */
.technum-product-tabs-wrapper,
.technum-product-tabs-wrapper *,
.technum-product-tabs-wrapper ul,
.technum-product-tabs-wrapper ul li,
.technum-product-tabs-wrapper .technum-nav-tabs,
.technum-product-tabs-wrapper .technum-nav-tabs li,
.technum-product-tabs-wrapper .technum-nav-item {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
}

.technum-product-tabs-wrapper ul li::before,
.technum-product-tabs-wrapper ul li::after,
.technum-product-tabs-wrapper .technum-nav-tabs li::before,
.technum-product-tabs-wrapper .technum-nav-tabs li::after,
.technum-product-tabs-wrapper .technum-nav-item::before,
.technum-product-tabs-wrapper .technum-nav-item::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 覆盖主题全局样式 */
.technum-product-tabs-wrapper ul:not(.block-editor-block-variation-picker__variations) > li,
.technum-product-tabs-wrapper ul:not(.block-editor-block-variation-picker__variations) li {
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
}

/* Hide WooCommerce shop page elements */
.woocommerce.archive .sidebar-woocommerce,
.woocommerce-page .sidebar-woocommerce {
    display: none !important;
}

.woocommerce.archive .content-wrapper,
.woocommerce-page .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce.archive .catalog-top-info-wrapper,
.woocommerce-page .catalog-top-info-wrapper {
    display: none !important;
}

/* Center products section in page */
.woocommerce.archive .content-inner,
.woocommerce-page .content-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Theme's shop loop wrapper */
.woocommerce.archive .technum_shop_loop,
.woocommerce-page .technum_shop_loop {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Project-style layout for WooCommerce products */
.woocommerce.archive .technum_shop_loop .products,
.woocommerce-page .technum_shop_loop .products,
.woocommerce.archive .products,
.woocommerce-page .products {
    margin: 0 -15px -60px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    padding: 0 !important;
}

/* Product items styled like project items - using theme's custom wrapper */
.woocommerce.archive .technum_shop_loop ul.products li.product .woocommerce-loop-product__wrapper,
.woocommerce-page .technum_shop_loop ul.products li.product .woocommerce-loop-product__wrapper,
.woocommerce.archive ul.products li.product .woocommerce-loop-product__wrapper,
.woocommerce-page ul.products li.product .woocommerce-loop-product__wrapper {
    margin: 0 !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    text-align: left !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.woocommerce.archive .technum_shop_loop ul.products li.product,
.woocommerce-page .technum_shop_loop ul.products li.product,
.woocommerce.archive ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: 0 !important;
    position: relative !important;
    width: 33.3333% !important;
    padding: 0 15px 60px !important;
    box-sizing: border-box !important;
    float: none !important;
    text-align: left !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Product image wrapper styled like project media */
.woocommerce.archive .technum_shop_loop ul.products li.product .attachment-woocommerce_wrapper,
.woocommerce-page .technum_shop_loop ul.products li.product .attachment-woocommerce_wrapper,
.woocommerce.archive ul.products li.product .attachment-woocommerce_wrapper,
.woocommerce-page ul.products li.product .attachment-woocommerce_wrapper {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 5px !important;
    margin: 0 !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* 使用现代CSS创建正方形 */
}

.woocommerce.archive .technum_shop_loop ul.products li.product .attachment-woocommerce_wrapper img,
.woocommerce-page .technum_shop_loop ul.products li.product .attachment-woocommerce_wrapper img,
.woocommerce.archive ul.products li.product .attachment-woocommerce_wrapper img,
.woocommerce-page ul.products li.product .attachment-woocommerce_wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* 保持比例并填充整个容器 */
    object-position: center !important; /* 居中显示 */
    display: block !important;
    border-radius: 5px !important;
    margin: 0 !important;
    transition: transform 0.5s !important;
}

/* Hover effect like project items */
.woocommerce.archive .technum_shop_loop ul.products li.product:hover .attachment-woocommerce_wrapper img,
.woocommerce-page .technum_shop_loop ul.products li.product:hover .attachment-woocommerce_wrapper img,
.woocommerce.archive ul.products li.product:hover .attachment-woocommerce_wrapper img,
.woocommerce-page ul.products li.product:hover .attachment-woocommerce_wrapper img {
    transform: scale(1.05) !important;
}

/* Product content wrapper styled like project content */
.woocommerce.archive .technum_shop_loop ul.products li.product .content-woocommerce-wrapper,
.woocommerce-page .technum_shop_loop ul.products li.product .content-woocommerce-wrapper,
.woocommerce.archive ul.products li.product .content-woocommerce-wrapper,
.woocommerce-page ul.products li.product .content-woocommerce-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* Product title styled like project title */
.woocommerce.archive .technum_shop_loop ul.products li.product h3.woocommerce-loop-product-title,
.woocommerce-page .technum_shop_loop ul.products li.product h3.woocommerce-loop-product-title,
.woocommerce.archive ul.products li.product h3.woocommerce-loop-product-title,
.woocommerce-page ul.products li.product h3.woocommerce-loop-product-title {
    font-size: 20px !important;
    line-height: 1.5em !important;
    font-weight: 700 !important;
    display: block !important;
    margin: 34px 0 0 !important;
    padding: 0 !important;
    color: #333 !important;
}

.woocommerce.archive .technum_shop_loop ul.products li.product h3.woocommerce-loop-product-title a,
.woocommerce-page .technum_shop_loop ul.products li.product h3.woocommerce-loop-product-title a,
.woocommerce.archive ul.products li.product h3.woocommerce-loop-product-title a,
.woocommerce-page ul.products li.product h3.woocommerce-loop-product-title a {
    color: #333 !important;
    text-decoration: none !important;
}

.woocommerce.archive .technum_shop_loop ul.products li.product h3.woocommerce-loop-product-title a:hover,
.woocommerce-page .technum_shop_loop ul.products li.product h3.woocommerce-loop-product-title a:hover,
.woocommerce.archive ul.products li.product h3.woocommerce-loop-product-title a:hover,
.woocommerce-page ul.products li.product h3.woocommerce-loop-product-title a:hover {
    color: #007bff !important;
}

/* Product categories styled like project categories */
.woocommerce.archive .technum_shop_loop ul.products li.product .product-categories,
.woocommerce-page .technum_shop_loop ul.products li.product .product-categories,
.woocommerce.archive ul.products li.product .product-categories,
.woocommerce-page ul.products li.product .product-categories {
    font-size: 14px !important;
    line-height: 1.5714em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: block !important;
    margin: 7px 0 0 !important;
    color: #666 !important;
}

/* Price styling */
.woocommerce.archive .technum_shop_loop ul.products li.product .price,
.woocommerce-page .technum_shop_loop ul.products li.product .price,
.woocommerce.archive ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #e74c3c !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

/* Hide product buttons wrapper */
.woocommerce.archive .technum_shop_loop ul.products li.product .product-buttons-wrapper,
.woocommerce-page .technum_shop_loop ul.products li.product .product-buttons-wrapper,
.woocommerce.archive ul.products li.product .product-buttons-wrapper,
.woocommerce-page ul.products li.product .product-buttons-wrapper {
    display: none !important;
}

/* Hide product rating */
.woocommerce.archive .technum_shop_loop ul.products li.product .product-rating-wrapper,
.woocommerce-page .technum_shop_loop ul.products li.product .product-rating-wrapper,
.woocommerce.archive ul.products li.product .product-rating-wrapper,
.woocommerce-page ul.products li.product .product-rating-wrapper {
    display: none !important;
}

/* Responsive layout like project grid */
@media only screen and (min-width: 576px) {
    .woocommerce.archive .technum_shop_loop ul.products li.product,
    .woocommerce-page .technum_shop_loop ul.products li.product,
    .woocommerce.archive ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 50% !important;
    }
}

@media only screen and (min-width: 768px) {
    .woocommerce.archive .technum_shop_loop .products,
    .woocommerce-page .technum_shop_loop .products,
    .woocommerce.archive .products,
    .woocommerce-page .products {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .woocommerce.archive .technum_shop_loop ul.products li.product,
    .woocommerce-page .technum_shop_loop ul.products li.product,
    .woocommerce.archive ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 33.3333% !important;
    }
    
    .advantages-list {
        grid-template-columns: 1fr;
    }
    
    .suitable-items-grid,
    .applied-items-grid {
        grid-template-columns: 1fr;
    }
    
    /* Advantages section responsive */
    .advantages-title-wrapper {
        min-height: 150px;
    }
    
    .advantages-list {
        padding: 30px 20px;
    }
}

@media only screen and (min-width: 992px) {
    .woocommerce.archive .technum_shop_loop ul.products li.product,
    .woocommerce-page .technum_shop_loop ul.products li.product,
    .woocommerce.archive ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 33.3333% !important;
    }
}

/* Remove default WooCommerce styling */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

.woocommerce ul.products li.product .attachment-woocommerce_link:before,
.woocommerce ul.products li.product .attachment-woocommerce_link:after {
    display: none !important;
}

/* Add product categories display */
.woocommerce.archive .technum_shop_loop ul.products li.product .product-categories a,
.woocommerce-page .technum_shop_loop ul.products li.product .product-categories a,
.woocommerce.archive ul.products li.product .product-categories a,
.woocommerce-page ul.products li.product .product-categories a {
    color: #666 !important;
    text-decoration: none !important;
}

.woocommerce.archive .technum_shop_loop ul.products li.product .product-categories a:hover,
.woocommerce-page .technum_shop_loop ul.products li.product .product-categories a:hover,
.woocommerce.archive ul.products li.product .product-categories a:hover,
.woocommerce-page ul.products li.product .product-categories a:hover {
    color: #007bff !important;
}

/* Custom Product Tabs Styles */
.technum-product-tabs-wrapper {
    margin: 40px 0 20px 0 !important;
    clear: both !important;
    padding-top: 20px !important;
}

/* Desktop tabs - 强制移除所有列表样式 */
.technum-nav-tabs {
    display: flex !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 2px solid #e0e0e0 !important;
    background: none !important;
}

.technum-nav-tabs .technum-nav-item {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

.technum-nav-tabs .technum-nav-item::before,
.technum-nav-tabs .technum-nav-item::after {
    display: none !important;
    content: none !important;
}

.technum-nav-tabs .technum-nav-link {
    display: block !important;
    padding: 15px 25px !important;
    text-decoration: none !important;
    color: #666 !important;
    background: #f8f8f8 !important;
    border: 1px solid #ddd !important;
    border-bottom: none !important;
    margin-right: 5px !important;
    border-radius: 5px 5px 0 0 !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.technum-nav-tabs .technum-nav-link:hover {
    background: #e8e8e8 !important;
    color: #333 !important;
}

.technum-nav-tabs .technum-nav-link.active {
    background: #fff !important;
    color: #333 !important;
    border-bottom: 1px solid #fff !important;
    margin-bottom: -1px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile dropdown */
.technum-mobile-dropdown {
    display: none !important;
    margin-bottom: 20px !important;
}

.technum-dropdown-toggle {
    width: 100% !important;
    padding: 15px !important;
    background: #f8f8f8 !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: 500 !important;
}

.technum-dropdown-toggle:after {
    content: "▼" !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

.technum-dropdown-toggle.active:after {
    transform: rotate(180deg) !important;
}

.technum-dropdown-menu {
    display: none !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-top: none !important;
    border-radius: 0 0 5px 5px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.technum-dropdown-menu.show {
    display: block !important;
}

.technum-dropdown-item {
    display: block !important;
    padding: 12px 15px !important;
    text-decoration: none !important;
    color: #666 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background 0.3s ease !important;
}

.technum-dropdown-item:hover,
.technum-dropdown-item.active {
    background: #f8f8f8 !important;
    color: #333 !important;
}

.technum-dropdown-item:last-child {
    border-bottom: none !important;
}

/* Tab content */
.technum-tab-content {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 0 5px 5px 5px !important;
    padding: 25px !important;
    min-height: 200px !important;
}

.technum-tab-pane {
    display: none !important;
    animation: fadeIn 0.3s ease-in-out !important;
}

.technum-tab-pane.active {
    display: block !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive design */
@media (max-width: 768px) {
    .technum-nav-tabs {
        display: none !important;
    }
    
    .technum-mobile-dropdown {
        display: block !important;
    }
    
    .technum-tab-content {
        border-radius: 5px !important;
        padding: 20px !important;
    }
}

/* Table styles for specifications and downloads */
.technum-tab-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
}

.technum-tab-content table td,
.technum-tab-content table th {
    padding: 12px !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

.technum-tab-content table th {
    background: #f8f8f8 !important;
    font-weight: 600 !important;
}

.technum-tab-content table tr:nth-child(even) {
    background: #f9f9f9 !important;
}

.technum-tab-content table tr:hover {
    background: #f0f0f0 !important;
}

/* Content area styles for dimensions and flow chart */
.technum-tab-content .dimensions-content,
.technum-tab-content .flow-chart-content {
    line-height: 1.6 !important;
}

.technum-tab-content .dimensions-content img,
.technum-tab-content .flow-chart-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin: 10px 0 !important;
}

/* Download button styles */
.technum-tab-content .download-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

.technum-tab-content .download-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #007cba 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    color: white !important;
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
    .technum-tab-content {
        padding: 15px !important;
    }
    
    .technum-tab-content table {
        font-size: 14px !important;
    }
    
    .technum-tab-content table td,
    .technum-tab-content table th {
        padding: 8px !important;
    }
}

/* Content area styles */
.dimensions-content,
.flow-chart-content {
    line-height: 1.6 !important;
}

.dimensions-content img,
.flow-chart-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    margin: 20px 0 !important;
}

/* Download button styles */
.download-link {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: white !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    display: inline-block !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,124,186,0.3) !important;
}

.download-link:hover {
    background: linear-gradient(135deg, #005a87 0%, #007cba 100%) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,124,186,0.4) !important;
}

/* Related Products Section */
.single-product .related.products {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.single-product .related.products h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.single-product .related.products .technum_shop_loop {
    margin: 0;
}

.single-product .related.products .products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.single-product .related.products ul.products li.product {
    width: calc(50% - 10px);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

@media only screen and (min-width: 768px) {
    .single-product .related.products ul.products li.product {
        width: calc(50% - 10px);
    }
}

@media only screen and (min-width: 992px) {
    .single-product .related.products ul.products li.product {
        width: calc(25% - 15px);
    }
}

/* ===== Project Detail Page Styles ===== */
/* Global background for project detail pages */
html.single-technum_project,
body.single-technum_project,
.single-technum_project body,
.single-technum_project {
    background: #f6f6f6 !important;
    background-color: #f6f6f6 !important;
    min-height: 100vh;
}

/* Ensure main content area also has the background */
.single-technum_project .site-main,
.single-technum_project .content-area,
.single-technum_project main {
    background: #f6f6f6 !important;
}

.project-detail {
    padding: 40px 0;
}

/* Project Header */
.project-header {
    margin-bottom: 40px;
    text-align: center;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.project-featured-image {
    margin-bottom: 30px;
}

.project-featured-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Project Content */
.project-content {
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Section Styles */
.industry-info-section,
.advantages-section,
.why-suitable-section,
.applied-in-section,
.bottom-info-section {
    margin-bottom: 60px;
}

.applied-in-section{
    background: #0c4461;
    width: 100%;
    padding: 60px 0;
    margin-bottom: 60px;
    position: relative;
}

.applied-in-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    color: #fff;
    margin-bottom: 30px;
    text-align: left;
}

.applied-in-section .section-title::after {
    display: none;
}

.applied-in-section .applied-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #fff;
}

.applied-in-section .applied-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.applied-in-section .applied-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.applied-in-section .applied-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.applied-in-section .applied-item-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.applied-in-section .applied-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.suitable-for-section{
    background: #fff;
    width: 100%;
    padding: 60px 0;
}

.suitable-for-section .suitable-image{
    position: relative;
    margin-top: min(-5.60417vw, -25px);
}

.suitable-for-section .section-title{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    color: #0c4461;
    margin-bottom: 30px;
}

/* Industry Info Section - Enhanced with background */
.industry-info-section {
    background-image: url('https://yiming-en.oss-ap-northeast-1.aliyuncs.com/project_info_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.industry-info-section .row {
    position: relative;
    z-index: 2;
}

.industry-info-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-align: left;
    margin-left: 30px;
}

.industry-info-section .section-title::after {
    left: 0;
    transform: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

/* Industry Info Section */
.industry-summary {
    font-size: 1rem;
    line-height: 2;
    color: #fff;
    margin-left: 30px;

}

.industry-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments for industry info section */
@media (max-width: 991px) {
  
    .industry-info-section .industry-image {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .industry-info-section .col-lg-6:first-child {
        margin-bottom: 30px;
    }
    
    .industry-info-section .col-lg-6:last-child {
        padding-left: 15px;
        margin-top: 0;
    }
    
    .industry-info-section .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .industry-info-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Advantages Section */
.advantages-section {
    background: #fff;
    margin-bottom: 60px;
    min-height: 237px;
}

.advantages-section .row {
    margin: 0;
    display: flex;
    align-items: stretch;
}

.advantages-title-wrapper {
    position: relative;
    height: 100%;
    min-height: 237px;
    display: flex;
    align-items: center;
}

.advantages-title-wrapper::before {
    content: "";
    background: url('https://yiming-en.oss-ap-northeast-1.aliyuncs.com/bg/product_adv-bg.png') no-repeat 50% / cover;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

.advantages-title {
    color: #fff;
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    margin: 0;
    width: 100%;
}

.advantages-list {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: max(4.01042vw, 38px) 0 max(4.01042vw, 38px) 35px;
    list-style: none;
    min-height: 200px;
}

.advantages-list li {
    font-family: Helvetica-Regular, sans-serif;
    font-size: 1rem;
    line-height: 2;
    color: #000;
    margin: 0;
    padding: 0;
}

/* Why Suitable Section */
.why-suitable-section {
    margin-bottom: 60px;
}

.why-suitable-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    margin-bottom: max(1.51042vw, 14.5px);
    color: #0c4461;
    text-align: left;
    position: relative;
}

.why-suitable-section .section-title::after {
    display: none;
}

.why-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: why-counter;
}

.why-item {
    margin-bottom: 30px;
    counter-increment: why-counter;
}

.why-item-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 30px;
}

.why-item-title::before {
    content: counter(why-counter);
    position: absolute;
    left: 0;
    top: 0;
    color: #0c4461;
    font-weight: 700;
    font-size: 1rem;
    line-height: 2;
}

.why-item-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    padding-left: 30px;
}

/* Suitable For Section */
.suitable-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.suitable-item {
    background: #f5f5f5;
    position: relative;
    padding: 26px 30px;
}

.suitable-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.suitable-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    color: #0c4461;
}

.suitable-item-content {
    color: #666;
    line-height: 1.7;
}

/* Bottom Info Section */
.bottom-info-section {
    padding: 60px 0;
    margin-bottom: 60px;
}

.bottom-suitable-for,
.recommended-models {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    margin-bottom: 40px;
}

.bottom-suitable-for .subsection-title,
.recommended-models .subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    color: #0c4461;
    margin-bottom: 20px;
}

.suitable-list,
.models-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.suitable-list li,
.models-list li {
    background: #e2edf2;
    color: #0c4461;
    list-style: none;
    padding: 7px 20px 10px !important;
    border-radius: 0;
    border-bottom: none;
    position: static;
    padding-left: 20px;
    font-size: 1rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.suitable-list li:hover,
.models-list li:hover {
    background: #d1e7f0;
    transform: translateY(-2px);
}

.suitable-list li::before,
.models-list li::before {
    display: none;
}

/* Project Navigation */
.project-navigation {
    background: #fff;
    padding: 60px 0;
    margin-top: 0;
    margin-bottom: 60px;
    border-top: none;
}

.project-navigation .subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3333333333;
    color: #0c4461;
    margin-bottom: 20px;
    text-align: center;
}

.navigation-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: inline-block;
    padding: 7px 20px 10px;
    background: #e2edf2;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: #0c4461;
    transition: all 0.3s ease;
    height: auto;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.nav-link:hover {
    background: #d1e7f0;
    border-color: transparent;
    text-decoration: none;
    color: #0c4461;
    transform: translateY(-2px);
    box-shadow: none;
}

.nav-link span {
    display: inline;
    font-size: 1rem;
    color: #0c4461;
    margin-bottom: 0;
    margin-right: 5px;
}

.nav-link strong {
    display: inline;
    font-size: 1rem;
    font-weight: 600;
    color: #0c4461;
}

.nav-link i {
    margin: 0 5px;
    color: #0c4461;
}

.prev-project,
.next-project {
    text-align: center;
}

.project-navigation .row {
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .industry-info-section .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .industry-info-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .industry-info-section {
        padding: 60px 0;
    }
    
    .suitable-for-section {
        padding: 40px 0;
    }
    
    .applied-in-section {
        padding: 40px 0;
    }
    
    .applied-in-section .applied-items-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-list {
        grid-template-columns: 1fr;
    }
    
    .suitable-items-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-info-section {
        padding: 30px 0;
    }
    
    .bottom-suitable-for,
    .recommended-models {
        margin-bottom: 30px;
    }
    
    .suitable-list,
    .models-list {
        gap: 10px;
    }
    
    .suitable-list li,
    .models-list li {
        padding: 5px 15px 8px;
        font-size: 0.9rem;
    }
    
    .project-navigation {
        padding: 40px 0;
    }
    
    .navigation-links {
        gap: 10px;
        justify-content: center;
    }
    
    .nav-link {
        padding: 5px 15px 8px;
        font-size: 0.9rem;
    }
    
    .project-navigation .col-6 {
        margin-bottom: 0;
    }
    
    .next-project {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .project-detail {
        padding: 20px 0;
    }
    
    .suitable-item {
        padding: 20px;
    }
    
    .applied-in-section .applied-item {
        padding: 20px;
    }
    
    .advantage-item {
        padding: 12px 15px;
    }
}

/* Portfolio Categories Styling */
.portfolio-item-categories {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.portfolio-item-categories a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-item-categories a:hover {
    color: #007cba;
}

.portfolio-item-content .post-title {
    margin-bottom: 5px;
}

.portfolio-item-content .post-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.portfolio-item-content .post-title a:hover {
    color: #007cba;
}

/* Portfolio Archive Filter Styling */
.portfolio-archive-listing .filter-control-wrapper {
    margin-bottom: 30px;
}

.portfolio-archive-listing.loading {
    opacity: 0.6;
    pointer-events: none;
}

.portfolio-archive-listing.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure portfolio items have proper spacing */
.portfolio-grid-listing.columns-2 .portfolio-item-wrapper {
    width: 50%;
    padding: 15px;
}

.portfolio-grid-listing.columns-3 .portfolio-item-wrapper {
    width: 33.333%;
    padding: 15px;
}

.portfolio-grid-listing.columns-4 .portfolio-item-wrapper {
    width: 25%;
    padding: 15px;
}

@media (max-width: 768px) {
    .portfolio-grid-listing .portfolio-item-wrapper {
        width: 100% !important;
        padding: 10px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .portfolio-grid-listing.columns-3 .portfolio-item-wrapper,
    .portfolio-grid-listing.columns-4 .portfolio-item-wrapper {
        width: 50%;
    }
}

/* Modern Product Cards Grid Layout */
.woocommerce.archive .products,
.woocommerce-page .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
}

.woocommerce.archive .products li.product,
.woocommerce-page .products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure modern product cards take full height */
.modern-product-card > div {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.modern-product-card .p-6 {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.modern-product-card .p-6 > div:first-child {
    flex: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce.archive .products,
    .woocommerce-page .products {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1rem 0 !important;
    }
    
    .modern-product-card .h-64 {
        height: 12rem !important;
    }
    
    .modern-product-card .p-6 {
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .modern-product-card .h-64 {
        height: 10rem !important;
    }
    
    .modern-product-card .text-xl {
        font-size: 1.125rem !important;
    }
    
    .modern-product-card .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Hide default WooCommerce elements that conflict with modern design */
.woocommerce.archive .woocommerce-loop-product__wrapper,
.woocommerce-page .woocommerce-loop-product__wrapper {
    display: none !important;
}

.modern-product-card .woocommerce-loop-product__wrapper {
    display: block !important;
}

/* Ensure proper spacing for shop page */
.woocommerce.archive .content-inner,
.woocommerce-page .content-inner {
    padding: 2rem 1rem !important;
}

/* Modern product card animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-product-card {
    animation: slideUp 0.6s ease-out forwards;
}

.modern-product-card:nth-child(1) { animation-delay: 0.1s; }
.modern-product-card:nth-child(2) { animation-delay: 0.2s; }
.modern-product-card:nth-child(3) { animation-delay: 0.3s; }
.modern-product-card:nth-child(4) { animation-delay: 0.4s; }
.modern-product-card:nth-child(5) { animation-delay: 0.5s; }
.modern-product-card:nth-child(6) { animation-delay: 0.6s; }

/* Improve product image loading */
.modern-product-card img {
    transition: all 0.3s ease !important;
    background-color: #f8fafc !important;
}

.modern-product-card img:hover {
    transform: scale(1.05) !important;
}

/* Enhanced hover effects */
.modern-product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Price styling improvements */
.modern-product-card .woocommerce-Price-amount {
    font-weight: 700 !important;
    color: #ea580c !important;
}

.modern-product-card .woocommerce-Price-currencySymbol {
    font-size: 0.9em !important;
}

/* Category badge improvements */
.modern-product-card .bg-orange-100 {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%) !important;
    border: 1px solid #fb923c !important;
}

/* Button improvements */
.modern-product-card a[class*="bg-orange-500"] {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.3) !important;
    transition: all 0.3s ease !important;
}

.modern-product-card a[class*="bg-orange-500"]:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
    box-shadow: 0 6px 20px 0 rgba(249, 115, 22, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ===== Custom Solution Banner Styles ===== */
.custom-solution-banner {
    margin: 3rem 0 2rem 0;
    padding: 0 1rem;
}

.banner-gradient {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
    position: relative;
    overflow: hidden;
}

.banner-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.banner-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-description {
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.95;
}

.banner-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #f97316;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.banner-button:hover {
    background: #f8fafc;
    color: #ea580c;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.banner-button svg {
    transition: transform 0.3s ease;
}

.banner-button:hover svg {
    transform: translateX(4px);
}

/* Banner Responsive Design */
@media (max-width: 768px) {
    .custom-solution-banner {
        margin: 2rem 0 1rem 0;
        padding: 0 0.5rem;
    }
    
    .banner-gradient {
        padding: 1.5rem 1rem;
    }
    
    .banner-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .banner-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .banner-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.25rem;
    }
    
    .banner-description {
        font-size: 0.9rem;
    }
    
    .banner-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .banner-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Banner Animation */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-solution-banner {
    animation: slideUpFade 0.8s ease-out;
}

/* Banner Integration with existing theme styles */
.woocommerce.archive .custom-solution-banner,
.woocommerce-page .custom-solution-banner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* About Page Styles */
.about-page-wrapper {
    min-height: 100vh;
    background: white;
}

/* Hero Section */
.about-hero-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.2s both;
}

/* Statistics Section */
.about-stats-section {
    padding: 64px 0;
    background: #f1f5f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon svg {
    color: #f97316;
    margin: 0 auto;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
}

/* Story Section */
.about-story-section {
    padding: 80px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-content {
    animation: slideRight 0.8s ease-out;
}

.story-image {
    animation: slideLeft 0.8s ease-out;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.story-text {
    color: #475569;
    line-height: 1.6;
}

.story-text p {
    margin-bottom: 1rem;
}

.story-img {
    width: 100%;
    height: 384px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.about-values-section {
    padding: 80px 0;
    background: #f8fafc;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 768px;
    margin: 0 auto;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: box-shadow 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.value-item:nth-child(1) { animation-delay: 0s; }
.value-item:nth-child(2) { animation-delay: 0.1s; }
.value-item:nth-child(3) { animation-delay: 0.2s; }
.value-item:nth-child(4) { animation-delay: 0.3s; }

.value-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    margin-bottom: 1rem;
}

.value-icon svg {
    color: #f97316;
    margin: 0 auto;
}

.value-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.value-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Timeline Section */
.about-timeline-section {
    padding: 80px 0;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-wrapper {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #fed7aa;
}

.timeline-items {
    position: relative;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease-out;
}

.timeline-item:nth-child(1) { animation-delay: 0s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }
.timeline-item:nth-child(5) { animation-delay: 0.8s; }
.timeline-item:nth-child(6) { animation-delay: 1s; }

.timeline-left {
    flex-direction: row;
}

.timeline-right {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 50%;
}

.timeline-left .timeline-content {
    padding-right: 2rem;
    text-align: right;
}

.timeline-right .timeline-content {
    padding-left: 2rem;
    text-align: left;
}

.timeline-card {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-weight: bold;
    color: #f97316;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: #475569;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #f97316;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.about-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: white;
}

.cta-content {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #f97316;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.cta-button:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-hero-section,
    .about-stats-section,
    .about-story-section,
    .about-values-section,
    .about-timeline-section,
    .about-cta-section {
        padding: 40px 0;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 1rem;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 2rem;
    }
    
    .timeline-content {
        width: 100%;
        padding-left: 1rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 1rem;
        transform: translateX(-50%);
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .timeline-card {
        padding: 0.75rem;
    }
    
    .cta-button {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Animation Keyframes */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Modern Product Tabs Styles
   =================================== */

.modern-product-tabs {
    margin-top: 3rem;
}

.modern-product-tabs .border-b {
    border-bottom: 1px solid #e2e8f0;
}

.modern-product-tabs .border-slate-200 {
    border-color: #e2e8f0;
}

.modern-product-tabs nav {
    margin-bottom: -1px;
    display: flex;
    gap: 2rem;
}

.modern-tab-button {
    white-space: nowrap;
    padding: 1rem 0.25rem;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    color: #64748b;
}

.modern-tab-button:hover {
    color: #334155;
    border-bottom-color: #cbd5e1;
}

.modern-tab-button.border-orange-500 {
    border-bottom-color: #f97316;
    color: #ea580c;
}

.modern-tab-button.text-orange-600 {
    color: #ea580c;
}

.modern-tab-button.text-slate-500 {
    color: #64748b;
}

.modern-tab-button.text-slate-700 {
    color: #334155;
}

.modern-tab-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.modern-tab-content {
    padding: 2rem 0;
    max-width: none;
}

.modern-tab-content.hidden {
    display: none;
}

.modern-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Prose styles for tab content */
.modern-tab-content.prose {
    color: #374151;
    line-height: 1.75;
}

.modern-tab-content.prose h1,
.modern-tab-content.prose h2,
.modern-tab-content.prose h3,
.modern-tab-content.prose h4 {
    color: #111827;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modern-tab-content.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.modern-tab-content.prose p {
    margin-bottom: 1.25rem;
}

.modern-tab-content.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modern-tab-content.prose table thead {
    background-color: #f8fafc;
}

.modern-tab-content.prose table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.modern-tab-content.prose table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    border-bottom: 1px solid #e2e8f0;
}

.modern-tab-content.prose table tbody tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5);
}

.modern-tab-content.prose table tbody tr:hover {
    background-color: #f1f5f9;
}

.modern-tab-content.prose table tbody tr td:first-child {
    font-weight: 500;
    color: #1f2937;
}

.modern-tab-content.prose table tbody tr td:last-child {
    color: #64748b;
}

/* Responsive design */
@media (max-width: 768px) {
    .modern-product-tabs nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .modern-tab-button {
        padding: 0.75rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .modern-tab-button svg {
        width: 16px;
        height: 16px;
    }
    
    .modern-tab-content {
        padding: 1.5rem 0;
    }
    
    .modern-tab-content.prose table {
        font-size: 0.8rem;
    }
    
    .modern-tab-content.prose table th,
    .modern-tab-content.prose table td {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 640px) {
    .modern-product-tabs nav {
        flex-direction: column;
        gap: 0;
    }
    
    .modern-tab-button {
        justify-content: center;
        padding: 1rem;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
    }
    
    .modern-tab-button:last-child {
        border-bottom: 2px solid transparent;
    }
    
    .modern-tab-button.border-orange-500 {
        background-color: rgba(249, 115, 22, 0.05);
        border-bottom-color: #f97316;
    }
}

/* Enhanced table styles for specifications */
.modern-tab-content .overflow-x-auto {
    overflow-x: auto;
    background: white;
    padding: 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.modern-tab-content .min-w-full {
    min-width: 100%;
}

.modern-tab-content .divide-y {
    border-collapse: separate;
    border-spacing: 0;
}

.modern-tab-content .divide-slate-200 > * + * {
    border-top: 1px solid #e2e8f0;
}

.modern-tab-content .bg-slate-50 {
    background-color: #f8fafc;
}

.modern-tab-content .bg-white {
    background-color: white;
}

.modern-tab-content .bg-slate-50\/50 {
    background-color: rgba(248, 250, 252, 0.5);
}

/* Download button styles */
.modern-tab-content .inline-flex {
    display: inline-flex;
    align-items: center;
}

.modern-tab-content .items-center {
    align-items: center;
}

.modern-tab-content .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.modern-tab-content .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.modern-tab-content .border {
    border-width: 1px;
}

.modern-tab-content .border-transparent {
    border-color: transparent;
}

.modern-tab-content .text-sm {
    font-size: 0.875rem;
}

.modern-tab-content .font-medium {
    font-weight: 500;
}

.modern-tab-content .rounded-md {
    border-radius: 0.375rem;
}

.modern-tab-content .text-white {
    color: white;
}

.modern-tab-content .bg-orange-600 {
    background-color: #ea580c;
}

.modern-tab-content .hover\:bg-orange-700:hover {
    background-color: #c2410c;
}

.modern-tab-content .focus\:outline-none:focus {
    outline: none;
}

.modern-tab-content .focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.5);
}

.modern-tab-content .focus\:ring-offset-2:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(249, 115, 22, 0.5);
}

.modern-tab-content .focus\:ring-orange-500:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(249, 115, 22, 0.5);
}

.modern-tab-content .transition-colors {
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.modern-tab-content .duration-200 {
    transition-duration: 0.2s;
}

.modern-tab-content .mr-2 {
    margin-right: 0.5rem;
}

/* Typography utilities */
.modern-tab-content .text-xl {
    font-size: 1.25rem;
}

.modern-tab-content .font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.modern-tab-content .font-semibold {
    font-weight: 600;
}

.modern-tab-content .text-slate-800 {
    color: #1e293b;
}

.modern-tab-content .mb-4 {
    margin-bottom: 1rem;
}

.modern-tab-content .text-center {
    text-align: center;
}

.modern-tab-content .whitespace-nowrap {
    white-space: nowrap;
}

/* Enhanced content styling */
.modern-tab-content .dimensions-content,
.modern-tab-content .flow-chart-content {
    line-height: 1.75;
    color: #374151;
}

.modern-tab-content .dimensions-content img,
.modern-tab-content .flow-chart-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.modern-tab-content .dimensions-content h1,
.modern-tab-content .dimensions-content h2,
.modern-tab-content .dimensions-content h3,
.modern-tab-content .dimensions-content h4,
.modern-tab-content .flow-chart-content h1,
.modern-tab-content .flow-chart-content h2,
.modern-tab-content .flow-chart-content h3,
.modern-tab-content .flow-chart-content h4 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modern-tab-content .dimensions-content p,
.modern-tab-content .flow-chart-content p {
    margin-bottom: 1.25rem;
    color: #374151;
}

/* Mobile optimizations for download buttons */
@media (max-width: 640px) {
    .modern-tab-content .inline-flex {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .modern-tab-content .mr-2 {
        margin-right: 0.25rem;
    }
    
    .modern-tab-content svg {
        width: 14px;
        height: 14px;
    }
}

/* WooCommerce Shop Page Product Grid Optimization */
/* Base grid: use 4 columns on desktop, fall back via media queries below */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 40px 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Ensure theme shop grid wrapper also uses CSS Grid */
.technum_shop_loop.shop_mode_grid ul.products,
.shop_mode_grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 30px !important;
}

/* Prevent WooCommerce clearfix pseudo-elements from occupying first grid cell */
/* Also catch cases without body woocommerce classes */
.woocommerce ul.products:before,
.woocommerce ul.products:after,
.woocommerce-page ul.products:before,
.woocommerce-page ul.products:after,
ul.products:before,
ul.products:after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* Respect WooCommerce column classes on desktop */
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr) !important; }

/* Neutralize float/clear logic that can shift the first item */
.woocommerce ul.products li.product,
.technum_shop_loop ul.products li.product {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    width: auto !important;
    display: block !important;
}
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.technum_shop_loop ul.products li.product.first,
.technum_shop_loop ul.products li.product.last {
    float: none !important;
    clear: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.woocommerce ul.products.columns-4 li.product:nth-child(4n+1),
.technum_shop_loop ul.products.columns-4 li.product:nth-child(4n+1) {
    margin-left: 0 !important;
}

/* Product Item Styles */
.woocommerce .product-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.woocommerce .product-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    /* transform: translateY(-2px); */
}

.woocommerce .product-item-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.woocommerce .product-item-media {
    position: relative;
    display: block;
    padding-top: 100%;
    overflow: hidden;
    background: #fff;
}

.woocommerce .product-item-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.woocommerce .product-item:hover .product-item-media img {
    /* transform: scale(1.08); */
}

.woocommerce .product-item-content {
    padding: 0px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.woocommerce .product-item-content .post-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce .product-item-content .post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woocommerce .product-item-content .post-title a:hover {
    color: #e74c3c;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .woocommerce ul.products,
    .woocommerce ul.products.columns-1,
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    
    .woocommerce .product-item-content .post-title {
        font-size: 16px;
        min-height: 48px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce ul.products.columns-1,
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .woocommerce ul.products li.product {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
    }
    
    .woocommerce ul.products[class*=columns-] li.product:nth-child(n) {
        float: none !important;
        margin-right: 0 !important;
        clear: none !important;
        width: 100% !important;
    }
    
    .woocommerce .product-item-content {
        padding: 15px;
    }
}

/* ============================= */
/* Custom Footer Styles */
/* ============================= */

/* Footer Widget Styles */
.footer-widget {
    margin-bottom: 30px;
}

.footer-widget .widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007acc;
    display: inline-block;
}

.footer-widget .widget-content {
    color: #ffffff;
    line-height: 1.6;
}

.footer-widget .widget-content p {
    margin-bottom: 15px;
}

/* Company Contact Styles */
.company-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #ffffff;
}

.company-contact .contact-item i {
    color: #007acc;
    width: 20px;
    margin-right: 10px;
    font-size: 14px;
}

.company-contact .contact-item span {
    font-size: 14px;
}

/* Footer Widget Styles */
.footer-widget .widget-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
}

.footer-widget .widget-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #b8b8b8 !important;
    margin-bottom: 20px !important;
}

.company-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px !important;
    color: #b8b8b8 !important;
}

.company-contact .contact-item i {
    margin-right: 10px;
    width: 16px;
    color: #007acc;
    font-size: 14px !important;
}

.company-contact .contact-item span {
    font-size: 14px !important;
    color: #b8b8b8 !important;
}

/* Footer Menu Styles */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
}

.footer-menu li:before {
    content: "›";
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: bold;
}

.footer-menu li a {
    color: #b8b8b8 !important;
    text-decoration: none;
    font-size: 14px !important;
    transition: color 0.3s ease;
    line-height: 1.6 !important;
    font-weight: normal !important;
    display: block;
    white-space: normal;
}

.footer-menu li a:hover {
    color: #007acc !important;
}

/* More specific selector for footer menu links */
.footer-widget .footer-menu li a,
.footer-section .footer-menu li a {
    color: #b8b8b8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: normal !important;
    transition: color 0.3s ease;
    display: block !important;
    white-space: normal !important;
}


/* Footer Additional Menu */
.footer-additional-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-additional-menu li {
    margin-left: 20px;
}

.footer-additional-menu li a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-additional-menu li a:hover {
    color: #007acc;
}

/* Footer WeChat QR Code */
.footer-wechat-widget .widget-content {
    text-align: left;
}

.wechat-qr-container {
    display: inline-block;
}

.wechat-qr-code {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 3px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 10px;
    display: block;
}

.wechat-text {
    font-size: 12px !important;
    color: #999 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: center;
}

/* Mobile responsive for WeChat QR */
@media (max-width: 768px) {
    .footer-wechat-widget {
        margin-top: 30px;
        text-align: center;
    }
    
    .footer-wechat-widget .widget-content {
        text-align: center;
    }
    
    .wechat-qr-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .wechat-qr-code {
        width: 70px;
        height: 70px;
    }
}

/* Footer Copyright */
.footer-copyrights-container p {
    margin: 0;
    color: #b8b8b8;
    font-size: 14px;
}

.footer-copyrights-container a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyrights-container a:hover {
    color: #007acc;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-widget {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-additional-menu {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-additional-menu li {
        margin: 0 10px;
    }
    
    .footer-copyrights-container {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .company-contact .contact-item {
        justify-content: center;
    }
}

/* Downloads page styling to match applications */
.downloads-grid .download-item-wrapper {
    margin-bottom: 30px;
}

.download-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.download-item:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.download-item-media {
    display: block;
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio for square */
}

.download-item-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.download-item:hover .download-item-media img {
    transform: scale(1.05);
}

.download-placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.download-item-content {
    padding: 20px;
}

.download-item-content .post-title {
    margin-bottom: 10px;
}

.download-item-content .post-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.download-item-content .post-title a:hover {
    color: #667eea;
}

.download-item-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Remove grid layout inconsistencies */
.downloads-grid.download-grid-listing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .downloads-grid.download-grid-listing {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .downloads-grid.download-grid-listing {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .downloads-grid.download-grid-listing {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
