.product-container {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}
.detail-content section,.detail-content div,.detail-content p,.detail-content table,.detail-content span,.detail-content img{
    width:100% !important;
    overflow: hidden;
    white-space: normal;
}
.product-images .main-image-container{
    width:400px;
}
.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 6px;
    /*cursor: zoom-in;*/
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-container {
    display: flex;
    margin-top: 15px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #2f9ee2;
}

.product-code {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.product-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    font-size:18px;
}
.category strong{
    font-size:14px;
}
.this-product-cate{
    color: #2f9ee2;
}

.parameter-list {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.parameter-list li {
    display: flex;
    border:1px solid #ccc;
    padding: 8px 6px;
}

.parameter-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
}

.certification-badges {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.product-info .category div{
    margin:10px 0;
}
.badge-icon {
    background-color: #f1f8ff;
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.inquiry-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
}

.inquiry-button:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.inquiry-modal .modal-content {
    border-radius: 10px;
    border: none;
}

.inquiry-modal .modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.inquiry-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.form-control, .form-select {
    border-radius: 4px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.tab-content {
    padding: 25px;
    border:1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: white;
}

.nav-tabs .nav-link {
    color: #495057;
    font-weight: 700;
    border: none;
    padding: 12px 25px;
    border-radius: 0;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: white;
    border-bottom: 3px solid var(--primary-color);
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th, .spec-table td {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    text-align: left;
}

.spec-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 30%;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.faq-answer {
    color: #555;
    line-height: 1.6;
}

.product-drawing {
    text-align: center;
    margin: 20px 0;
}

.product-drawing img {
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 6px;
}
.product-relation{
    margin: 15px 0;
}
.relation-title{
    font-size: 22px;
    padding-left: 10px;
    font-weight: 700;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 10px;
    margin: 20px 0;
}
.pc-product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-header {
    padding: 5px 0;
    text-align: center;
    font-size: 12px;
}
.pc-product-item a {
    color: #000;
    text-decoration: unset;
}
.pc-product-img {
    height: 200px;
    overflow: hidden;
}
.pc-product-img img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}
.pc-product-info {
    padding: 5px 8px;
}
.pc-product-info h4 {
    font-size: 16px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 400;
}
.inquiry-wrapper{
    text-align: center !important;
}
.inquiry-title{
    color: #007cc3;
    font-size: 24px;
}
.inquiry-content{
    font-size:16px;
}
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    .tab-content{padding:10px;}
    .product-images .main-image-container{width:300px;}
    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .nav-tabs .nav-link {
        padding: 5px 7px;
        font-size: 0.8rem;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-product-img {
        height: 150px;
    }
    .pc-product-info h4 {
        font-size: 13px;
    }
    .main-info{
        padding: 6px !important;
    }
    .main-img-wrap{
        margin-bottom: 10px !important;
    }
    .thumbnail{
        border:1px solid #ddd;
    }
    .product-title{
        font-size: 16px;
    }
    .parameter-list{
        grid-template-columns: repeat(2, 1fr);
        font-size:12px;
    }
    .product-container  .p-4{
        padding: 6px !important;
    }
    .inquiry-title{
        font-size:18px;
    }
    .inquiry-content{
        font-size:12px;
    }
    .product-container{
        margin-bottom:12px !important;
    }
}

@media (max-width: 576px) {
    .main-image {
        height: 250px;
    }
    .product-images .main-image-container{width: 250px;}
    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .btn-primary {
        width: 100%;
    }
}

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

.zoom-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-zoom {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.product-highlights {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.highlight-icon {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-info {
    background-color: #e9f7fe;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.quote-form {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 0 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list span {
    font-weight: 500;
}
