﻿/* ========================================
   Honor Lights - Product Detail Page Styles
   产品详情页公共样式
   ======================================== */

/* ===== Breadcrumb ===== */
        .breadcrumb-bar {
            margin-top: 72px;
            background: #f5f7fa;
            padding: 14px 24px;
            border-bottom: 1px solid #e8ecf0;
        }
        .breadcrumb-bar .container {
            max-width: 1500px; margin: 0 auto;
            font-size: 0.82rem; color: #888;
        }
        .breadcrumb-bar a { color: #555; text-decoration: none; }
        .breadcrumb-bar a:hover { color: #ffc107; }
        .breadcrumb-bar span { margin: 0 6px; color: #ccc; }

        /* ===== Product Hero ===== */
        .product-hero {
            max-width: 1500px;
            margin: 0 auto;
            padding: 48px 24px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: start;
        }
        @media (max-width: 768px) {
            .product-hero { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
            .product-gallery { position: static; top: auto; }
        }

        /* Gallery */
        @media (min-width: 769px) {
            .product-gallery { position: sticky; top: 100px; }
        }
        .gallery-main {
            width: 100%;
            aspect-ratio: 1;
            background: #f5f7fa;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
        }
        .gallery-main img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 0; margin: 0;
            transition: transform 0.3s ease;
        }
        .gallery-main img:hover { transform: scale(1.05); }
        .gallery-thumbs {
            display: flex;
            gap: 10px;
        }
        .gallery-thumb {
            width: 72px;
            height: 72px;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid transparent;
            cursor: pointer;
            background: #f5f7fa;
            transition: border-color 0.3s;
        }
        .gallery-thumb.active,
        .gallery-thumb:hover { border-color: #ffc107; }
        .gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* Product Info */
        .product-info h1 {
            font-size: 1.8rem;
            color: #1a2a4a;
            margin: 0 0 4px;
            line-height: 1.3;
        }
        .product-model-tag {
            font-size: 0.85rem;
            color: #999;
            margin: 0 0 16px;
        }
        .product-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
        }
        .stars { color: #ffc107; font-size: 0.9rem; }
        .rating-text { font-size: 0.8rem; color: #888; }

        .product-highlights {
            list-style: none;
            padding: 0;
            margin: 0 0 24px;
        }
        .product-highlights li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f2f5;
            font-size: 0.9rem;
            color: #444;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .product-highlights li::before {
            content: "✓";
            color: #ffc107;
            font-weight: 700;
            font-size: 1rem;
        }

        .quick-specs {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 24px;
        }
        .quick-spec {
            background: #f8fafc;
            border: 1px solid #eef2f6;
            border-radius: 8px;
            padding: 14px;
            text-align: center;
        }
        .quick-spec .spec-value {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1a2a4a;
            display: block;
        }
        .quick-spec .spec-label {
            font-size: 0.72rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 4px;
            display: block;
        }

        .product-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }
        .btn-inquiry {
            flex: 1;
            display: inline-block;
            background: #ffc107;
            color: #1a2a4a;
            padding: 14px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.95rem;
            text-align: center;
            transition: background 0.3s;
        }
        .btn-inquiry:hover { background: #e0a800; }
        .btn-download {
            display: inline-block;
            border: 2px solid #1a2a4a;
            color: #1a2a4a;
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            text-align: center;
            transition: all 0.3s;
        }
        .btn-download:hover { background: #1a2a4a; color: #fff; }

        .product-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            padding-top: 16px;
            border-top: 1px solid #eef2f6;
        }
        .meta-item {
            font-size: 0.8rem;
            color: #666;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .meta-item strong { color: #1a2a4a; }

        /* ===== Tabs Section ===== */
        .product-tabs-section {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 24px 60px;
        }
        .tabs-nav {
            display: flex;
            border-bottom: 2px solid #eef2f6;
            margin-bottom: 32px;
            overflow-x: auto;
        }
        .tab-btn {
            padding: 14px 24px;
            background: none;
            border: none;
            font-size: 0.9rem;
            font-weight: 600;
            color: #888;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
            white-space: nowrap;
            transition: all 0.3s;
        }
        .tab-btn.active,
        .tab-btn:hover {
            color: #1a2a4a;
            border-bottom-color: #ffc107;
        }
        .tab-panel { display: none; }
        .tab-panel.active { display: block; }

        /* Specs Table */
        .specs-table {
            width: 100%;
            border-collapse: collapse;
        }
        .specs-table tr { border-bottom: 1px solid #f0f2f5; }
        .specs-table td {
            padding: 14px 16px;
            font-size: 0.88rem;
        }
        .specs-table td:first-child {
            font-weight: 600;
            color: #1a2a4a;
            width: 35%;
            background: #f8fafc;
        }
        .specs-table td:last-child { color: #555; }

        /* Description Content */
        .desc-content h3 {
            font-size: 1.2rem;
            color: #1a2a4a;
            margin: 0 0 12px;
        }
        .desc-content p {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.7;
            margin: 0 0 16px;
        }
        .desc-content ul {
            padding-left: 20px;
            margin: 0 0 16px;
        }
        .desc-content ul li {
            font-size: 0.88rem;
            color: #555;
            line-height: 1.8;
        }

        /* Application Images */
        .app-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
        @media (max-width: 600px) {
            .app-grid { grid-template-columns: 1fr; }
        }
        .app-card {
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        .app-card img {
            width: 100%;
            height: 220px;
            object-fit: contain;
        }
        .app-card .app-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            color: #fff;
            padding: 20px 16px 12px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        /* Dimensions Diagram */
        .dimensions-box {
            background: #f8fafc;
            border: 1px solid #eef2f6;
            border-radius: 12px;
            padding: 32px;
            text-align: center;
        }
        .dimensions-box img {
            max-width: 100%;
            height: auto;
        }
        .dim-notes {
            margin-top: 16px;
            font-size: 0.82rem;
            color: #888;
        }

        /* ===== Related Products ===== */
        .related-section {
            background: #f5f7fa;
            padding: 60px 24px;
        }
        .related-section .container {
            max-width: 1500px;
            margin: 0 auto;
        }
        .related-section h2 {
            font-size: 1.5rem;
            color: #1a2a4a;
            margin: 0 0 24px;
            text-align: center;
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        @media (max-width: 768px) {
            .related-grid { grid-template-columns: 1fr; }
        }
        .related-card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        .related-card:hover { transform: translateY(-4px); }
        .related-card-img {
            height: 180px;
            background: #f0f4f8;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .related-card-img img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .related-card-body {
            padding: 16px;
        }
        .related-card-body h4 {
            font-size: 0.95rem;
            color: #1a2a4a;
            margin: 0 0 4px;
        }
        .related-card-body p {
            font-size: 0.8rem;
            color: #888;
            margin: 0 0 10px;
        }
        .related-card-body a {
            font-size: 0.82rem;
            color: #ffc107;
            text-decoration: none;
            font-weight: 600;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, #0a1428 0%, #1a2a4a 100%);
            padding: 60px 24px;
            text-align: center;
            color: #fff;
        }
        .cta-section h2 { font-size: 1.8rem; margin: 0 0 12px; }
        .cta-section p { opacity: 0.8; margin: 0 0 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
        .btn-primary {
            display: inline-block;
            background: #ffc107;
            color: #1a2a4a;
            padding: 14px 32px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.95rem;
            transition: background 0.3s;
        }
        .btn-primary:hover { background: #e0a800; }

        /* ===== Footer ===== */
        .site-footer {
            background: #0a1428;
            color: rgba(255,255,255,0.7);
            padding: 60px 24px 30px;
        }
        .footer-grid {
            max-width: 1500px; margin: 0 auto;
            display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
        }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
        .footer-col h4 { color: #fff; margin: 0 0 16px; font-size: 0.95rem; }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col ul li { margin: 0 0 8px; }
        .footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
        .footer-col ul li a:hover { color: #ffc107; }
        .footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 12px; }
        .footer-logo span { color: #fff; font-weight: 700; font-size: 1rem; }
        .footer-about p { font-size: 0.85rem; line-height: 1.6; }
        .footer-certs { display: flex; gap: 8px; margin-top: 12px; }
        .footer-certs span { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; }
        .footer-contact li { font-size: 0.85rem; }
        .footer-bottom {
            max-width: 1500px; margin: 40px auto 0; padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem;
        }
        .footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; margin-left: 16px; }
        .footer-legal a:hover { color: #ffc107; }
                    
        
        


    
        /* ===== Back to Top Button ===== */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: rgba(10, 20, 40, 0.9);
            backdrop-filter: blur(10px);
            color: #ffc107;
            border: 1px solid rgba(255, 193, 7, 0.3);
            border-radius: 50%;
            cursor: pointer;
            font-size: 1rem;
            text-decoration: none;
            opacity: 1; visibility: visible; transform: translateY(0);
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }
        .back-to-top:hover {
            background: #ffc107;
            color: #0a1428;
            transform: translateY(-3px);
        }
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .back-to-top:hover {
            background: #ffc107;
            color: #0a1428;
            border-color: #ffc107;
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 193, 7, 0.4);
        }
        .back-to-top .arrow {
            font-size: 1rem;
            line-height: 1;
            transition: transform 0.3s ease;
        }
        .back-to-top:hover .arrow {
            transform: translateY(-2px);
        }
        @media (max-width: 768px) {
            .back-to-top {
                bottom: 20px;
                right: 20px;
                padding: 10px 16px;
                font-size: 0.75rem;
            }
            .back-to-top .text {
                display: none;
            }
        }
