/* 产品详情页样式 */

/* 页面内部Banner */
.tenglong-inner-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tenglong-inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/pro.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.tenglong-inner-banner-content {
    position: relative;
    z-index: 1;
    text-align: right !important;
    color: #fff;
    padding-right: 100px;
    padding-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 40px;
}

.tenglong-inner-banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: inline-block;
    border-bottom: 3px solid #ff0000;
    padding-bottom: 10px;
}

/* 产品过滤区域 */

/* 产品分类和搜索区域 */
.tenglong-product-filter-section {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.tenglong-product-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.tenglong-filter-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tenglong-category-dropdown {
    position: relative;
}

.tenglong-category-btn {
    background-color: #1a365d;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    transition: background-color 0.3s;
}

.tenglong-category-btn:hover {
    background-color: #234a7d;
}

.tenglong-category-btn span {
    flex: 1;
    text-align: left;
}

.tenglong-category-btn i {
    margin-left: 10px;
    font-size: 12px;
    transition: transform 0.3s;
}

.tenglong-category-dropdown:hover .tenglong-category-btn i {
    transform: rotate(90deg);
}

.tenglong-category-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.tenglong-category-dropdown:hover .tenglong-category-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tenglong-category-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.tenglong-category-item:hover {
    background-color: #f5f5f5;
    color: #1a365d;
    padding-left: 25px;
}

.tenglong-filter-right {
    flex: 1;
    max-width: 500px;
    margin-left: auto;
}

.tenglong-product-search {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tenglong-search-input-field {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-right: none;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.tenglong-search-input-field:focus {
    border-color: #1a365d;
}

.tenglong-search-input-field::placeholder {
    color: #999;
}

.tenglong-search-btn {
    background-color: #1a365d;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.tenglong-search-btn:hover {
    background-color: #234a7d;
}

.tenglong-search-btn i {
    font-size: 16px;
}


/* 产品详情区域 */
.tenglong-product-detail-section {
    padding: 50px 0;
}

.tenglong-product-detail-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
}

.tenglong-product-gallery-section {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.tenglong-product-gallery {
    flex: 1;
    min-width: 400px;
}

.tenglong-main-image {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
}

.tenglong-main-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.tenglong-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tenglong-thumbnail-item {
    width: 80px;
    height: 80px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tenglong-thumbnail-item:hover {
    border-color: #063d80;
    box-shadow: 0 2px 8px rgba(6, 61, 128, 0.2);
}

.tenglong-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.tenglong-product-info {
    flex: 1;
    min-width: 400px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 30px;
}

.tenglong-product-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 2px solid #063d80;
    padding-bottom: 15px;
}

.tenglong-product-specs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tenglong-spec-item {
    display: flex;
    align-items: center;
}

.tenglong-spec-label {
    font-weight: bold;
    width: 100px;
    color: #666;
}

.tenglong-spec-value {
    color: #333;
}

/* 滑动门区域 */
.tenglong-sliding-doors-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.tenglong-sliding-doors-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.tenglong-doors-tabs {
    display: flex;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.tenglong-door-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tenglong-door-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #063d80 0%, #1a5fb4 100%);
    transition: transform 0.3s ease;
    border-radius: 2px 2px 0 0;
}

.tenglong-door-tab:hover {
    color: #063d80;
    background: rgba(6, 61, 128, 0.05);
}

.tenglong-door-tab:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.tenglong-door-tab.active {
    color: #063d80;
    background: #fff;
    font-weight: 700;
}

.tenglong-door-tab.active::before {
    transform: translateX(-50%) scaleX(1);
}

.tenglong-door-tab i {
    margin-right: 8px;
    font-size: 14px;
}

.tenglong-doors-content {
    padding: 40px 0;
}

.tenglong-doors-content table {
    width: 100%;
    border-collapse: collapse;
}

.tenglong-doors-content table th,
.tenglong-doors-content table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.tenglong-doors-content table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.tenglong-doors-content table tbody tr:hover {
    background-color: #f8f9fa;
}

.tenglong-door-panel {
    display: none;
}

.tenglong-door-panel.active {
    display: block;
}

.tenglong-door-panel h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.tenglong-door-panel p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .tenglong-product-filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .tenglong-filter-left {
        width: 100%;
    }
    
    .tenglong-category-btn {
        flex: 1;
        min-width: 150px;
    }
    
    .tenglong-search-input-field {
        width: 100%;
        max-width: 300px;
    }
    
    .tenglong-product-gallery-section {
        flex-direction: column;
    }
    
    .tenglong-product-gallery,
    .tenglong-product-info {
        min-width: 100%;
    }
    
    .tenglong-doors-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tenglong-door-tab {
        min-width: 120px;
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .tenglong-thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .tenglong-inner-banner-content {
        padding-right: 20px;
    }
    
    .tenglong-inner-banner-title {
        font-size: 36px;
    }
    
    .tenglong-product-gallery-section {
        gap: 20px;
    }
    
    .tenglong-product-info {
        padding: 20px;
    }
    
    .tenglong-doors-content {
        padding: 20px 0;
    }
    
    .tenglong-thumbnail-item {
        width: 50px;
        height: 50px;
    }
}
