* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: inline;
    font-size: 14px;
    color: #333;
}

.breadcrumb li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 20px;
    /* Adjust width as needed */
    height: 20px;
    /* Adjust height as needed */
    background-image: url('../img/dh_j.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 5px;
    vertical-align: middle;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 产品内容样式 */
.product-content {
    display: flex;
    max-width: 1350px;
    margin: 40px 25px;
    margin-top: 60px;
	flex-direction: column;
/* 	margin-left: 0; */
/* 	    align-items: center; */
/*     justify-content: center; */
}
/*div#modal-button-list a:nth-child(5) {*/
/*    background-color: #0f4aa4;*/
/*    color: #fff !important;*/
/*}*/
.product-gallery {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right:35px;
}

.main-image img {
    max-width: 375px;
    height: auto;
    display: block;
}

.product-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    position: relative;
}

/* 社交分享按钮样式 */
.social-share {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
}

.social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.btn {
    min-width: 130px;
    padding: 8px 0;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #0056b3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    color: white !important;
}

/* 缩略图样式 */
.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    padding: 5px;
    cursor: pointer;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail:hover {
    border-color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 768px) {
   .product-container .product-content {
        flex-direction: column!important;
    }

    .product-gallery,
    .product-info {
        width: 100%;
    }
}

/* 自定义样式 */
.bg-gray {
    width: 136px !important;
    height: 136px !important;
    background-color: #f2f2f2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-gray img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* 选中状态样式 */
.swiper-slide-thumb-active.bg-gray {
    background-color: #fff !important;
    border: 2px solid #B6B6B6;
}

.swiper {
    margin: 0 !important;
}

.quick-access {
    margin-top: 60px;
    margin-bottom: 30px;
}

.quick-access .quick-access-title {
    background: url('../img/title_bg.png') no-repeat;
    background-size: 100% 100%;
    color: white;
    padding: 8px 16px;
    padding-left: 38px;
    font-size: 16px;
    font-weight: 500;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px 55px ;
    background: #f6f7f7;
    padding: 20px 15px;
}

.quick-item {
    min-width: 169px !important;
    display: block;
    /* padding: 12px; */
    text-align: center;
    text-decoration: none;
    background: #e9eaea;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 16px;
    color: #000000 !important;
    line-height: 36px;
}

.quick-item:hover {
    background: #0f4aa4 !important;
    color: white !important;
}

.quick-item.inquiry {
    background: #0f4aa4 !important;
    color: white !important;
}

.quick-item.inquiry:hover {
    background: #003584 !important;
}

.made-to-order {
    margin-top: 40px;
    margin-bottom: 40px;
}

.made-to-order h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #000;
    border-bottom: none;
    padding-bottom: 0;
}

.made-to-order p {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #000000;
    max-width: 90%;
}
.made-to-order img{
   display: block;
/*    margin: 0 auto; */
   max-width: 100%;
   height: auto;
}
.made-to-order iframe{
	width:revert-layer;
}

/* 1024px分辨率适配 */
@media (max-width: 1024px) {
    .product-container {
        padding: 15px;
    }
    
    .product-content {
        margin-top: 40px;
    }
    
    .product-gallery {
        max-width: 45%;
        margin-right: 40px;
    }
    
    .product-title {
        font-size: 30px;
    }
    
    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 18px 25px;
    }
    
    .quick-item {
        font-size: 15px;
        padding: 10px;
    }
    
    .made-to-order h2 {
        font-size: 30px;
    }
    
    .made-to-order p {
        font-size: 15px;
        max-width: 95%;
    }
    
    .bg-gray {
        width: 120px !important;
        height: 120px !important;
    }
    
    .bg-gray img {
        width: 90px;
        height: 90px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .quick-access .quick-access-title{
        background-size: auto;
    }
    .product-container {
        padding: 10px;
    }
    
    /* 面包屑导航适配 */
    .breadcrumb {
        margin-bottom: 15px;
    }
    
    .breadcrumb ul {
        flex-wrap: wrap;
    }
    
    .breadcrumb li {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    /* 产品内容适配 */
    .product-content {
        flex-direction: column;
        margin-top: 30px;
    }
    
    .product-gallery {
        margin-right: 0;
        max-width: 100%;
    }
    
    .product-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    /* 按钮和分享区域适配 */
    .action-buttons {
        flex-wrap: wrap;
        gap: 10px;
        margin: 20px 0;
    }
    
    /* 快速访问区域适配 */
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
        gap: 10px;
    }
    
    .quick-item {
        padding: 8px;
        font-size: 14px;
        line-height: 25px;
    }
    
    /* 文章区域适配 */
    .made-to-order {
        margin-top: 30px;
    }
    
    .made-to-order h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .made-to-order p {
        font-size: 14px;
        max-width: 100%;
    }
    
    /* 缩略图适配 */
    .bg-gray {
        width: 80px !important;
        height: 80px !important;
    }
    
    .bg-gray img {
        width: 60px;
        height: 60px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .product-container {
        padding: 8px;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
    
    .social-share {
        justify-content: center;
    }
    
    .product-title {
        font-size: 20px;
        text-align: center;
    }
    
    .made-to-order h2 {
        font-size: 20px;
    }
}
/* 添加媒体查询 */
@media screen and (max-width: 768px) {
    .product-info {
        display: flex;
        flex-direction: column;
    }

    .product-thumbnails {
        order: -1;  /* 将缩略图移到最前面 */
        margin-bottom: 20px;  /* 添加一些底部间距 */
    }

    .product-title {
        order: 0;
    }

    .social-share {
        order: 1;
    }

    .action-buttons {
        order: 2;
    }
    .quick-access-grid{
        grid-template-columns: repeat(2, 1fr);  /* 改为两列布局 */
    }
}