
.img-preview {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.img-preview img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.nav.prev {
    left: 30px;
}

.nav.next {
    right: 30px;
}

.nav:hover {
    background: rgba(255,255,255,0.2);
}
.img-index {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}
/* 整体容器 */
.mod18 {
    width: 100%;
    max-width: 600px; /* 控制最大宽度 */
    position: relative;
}

/* 大图容器 */
.big-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 图片自适应 */
.big-img img {
    width: 100%;
    height: auto;
    max-height: 500px; /* 防止过高撑开 */
    object-fit: contain; /* 关键：完整显示图片 */
    display: block;
}

/* 防止盖住 breadcrumb */
.proinfo_thumb {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* breadcrumb 提升层级 */
.breadcrumb-bar {
    position: relative;
    z-index: 10;
}
.proinfo_thumb .big-img {
    height: 500px;
}
.product_des_txt img{
    margin: 0px;
}
.product_des_txt p:empty {
    display: none;
}
.product_des_txt {
    line-height: 0; /* 干掉行间距 */
}

.product_des_txt p {
    margin: 0;
    padding: 0;
}
.related-carousel .item {
    padding: 10px;
    text-align: center;
}

.related-carousel img {
    width: 100%;
    display: block;
}

.related-carousel p {
    font-size: 14px;
    margin-top: 10px;
}

/* 箭头样式优化 */
.owl-nav button {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4) !important;
    color: #fff !important;
    font-size: 24px !important;
    padding: 5px 12px !important;
}

.owl-nav .owl-prev {
    left: -10px;
    font-size: 30px;
    z-index: 999;
}

.owl-nav .owl-next {
    right: -10px;
    font-size: 30px;
}
.owl-carousel .owl-item img{max-width: unset;max-height: unset}
.related-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 9999;
}
.related-carousel .owl-nav button {
    pointer-events: auto; /* 明确允许点击 */
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    font-size: 24px !important;
    padding: 8px 14px !important;
    cursor: pointer;
}
.related-carousel {
    position: relative;
}

.related-carousel .owl-nav {
    z-index: 9999;
}

.related-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.inquiry .tips{ text-align: center}
.inquiry .inquiry-form {
    margin: 60px 0;
}

.inquiry .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.inquiry .form-row input {
    flex: 1;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.inquiry .form-row textarea {
    width: 100%;
    height: 160px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: none;
    font-size: 14px;
}

.inquiry .form-btn {
    text-align: center;
}

.inquiry .form-btn button {
    background: #f00;
    color: #fff;
    border: none;
    padding: 14px 50px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.inquiry .form-btn button:hover {
    background: #ff3333;
}
.inquiry .form-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.inquiry .form-msg.success {
    color: #28a745;
}

.inquiry .form-msg.error {
    color: #dc3545;
}

.inquiry button.loading {
    opacity: 0.7;
    pointer-events: none;
}
