﻿        *{margin:0;padding:0;box-sizing:border-box;font-family:"微软雅黑", sans-serif}
        body{background:#f5f5f5;font-size:14px;padding-bottom:60px}
        .container {
            max-width: 750px; 
            margin: 0 auto;   
            background: #fff;
            min-height: 100vh;
            box-shadow: 0 0 10px rgba(0,0,0,0.1); 
        }
        a { text-decoration: none !important; color: inherit; }
       @media screen and (max-width: 768px) {
    .container { 
        max-width: 100%; 
        box-shadow: none; 
        margin: 0; 
    }
    .contg {
        padding: 5px 5px !important;
    }
    .form-group {
        gap: 10px;
        margin-bottom: 15px;
    }
    .dimension-inputs {
        gap: 10px;
        flex-direction: column;
    }
    .dimension-input {
        width: 100%;
        min-width: 100%;
    }
    .material-options {
        gap: 8px;
    }
    .page-switch {
        gap: 8px;
    }
    .page-btn {
        padding: 10px;
        font-size: 14px;
    }
    select, input[type="number"] {
        min-width: 100% !important;
        padding: 10px 12px;
        font-size: 14px;
    }
    .result-container {
        padding: 15px 10px;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .bottom-fixed {
        padding: 5px 0;
    }
    .bottom-item {
        font-size: 10px;
    }
    .bottom-item i {
        font-size: 16px;
    }
}
        .header {
            background-color: #e63946;
            color: white;
            padding: 15px 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        .back{font-size:16px;cursor:pointer}
        .title{flex:1;text-align:center;font-size:18px;font-weight:bold}
        .more{
            font-size:20px;
            cursor:pointer;
            padding:8px;
            margin:-8px;
            position:relative;
            z-index:101;
        }
        .nav-bar{
            position:absolute;
            top:100%;
            right:0;
            background:#fff;
            border-radius:0 0 4px 4px;
            box-shadow:0 2px 10px rgba(0,0,0,0.1);
            width:150px;
            display:none;
            z-index:99;
            overflow:hidden;
        }
        .nav-bar.show{display:block}
        .nav-item{
            padding:12px 16px;
            color:#333;
            font-size:14px;
            cursor:pointer;
            transition:all 0.2s;
            display:flex;
            align-items:center;
        }
        .nav-item i{margin-right:8px;color:#e63946;width:16px;text-align:center}
        .nav-item:hover{background:#f5f5f5;padding-left:20px}
        .primary-nav { position: relative; }
        .primary-nav.active .arrow { transform: rotate(90deg); }
        .nav-toggle:hover { background-color: #f5f5f5; }
        .secondary-nav {
            position: static;
            background-color: #f8f9fa;
            width: 100%;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
            border-top: 1px solid #eee;
            display: none;
            padding: 0;
            z-index: 100;
        }
        .primary-nav.active .secondary-nav { display: block; }
        .secondary-nav li {
            list-style: none;
            padding: 10px 16px 10px 32px;
            color: #333;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .secondary-nav li:hover { background-color: #f5f5f5; padding-left: 36px; }
        .tab-im { text-decoration: none; }
        .info{flex:1}
        .name{color:#06c;font-size:16px}
        .contact-btn {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
            color: #fff;
            text-align: center;
            padding: 15px;
            border-radius: 12px;
            font-weight: bold;
            text-decoration: none;
            font-size: 16px;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        }
        .advantages { display: flex; flex-wrap: wrap; gap: 10px; }
        .adv-item {
            flex: 1 1 calc(50% - 10px);
            background: #f8f9fa;
            border-radius: 10px;
            padding: 12px 10px;
            text-align: center;
        }
        .adv-item i { font-size: 18px; color: #52c41a; margin-bottom: 6px; }
        .adv-item p { font-size: 13px; color: #666; }
        .contg {
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            padding: 30px;
            position: relative;
            overflow: hidden;
        }
        .contg::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #9b59b6, #2ecc71);
        }
        h1 {
            text-align: center;
            margin-bottom: 30px;
            font-weight: 600;
            position: relative;
        }
        h1::after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            margin: 10px auto;
            border-radius: 2px;
        }
        .section-title {
            font-size: 22px;
            color: #2c3e50;
            margin-bottom: 25px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f0f4f8;
            display: flex;
            align-items: center;
        }
        .section-title i {
            margin-right: 12px;
            color: #4361ee;
            font-size: 24px;
        }
        .description {
            text-align: center;
            margin-bottom: 30px;
            color: #7f8c8d;
            font-size: 16px;
            line-height: 1.7;
        }
        .form-group {
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        label {
            font-weight: 500;
            min-width: 80px;
            color: #2c3e50;
        }
        select, input[type="number"] {
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            flex: 1;
            min-width: 200px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.8);
        }
        select:focus, input[type="number"]:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        .material-options {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 5px;
        }
        .material-option {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: #3498db;
        }
        button {
            display: block;
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #3498db, #2ecc71);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 30px 0 20px;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
        }
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        }
        button:active {
            transform: translateY(0);
        }
        .result-container {
            background: rgba(236, 240, 241, 0.5);
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            margin-top: 20px;
            border: 1px dashed #bdc3c7;
            display: none;
        }
        .result-label {
            font-size: 18px;
            color: #7f8c8d;
            margin-bottom: 10px;
        }
        #result {
            font-size: 32px;
            font-weight: 700;
            color: #2c3e50;
            background: linear-gradient(135deg, #3498db, #2ecc71);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: all 0.5s ease;
        }
        .encryption-info {
            margin-top: 30px;
            padding: 15px;
            background: rgba(236, 240, 241, 0.5);
            border-radius: 8px;
            font-size: 14px;
            color: #7f8c8d;
            text-align: center;
            border-left: 4px solid #3498db;
        }
        .decrypt-animation {
            animation: decrypt 1.5s ease-out;
        }
        @keyframes decrypt {
            0% { opacity: 0; transform: scale(0.8); filter: blur(5px); }
            70% { opacity: 1; transform: scale(1.05); filter: blur(0); }
            100% { opacity: 1; transform: scale(1); filter: blur(0); }
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            color: #7f8c8d;
            font-size: 14px;
        }
        .category-section {
            display: none;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.7);
        }
        .category-section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        .category-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
        }
.category-selector {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
	justify-content: center;
    margin-bottom: 20px;
}

.category-btn {
    padding: 10px 20px;
    background: #f0f4f8;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 16px;
    min-width: fit-content;
}

.category-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

@media (max-width: 768px) {
    .category-btn {
        padding: 6px 10px;
        font-size: 12px;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .category-btn {
        padding: 4px 8px;
        font-size: 10px;
        gap: 3px;
    }
}
        .back-to-top {
            position: fixed;
            bottom: 80px;
            right: 15px;
            width: 40px;
            height: 40px;
            background-color: #e63946;
            color: white;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            cursor: pointer;
            z-index: 99;
            transition: all 0.3s ease;
        }
        .back-to-top.show { display: flex; }
        .back-to-top:hover {
            transform: scale(1.1);
            background-color: #c1121f;
        }
        .notice {
            background-color: #fff8e1;
            color: #333;
            padding: 10px;
            border-bottom: 1px solid #eee;
            font-size: 16px;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: center;
        }
        .bottom-fixed {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            display: flex;
            border-top: 1px solid #eee;
            padding: 5px 0;
            z-index: 10;
        }
        .bottom-item {
            flex: 1;
            text-align: center;
            font-size: 12px;
            color: #666;
        }
        .bottom-item i {
            font-size: 18px;
            display: block;
            margin-bottom: 2px;
        }
        .bottom-item.active { color: #e63946; }
        .page-switch {
            display: flex;
            gap: 10px;
            margin: 20px 0;
        }
        .page-btn {
            flex: 1;
            padding: 12px;
            background: #f0f4f8;
            border: 1px solid #ddd;
            border-radius: 6px;
            cursor: pointer;
            text-align: center;
            font-size: 16px;
        }
        .page-btn.active {
            background: #e63946;
            color: white;
            border-color: #e63946;
        }
        .sub-options {
            margin-top: 15px;
            padding-left: 20px;
            display: none;
        }
        .sub-options.show {
            display: block;
        }
        .dimension-inputs {
            display: flex;
            flex-direction: row;
            gap: 30px;
            margin-top: 15px;
            align-items: center;
            min-width: 0;
        }
        .dimension-input {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 10px;
            flex: 1;
            min-width: 0;
        }
        .dimension-input label {
            font-weight: 600;
            color: #2d3748;
            font-size: 17px;
            min-width: 40px;
            white-space: nowrap;
        }
        .dimension-input .unit {
            position: relative;
            flex: 1;
            min-width: 1px;
        }
        .dimension-input input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s;
        }
        .dimension-input input:focus {
            outline: none;
            border-color: #4361ee;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        .dimension-input .unit::after {
            content: "CM";
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #718096;
            font-size: 14px;
            font-weight: 500;
        }
        .quantity-input {
            margin-top: 15px;
        }
        .quantity-input label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2d3748;
            font-size: 17px;
        }
        .quantity-input input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s;
        }
        .quantity-input input:focus {
            outline: none;
            border-color: #4361ee;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .radio-option {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .radio-option:hover {
            border-color: #4361ee;
            background: #edf2ff;
        }
        .radio-option.selected {
            background: #edf2ff;
            border-color: #4361ee;
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
        }
        .radio-option input[type="radio"] {
            margin-right: 12px;
            width: 18px;
            height: 18px;
            accent-color: #4361ee;
        }
        .radio-option label {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            cursor: pointer;
            flex: 1;
        }
        .aheader {
            background: linear-gradient(90deg, #4361ee 0%, #3a0ca3 100%);
            color: white;
            padding: 20px;
            text-align: center;
        }
        .aheader h1 {
            font-size: 26px;
            margin-bottom: 10px;
            font-weight: 700;
        }
        .aheader p {
            opacity: 0.9;
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto;
        }
        .content {
            padding: 5px;
        }
        .section {
            margin-bottom: 35px;
        }
        .result-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #edf2f7;
        }
        .result-row:last-child {
            border-bottom: none;
        }
        .result-label {
            font-weight: 500;
            color: #4a5568;
            font-size: 16px;
        }
        .result-value {
            font-weight: 600;
            color: #2c3e50;
            font-size: 16px;
        }
        .highlight {
            color: #ef4444;
            font-size: 20px;
        }
        .simple-result {
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        .result-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .result-header i {
            font-size: 24px;
            color: #10b981;
            margin-right: 10px;
        }
        .result-header h2 {
            color: #2c3e50;
            font-size: 22px;
        }
        #resultK {
            font-size: 32px;
            font-weight: 700;
            color: #2c3e50;
            background: linear-gradient(135deg, #3498db, #2ecc71);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: all 0.5s ease;
        }

        /* 预约按钮样式（不破坏你原有样式） */
        .order-btns {
            display: flex;
            gap: 12px;
            margin-top: 15px;
        }
        .order-btns button {
            flex: 1;
            margin: 0;
            font-size: 16px;
            padding: 12px;
        }
        .btn-phone {
            background: #02c77a !important;
        }
        .btn-order {
            background: #ff5a5f !important;
        }
       /* 弹窗样式 */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 90%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            justify-content: center;
        }
        
        .popup-overlay.show {
            display: flex;
        }
        
        .popup-content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            max-width: 90%;
            width: 450px;
            position: relative;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            cursor: pointer;
            font-size: 24px;
            color: #999;
            transition: color 0.3s;
        }
        
        .close-btn:hover {
            color: #333;
        }
        
        .popup-content h2 {
            margin-bottom: 20px;
            color: #333;
            text-align: center;
            font-size: 24px;
        }
        
        .form-group-popup {
            margin-bottom: 20px;
        }
        
        .form-group-popup label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
        }
        
        .form-group-popup input, 
        .form-group-popup textarea,
        .form-group-popup select {
            width: 100%;
            padding: 2px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        
        .form-group-popup textarea {
            height: 100px;
            resize: vertical;
        }
        
        .submit-btn {
            background: #4a6cf7;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            width: 100%;
            transition: background 0.3s;
        }
        
        .submit-btn:hover {
            background: #3a5ce0;
        }
        
        .loading-state {
            display: none;
            text-align: center;
            padding: 30px 0;
        }
        
        .loading-spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4a6cf7;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .success-message {
            display: none;
            text-align: center;
            padding: 30px 0;
        }
        
        .success-icon {
            font-size: 60px;
            color: #4CAF50;
            margin-bottom: 20px;
        }
        
        .success-message h3 {
            font-size: 24px;
            margin-bottom: 10px;
            color: #333;
        }
        
        .success-message p {
            color: #666;
            margin-bottom: 20px;
        }