/* Products Page Styles - Independent Stylesheet */

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Saira', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header & Navigation ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.has-dropdown i {
    font-size: 10px;
    margin-left: 4px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--primary-color);
}

.phone-link i {
    font-size: 14px;
}

.search-btn,
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 8px;
}

.search-btn:hover,
.lang-btn:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==================== Products Hero ==================== */
.products-hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.products-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.products-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 30, 60, 0.75) 0%, rgba(0, 30, 60, 0.35) 100%);
    z-index: -1;
}

.products-hero-content {
    color: white;
    padding-top: 60px;
}

.products-hero-content h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.4;
    max-width: 550px;
}

/* ==================== Products Page Section ==================== */
.products-page {
    padding: 40px 0 80px;
    background-color: var(--bg-white);
    min-height: calc(100vh - 80px);
}

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ==================== Page Title ==================== */
.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

/* ==================== Products Layout ==================== */
.products-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ==================== Products Main Content ==================== */
.products-main {
    flex: 1;
    min-width: 0;
}

/* ==================== Sidebar ==================== */
.products-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.category-item {
    border-bottom: 1px solid var(--border-color);

}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    padding: 14px 16px;
}

.category-link:hover {
    color: var(--primary-color);
}

.category-item.active>.category-link {
    background-color: var(--text-dark);
    color: white;
    padding: 14px 16px;
}

.category-item.active>.category-link i {
    color: white;

}

.category-link i {
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

/* ==================== Submenu ==================== */
.submenu {
    list-style: none;
    padding: 0 0 10px 20px;
    margin: 0;
    display: none;
}

.category-item.active .submenu {
    display: block;
}

.submenu li {
    padding: 8px 0;
}

.submenu li a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.submenu li a:hover,
.submenu li.active a {
    color: var(--primary-color);
}

.submenu li.active a {
    font-weight: 500;
}

/* ==================== Products Grid ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: opacity 0.3s ease;
}

/* ==================== Product Card ==================== */
.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    cursor: pointer;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* ==================== Product Info ==================== */
.product-info {
    padding: 20px;
    text-align: left;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: left;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.spec-label {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: left;
}

.spec-value {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 300px;
    padding: 50px 0 60px;
    margin-top: 20px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 0;
    font-family: inherit;
}

.pagination-btn:hover:not(.disabled) {
    color: var(--primary-color);
}

.pagination-btn.disabled {
    color: var(--border-color);
    cursor: default;
    pointer-events: none;
}

.pagination-btn i {
    font-size: 13px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
    font-family: inherit;
}

.pagination-page:hover {
    background-color: var(--bg-light);
}

.pagination-page.active {
    background-color: var(--text-dark);
    color: white;
}

.pagination-ellipsis {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    user-select: none;
}

/* ==================== Footer ==================== */
.footer {
    background-image: url('https://www.conbyth.com/images/footer-bg.webp');
    color: var(--text-dark);
    padding: 50px 0 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://www.conbyth.com/images/world-map.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.15;
    pointer-events: none;
}

.footer-content {
    /* display: grid; */
    /* grid-template-columns: 1.6fr 0.7fr 0.7fr 1fr; */
    display: flex;
    gap: 60px;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo Section */
.footer-section.logo-section {
    display: flex;
    flex-direction: column;
    flex: 5;
}

.footer-section.nav-section {
    flex: 2;
}

.footer-section.products-section {
    flex: 2;
}

/* 合并后的 Quick Links + Products 区域 */
.footer-section.nav-products-section {
    flex: 4;
}

.nav-products-row {
    display: flex;
    gap: 30px;
}

.quick-links-col {
    flex: 1;
}

.products-col {
    flex: 1;
}

.footer-section.contact-section {
    flex: 2.5;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.company-intro {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.company-intro strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Nav Section */
.footer-nav-columns {
    display: flex;
    gap: 20px;
}

.footer-section.nav-section h4,
.footer-section.products-section h4,
.footer-section.contact-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-nav-list,
.footer-products-list {
    list-style: none;
}

.footer-nav-list li,
.footer-products-list li {
    margin-bottom: 8px;
}

.footer-nav-list a,
.footer-products-list a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-list a:hover,
.footer-products-list a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section .contact-list {
    list-style: none;
    margin-bottom: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-list li i {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list li span {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
    text-decoration: none;
    background-color: transparent;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    background-color: white;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Links Section */
.links-column h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.products-column {
    flex: 1;
    max-width: 400px;
}

.products-links {
    display: flex;
    gap: 40px;
}

.products-links ul {
    list-style: none;
}

.products-links li {
    margin-bottom: 10px;
}

.products-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.products-links a:hover {
    color: var(--primary-color);
}

.links-column ul {
    list-style: none;
}

.links-column li {
    margin-bottom: 10px;
}

.links-column a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.links-column a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    /* border-top: 1px solid #d2dff1; */
    /* padding: 15px 0; */
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    border-top: 1px solid #cfd5dd;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-bottom-left {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left p {
    margin: 0;
}

.design-by {
    display: flex;
    align-items: center;
    gap: 5px;
}

.design-by img {
    height: 16px;
}

.footer-bottom-right .language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.language-selector:hover {
    color: var(--primary-color);
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .products-layout {
        flex-direction: column;
    }

    .products-sidebar {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .links-section {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .products-hero-content h1 {
        font-size: 26px;
    }

    .products-page {
        padding: 20px 0 60px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 200px;
    }

    .company-intro {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .spec-row {
        flex-direction: column;
        gap: 4px;
    }

    .spec-value {
        text-align: left;
    }

    .phone-link span {
        display: none;
    }
}

/* iPhone 15 适配 (430px) */
@media (max-width: 450px) {
    .container {
        padding: 0 16px;
    }

    .products-hero {
        height: 45vh;
        min-height: 320px;
    }

    .products-hero-content h1 {
        font-size: 36px;
    }

    .products-page {
        padding: 16px 0 40px;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .products-layout {
        gap: 24px;
    }

    .products-sidebar {
        width: 100%;
    }

    .category-link {
        padding: 12px 0;
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 240px;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .product-specs {
        gap: 6px;
    }

    .spec-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }

    .spec-label,
    .spec-value {
        font-size: 12px;
    }

    .pagination {
        gap: 40px;
        padding: 30px 0 40px;
    }

    .pagination-btn {
        font-size: 13px;
    }

    .pagination-page {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .footer {
        padding: 30px 0 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section,
    .footer-section.nav-products-section {
        flex: none;
    }

    .nav-products-row {
        gap: 20px;
    }

    .quick-links-col,
    .products-col {
        flex: 1;
        min-width: 0;
    }

    .quick-links-col h4,
    .products-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-nav-columns {
        gap: 40px;
    }

    .company-intro {
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-bottom .container {
        padding: 0 16px;
    }

    .footer-bottom-left {
        padding: 12px 0;
        font-size: 12px;
    }
}

/* 大屏手机适配 (576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 34px;
    }

    .products-hero {
        height: 48vh;
        min-height: 340px;
    }

    .products-hero-content h1 {
        font-size: 42px;
    }

    .products-page {
        padding: 20px 0 50px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .breadcrumb {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .products-layout {
        flex-direction: column;
        gap: 30px;
    }

    .products-sidebar {
        width: 100%;
    }

    .category-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .spec-row {
        gap: 6px;
    }

    .spec-label,
    .spec-value {
        font-size: 11px;
    }

    .pagination {
        gap: 60px;
        padding: 35px 0 45px;
    }

    .pagination-btn {
        font-size: 13px;
    }

    .pagination-page {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .footer {
        padding: 40px 0 12px;
    }

    .footer-content {
        flex-direction: column;
        gap: 28px;
        padding: 0 16px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section {
        flex: none;
    }

    .footer-logo img {
        height: 34px;
    }

    .company-intro {
        font-size: 13px;
    }

    .footer-nav-columns {
        gap: 35px;
    }

    .footer-section.nav-section h4,
    .footer-section.products-section h4,
    .footer-section.contact-section h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .contact-list li {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
    }

    .footer-bottom .container {
        padding: 0 16px;
    }

    .footer-bottom-left {
        padding: 14px 0;
        font-size: 13px;
    }
}

/* 中屏手机适配 (430px) */
@media (max-width: 430px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 32px;
    }

    .products-hero {
        height: 45vh;
        min-height: 320px;
    }

    .products-hero-content h1 {
        font-size: 36px;
    }

    .products-page {
        padding: 16px 0 40px;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .products-layout {
        gap: 24px;
    }

    .products-sidebar {
        width: 100%;
    }

    .category-link {
        padding: 12px 0;
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 240px;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .product-specs {
        gap: 6px;
    }

    .spec-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }

    .spec-label,
    .spec-value {
        font-size: 12px;
    }

    .pagination {
        gap: 40px;
        padding: 30px 0 40px;
    }

    .pagination-btn {
        font-size: 13px;
    }

    .pagination-page {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .footer {
        padding: 35px 0 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section {
        flex: none;
    }

    .footer-logo img {
        height: 32px;
    }

    .company-intro {
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-nav-columns {
        gap: 30px;
    }

    .footer-section.nav-section h4,
    .footer-section.products-section h4,
    .footer-section.contact-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .contact-list li {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .social-links a {
        width: 28px;
        height: 28px;
    }

    .footer-bottom .container {
        padding: 0 16px;
    }

    .footer-bottom-left {
        padding: 12px 0;
        font-size: 12px;
    }
}

/* 小屏手机适配 (375px) */
@media (max-width: 375px) {
    .products-hero {
        height: 42vh;
        min-height: 300px;
    }

    .products-hero-content h1 {
        font-size: 32px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .product-image {
        height: 220px;
    }

    .product-name {
        font-size: 14px;
    }

    .spec-label,
    .spec-value {
        font-size: 11px;
    }

    .pagination {
        gap: 30px;
        padding: 25px 0 35px;
    }

    .pagination-btn {
        font-size: 12px;
    }

    .pagination-page {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

/* 超小屏手机适配 (320px) */
@media (max-width: 320px) {
    .products-hero-content h1 {
        font-size: 28px;
    }

    .page-title {
        font-size: 22px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 14px;
    }

    .product-name {
        font-size: 13px;
    }

    .spec-row {
        flex-direction: column;
        gap: 4px;
    }

    .spec-value {
        text-align: left;
    }

    .pagination {
        gap: 20px;
        padding: 20px 0 30px;
    }
}

/* ==================== Mega Menu ==================== */
.has-megamenu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    margin-top: 10px;
}

.has-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.level1-link {
    display: block;
    padding: 12px 24px;
    color: #333333 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.level1-link:hover {
    background: #e0e0e0;
    color: var(--primary-color) !important;
}

@media (max-width: 1024px) {
    .mega-menu {
        display: none;
    }
}