/* ========================================
   引入可自定义文字大小模板
   ======================================== */
@import url('typography.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333);
    background-color: var(--bg-color, #f5f5f5);
    overflow-x: hidden;
    padding-top: 110px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color, #1a1a2e);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .contact-info span {
    margin-right: 30px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: var(--primary-color, #1a1a2e);
    font-size: 28px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color, #333);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color, #e74c3c);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-all-products-btn {
    display: none;
}

.nav-dropdown:hover .nav-all-products-btn {
    display: block;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 95%;
    max-width: 1600px;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color, #e74c3c);
    text-align: center;
    border-bottom: 2px solid var(--accent-color, #e74c3c);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1002;
    transition: all 0.3s ease;
}

.nav-dropdown:hover .nav-all-products-btn:hover {
    background: #f8f8f8;
}

.nav-dropdown:hover .nav-dropdown-menu {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 95vw;
    max-width: 1600px;
}

.nav-dropdown-menu {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    width: 95vw;
    max-width: 1600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 12px;
    list-style: none;
    padding: 20px 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 15px;
    pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-all-products {
    grid-column: 1 / -1;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color, #e74c3c);
}

.nav-dropdown-all-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color, #e74c3c);
    display: block;
    transition: opacity 0.3s;
}

.nav-dropdown-all-link:hover {
    opacity: 0.8;
}

.nav-dropdown-column {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-right: 1px solid #eee;
}

.nav-dropdown-column:last-child {
    border-right: none;
}

.nav-dropdown-column-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 4px;
    display: block;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.nav-dropdown-column-title:hover {
    background: linear-gradient(135deg, var(--accent-color, #e74c3c) 0%, #d63031 100%);
    color: #fff;
}

.nav-dropdown-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-dropdown-submenu li {
    margin: 0;
}

/* 二级分类 */
.nav-dropdown-submenu > li > a {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-dropdown-submenu > li > a:hover {
    color: var(--accent-color, #e74c3c);
    background: #f9f9f9;
    border-radius: 3px;
}

/* 三级分类 - 缩进 */
.nav-sub-level-2 > a {
    padding-left: 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555 !important;
}

.nav-sub-level-2 > a:hover {
    color: var(--accent-color, #e74c3c) !important;
    background: #f5f5f5 !important;
}

/* 四级分类 - 更多缩进 */
.nav-sub-level-3 > a {
    padding-left: 26px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #777 !important;
}

.nav-sub-level-3 > a:hover {
    color: var(--accent-color, #e74c3c) !important;
    background: #f5f5f5 !important;
}

@media (max-width: 1200px) {
    .nav-dropdown-menu {
        grid-template-columns: repeat(4, 1fr);
        gap: 0 20px;
    }
}

@media (max-width: 1024px) {
    .nav-dropdown-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-dropdown {
        position: relative;
    }
    
    .nav-dropdown-menu {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        padding: 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 15px;
        background: #f8f9fa;
    }
    
    .nav-dropdown-column {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .nav-dropdown-submenu {
        padding-left: 10px;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color, #1a1a2e) 0%, var(--secondary-color, #16213e) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.hero-slider-btn:hover {
    background: rgba(0,0,0,0.6);
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-dot.active {
    background: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,181.3C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero.page-banner {
    padding: 120px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.page-banner .container {
    position: relative;
    z-index: 2;
}

.hero.page-banner .hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 60px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.hero.page-banner h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
}

.hero.page-banner p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-btns {
    display: inline-flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-hero,
.btn-hero-outline {
    display: inline-block;
    min-width: 180px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-hero {
    background: var(--accent-color, #e74c3c);
    color: #fff;
    border: 2px solid var(--accent-color, #e74c3c);
}

.btn-hero:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.btn {
    display: inline-block;
    background: var(--accent-color, #e74c3c);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--accent-color, #e74c3c);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.home-about {
    background: #fff;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-about-text .section-label {
    margin-bottom: 16px;
}

.home-about-text h2 {
    font-size: 28px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 16px;
    line-height: 1.4;
}

.home-about-subtitle {
    font-size: 16px;
    color: var(--accent-color, #e74c3c);
    margin-bottom: 20px;
    font-weight: 500;
}

.home-about-text p {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 15px;
}

.home-about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.home-about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.home-about-new {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    padding: 40px 0;
}

.home-about-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 60px;
}

.vertical-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color, #4CAF50);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 3px;
}

.vertical-text {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.home-about-content {
    flex: 1;
}

.home-about-top-text {
    font-size: 14px;
    color: var(--accent-color, #4CAF50);
    margin-bottom: 16px;
    font-weight: 500;
}

.home-about-main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color, #1a1a2e);
    line-height: 1.3;
    margin-bottom: 20px;
}

.home-about-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.home-about-desc p {
    margin-bottom: 12px;
}

.btn-about-green {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.btn-about-green:hover {
    opacity: 0.9;
}

.home-about-image-new {
    position: relative;
    flex: 0 0 400px;
    max-width: 400px;
}

.home-about-image-new img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.vr-display-btn {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    padding: 20px 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.vr-display-btn:hover {
    opacity: 0.9;
}

.vr-display-btn span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.play-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.home-advantages {
    background: var(--primary-color, #1a1a2e);
    padding: 80px 0;
}

.home-advantages .section-header {
    margin-bottom: 50px;
}

.home-advantages .section-label {
    color: var(--accent-color, #e74c3c);
}

.home-advantages .section-header h2 {
    color: #fff;
}

.home-advantages .section-header p {
    color: rgba(255,255,255,0.6);
}

.advantages-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card-new {
    background: var(--accent-color, #e74c3c);
    padding: 40px 32px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.advantage-card-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--accent-color, #e74c3c);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.advantage-card-new:hover {
    transform: translateY(-8px);
    background: #fff;
    box-shadow: 8px 8px 0 var(--accent-color, #e74c3c);
}

.advantage-card-new:hover::after {
    background: #fff;
}

.advantage-num-new {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.4s;
}

.advantage-card-new:hover .advantage-num-new {
    color: var(--accent-color, #e74c3c);
}

.num-line {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    transition: background 0.4s;
}

.advantage-card-new:hover .num-line {
    background: var(--accent-color, #e74c3c);
}

.advantage-icon-new {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: #fff;
    transition: all 0.4s;
}

.advantage-icon-new svg {
    width: 100%;
    height: 100%;
}

.advantage-card-new:hover .advantage-icon-new {
    color: var(--accent-color, #e74c3c);
    transform: scale(1.05);
}

.advantage-card-new h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.4s;
}

.advantage-card-new:hover h4 {
    color: var(--primary-color, #1a1a2e);
}

.advantage-card-new p {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    line-height: 1.7;
    transition: color 0.4s;
}

.advantage-card-new:hover p {
    color: #666;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.advantage-item h4 {
    font-size: 18px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 10px;
}

.advantage-item p {
    color: #888;
    font-size: 14px;
}

.home-certificates {
    background: #fff;
    padding: 80px 0;
}

.certificates-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 400px;
}

.cert-slider-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.cert-slider-btn:hover {
    border-color: var(--accent-color, #e74c3c);
    color: var(--accent-color, #e74c3c);
}

.certificates-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 420px;
    perspective: 1200px;
}

.certificate-slide {
    position: absolute;
    width: 280px;
    height: 380px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -190px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid #d4af37;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f0e8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.certificate-slide.pos-center {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.certificate-slide.pos-left-1 {
    transform: translateX(-180px) scale(0.8) rotateY(25deg);
    opacity: 0.7;
    z-index: 4;
}

.certificate-slide.pos-left-2 {
    transform: translateX(-320px) scale(0.65) rotateY(35deg);
    opacity: 0.5;
    z-index: 3;
}

.certificate-slide.pos-right-1 {
    transform: translateX(180px) scale(0.8) rotateY(-25deg);
    opacity: 0.7;
    z-index: 4;
}

.certificate-slide.pos-right-2 {
    transform: translateX(320px) scale(0.65) rotateY(-35deg);
    opacity: 0.5;
    z-index: 3;
}

.certificate-slide.pos-hidden {
    transform: translateX(0) scale(0.5) rotateY(0deg);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.certificate-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cert-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cert-lightbox.active {
    display: flex;
}

.cert-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 4px solid #d4af37;
    border-radius: 4px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.cert-lightbox img.zoomed {
    cursor: zoom-out;
}

.cert-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.cert-lightbox-close:hover {
    color: var(--accent-color, #e74c3c);
}

.home-products {
    background: #f8f9fb;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.home-products-new {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.home-products-info {
    flex: 0 0 320px;
}

.home-products-info .section-label {
    color: var(--accent-color, #4CAF50);
    margin-bottom: 16px;
}

.home-products-info h2 {
    font-size: 32px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 20px;
    font-weight: 700;
}

.home-products-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-products-green {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-products-green:hover {
    opacity: 0.9;
}

.home-products-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.prod-nav-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 4px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prod-nav-btn:hover {
    border-color: var(--accent-color, #4CAF50);
    color: var(--accent-color, #4CAF50);
}

.home-products-slider-wrapper {
    flex: 1;
    overflow: hidden;
}

.home-products-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-product-card-new {
    flex: 0 0 calc(33.333% - 14px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home-product-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.home-product-card-top {
    position: relative;
    padding: 24px;
    background: #fff;
}

.prod-card-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color, #4CAF50);
    letter-spacing: 1px;
}

.home-product-card-new .home-product-img-wrapper {
    background: transparent;
    border: none;
    padding: 20px;
    margin: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-product-card-new .home-product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-card-new .home-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

.home-product-card-bottom {
    padding: 20px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.home-product-card-new.active .home-product-card-bottom {
    background: #fff;
    border-top-color: #eee;
}

.home-product-card-new.active .home-product-card-bottom h3 a {
    color: var(--primary-color, #1a1a2e);
}

.home-product-card-new.active .prod-more-btn {
    background: var(--accent-color, #4CAF50);
    color: #fff;
}

.home-product-card-new h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    min-height: 44px;
}

.home-product-card-new h3 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.home-product-card-new h3 a:hover {
    color: var(--accent-color, #4CAF50);
}

.prod-more-btn {
    display: inline-block;
    padding: 8px 28px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 20px;
    transition: opacity 0.3s;
}

.prod-more-btn:hover {
    opacity: 0.9;
}

.home-cases {
    background: #fff;
    padding: 80px 0;
}

.home-cases-new {
    margin: 0 auto;
}

.home-cases-header {
    margin-bottom: 30px;
}

.home-cases-header .section-label {
    color: var(--accent-color, #4CAF50);
    margin-bottom: 12px;
}

.home-cases-header h2 {
    font-size: 32px;
    color: var(--primary-color, #1a1a2e);
    font-weight: 700;
}

.home-cases-slider-wrapper {
    position: relative;
}

.home-cases-slider {
    overflow: hidden;
}

.home-case-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.home-case-slide.active {
    display: block;
}

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

.home-case-img {
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: #f0f4f8;
    border-radius: 8px;
}

.home-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-case-content {
    padding: 24px 0;
}

.home-case-content h3 {
    font-size: 28px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 16px;
    font-weight: 700;
}

.home-case-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.btn-case-green {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.btn-case-green:hover {
    opacity: 0.9;
}

.home-cases-nav {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    gap: 4px;
}

.case-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 24px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.case-nav-btn:hover {
    color: var(--accent-color, #4CAF50);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.case-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.home-news {
    background: #fff;
    padding: 80px 0;
}

.home-news-new {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.home-news-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 60px;
}

.home-news-content {
    flex: 1;
}

.home-news-featured-new {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.home-news-featured-img {
    flex: 0 0 400px;
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
}

.home-news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-featured-info {
    flex: 1;
    padding-top: 10px;
}

.home-news-date-new {
    color: var(--accent-color, #4CAF50);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.home-news-featured-info h3 {
    font-size: 24px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.home-news-featured-info h3 a {
    color: var(--primary-color, #1a1a2e);
    text-decoration: none;
    transition: color 0.3s;
}

.home-news-featured-info h3 a:hover {
    color: var(--accent-color, #4CAF50);
}

.home-news-featured-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-news-green {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.btn-news-green:hover {
    opacity: 0.9;
}

.home-news-list-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    justify-content: center;
}

.home-news-card-new {
    background: #f5f5f5;
    padding: 28px 24px;
    border-radius: 4px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.home-news-card-new:hover,
.home-news-card-new.active {
    transform: translateY(-4px);
}

.home-news-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.home-news-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.85);
}

.home-news-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-card-new:hover .home-news-card-bg,
.home-news-card-new.active .home-news-card-bg {
    opacity: 1;
}

.home-news-card-content {
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.home-news-card-new:hover .home-news-card-content,
.home-news-card-new.active .home-news-card-content {
    color: #fff;
}

.home-news-card-date {
    color: #333;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.4s;
}

.home-news-card-new:hover .home-news-card-date,
.home-news-card-new.active .home-news-card-date {
    color: #fff;
}

.home-news-card-line {
    width: 30px;
    height: 2px;
    background: var(--accent-color, #4CAF50);
    margin-bottom: 16px;
    transition: background 0.4s;
}

.home-news-card-new:hover .home-news-card-line,
.home-news-card-new.active .home-news-card-line {
    background: #fff;
}

.home-news-card-new h4 {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    transition: color 0.4s;
}

.home-news-card-new h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.home-news-card-new:hover h4 a,
.home-news-card-new.active h4 a {
    color: #fff;
}

.home-news-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.home-news-item h4 a:hover {
    color: var(--accent-color, #e74c3c);
}

.about-section {
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

/* ===== About Page Certifications ===== */
.about-certifications-new {
    background: var(--bg-color, #f8f9fa);
    padding: 80px 0;
}

.cert-header-new {
    text-align: center;
    margin-bottom: 50px;
}

.cert-header-new h2 {
    font-size: 36px;
    color: var(--accent-color, #e74c3c);
    margin-bottom: 16px;
    font-weight: 700;
}

.cert-header-new p {
    color: #666;
    font-size: 16px;
}

.cert-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0 auto;
}

.cert-card-new {
    background: #fff;
    padding: 24px 28px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s;
}

.cert-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cert-card-new h4 {
    font-size: 16px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 8px;
    font-weight: 700;
}

.cert-card-new p {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.news-main {
    min-width: 0;
}

.news-list-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.news-list-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.news-list-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-list-image:hover img {
    transform: scale(1.05);
}

.news-list-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    font-size: 40px;
    color: #ccc;
}

.news-list-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-list-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-list-body h3 a {
    color: var(--primary-color, #1e3a5f);
    text-decoration: none;
    transition: color 0.2s;
}

.news-list-body h3 a:hover {
    color: var(--accent-color, #e74c3c);
}

.news-list-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
    flex: 1;
}

.news-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.news-list-date {
    color: #999;
    font-size: 13px;
}

.news-list-readmore {
    color: var(--accent-color, #e74c3c);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.news-list-readmore:hover {
    color: var(--primary-color, #1e3a5f);
}

.news-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.sidebar-title {
    font-size: 18px;
    color: var(--primary-color, #1e3a5f);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color, #e74c3c);
}

.hot-product-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    transition: background 0.2s;
}

.hot-product-item:last-child {
    border-bottom: none;
}

.hot-product-item:hover {
    background: #fafbfc;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 6px;
}

.hot-product-img {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
}

.hot-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    font-size: 24px;
}

.hot-product-info h4 {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    font-weight: normal;
}

.hot-product-item:hover .hot-product-info h4 {
    color: var(--accent-color, #e74c3c);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.page-btn:hover {
    border-color: var(--accent-color, #e74c3c);
    color: var(--accent-color, #e74c3c);
}

.page-btn.active {
    background: var(--accent-color, #e74c3c);
    border-color: var(--accent-color, #e74c3c);
    color: #fff;
}

.contact-section {
    background: #fff;
    padding: 60px 0;
}

.contact-section .container {
    max-width: 1600px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    color: var(--primary-color, #1a1a2e);
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after,
.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color, #e74c3c);
    border-radius: 2px;
}

.contact-item {
    margin-bottom: 25px;
    padding: 18px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color, #e74c3c);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.contact-item h4 {
    color: var(--accent-color, #e74c3c);
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-info .office-image {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

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

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color, #e74c3c);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.contact-form .btn {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.footer {
    background: var(--primary-color, #1a1a2e);
    color: var(--footer-text-color, #ccc);
    padding: 40px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-style: italic;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.footer-logo-divider {
    color: rgba(255,255,255,0.3);
    font-size: 20px;
}

.footer-logo-slogan {
    font-size: 14px;
    color: var(--footer-text-color, #ccc);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-color, #ccc);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s;
}

.footer-social-icon:hover {
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-main .footer-col:last-child {
    justify-self: end;
    max-width: 400px;
    width: 100%;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    margin-top: 0;
}

.footer-col-title {
    margin-top: 20px;
}

.footer-col p {
    color: var(--footer-text-color, #ccc);
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

.footer-phone-link {
    color: var(--footer-text-color, #ccc);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-phone-link:hover {
    color: var(--accent-color, #e74c3c);
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--footer-text-color, #ccc);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-color, #e74c3c);
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 8px 0;
    color: var(--footer-text-color, #ccc);
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.footer-form-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-form-input:focus {
    border-bottom-color: #fff;
}

.footer-form-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 8px 0;
    color: var(--footer-text-color, #ccc);
    font-size: 13px;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.footer-form-textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-form-textarea:focus {
    border-bottom-color: #fff;
}

.footer-form-btn {
    background: var(--accent-color, #4CAF50);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.3s;
    margin-top: 8px;
}

.footer-form-btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom p {
    color: var(--footer-text-color, #ccc);
    font-size: 13px;
}

/* ===== Responsive Media Queries ===== */
@media (max-width: 992px) {
    .header-top {
        display: none;
    }
    .hero {
        padding: 60px 0;
    }
    .hero h2 {
        font-size: 36px;
    }
    .section {
        padding: 50px 0;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .home-about-image {
        order: -1;
    }
    .home-about-new {
        flex-direction: column;
        gap: 24px;
    }
    .home-about-vertical {
        flex-direction: row;
        min-width: auto;
        justify-content: flex-start;
    }
    .vertical-logo,
    .vertical-text {
        writing-mode: horizontal-tb;
        letter-spacing: 2px;
    }
    .vertical-logo {
        font-size: 14px;
    }
    .vertical-text {
        font-size: 24px;
    }
    .home-about-content {
        max-width: 100%;
    }
    .home-about-image-new {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .vr-display-btn {
        left: 16px;
        bottom: 16px;
        padding: 14px 20px;
    }
    .vr-display-btn span {
        font-size: 12px;
    }
    .play-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .advantages-grid,
    .home-products-grid,
    .cases-grid,
    .advantages {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .certificates-slider-wrapper {
        min-height: 300px;
    }
    .cert-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .certificates-slider {
        height: 280px;
        max-width: 100%;
    }
    .certificate-slide {
        width: 160px;
        height: 220px;
        margin-left: -80px;
        margin-top: -110px;
    }
    .certificate-slide.pos-left-1 {
        transform: translateX(-120px) scale(0.75) rotateY(20deg);
    }
    .certificate-slide.pos-left-2 {
        transform: translateX(-200px) scale(0.6) rotateY(30deg);
    }
    .certificate-slide.pos-right-1 {
        transform: translateX(120px) scale(0.75) rotateY(-20deg);
    }
    .certificate-slide.pos-right-2 {
        transform: translateX(200px) scale(0.6) rotateY(-30deg);
    }
    .cert-lightbox img {
        max-width: 95%;
    }
    .cert-lightbox-close {
        font-size: 36px;
        top: 10px;
        right: 15px;
    }
    .home-news-layout {
        grid-template-columns: 1fr;
    }
    .news-layout,
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .news-layout {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        position: static;
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-form {
        order: -1;
    }
    .contact-info {
        order: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .nav-menu {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
    body {
        padding-top: 80px;
    }
    .header-main {
        padding: 12px 0;
    }
    .logo h1 {
        font-size: 20px;
    }
    .hero {
        padding: 50px 0 !important;
    }
    .hero h2 {
        font-size: 24px !important;
        margin-bottom: 12px;
    }
    .hero p {
        font-size: 14px !important;
        margin-bottom: 20px;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
    }
    .btn-hero, .btn-hero-outline {
        min-width: 200px;
        padding: 14px 32px;
        font-size: 15px;
    }
    .hero-slider {
        height: auto;
    }
    .hero-slide {
        position: relative;
        display: none;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: #1a1a2e;
        aspect-ratio: 2 / 1;
    }
    .hero-slide.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-slider-btn,
    .hero-slider-dots {
        display: none;
    }
    .section {
        padding: 30px 0;
    }
    .section-header {
        margin-bottom: 20px;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .section-header p {
        font-size: 14px;
    }
    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-about-text h2 {
        font-size: 22px;
    }
    .advantages-grid,
    .home-products-grid,
    .cases-grid,
    .advantages {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .certificates-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
    }
    .certificate-item {
        padding: 8px 12px !important;
        width: calc(33% - 6px) !important;
        min-width: calc(33% - 6px) !important;
        max-width: calc(33% - 6px) !important;
    }
    .certificate-icon {
        font-size: 18px !important;
        margin-bottom: 2px !important;
    }
    .certificate-item span {
        font-size: 10px !important;
    }
    .home-news-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-news-featured {
        padding: 20px;
    }
    .home-news-featured h3 {
        font-size: 18px;
    }
    .home-news-new {
        flex-direction: column;
        gap: 20px;
    }
    .home-news-vertical {
        flex-direction: row;
        min-width: auto;
        justify-content: flex-start;
    }
    .home-news-featured-new {
        flex-direction: column;
        gap: 20px;
    }
    .home-news-featured-img {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    .home-news-list-new {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-news-card-new {
        padding: 20px 16px;
    }
    .home-news-featured-info h3 {
        font-size: 20px;
    }
    .home-products-new {
        flex-direction: column;
        gap: 30px;
        padding: 0 16px;
        overflow: hidden;
    }
    .home-products-info {
        flex: 0 0 auto;
        text-align: center;
    }
    .home-products-info h2 {
        font-size: 24px;
    }
    .home-products-nav {
        justify-content: center;
    }
    .home-products-slider-wrapper {
        overflow: visible;
    }
    .home-products-slider {
        flex-direction: column;
        gap: 16px;
        transform: none !important;
    }
    .home-product-card-new {
        flex: 0 0 100%;
        width: 100%;
    }
    .prod-card-logo {
        font-size: 12px;
    }
    .home-product-card-new .home-product-img-wrapper {
        padding: 15px;
    }
    .home-product-card-new h3 {
        font-size: 13px;
        min-height: 38px;
    }
    .prod-more-btn {
        padding: 6px 20px;
        font-size: 12px;
    }
    .case-img {
        height: 160px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer {
        padding: 30px 0 15px;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-logo-text {
        font-size: 24px;
    }
    .footer-col h4 {
        font-size: 14px;
    }
    .footer-form-btn {
        width: 100%;
    }
    .news-layout {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        position: static;
    }
    .news-list-item {
        flex-direction: column;
    }
    .news-list-image {
        width: 100%;
        height: 180px;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-form {
        order: -1;
    }
    .contact-info {
        order: 1;
    }
    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .form-group {
        margin-bottom: 12px;
    }
    .form-group label {
        margin-bottom: 5px;
        font-size: 14px;
    }
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    .form-group textarea {
        height: 100px;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .product-layout {
        flex-direction: column;
    }
    .product-sidebar {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    .hero h2 {
        font-size: 20px;
    }
    .hero p {
        font-size: 13px;
    }
    .hero-slider {
        height: auto;
    }
    .hero-slide {
        position: relative;
        display: none;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: #1a1a2e;
        aspect-ratio: 2 / 1;
    }
    .hero-slide.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-slider-btn,
    .hero-slider-dots {
        display: none;
    }
    .page-banner {
        min-height: auto !important;
        background-size: 100% auto !important;
        background-repeat: no-repeat !important;
        background-position: top center !important;
        background-color: #1a1a2e;
        padding: 40px 0 !important;
        aspect-ratio: 2 / 1;
    }
    .page-banner .hero-content {
        padding: 15px 20px;
    }
    .page-banner h2 {
        font-size: 18px !important;
    }
    .product-hero-banner {
        padding: 20px 0;
    }
    .product-hero-left {
        max-width: 140px;
    }
    .product-hero-title {
        font-size: 22px;
    }
    .section-header h2 {
        font-size: 18px;
    }
    .home-about-text h2 {
        font-size: 18px;
    }
    .certificates-grid {
        gap: 6px !important;
    }
    .certificate-item {
        padding: 6px 8px !important;
        width: calc(50% - 3px) !important;
        min-width: calc(50% - 3px) !important;
        max-width: calc(50% - 3px) !important;
    }
    .certificate-icon {
        font-size: 16px !important;
    }
    .certificate-item span {
        font-size: 9px !important;
    }
    .advantage-card {
        padding: 24px 20px;
    }
    .advantage-num {
        font-size: 36px;
    }
    .advantages-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .cert-grid-new {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cert-card-new {
        padding: 18px 20px;
    }
    .cert-header-new h2 {
        font-size: 24px;
    }
    .advantage-card-new {
        padding: 24px 20px;
    }
    .advantage-icon-new {
        font-size: 28px;
    }
    .advantage-card-new h4 {
        font-size: 15px;
    }
    .advantage-card-new p {
        font-size: 12px;
    }
    .home-product-img {
        height: 150px;
    }
    .home-product-info {
        padding: 12px 14px;
    }
    .home-product-info h3 {
        font-size: 14px;
    }
    .case-img {
        height: 140px;
    }
    .case-info {
        padding: 12px 14px;
    }
    .case-info h4 {
        font-size: 14px;
    }
}

/* Hide sidebar on mobile */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}

/* ===== Bottom Fixed Navigation (Mobile) ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.08);
    z-index: 9990;
    padding: 0;
    border-top: 1px solid #eee;
}
.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 56px;
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    padding: 6px 12px;
    transition: color 0.2s;
    line-height: 1.2;
    flex: 1;
    height: 100%;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--accent-color, #e74c3c);
}
.bottom-nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 3px;
    stroke-width: 1.8;
}
.bottom-nav-item.active .bottom-nav-icon {
    stroke-width: 2.2;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary-color, #1a1a2e);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 9989;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent-color, #e74c3c);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
    body {
        padding-bottom: 60px;
    }
    .back-to-top {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== Mobile Sidebar Collapse ===== */
@media (max-width: 768px) {
    .product-sidebar {
        margin-bottom: 0;
        padding: 0;
    }
    .product-sidebar .sidebar-widget {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    .product-sidebar .sidebar-widget h3 {
        font-size: 15px;
        padding: 12px 16px;
        background: var(--primary-color, #1a1a2e);
        color: #fff;
        margin: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 0;
    }
    .product-sidebar .sidebar-widget h3::after {
        content: '▼';
        font-size: 11px;
        transition: transform 0.3s;
    }
    .product-sidebar .sidebar-widget.collapsed h3::after {
        transform: rotate(-90deg);
    }
    .product-sidebar .sidebar-widget .category-list {
        display: none !important;
    }
    .product-sidebar .sidebar-widget:not(.collapsed) .category-list {
        display: block !important;
        padding: 12px 16px;
        background: #fff;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .news-sidebar {
        display: none;
    }
    .hero {
        padding: 30px 0 !important;
    }
    .hero h2 {
        font-size: 22px !important;
    }
    .hero p {
        font-size: 13px !important;
    }
    .page-banner {
        padding: 30px 0 !important;
        min-height: auto !important;
        background-size: 100% auto !important;
        background-repeat: no-repeat !important;
        background-position: top center !important;
        background-color: #1a1a2e;
        aspect-ratio: 2 / 1;
    }
    .page-banner h2 {
        font-size: 22px !important;
    }
    .page-banner p {
        font-size: 13px !important;
    }
    .page-banner .hero-content {
        padding: 20px 30px;
    }
}

.product-layout {
    display: flex;
    gap: 30px;
}

.product-sidebar {
    flex: 0 0 280px;
    min-width: 280px;
}

.product-content {
    flex: 1;
    min-width: 0;
}

/* Product sidebar widget styles */
.product-sidebar .sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.product-sidebar .sidebar-widget h3 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color, #e74c3c);
    color: var(--primary-color, #1a1a2e);
}

.product-sidebar .sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-sidebar .sidebar-widget ul li {
    margin: 8px 0;
}

.product-sidebar .sidebar-widget ul li a {
    display: block;
    padding: 10px 15px;
    background: #f5f5f5;
    color: var(--primary-color, #1a1a2e);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.product-sidebar .sidebar-widget ul li a:hover {
    background: var(--primary-color, #1a1a2e);
    color: #fff;
}

.product-sidebar .sidebar-widget ul li ul {
    list-style: none;
    padding: 5px 0 5px 20px;
    margin: 0;
}

.product-sidebar .sidebar-widget ul li ul li {
    margin: 4px 0;
}

.product-sidebar .sidebar-widget ul li ul li a {
    padding: 8px 12px;
    background: transparent;
    color: #666;
    font-size: 14px;
}

.product-sidebar .sidebar-widget ul li ul li a:hover {
    background: var(--accent-color, #e74c3c);
    color: #fff;
}

/* ===== Product Page Styles ===== */
.product-hero-banner {
    background: linear-gradient(135deg, var(--primary-color, #1a1a2e) 0%, var(--secondary-color, #16213e) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.product-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.product-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.product-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.product-hero-left {
    flex: 0 0 280px;
    min-height: 0;
}

.product-hero-left:has(img[style*="display: none"]) {
    display: none;
}

.hero-product-img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-hero-center {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.product-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 6px;
    margin: 0 0 20px 0;
}

.product-hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.product-hero-features li {
    color: #fff;
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.product-hero-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.product-hero-right {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    min-height: 0;
}

.product-hero-right:has(img[style*="display: none"]) {
    display: none;
}

.hero-product-img-small {
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
}

.product-page-container {
    padding: 0 0 20px 0;
}

.product-page-layout {
    display: flex;
    gap: 30px;
    overflow: visible;
}

.product-sidebar {
    width: 280px;
    flex-shrink: 0;
    overflow: visible;
}

.sidebar-search {
    display: flex;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 14px;
}

.search-btn {
    padding: 8px 15px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color, #333);
    padding: 10px 0;
    border-bottom: 2px solid var(--accent-color, #4CAF50);
    margin-bottom: 10px;
}

.category-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.category-nav-item {
    position: relative;
    margin-bottom: 2px;
}

.category-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.category-nav-header:hover {
    background: var(--accent-color, #4CAF50);
    border-color: var(--accent-color, #4CAF50);
    z-index: 101;
}

.category-nav-header .category-link {
    flex: 1;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.category-nav-header:hover .category-link {
    color: #fff;
}

.category-nav-item.active > .category-nav-header {
    background: var(--accent-color, #4CAF50);
    border-color: var(--accent-color, #4CAF50);
    z-index: 101;
}

.category-nav-item.active > .category-nav-header .category-link {
    color: #fff;
}

.category-nav-item.parent-active > .category-nav-header {
    background: #fff;
    border-color: #ddd;
    border-left: 3px solid var(--accent-color, #4CAF50);
}

.category-nav-item.parent-active > .category-nav-header .category-link {
    color: #333;
    font-weight: 600;
}

.subcategory-nav {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
    z-index: 999;
    pointer-events: none;
}

/* Only show submenu when hovering the parent item */
.category-nav-item:hover > .subcategory-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Hide sibling submenus when hovering one item */
.category-nav-item.sibling-hovered > .subcategory-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.subcategory-nav .category-nav-item {
    margin: 0;
}

.subcategory-nav .category-nav-header {
    border: none;
    border-radius: 0;
    background: transparent;
}

.subcategory-nav .category-nav-header:hover {
    background: var(--accent-color, #4CAF50);
}

.subcategory-nav .category-nav-header .category-link {
    padding: 10px 15px;
    font-size: 13px;
    color: #333;
}

.subcategory-nav .category-nav-header:hover .category-link {
    color: #fff;
}

/* Nested submenus */
.subcategory-nav .subcategory-nav {
    left: 100%;
    top: 0;
    min-width: 180px;
}

.subcategory-nav .subcategory-nav .category-nav-header .category-link {
    padding: 8px 15px;
    font-size: 12px;
}

/* Desktop arrow styles */
.category-arrow {
    padding: 12px 15px;
    color: #999;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    flex-shrink: 0;
}

.category-arrow::before {
    content: '›';
    font-size: 20px;
    line-height: 1;
}

.category-nav-header:hover .category-arrow {
    color: #fff;
}

.category-nav-item.active > .category-nav-header .category-arrow {
    color: #fff;
}

@media (max-width: 768px) {
    .category-nav {
        position: static;
    }
    
    .category-nav-item {
        position: relative;
    }
    
    .subcategory-nav {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        background: #f9f9f9;
        transition: max-height 0.3s ease;
    }
    
    .subcategory-nav.open {
        opacity: 1;
        visibility: visible;
        max-height: 2000px;
    }
    
    /* Don't auto-expand active category - only expand when explicitly clicked */
    
    .subcategory-nav .category-nav-header {
        background: #f9f9f9;
    }
    
    .subcategory-nav .category-nav-header:hover {
        background: var(--accent-color, #4CAF50);
    }
    
    /* Level 1 - no indent */
    .category-nav > .category-nav-item > .category-nav-header .category-link {
        padding-left: 15px !important;
    }
    
    /* Level 2 - 20px indent */
    .subcategory-nav .category-nav-header .category-link {
        padding-left: 35px !important;
    }
    
    /* Level 3 - 40px indent */
    .subcategory-nav .subcategory-nav .category-nav-header .category-link {
        padding-left: 55px !important;
    }
    
    /* Level 4 - 60px indent */
    .subcategory-nav .subcategory-nav .subcategory-nav .category-nav-header .category-link {
        padding-left: 75px !important;
    }
    
    /* Level 5+ - 80px indent */
    .subcategory-nav .subcategory-nav .subcategory-nav .subcategory-nav .category-nav-header .category-link {
        padding-left: 95px !important;
    }
    
    .category-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.3s ease;
        font-size: 12px;
        color: #999;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .category-arrow::before {
        content: '▶';
        display: inline-block;
        transition: transform 0.3s ease;
    }
    
    .category-nav-item.expanded > .category-nav-header .category-arrow::before {
        transform: rotate(90deg);
    }
    
    .category-nav-header:hover .category-arrow {
        color: #fff;
    }
    
    .category-nav-item.active > .category-nav-header .category-arrow {
        color: #fff;
    }
    
    /* Fix: Only truly active category should be orange, not parent-active */
    .category-nav-item.parent-active > .category-nav-header {
        background: #fff !important;
        border-color: #ddd !important;
    }
    
    .category-nav-item.parent-active > .category-nav-header .category-link {
        color: #333 !important;
        font-weight: 600;
    }
    
    .category-nav-item.parent-active > .category-nav-header .category-arrow {
        color: #999 !important;
    }
    
    /* Show arrows for subcategories that have children */
    .subcategory-nav .category-nav-item > .category-nav-header .category-arrow {
        display: flex !important;
    }
}

.hot-products {
    margin-top: 15px;
}

.hot-product-item {
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hot-product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color, #4CAF50) 0%, #66bb6a 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hot-product-item:hover {
    border-color: var(--accent-color, #4CAF50);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
    transform: translateY(-2px);
}

.hot-product-item:hover::before {
    opacity: 1;
}

.hot-product-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
}

.hot-product-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.hot-product-item:hover img {
    transform: scale(1.05);
}

.hot-product-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hot-product-item span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s;
}

.hot-product-item:hover span {
    color: var(--accent-color, #4CAF50);
}

.product-main {
    flex: 1;
    min-width: 0;
}

.product-main h1 {
    font-size: 24px;
    color: #333;
    margin: 15px 0 10px 0;
}

.category-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-item-new {
    text-align: center;
}

.product-img-wrapper {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-item-new h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
}

.product-item-new h3 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-item-new h3 a:hover {
    color: var(--accent-color, #4CAF50);
}

.btn-view-detail {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-radius: 3px;
    transition: opacity 0.2s;
}

.btn-view-detail:hover {
    opacity: 0.9;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.empty-state p {
    color: #666;
    font-size: 16px;
    margin: 0 0 20px 0;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color, #4CAF50);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.page-btn:hover {
    background: var(--accent-color, #4CAF50);
    color: #fff;
    border-color: var(--accent-color, #4CAF50);
}

.page-btn.active {
    background: var(--accent-color, #4CAF50);
    color: #fff;
    border-color: var(--accent-color, #4CAF50);
}

.page-ellipsis {
    color: #999;
    padding: 0 5px;
}

@media (max-width: 1200px) {
    .product-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero-banner {
        padding: 30px 0;
        overflow: visible;
    }
    .product-hero-banner::before,
    .product-hero-banner::after {
        display: none;
    }
    .product-hero-content {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: space-between;
    }
    .product-hero-left {
        flex: 0 0 25%;
        min-width: 0;
        order: 0;
    }
    .product-hero-left img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
    .product-hero-center {
        flex: 0 0 50%;
        padding: 0;
        order: 0;
    }
    .product-hero-title {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    .product-hero-features {
        text-align: left;
    }
    .product-hero-features li {
        padding-left: 0;
        font-size: 11px;
        margin-bottom: 6px;
    }
    .product-hero-features li::before {
        display: none;
    }
    .product-hero-right {
        flex: 0 0 25%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
        order: 0;
    }
    .hero-product-img-small {
        width: 100%;
        max-width: none;
        max-height: none;
    }
    .product-page-layout {
        flex-direction: column;
    }
    .product-main {
        order: -1;
    }
    .product-sidebar {
        width: 100%;
        order: 1;
    }
    .product-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .product-img-wrapper {
        padding: 15px;
    }
    .product-item-new h3 {
        font-size: 13px;
        min-height: auto;
    }
    .btn-view-detail {
        padding: 6px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-hero-banner {
        padding: 30px 0;
        overflow: visible;
    }
    .product-hero-banner::before,
    .product-hero-banner::after {
        display: none;
    }
    .product-hero-left {
        max-width: 95%;
    }
    .product-hero-left img {
        max-height: none;
    }
    .product-hero-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .product-hero-features li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .product-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-img-wrapper {
        padding: 10px;
    }
    .product-item-new h3 {
        font-size: 12px;
        min-height: auto;
    }
    .btn-view-detail {
        padding: 5px 10px;
        font-size: 11px;
    }
}

.product-info h3 a {
    text-decoration: none;
    color: var(--primary-color, #1a1a2e);
    font-size: 14px;
    font-weight: 500;
}

.product-info h3 a:hover {
    color: var(--accent-color, #e74c3c);
}

.product-info p {
    font-size: 12px;
    color: #999;
    margin: 5px 0 0 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.category-desc {
    margin: 15px 0 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    max-width: 800px;
}

.breadcrumb a:hover {
    color: var(--accent-color, #e74c3c);
}

.sidebar-widget ul li a.active {
    background: var(--primary-color, #1a1a2e);
    color: #fff;
}

.sidebar-widget ul li ul li a.active {
    background: var(--accent-color, #e74c3c);
    color: #fff;
}

.sidebar-widget ul li ul.hidden {
    display: none;
}

.category-link {
    display: block !important;
    padding: 12px 16px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: background 0.2s !important;
    flex: 1 !important;
}

.category-link:hover,
.category-link.active {
    background: var(--accent-color, #e74c3c) !important;
    color: #fff !important;
}

/* ===== Mobile Navigation ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
.mobile-overlay.show {
    display: block;
}
.mobile-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.mobile-nav.open {
    left: 0;
}
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-color, #1a1a2e);
    color: #fff;
}
.mobile-nav-header h2 {
    font-size: 18px;
    margin: 0;
}
.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-menu > li {
    border-bottom: 1px solid #eee;
}
.mobile-nav-menu > li > a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.mobile-nav-menu > li > a:hover {
    background: #f5f5f5;
    color: var(--accent-color, #e74c3c);
}
.mobile-nav-dropdown {
    position: relative;
}
.mobile-sub-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    z-index: 1;
}
.mobile-nav-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fb;
}
.mobile-nav-submenu.open {
    display: block;
}
.mobile-nav-submenu > li {
    border-bottom: 1px solid #eee;
}
.mobile-nav-submenu > li > a {
    display: block;
    padding: 12px 20px 12px 30px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}
.mobile-nav-submenu > li > a:hover {
    color: var(--accent-color, #e74c3c);
    background: #eee;
}
.mobile-nav-sub-dropdown {
    position: relative;
}
.mobile-nav-sub-dropdown > .mobile-sub-toggle {
    right: 15px;
}
.mobile-nav-sub-dropdown > ul > li > a {
    padding-left: 45px;
    font-size: 13px;
}
.mobile-nav-sub-dropdown > ul > li > .mobile-sub-toggle {
    right: 15px;
}
.mobile-nav-sub-dropdown > ul > li > ul > li > a {
    padding-left: 60px;
    font-size: 12px;
}
.mobile-nav-sub-dropdown > ul > li > ul > li > .mobile-sub-toggle {
    right: 15px;
}

/* ===== Mobile Certificates Grid Fix (Must be at end) ===== */
@media screen and (max-width: 768px) {
    .certificates-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
        grid-template-columns: unset !important;
    }
    .certificates-grid .certificate-item {
        width: 30% !important;
        min-width: 30% !important;
        max-width: 30% !important;
        padding: 8px 6px !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }
    .certificates-grid .certificate-icon {
        font-size: 18px !important;
        margin-bottom: 2px !important;
        display: block !important;
    }
    .certificates-grid .certificate-item span {
        font-size: 10px !important;
        display: block !important;
    }
}

@media screen and (max-width: 480px) {
    .certificates-grid .certificate-item {
        width: 46% !important;
        min-width: 46% !important;
        max-width: 46% !important;
        padding: 6px 8px !important;
    }
    .certificates-grid .certificate-icon {
        font-size: 16px !important;
    }
    .certificates-grid .certificate-item span {
        font-size: 9px !important;
    }
}

/* ===== Product Detail Page ===== */
.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.product-detail-image {
    background: #fff;
    border: 1px solid #eee;
    padding: 0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 80px;
    color: #ccc;
}

.product-detail-info h1 {
    font-size: 28px;
    color: var(--primary-color, #1a1a2e);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.product-detail-info .series {
    color: #666;
    font-size: 16px;
    margin: 0 0 20px 0;
}

.product-detail-info p {
    color: #666;
    line-height: 1.8;
    margin: 0 0 15px 0;
}

.product-detail-info ul {
    margin: 10px 0 20px 20px;
    padding: 0;
    color: #666;
    line-height: 1.8;
}

.product-detail-info ul li {
    margin-bottom: 5px;
}

.product-detail-info strong {
    color: var(--primary-color, #1a1a2e);
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.product-detail-actions .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color, #e74c3c);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}

.product-detail-actions .btn-primary:hover {
    background: var(--primary-color, #1a1a2e);
}

.product-detail-actions .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}

.product-detail-actions .btn-secondary:hover {
    background: #333;
}

@media screen and (max-width: 992px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-detail-image {
        order: -1;
    }
    
    .product-detail-placeholder {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .product-detail-info h1 {
        font-size: 24px;
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .product-detail-actions .btn-primary,
    .product-detail-actions .btn-secondary {
        text-align: center;
    }
}
