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

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f96332;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Lazy Loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: #f5f5f5;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Technical Data Table */
.tech-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    margin: 15px 0 20px !important;
}
.tech-table th {
    background: linear-gradient(135deg, #f96332, #ff6b35) !important;
    color: #fff !important;
    padding: 14px 16px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-bottom: 2px solid #e85a2b !important;
    white-space: nowrap !important;
}
.tech-table th:first-child {
    text-align: left !important;
}
.tech-table td {
    padding: 12px 16px !important;
    text-align: center !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-size: 13px !important;
    color: #444 !important;
    background: #fff !important;
}
.tech-table td:first-child {
    text-align: left !important;
    font-weight: 500 !important;
}
.tech-table tbody tr:nth-child(even) td {
    background: #fafafa !important;
}
.tech-table tbody tr:hover td {
    background: #fff3e0 !important;
}
.tech-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #333;
    color: #f96332;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
    position: relative;
}

.floating-btn:hover {
    background-color: #f96332;
    color: #fff;
    transform: scale(1.08) translateX(-3px);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-8px);
}

.floating-tooltip {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-qr-popup {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-qr-popup img {
    width: 130px;
    height: 130px;
    display: block;
}

.floating-qr-popup p {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
}

.floating-btn.wechat-btn:hover .floating-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-8px);
}

.back-to-top {
    background-color: #f96332;
    color: #fff;
}

.back-to-top:hover {
    background-color: #e85a2b;
}

/* Responsive Floating Sidebar */
@media (max-width: 768px) {
    .floating-sidebar {
        right: 6px;
        gap: 6px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .floating-tooltip {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.share-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy-link {
    background: #6c757d;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f96332;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e5552b;
}

/* Top Bar */
.top-bar {
    background-color: #333;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a {
    color: #fff;
    margin-right: 20px;
}

.top-left a:hover {
    color: #f96332;
}

.top-left i {
    margin-right: 5px;
}

.search-form {
    display: flex;
}

.search-form input {
    padding: 5px 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.search-form button {
    padding: 5px 10px;
    background-color: #f96332;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 0;
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
    height: 75px;
    border-bottom: 3px solid #f96332;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0;
    height: 75px;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.15),
        0 6px 20px rgba(0,0,0,0.1),
        0 8px 30px rgba(0,0,0,0.08);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
    transition: height 0.3s ease;
}

.main-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow: visible;
    height: 100%;
    align-items: stretch;
}

.main-nav .menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: stretch;
}

.menu-item {
    position: relative;
    margin: 0;
    display: flex;
    align-items: stretch;
}

.menu-item:first-child {
    border-left: none;
}

.menu-item > a {
    font-weight: 600;
    color: #333;
    padding: 0 22px;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.menu-item > a:hover,
.menu-item:hover > a {
    color: #fff;
    background-color: #f96332;
}

.menu-item.active > a,
.menu-item.active > a:hover {
    color: #fff !important;
    background-color: #f96332;
}

.submenu li.active > a {
    color: #f96332;
    font-weight: 500;
}

.submenu li.active > a::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #f96332;
    margin-left: -20px;
    margin-right: 12px;
    border-radius: 2px;
}

.submenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    list-style: none;
    width: 220px !important;
    min-width: 220px !important;
    display: none;
    z-index: 100;
    border-bottom: 3px solid #f96332;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@media (min-width: 769px) {
    nav.main-nav ul.menu li.menu-item > ul.submenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 220px !important;
        min-width: 220px !important;
    }
}

@media (max-width: 768px) {
    nav.main-nav.active ul.menu {
        display: block !important;
        position: relative !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item {
        display: block !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
        position: relative !important;
        padding-right: 45px !important;
        min-height: 48px !important;
    }
    
    nav.main-nav.active ul.menu .expand-icon {
        display: flex !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item:hover .submenu {
        display: none !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item > ul.submenu {
        position: static !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        background-color: #fafafa !important;
        box-shadow: none !important;
        list-style: none !important;
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        display: none !important;
        z-index: 1 !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        animation: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: none !important;
        border-left: 3px solid #f96332 !important;
        float: none !important;
        padding-left: 35px !important;
        margin-left: 0 !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item.active > ul.submenu {
        display: block !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li ul.submenu {
        position: static !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        background-color: #f5f5f5 !important;
        box-shadow: none !important;
        list-style: none !important;
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        display: none !important;
        z-index: 1 !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        animation: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: none !important;
        border-left: 3px solid #e85a2b !important;
        float: none !important;
        padding-left: 35px !important;
        margin-left: 0 !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li.active > ul.submenu {
        display: block !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li {
        padding: 0 !important;
        border-bottom: 1px solid #eee !important;
        position: relative !important;
        background-color: transparent !important;
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        clear: both !important;
        padding-right: 45px !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li:last-child {
        border-bottom: none !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li a {
        padding: 12px 15px !important;
        font-size: 14px !important;
        color: #444 !important;
        display: block !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        background-color: transparent !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        float: none !important;
        flex: none !important;
        align-items: center !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        line-height: 1.4 !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li:hover > a {
        color: #f96332 !important;
        background-color: #f0f0f0 !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu li ul.submenu li a {
        padding-left: 15px !important;
        font-size: 13px !important;
    }
    
    nav.main-nav.active ul.menu > li.menu-item .expand-icon-first {
        position: absolute !important;
        right: 15px !important;
        top: 14px !important;
        transform: none !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: #666 !important;
        font-size: 14px !important;
        z-index: 10 !important;
    }
    
    nav.main-nav.active ul.menu > li.menu-item .expand-icon-first:hover {
        color: #f96332 !important;
    }
    
    nav.main-nav.active ul.menu > li.menu-item .expand-icon-first.expanded {
        transform: rotate(90deg) !important;
    }
    
    nav.main-nav.active ul.menu li.menu-item ul.submenu > li .expand-icon-child {
        position: absolute !important;
        right: 15px !important;
        top: 14px !important;
        transform: none !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: #666 !important;
        font-size: 14px !important;
        z-index: 10 !important;
    }
}

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

.submenu li {
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li:hover {
    background-color: #fafafa;
}

.submenu li a {
    padding: 12px 18px 12px 28px;
    font-weight: 500;
    color: #444;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submenu li a::before {
    content: '';
    width: 0;
    height: 8px;
    background-color: #f96332;
    margin-left: -20px;
    margin-right: 12px;
    transition: all 0.2s ease;
    border-radius: 2px;
    flex-shrink: 0;
}

.submenu li:hover > a {
    color: #f96332;
}

.submenu li:hover > a::before {
    width: 8px;
}

.menu-item:hover .submenu {
    display: block;
}

.submenu .submenu {
    position: relative !important;
    left: 0 !important;
    top: auto !important;
    border-top: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    width: 100% !important;
}

.products-divider {
    background: transparent;
    color: #333 !important;
    padding: 8px 18px !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #f96332;
}

.products-divider:hover {
    background: linear-gradient(90deg, #ff8c5a, #f96332) !important;
    color: #fff !important;
    padding-left: 18px !important;
}

.product-item a {
    font-size: 14px;
}

/* Add padding to body when header is sticky */
.sticky-padding {
    padding-top: 90px;
}

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

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

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.breadcrumb li a {
    color: #f96332;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb li a:hover {
    color: #e5552b;
    text-decoration: underline;
}

.breadcrumb li.separator {
    margin: 0 4px;
    color: #999;
    font-size: 12px;
}

.breadcrumb li.active {
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0;
    }
    
    .breadcrumb li {
        font-size: 12px;
    }
    
    .breadcrumb li.separator {
        margin: 0 3px;
    }
}

/* Expand Icon - Hidden by default for desktop */
.expand-icon {
    display: none;
}

/* Banner */
.banner {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
    z-index: 0;
}

.banner-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: #fff;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.banner-controls button {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-controls button:hover {
    background-color: #f96332;
    color: #fff;
}

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

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

.banner-dots .dot.active {
    background: #f96332;
    width: 24px;
    border-radius: 6px;
}

/* Categories */
.categories {
    padding: 60px 0;
}

.categories h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

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

.category-card {
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.category-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 15px;
}

.category-card a {
    color: #333;
}

.category-card a:hover {
    color: #f96332;
}

/* About Preview */
.about-preview {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.about-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

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

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* News Preview */
.news-preview {
    padding: 60px 0;
}

.news-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h3 {
    padding: 15px;
}

.news-card p {
    padding: 0 15px;
    color: #666;
}

.news-card .date {
    display: block;
    padding: 15px;
    color: #999;
    font-size: 14px;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

/* Products Preview */
.products-preview {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.products-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 10px 5px;
}

.product-card p {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

/* Footer */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #f96332;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
}

.footer-section ul li a:hover {
    color: #f96332;
}

.footer-logo img {
    margin-bottom: 15px;
    height: 50px;
    width: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Page Header */
.page-header {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    color: #333;
}

/* Products List */
.products-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #333;
}

.categories .category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
}

.categories .category-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.categories .category-tab:hover {
    border-color: #ff9800;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.categories .category-tab.active {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-color: #ff9800;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.categories .category-icon {
    font-size: 16px;
}

.categories .category-name {
    font-size: 14px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: block;
    padding: 10px;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.category-list li a:hover,
.category-list li.active a {
    background-color: #f96332;
    color: #fff;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    margin-right: 5px;
    border-radius: 4px;
}

.pagination a:hover,
.pagination a.active {
    background-color: #f96332;
    color: #fff;
    border-color: #f96332;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.main-image {
    position: relative;
    height: 390px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

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



.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 100px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: #f96332;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-features {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-left {
    text-align: left;
    text-align-last: left;
}

.services-left .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
}

.services-left .section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.services-left p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.services-left .section-header p {
    font-size: 14px !important;
    color: #666 !important;
    margin: 0 !important;
    text-align: center !important;
    display: block !important;
}

.services-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

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

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f96332;
    color: #fff;
    border-radius: 8px;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #f96332;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    padding-left: 5px;
}

.service-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.stat-item p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.feature-label {
    font-weight: 600;
    color: #333;
}

.feature-value {
    color: #666;
}

/* Product Tabs */
.product-tabs {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.tabs {
    display: flex;
    background-color: #f8f8f8;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
}

.tab-btn.active {
    background-color: #fff;
    color: #f96332;
    border-bottom: 2px solid #f96332;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    margin: 20px 0 10px;
    color: #333;
}

/* News Detail */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.news-detail .date {
    color: #999;
    margin-bottom: 20px;
}

.news-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.news-content {
    line-height: 1.8;
    color: #555;
}

.back-link {
    margin-top: 30px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    color: #f96332;
    margin-right: 10px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* About */
.about-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.8;
    color: #555;
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 100px 0;
}

.error-page h1 {
    font-size: 72px;
    color: #f96332;
    margin-bottom: 20px;
}

.error-page h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Responsive Design */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .stats-section {
        padding: 30px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .stat-item p {
        font-size: 12px;
        padding-top: 10px;
        margin-top: 10px;
    }
    
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .top-left {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .top-left a {
        margin-right: 0;
        font-size: 13px;
    }
    
    .search-form {
        width: 100%;
        max-width: 280px;
    }
    
    .search-form input {
        flex: 1;
        padding: 8px 12px;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo img {
        height: 45px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: 2px 0 20px rgba(0,0,0,0.15);
        z-index: 9999;
        transition: left 0.35s ease;
        overflow-y: auto;
        overflow-x: hidden;
        color: #333333;
        padding: 0;
        margin: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding-top: 75px;
    }
    
    .main-nav .menu {
        list-style: none;
        margin: 0;
        padding: 20px;
        flex-direction: column;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .menu-item {
        margin-left: 0;
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        overflow: visible;
    }
    
    .menu-item:last-child {
        border-bottom: none;
    }
    
    .menu-item > a {
    padding: 14px 50px 14px 15px;
    font-size: 15px;
    color: #333333 !important;
    text-decoration: none !important;
    display: block;
}

    
    .submenu .submenu li a {
        padding-left: 45px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        padding: 10px;
    }
    
    .mobile-menu-toggle span {
        width: 28px;
        height: 3px;
        background-color: #333;
        margin: 4px 0;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -5px);
    }
    
    .sticky-padding {
        padding-top: 75px;
    }
    
    .banner {
        height: 180px;
    }
    
    .banner-item {
        height: 180px;
    }
    
    .banner-overlay {
        padding: 15px;
    }
    
    .banner-overlay h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .banner-overlay p {
        font-size: 13px;
    }
    
    .banner-controls {
        left: 10px;
        right: 10px;
    }
    
    .banner-controls button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .categories,
    .about-preview,
    .news-preview,
    .products-preview {
        padding: 30px 0;
    }
    
    .categories h2,
    .about-preview h2,
    .news-preview h2,
    .products-preview h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .category-grid,
    .news-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card,
    .news-card,
    .product-card {
        border-radius: 10px;
        overflow: hidden;
    }
    
    .category-image img,
    .news-image img {
        height: 160px;
    }
    
    .product-image img {
        height: 180px;
    }
    
    .product-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-preview p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .news-card h3 {
        font-size: 15px;
        padding: 12px;
    }
    
    .news-card p {
        font-size: 13px;
        padding: 0 12px;
        margin-bottom: 10px;
    }
    
    .news-card .date {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
        display: block;
        height: 40px;
        width: auto;
    }
    
    .page-header {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 22px;
    }
    
    .products-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        padding: 15px;
    }
    
    .sidebar h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .main-image {
        height: 280px;
    }
    
    .thumbnails {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 70px;
        height: 55px;
    }
    
    .product-info h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .product-features {
        padding: 15px;
    }
    
    .feature-item {
        padding: 8px 0;
        font-size: 14px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info ul li {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
    
    .news-detail h1 {
        font-size: 24px;
    }
    
    .news-image img {
        height: 200px;
    }
    
    .news-content {
        font-size: 14px;
    }
    
    .error-page {
        padding: 60px 20px;
    }
    
    .error-page h1 {
        font-size: 56px;
    }
    
    .error-page h2 {
        font-size: 20px;
    }
}

/* Tablet Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        width: 92%;
        padding: 0 15px;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .stat-item p {
        font-size: 13px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .top-left {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .search-form {
        width: 100%;
        max-width: 320px;
    }
    
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .main-nav {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 85px);
        background-color: #fff;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .menu-item {
        margin-left: 0;
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }
    
    .menu-item > a {
        padding: 14px 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        padding: 10px;
    }
    
    .sticky-padding {
        padding-top: 80px;
    }
    
    .banner {
        height: 220px;
    }
    
    .banner-item {
        height: 220px;
    }
    
    .banner-overlay {
        padding: 20px;
    }
    
    .category-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-image {
        height: 320px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-image img {
        height: 280px;
    }
}

/* Medium Desktop (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .main-nav .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu-item {
        margin-left: 12px;
    }
    
    .menu-item > a {
        font-size: 14px;
        padding: 12px 12px;
    }
}

/* Small Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 93%;
    }
    
    .menu-item {
        margin-left: 18px;
    }
    
    .menu-item > a {
        font-size: 14px;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-item {
        height: 300px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .product-grid-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .product-detail {
        grid-template-columns: 400px 1fr;
        gap: 30px;
    }
    
    .main-image {
        height: 300px;
    }
}
