#pic-page {

    text-align: center;

    margin-top: 10px;

}

#pic-page a:hover img, #pic-page a.active img {

    border: solid #5280DD 1px;

}

#pic-page a {

    padding:1%;

}

#pic-page a img {

    width: 22%;

    padding: 2px;

    border: solid #ccc 1px;

    margin-bottom: 5px;

    vertical-align: middle;

	border: 0;

}

/* Product detail header */
.product-detail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.product-detail-header::after {
    display: none;
}

.product-detail-gallery {
    float: none;
    width: 42%;
    flex: 0 0 42%;
}

.product-detail-info {
    float: none;
    width: calc(58% - 32px);
    flex: 1 1 calc(58% - 32px);
    min-width: 0;
}

.gallery-wrap {
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 12px;
    background: #fafbfc;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.product-detail-gallery .gallery-sample {
    line-height: 0;
}

.product-detail-gallery .showpic_flash {
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.product-detail-gallery .showpic_flash li {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.product-detail-gallery .showpic_flash img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-gallery .product-thumb-list,
.product-detail-gallery #pic-page.product-thumb-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    text-align: center;
    line-height: normal;
}

.product-detail-gallery .product-thumb-list a,
.product-detail-gallery #pic-page.product-thumb-list a {
    display: block;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.product-detail-gallery .product-thumb-list a img,
.product-detail-gallery #pic-page.product-thumb-list a img {
    display: block;
    width: 72px;
    height: 72px;
    max-width: none;
    object-fit: cover;
    border: 2px solid #e4e7eb;
    border-radius: 6px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.product-detail-gallery .product-thumb-list a:hover img,
.product-detail-gallery .product-thumb-list a.active img,
.product-detail-gallery #pic-page.product-thumb-list a:hover img,
.product-detail-gallery #pic-page.product-thumb-list a.active img {
    border-color: #df1d1d;
    box-shadow: 0 0 0 2px rgba(223, 29, 29, 0.15);
}

.product-detail-title {
    margin: 0 0 18px !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1a1a1a !important;
}

.product-specs {
    list-style: none;
    margin: 0 0 18px;
    padding: 16px 18px;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 10px;
}

.product-specs:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.product-specs li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    border-bottom: 1px dashed #e8eaed;
}

.product-specs li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-specs li:first-child {
    padding-top: 0;
}

.product-specs .spec-label {
    font-weight: 600;
    color: #333;
}

.product-specs .spec-value {
    color: #df1d1d;
    font-weight: 600;
}

.product-desc {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #fff;
    border-left: 3px solid #df1d1d;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.product-desc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #666;
}

.product-desc .desc-label {
    font-weight: 600;
    color: #333;
}

.product-tags {
    margin-bottom: 22px;
}

.product-tags-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-tags-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('../images/tags.png') no-repeat center;
    background-size: 18px 18px;
    opacity: 0.7;
}

.product-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag-chip {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #555 !important;
    background: #f0f2f5;
    border: 1px solid #e4e7eb;
    border-radius: 20px;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.no-touch .product-tag-chip:hover {
    color: #df1d1d !important;
    background: rgba(223, 29, 29, 0.06);
    border-color: rgba(223, 29, 29, 0.25);
}

.product-detail-actions {
    position: static;
    padding-top: 20px;
    margin-top: 4px;
    border-top: 1px solid #eef0f2;
}

.product-detail-actions .product-share {
    padding-top: 0 !important;
    margin-bottom: 16px;
}

.product-inquiry-btns {
    float: none;
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-inquiry-btns form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-inquiry-btns .pdb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 8px;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.product-inquiry-btns .pdb-btn i {
    font-size: 17px;
}

.pdb-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #df1d1d 0%, #c81919 100%);
    box-shadow: 0 4px 16px rgba(223, 29, 29, 0.28);
}

.no-touch .pdb-btn--primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(223, 29, 29, 0.38);
}

.pdb-btn--secondary {
    color: #fff !important;
    background: #2c3338;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.no-touch .pdb-btn--secondary:hover {
    color: #fff !important;
    background: #1a1f23;
    transform: translateY(-1px);
}

.pdb-btn--outline {
    color: #444 !important;
    background: #fff;
    border: 1px solid #dde1e6;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.no-touch .pdb-btn--outline:hover {
    color: #df1d1d !important;
    border-color: rgba(223, 29, 29, 0.35);
    background: rgba(223, 29, 29, 0.04);
}

@media only screen and (max-width: 900px) {
    .product-detail-header {
        gap: 24px;
    }

    .product-detail-gallery,
    .product-detail-info {
        width: 100%;
        flex: 0 0 100%;
    }

    .product-detail-title {
        font-size: 22px !important;
    }

    .product-inquiry-btns form {
        width: 100%;
    }

    .product-inquiry-btns .pdb-btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 160px;
    }
}

@media only screen and (max-width: 480px) {
    .gallery-wrap {
        padding: 8px;
    }

    .product-detail-gallery .product-thumb-list a,
    .product-detail-gallery #pic-page.product-thumb-list a {
        width: 56px;
        height: 56px;
    }

    .product-detail-gallery .product-thumb-list a img,
    .product-detail-gallery #pic-page.product-thumb-list a img {
        width: 56px;
        height: 56px;
    }

    .product-inquiry-btns .pdb-btn {
        width: 100%;
    }
}

/* Product inquiry modal */
.product-inquiry-modal-dialog {
    max-width: 640px;
}

.product-inquiry-modal .header-quote-modal-body {
    padding: 24px;
    overflow-y: auto;
}

.product-inquiry-modal .product-inquiry-form {
    margin: 0;
}

.product-inquiry-modal .product-inquiry-wrap {
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: none;
}

@media only screen and (max-width: 600px) {
    .product-inquiry-modal .header-quote-modal-body {
        padding: 18px 16px 20px;
    }

    .product-inquiry-modal .pif-grid--2 {
        grid-template-columns: 1fr;
    }

    .product-inquiry-modal .pif-submit {
        width: 100%;
    }
}



/* Product inquiry form */

.product-inquiry-wrap {

    border: 1px solid #e8eaed;

    border-radius: 10px;

    padding: 28px 32px 32px;

    margin-bottom: 15px;

    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);

    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);

}



.product-inquiry-form {

    margin: 0;

}



.product-inquiry-form p {

    margin: 0;

}



.pif-grid {

    display: grid;

    gap: 20px;

    margin-bottom: 20px;

}



.pif-grid--2 {

    grid-template-columns: 1fr 1fr;

}



.pif-field {

    margin-bottom: 20px;

}



.pif-grid .pif-field {

    margin-bottom: 0;

}



.pif-field label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 600;

    color: #444;

    letter-spacing: 0.02em;

}



.pif-required {

    color: #df1d1d;

    font-weight: 700;

}



.product-inquiry-form input[type="text"],

.product-inquiry-form input[type="email"],

.product-inquiry-form textarea {

    width: 100%;

    max-width: 100%;

    box-sizing: border-box;

    padding: 0 16px;

    background: #fff !important;

    border: 1px solid #dde1e6 !important;

    border-radius: 8px;

    color: #333 !important;

    font-size: 14px;

    box-shadow: none !important;

    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;

}



.product-inquiry-form input[type="text"],

.product-inquiry-form input[type="email"] {

    height: 46px;

    line-height: 46px;

}



.product-inquiry-form textarea {

    height: 140px !important;

    padding-top: 14px;

    padding-bottom: 14px;

    resize: vertical;

    line-height: 1.6;

}



.product-inquiry-form input:focus,

.product-inquiry-form textarea:focus {

    border-color: #df1d1d !important;

    box-shadow: 0 0 0 3px rgba(223, 29, 29, 0.12) !important;

    outline: none;

}



.product-inquiry-form input::placeholder,

.product-inquiry-form textarea::placeholder {

    color: #aaa;

}



.product-inquiry-form input[readonly] {

    background: #f0f2f5 !important;

    color: #555 !important;

    cursor: default;

    border-color: #e4e7eb !important;

}



.pif-actions {

    margin-top: 4px;

}



.pif-submit,

#sun2 input[type="submit"].pif-submit {

    display: inline-block;

    min-width: 160px;

    padding: 14px 36px;

    border: none !important;

    border-radius: 8px;

    background: linear-gradient(135deg, #df1d1d 0%, #c81919 100%) !important;

    color: #fff !important;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow: 0 4px 18px rgba(223, 29, 29, 0.28);

    transition: transform 0.22s ease, box-shadow 0.22s ease;

}



.no-touch .pif-submit:hover,

.no-touch #sun2 input[type="submit"].pif-submit:hover {

    transform: translateY(-1px);

    box-shadow: 0 8px 24px rgba(223, 29, 29, 0.36);

}



.pif-recaptcha {

    margin-bottom: 16px;

}



@media only screen and (max-width: 768px) {
    .product-inquiry-wrap {
        padding: 20px 18px 24px;
    }

    .pif-grid--2 {
        grid-template-columns: 1fr;
    }

    .pif-submit,
    #sun2 input[type="submit"].pif-submit {
        width: 100%;
    }
}

/* Related products section */
.related-products-heading {
    margin-top: 30px;
    margin-bottom: 0;
}

.related-products-heading .wpb_area_title {
    font-size: 16px;
}

.related-products-section {
    margin-bottom: 20px;
}

.related-products-grid .w-blog-list {
    margin: 0 -10px !important;
    padding: 12px 0 4px;
}

.related-products-grid .w-blog-post {
    line-height: normal;
}

.related-products-grid .w-blog-post-preview img {
    transition: transform 0.35s ease;
}

@media only screen and (max-width: 900px) {
    .related-products-heading {
        margin-top: 24px;
    }

    .related-products-grid .w-blog-list {
        margin: 0 -6px !important;
        padding-top: 8px;
    }
}

