/* 面包屑导航 */
.breadcrumb-search-container {
    background-color: white;
    padding: 15px 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb-search-container .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.breadcrumb-wrapper {
    flex: 1;
    min-width: 200px;
}

.search-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0052a3;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

/* 产品搜索框 */
.product-search {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #3498db;
}

.search-button {
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #0052a3;
}

/* 产品列表容器 */
.product-list-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
	background-color:#f8f9fa;
	border-radius:5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .breadcrumb-search-container .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
}

/* 产品详情页容器 */
.product-detail-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
	background-color:#FFF;
}

/* 产品展示区 */
.product-showcase {
    margin: 30px 0;
}
.product-main {
    display: flex;
    gap: 40px;
}

/* 产品图片展示区 */
.product-gallery {
    flex: 1;
    opacity: 0;
    animation: fadeInLeft 0.5s forwards 0.5s;
    opacity: 0;
    animation: fadeInLeft 0.5s forwards 0.5s;
}
.main-image {
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}
.main-image img {
    max-width: 100%;
    height: auto;
}
.thumbnail-gallery {
    display: flex;
    gap: 10px;
}
.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}
.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: #0066cc;
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息区 */
.product-info {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    animation: fadeInRight 0.5s forwards 1s;
}
.product-title {
    font-size: 28px;
    margin: 0 0 15px;
    color: #333;
    font-weight: 500;
}
.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}
.product-stock.in-stock {
    color: #28a745;
}
.product-price {
    margin: 20px 0;
}
.current-price {
    font-size: 28px;
    font-weight: bold;
    color: #d82e2e;
}
.old-price {
    font-size: 18px;
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}
.discount {
    background: #d82e2e;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
}

/* 产品亮点 */
.product-highlights {
    margin: 25px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.qr-code-section {
    text-align: center;
    flex: 0 0 45%;
    margin-bottom: 30px;
}
.qr-code-section img {
    max-width: 200px;
    display: block;
    margin: 0 auto 10px;
}
.qr-code-section p {
    font-size: 16px;
    font-weight: bold;
}
.qr-code-section p:last-child {
    font-size: 14px;
    font-weight: normal;
}

/* 产品联系区 */
.product-contact {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.contact-methods {
    display: inline-block;
    text-align: left;
}

/* 产品操作区 */
.product-actions {
    text-align: center;
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
}
.btn-quote, .btn-catalog {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.product-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-highlights li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}
.product-highlights i {
    color: #28a745;
    margin-right: 10px;
    font-size: 16px;
}

/* 产品联系区 */
.product-contact {
    margin: 25px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.product-contact h3 {
    margin-top: 0;
}
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.whatsapp-btn, .email-btn, .call-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.whatsapp-btn {
    background: #25D366;
    color: white;
}
.email-btn {
    background: #0066cc;
    color: white;
}
.call-btn {
    background: #333;
    color: white;
}
.whatsapp-btn:hover, .email-btn:hover, .call-btn:hover {
    opacity: 0.9;
}

/* 产品操作区 */
.product-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}
.btn-quote, .btn-catalog {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-quote {
    background: #0066cc;
    color: white;
}
.btn-quote:hover {
    background: #0052a3;
}
.btn-catalog {
    background: white;
    border: 1px solid #0066cc;
    color: #0066cc;
}
.btn-catalog:hover {
    background: #f0f7ff;
}

/* 产品内容区 */
.product-content {
    margin: 40px 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* 产品详情选项卡 */
.product-tabs {
    margin: 20px 0;
    opacity: 0;
    animation: fadeInDown 0.5s forwards 1s;
}
.tab-header {
    display: flex;
    border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
}
.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}
.tab-btn.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}
.tab-content {
    padding: 25px 0;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tab-pane h2 {
  border-left-style: solid;
    border-left-width: 4px;
    background-color: rgba(102, 128, 153, 0.05);
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 1.125em;
    width: 100%;
    clear: both;
    margin-bottom: 5px;
}
.tab-pane p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.tab-pane p a{ text-decoration:none; color:#1A3C6E;}

.tab-pane p img{ width:100%; height:auto;    
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}
.spec-table th, .spec-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.spec-table th {
    width: 30%;
    color: #666;
    font-weight: normal;
}

/* 相关产品 */
.related-products {
    margin: 40px 0;
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}
.related-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.related-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.related-card h3 {
    font-size: 16px;
    margin: 0 0 10px;
}
.price {
    font-weight: bold;
    color: #d82e2e;
    display: block;
    margin-bottom: 10px;
}
.view-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #0066cc;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.view-btn:hover {
    background: #0052a3;
}

/* 侧边栏 */
.sidebar-widget {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    opacity: 0;
}

.sidebar-widget.categories {
    animation: fadeInRight 0.5s forwards 0.5s;
}
.sidebar-widget.downloads {
    animation: fadeInRight 0.5s forwards 1s;
}
.sidebar-widget.tags {
    animation: fadeInRight 0.5s forwards 1.5s;
}
.sidebar-widget h3 {
  
	background: #0066cc;
    padding: 10px 15px;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s;
    margin-bottom: 10px;

}
	

.categories ul, .downloads ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.categories li, .downloads li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.categories li:last-child, .downloads li:last-child {
    border-bottom: none;
}
.categories a, .downloads a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}
.categories a:hover, .downloads a:hover {
    color: #0066cc;
}
.downloads i {
    margin-right: 8px;
    color: #0066cc;
}

/* 产品标签样式 */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.product-tags a{
 text-decoration: none;  
}

.product-tags .tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.product-tags .tag:hover {
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
	
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}
.tag-cloud a:hover {
    background: #0066cc;
    color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-main {
        flex-direction: column;
    }
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-actions {
        flex-direction: column;
    }
    .btn-quote, .btn-catalog {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .thumbnail-gallery {
        justify-content: center;
    }
}

.sub-categories li {
    margin-bottom: 10px;
    position: relative;
}

.sub-categories > li > a {
    display: block;
    padding: 8px 15px;
    color: #333;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.sub-categories > li > a:hover {
    background: #f5f5f5;
}

.sub-categories ul {
    display: block;
    padding-left: 20px;
}

.sub-categories li.has-submenu ul {
    display: block;
}

.sub-categories ul li {
    margin-bottom: 8px;
}

.sub-categories ul a {
    display: block;
    padding: 6px 10px;
    color: #666;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s;
}

.sub-categories ul a:hover {
    background: #0066cc;
    color: #fff;
}

.sub-categories > li > a:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
}

.sub-categories > li.has-submenu.active > a:after {
    transform: rotate(180deg);
}



/* 国际化样式 */
[lang="es"] .product-title,
[lang="fr"] .product-title,
[lang="de"] .product-title {
    font-size: 15px;
}
[lang="es"] .product-specs span,
[lang="fr"] .product-specs span,
[lang="de"] .product-specs span {
    font-size: 14px;
}
