/* Product Detail Page Styles - Independent Stylesheet */

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #CEDFF9;
    --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;
    font-family: Saira;
}

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);
    width: 100vw;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

.mobile-nav-actions {
    display: none;
}

.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-contact-btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 20px;
    line-height: 1.2;
    white-space: nowrap;
    align-self: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-contact-btn:hover,
.mobile-contact-btn:active {
    background-color: #fff;
    color: var(--primary-color, #0f3e72);
}

.header.scrolled .mobile-contact-btn {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==================== Product Detail Page ==================== */
.product-detail-page {
    padding: 120px 0 80px;
    background-color: var(--bg-white);
    min-height: calc(100vh - 80px);
}

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 13px;
    flex-wrap: wrap;
}

.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);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ==================== Product Detail Layout ==================== */
.product-detail-layout {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    transition: opacity 0.3s ease;
}

/* ==================== Product Images ==================== */
.product-images {
    flex: 0 0 50%;
    max-width: none;
}

.main-image-container {
    position: relative;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.image-nav:hover {
    background-color: rgba(0, 0, 0, 1);
}

.image-nav.prev {
    left: 20px;
}

.image-nav.next {
    right: 20px;
}

.image-nav i {
    font-size: 14px;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background-color: #f8f9fa;
}

.thumbnail:hover {
    border-color: var(--border-color);
}

.thumbnail.active {
    border-color: var(--text-dark);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

/* ==================== Product Info Section ==================== */
.product-info-section {
    flex: 1;
    padding-top: 20px;
}

.product-title {
    color: var(--text-dark);
    margin-bottom: 16px;

    font-family: Saira;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 34px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    /* max-width: 400px; */
}

/* ==================== Product Specs List ==================== */
.product-specs-list {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item .spec-label {
    color: var(--text-light);
}

.spec-item .spec-value {
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

/* ==================== Get Quote Button ==================== */
.get-quote-btn {
    width: 100%;
    padding: 16px 32px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.get-quote-btn:hover {
    background-color: #333;
}

/* ==================== Contact Section ==================== */
.contact-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-section .social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ==================== Description Section ==================== */
.description-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 35px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.description-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

/* ==================== Specifications Table ==================== */
.specs-table-container {
    overflow-x: auto;
    max-width: 60%;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td {
    padding: 14px 20px;
    vertical-align: top;
    line-height: 1.6;
    border: 1px solid var(--border-color);
}

.specs-table .table-label {
    width: 180px;
    color: var(--text-light);
    background-color: #fafafa;

    font-family: Saira;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
    text-align: center;
    vertical-align: middle;
}

.specs-table .table-value {
    color: var(--text-dark);
    background-color: #fff;

    font-family: Saira;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 22.42px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

/* Tolerance 分行显示样式 */
#table-tolerance-thickness,
#table-tolerance-width,
#table-tolerance-quantity {
    display: block;
    padding: 8px 0;
    line-height: 1.8;
    border-bottom: 1px solid var(--border-color);
}

#table-tolerance-thickness:first-child {
    padding-top: 0;
}

#table-tolerance-quantity:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* 多行值分隔显示样式（Tolerance、Available Grades） */
.specs-table .multi-line-row {
    border-bottom: 1px solid var(--border-color);
}

.specs-table .multi-line-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

/* 合并单元格的 label 垂直居中 */
.specs-table td[rowSpan] {
    vertical-align: middle;
}

/* ==================== Packaging Section ==================== */
.packaging-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.packaging-section .section-title {
    margin-bottom: 30px;
}

.packaging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 15px;
}

.packaging-item {
    text-align: center;
}

.packaging-image {
    background-color: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    /* aspect-ratio: 4/3; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.packaging-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.packaging-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* 手机端轮播圆点指示器（默认隐藏，只在手机端轮播模式下显示） */
.packaging-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.packaging-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.packaging-dots .dot.active {
    background-color: var(--primary-color, #0f3e72);
    transform: scale(1.25);
}

/* ==================== Product Details Section ==================== */
.product-details-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.product-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 40px;
}

.product-details-left {
    flex: 1;
}

.product-details-section .section-title {
    margin-bottom: 16px;
}

.product-details-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
}

.product-details-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 与左侧描述的前两行对齐 */
    padding-top: calc(14px * 1.8 * 2 + 16px);
    /* 字体大小 * 行高 * 2 行 + title margin */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--text-dark);
    font-size: 12px;
}

.product-details-image {
    position: relative;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/5.4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 0 15px;
}

.product-details-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.detail-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    border-radius: 50%;
}

.product-details-image:hover .detail-image-nav {
    display: flex;
}

.detail-image-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.detail-image-nav.prev {
    left: 35px;
}

.detail-image-nav.next {
    right: 35px;
}

.detail-image-nav i {
    font-size: 12px;
}

/* ==================== Appliance Section ==================== */
.appliance-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.appliance-section .section-title {
    margin-bottom: 16px;
}

.appliance-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    /* max-width: 800px; */
}

.appliance-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.appliance-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.appliance-item:last-child {
    border-bottom: none;
}

.appliance-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.appliance-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.appliance-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
}

.appliance-intro {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
    flex: 1;
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #333;
}

.back-to-top i {
    font-size: 14px;
}

/* ==================== Footer ==================== */
.footer {
    background-image: url('https://www.conbyth.cn/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.cn/images/world-map.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.15;
    pointer-events: none;
}

.footer-content {
    display: flex;
    gap: 60px;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    
    margin-left: auto;
    margin-right: auto;
}

/* Logo Section */
.footer-section.logo-section {
    display: flex;
    flex-direction: column;
    flex: 3.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: 2;
}

.products-col {
    flex: 2;
}

.footer-section.contact-section {
    flex: 2;
}

.footer-section.qrCODE-section {
    flex: 2.5;

}

.footer-logo-row {
    display: flex;
    align-items: center;
    justify-content: 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;
}

/* QR Codes Container */
.qr-codes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 8px;
}

.qr-code-item p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

.footer-section .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);
}

/* Footer Bottom */
.footer-bottom {
    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);
    
    margin: 0 auto;
    padding: 0;
}

.footer-bottom-left {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left p {
    margin: 0;
}

/* ==================== WhatsApp 悬浮按钮 ==================== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    top: 75%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(69, 192, 69);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px #3d97dc66;
    transition: all 0.3s ease;
    color: white;
    font-size: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgb(69, 192, 69);
}

.whatsapp-qr-popup {
    position: absolute;
    bottom: 80px;
    right: 20%;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.whatsapp-qr-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-qr-popup img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .whatsapp-qr-popup {
        bottom: 70px;
        padding: 12px;
    }

    .whatsapp-qr-popup img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 12px;
    }

    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .whatsapp-qr-popup {
        bottom: 65px;
        padding: 10px;
    }

    .whatsapp-qr-popup img {
        width: 130px;
        height: 130px;
    }
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
    .product-detail-layout {
        gap: 40px;
    }

    .product-images {
        flex: 0 0 50%;
    }

    .packaging-grid {
        gap: 20px;
    }

    .appliance-grid {
        gap: 20px;
    }

}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 12px 30px;
    }

    .nav-menu a {
        color: var(--text-dark);
        font-size: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .product-detail-layout {
        flex-direction: column;
    }

    .product-images {
        flex: 1;
        max-width: 100%;
    }

    .main-image-container {
        aspect-ratio: 16/10;
    }

    .packaging-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-details-header {
        flex-direction: column;
        gap: 20px;
    }

    .appliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .links-section {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}



@media (max-width: 768px) {
    /* 手机端二维码横向并排 */
    .qr-codes-container {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .qr-code-item img {
        width: 110px;
        height: 110px;
    }

    .phone-link {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
    }

    .product-detail-page {
        padding: 100px 0 60px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .product-title {
        font-size: 22px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .packaging-grid {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        padding: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .packaging-grid::-webkit-scrollbar {
        display: none;
    }

    .packaging-item {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .packaging-dots {
        display: flex;
    }

    .appliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-table .table-label {
        width: 120px;
        padding: 12px 15px;
    }

    .specs-table .table-value {
        padding: 12px 15px;
    }

    .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,
    .footer-section.qrCODE-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;
    }

    .links-section {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .spec-item .spec-value {
        text-align: left;
    }

    .phone-link span {
        display: inline;
        font-size: 12px;
    }

    .specs-table {
        display: block;
        width: 100%;
    }

    .specs-table tbody {
        display: block;
        width: 100%;
    }

    .specs-table tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        overflow: hidden;
    }

    .specs-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        border: none !important;
    }

    .specs-table .table-label {
        display: block;
        width: 100% !important;
        background-color: #f5f5f5 !important;
        font-weight: 600;
        padding: 12px 16px;
        text-align: left !important;
        border-bottom: 1px solid var(--border-color) !important;
        font-size: 13px;
    }

    .specs-table .table-value {
        display: block;
        width: 100% !important;
        padding: 12px 16px;
        text-align: left !important;
        font-size: 13px;
        min-height: 44px;
    }
}

/* 大屏手机适配 (576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo img {
        height: 34px;
    }

    .logo-text {
        display: inline-block;
        font-size: 24px;
        font-weight: 600;
        color: #61435D;
    }

    .product-detail-page {
        padding: 90px 0 50px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-description {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .product-images {
        flex: 1;
        max-width: 100%;
    }

    .main-image-container {
        aspect-ratio: 16/10;
        margin-bottom: 16px;
    }

    .image-nav {
        width: 36px;
        height: 36px;
    }

    .thumbnail {
        width: 56px;
        height: 56px;
    }

    .spec-item {
        padding: 10px 0;
        font-size: 12px;
    }

    .get-quote-btn {
        padding: 14px 24px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .description-text {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .specs-table-container {
        max-width: 100%;
    }

    .specs-table {
        font-size: 12px;
    }

    .specs-table .table-label {
        width: 100px;
        font-size: 12px;
        padding: 10px 12px;
    }

    .specs-table .table-value {
        font-size: 12px;
        padding: 10px 12px;
    }

    .packaging-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 10px;
    }

    .packaging-name {
        font-size: 13px;
    }

    .product-details-header {
        flex-direction: column;
        gap: 16px;
    }

    .product-details-desc {
        font-size: 13px;
    }

    .product-details-features {
        padding-top: 0;
        gap: 10px;
    }

    .feature-item {
        font-size: 12px;
    }

    .product-details-image {
        aspect-ratio: 16/6;
        margin-top: 24px;
    }

    .appliance-desc {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .appliance-item {
        padding: 8px 0;
    }

    .appliance-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .appliance-icon img {
        width: 24px;
        height: 24px;
    }

    .appliance-name {
        font-size: 13px;
        flex-shrink: 0;
        width: 110px;
    }

    .appliance-intro {
        font-size: 13px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .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,
    .footer-section.nav-products-section,
    .footer-section.qrCODE-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;
    }

    .product-detail-page {
        padding: 85px 0 40px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .product-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .product-description {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .main-image-container {
        aspect-ratio: 4/3;
        margin-bottom: 12px;
    }

    .image-nav {
        width: 32px;
        height: 32px;
    }

    .image-nav.prev {
        left: 10px;
    }

    .image-nav.next {
        right: 10px;
    }

    .thumbnail {
        width: 52px;
        height: 52px;
    }

    .spec-item {
        padding: 8px 0;
        font-size: 12px;
    }

    .get-quote-btn {
        padding: 12px 20px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .description-text {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .specs-table {
        font-size: 11px;
    }

    .specs-table .table-label {
        width: 90px;
        font-size: 11px;
        padding: 8px 10px;
    }

    .specs-table .table-value {
        font-size: 11px;
        padding: 8px 10px;
    }

    .packaging-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .packaging-name {
        font-size: 12px;
    }

    .product-details-header {
        gap: 14px;
    }

    .product-details-desc {
        font-size: 12px;
    }

    .feature-item {
        font-size: 11px;
        gap: 8px;
    }

    .product-details-image {
        aspect-ratio: 16/7;
        margin-top: 20px;
    }

    .appliance-desc {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .appliance-item {
        padding: 6px 0;
    }

    .appliance-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .appliance-icon img {
        width: 22px;
        height: 22px;
    }

    .appliance-name {
        font-size: 12px;
        flex-shrink: 0;
        width: 100px;
    }

    .appliance-intro {
        font-size: 12px;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 16px;
        right: 16px;
    }

    .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,
    .footer-section.nav-products-section,
    .footer-section.qrCODE-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) {
    .product-detail-page {
        padding: 80px 0 35px;
    }

    .product-title {
        font-size: 17px;
    }

    .product-description {
        font-size: 11px;
    }

    .main-image-container {
        aspect-ratio: 1/1;
    }

    .thumbnail {
        width: 48px;
        height: 48px;
    }

    .section-title {
        font-size: 20px;
    }

    .specs-table .table-label {
        width: 80px;
        font-size: 10px;
        padding: 8px;
    }

    .specs-table .table-value {
        font-size: 10px;
        padding: 8px;
    }

    .appliance-name {
        font-size: 11px;
        flex-shrink: 0;
        width: 90px;
    }

    .appliance-intro {
        font-size: 11px;
    }
}

/* 超小屏手机适配 (320px) */
@media (max-width: 320px) {
    .product-detail-page {
        padding: 75px 0 30px;
    }

    .product-title {
        font-size: 16px;
    }

    .thumbnail {
        width: 44px;
        height: 44px;
    }

    .section-title {
        font-size: 18px;
    }

    .specs-table .table-label {
        width: 70px;
        font-size: 10px;
    }

    .specs-table .table-value {
        font-size: 10px;
    }

    .appliance-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .appliance-icon {
        margin-right: 0;
    }
}

/* ==================== 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) {
    .mobile-nav-actions {
        display: flex;
    }

    .mega-menu {
        display: none;
    }
}

@media (max-width: 430px) {
    .container {
        padding: 0 16px !important;
    }
}