﻿/* =========================================================
   Goods Show
   This file intentionally resets the site's global * { margin:0 auto; }
   inside the product detail area.
   ========================================================= */

.product-detail-v5,
.product-detail-v5 *,
.product-detail-v5 *:before,
.product-detail-v5 *:after {
    box-sizing: border-box;
}

.product-detail-v5 *,
.product-detail-v5 *:before,
.product-detail-v5 *:after {
    margin-left: 0;
    margin-right: 0;
}

.product-detail-v5 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 35px;
}

.product-top-v5,
.product-content-v5,
.product-related-v5 {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 8px;
}

.product-top-v5 {
    width: 100%;
    padding: 24px 28px 28px;
}

.product-head-v5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e9edf2;
}

.product-head-main-v5 {
    min-width: 0;
}

.product-head-main-v5 > span {
    display: block;
    margin-bottom: 3px;
    color: #0670fa;
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
}

.product-head-main-v5 h1 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    line-height: 33px;
    font-weight: 700;
}

.product-head-stock-v5 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid #dfe9e2;
    border-radius: 7px;
    background: #f5fbf7;
}

.product-head-stock-v5 > i {
    color: #22a06b;
    font-size: 21px;
}

.product-head-stock-v5 span {
    display: block;
    color: #7e899a;
    font-size: 11px;
    line-height: 16px;
}

.product-head-stock-v5 strong {
    display: block;
    color: #0670fa;
    font-size: 19px;
    line-height: 24px;
}

.product-top-grid-v5 {
    display: grid;
    grid-template-columns: 41% minmax(0, 59%);
    gap: 28px;
    align-items: start;
}

/* Gallery */

.product-gallery-v5 {
    width: 100%;
    padding: 15px;
    border: 1px solid #e7ebf1;
    border-radius: 8px;
    background: #fbfcfe;
}

.product-gallery-main-v5 {
    position: relative;
    width: 100%;
}

.product-gallery-image-v5 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 385px;
    overflow: hidden;
    border: 1px solid #dfe5ed;
    border-radius: 7px;
    background: #fff;
    cursor: crosshair;
}

.product-gallery-image-v5 img {
    display: block;
    max-width: 88%;
    max-height: 88%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-gallery-lens-v2 {
    position: absolute;
    display: none;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(6,112,250,.55);
    background: rgba(6,112,250,.12);
    pointer-events: none;
    z-index: 5;
}

.product-gallery-zoom-v2 {
    position: absolute;
    display: none;
    left: calc(100% + 16px);
    top: 0;
    width: 390px;
    height: 390px;
    border: 1px solid #dfe4eb;
    border-radius: 7px;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
    z-index: 80;
    pointer-events: none;
}

.product-gallery-thumbs-wrap-v5 {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) 32px;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-top: 12px;
}

.product-gallery-thumbs-v5 {
    width: 100%;
    overflow: hidden;
}

.product-gallery-track-v5 {
    display: flex;
    gap: 8px;
    width: max-content;
}

.product-gallery-thumb-v5 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #dce2ea;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.product-gallery-thumb-v5.active {
    border-color: #0670fa;
    box-shadow: inset 0 0 0 1px #0670fa;
}

.product-gallery-thumb-v5 img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-gallery-arrow-v5 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 64px;
    padding: 0;
    border: 1px solid #dce2ea;
    border-radius: 6px;
    background: #fff;
    color: #788398;
    font-size: 20px;
    cursor: pointer;
}

.product-gallery-arrow-v5:hover {
    border-color: #0670fa;
    color: #0670fa;
}

.product-gallery-arrow-v5:disabled {
    opacity: .35;
    cursor: default;
}

.product-gallery-tip-v5 {
    margin-top: 9px;
    color: #8c96a8;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.product-gallery-tip-v5 i {
    margin-right: 5px;
}

/* Right panel */

.product-panel-v5 {
    width: 100%;
}

.product-basic-v5,
.product-specs-v5,
.product-order-v5 {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e4e9f0;
    border-radius: 7px;
    background: #fff;
}

.product-basic-v5,
.product-specs-v5 {
    margin-bottom: 12px;
}

.product-basic-title-v5,
.product-block-title-v5 {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid #e7ebf1;
    background: #f7f9fc;
    color: #1f2937;
    font-size: 14px;
}

.product-basic-title-v5 i,
.product-block-title-v5 i {
    color: #0670fa;
}

.product-basic-row-v5 {
    display: grid;
    grid-template-columns: 42px 125px minmax(0,1fr);
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid #edf0f4;
}

.product-basic-row-v5:last-child {
    border-bottom: 0;
}

.product-basic-icon-v5 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #eef5ff;
    color: #0670fa;
    font-size: 13px;
}

.product-basic-pdf-v5 {
    background: #fff1f1;
    color: #e53935;
}

.product-basic-label-v5 {
    color: #7c8799;
    font-size: 12px;
}

.product-basic-value-v5 {
    min-width: 0;
    color: #263043;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    word-break: break-word;
}

.product-basic-value-v5 a {
    color: #0670fa !important;
}

.product-specs-grid-v5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    padding: 4px 14px 8px;
}

.product-spec-item-v5 {
    display: grid;
    grid-template-columns: 43% minmax(0,57%);
    gap: 8px;
    min-height: 36px;
    align-items: center;
    border-bottom: 1px dashed #e8edf2;
    font-size: 12px;
}

.product-spec-item-v5 span {
    color: #8590a2;
}

.product-spec-item-v5 strong {
    color: #303b4e;
    font-weight: 600;
    word-break: break-word;
}

/* Order */

.product-order-head-v5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 54px;
    padding: 8px 14px;
    border-bottom: 1px solid #e6eaf0;
    background: #f7f9fc;
}

.product-order-title-v5 {
    display: flex;
    align-items: center;
    gap: 9px;
}

.product-order-title-v5 > i {
    color: #0670fa;
    font-size: 17px;
}

.product-order-title-v5 span {
    display: block;
    color: #8a94a6;
    font-size: 10px;
    line-height: 15px;
    text-transform: uppercase;
}

.product-order-title-v5 strong {
    display: block;
    color: #1f2937;
    font-size: 15px;
    line-height: 20px;
}

.product-order-stock-v5 {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid #dce9df;
    border-radius: 6px;
    background: #f5fbf7;
}

.product-order-stock-v5 i {
    color: #22a06b;
}

.product-order-stock-v5 span {
    color: #768196;
    font-size: 11px;
}

.product-order-stock-v5 strong {
    color: #0670fa;
    font-size: 14px;
}

.product-price-v5 {
    width: calc(100% - 28px);
    margin: 12px 14px 0;
    overflow: hidden;
    border: 1px solid #e4e9f0;
    border-radius: 6px;
}

.product-price-head-v5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border-bottom: 1px solid #e7ebf1;
    background: #fbfcfe;
}

.product-price-head-v5 span {
    color: #263043;
    font-size: 13px;
    font-weight: 700;
}

.product-price-head-v5 span i {
    margin-right: 5px;
    color: #0670fa;
}

.product-price-head-v5 em {
    color: #9aa3b1;
    font-size: 10px;
    font-style: normal;
}

.product-price-v5 table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.product-price-v5 th,
.product-price-v5 td {
    padding: 8px 12px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    color: #455064;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
}

.product-price-v5 th {
    color: #748094;
    background: #f8fafc;
    font-weight: 600;
}

.product-price-v5 tbody tr:last-child td {
    border-bottom: 0;
}

.product-buy-v5 {
    display: grid;
    grid-template-columns: 1fr 125px 250px;
    gap: 12px;
    align-items: end;
    width: calc(100% - 28px);
    margin: 12px 14px;
    padding: 12px;
    border: 1px solid #e5e9ef;
    border-radius: 6px;
    background: #fbfcfe;
}

.product-price-summary-v5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-price-summary-v5 > div {
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid #edf0f4;
    border-radius: 5px;
    background: #fff;
}

.product-price-summary-v5 span {
    display: block;
    color: #8993a5;
    font-size: 10px;
    line-height: 15px;
}

.product-price-summary-v5 strong {
    display: block;
    margin-top: 2px;
    color: #e53935;
    font-size: 15px;
    line-height: 20px;
}

.product-qty-v5 label {
    display: block;
    margin-bottom: 5px;
    color: #687386;
    font-size: 11px;
    font-weight: 600;
}

.product-qty-v5 label i {
    margin-right: 4px;
    color: #0670fa;
}

.product-qty-v5 input {
    width: 100%;
    height: 38px;
    padding: 0 8px;
    border: 1px solid #d7dde6;
    border-radius: 5px;
    background: #fff;
    text-align: center;
}

.product-actions-v5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-actions-v5 button {
    height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.product-actions-v5 button i {
    margin-right: 4px;
}

.product-buy-now-v5 {
    background: #202a3a;
}

.product-add-cart-v5 {
    background: #0670fa;
}

.product-service-v5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: calc(100% - 28px);
    margin: 0 14px 12px;
}

.product-service-v5 > div {
    display: grid;
    grid-template-columns: 88px minmax(0,1fr);
    align-items: center;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid #e8ecf2;
    border-radius: 5px;
    background: #fff;
}

.product-service-v5 span {
    color: #687386;
    font-size: 11px;
    font-weight: 600;
}

.product-service-v5 span i {
    margin-right: 5px;
    color: #0670fa;
}

.product-service-v5 img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Lower content follows the old .products-left proportion: left aligned, not centered */

.product-content-v5,
.product-related-v5 {
    width: 66.66666667%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 18px;
    padding: 22px 24px 26px;
}

.product-section-head-v5 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 13px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e8ecf2;
}

.product-section-head-v5:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 68px;
    height: 2px;
    background: #0670fa;
}

.product-section-head-v5 > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: #0670fa;
    color: #fff;
    font-size: 15px;
}

.product-section-head-v5 h2 {
    margin: 0;
    color: #1f2937 !important;
    font-size: 19px;
    line-height: 24px;
    font-weight: 700;
}

.product-section-head-v5 p {
    margin: 2px 0 0;
    color: #8a94a6;
    font-size: 11px;
    line-height: 16px;
}

.product-content-body-v5 {
    width: 100%;
    padding: 20px 22px;
    border: 1px solid #e9edf2;
    border-radius: 6px;
    background: #fbfcfe;
    color: #424d60;
    font-size: 14px;
    line-height: 1.85;
}

.product-content-body-v5 > *:first-child {
    margin-top: 0 !important;
}

.product-content-body-v5 > *:last-child {
    margin-bottom: 0 !important;
}

.product-content-body-v5 h1,
.product-content-body-v5 h2,
.product-content-body-v5 h3,
.product-content-body-v5 h4 {
    position: relative;
    margin: 20px 0 8px !important;
    padding-left: 10px;
    color: #1f2937 !important;
    font-weight: 700;
}

.product-content-body-v5 h1:before,
.product-content-body-v5 h2:before,
.product-content-body-v5 h3:before,
.product-content-body-v5 h4:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: #0670fa;
}

.product-content-body-v5 h1 {
    font-size: 20px;
}

.product-content-body-v5 h2 {
    font-size: 18px;
}

.product-content-body-v5 h3 {
    font-size: 16px;
}

.product-content-body-v5 h4 {
    font-size: 15px;
}

.product-content-body-v5 p {
    margin: 7px 0 !important;
    line-height: 1.8;
}

.product-content-body-v5 ul,
.product-content-body-v5 ol {
    margin: 10px 0 !important;
    padding-left: 22px;
}

.product-content-body-v5 li {
    margin: 4px 0 !important;
    line-height: 1.75;
}

.product-content-body-v5 ul li {
    list-style: disc !important;
}

.product-content-body-v5 ol li {
    list-style: decimal !important;
}

.product-content-body-v5 img {
    max-width: 100%;
    height: auto;
    margin: 12px 0 !important;
}

.product-content-body-v5 table {
    width: 100%;
    margin: 14px 0 !important;
    border-collapse: collapse;
}

.product-content-body-v5 th,
.product-content-body-v5 td {
    padding: 9px 10px;
    border: 1px solid #e4e9f0;
    font-size: 13px;
}

.product-content-body-v5 th {
    background: #f3f7ff;
}

/* Related products */

.product-related-grid-v5 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}

.product-related-card-v5 {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7ebf1;
    border-radius: 6px;
    background: #fff;
}

.product-related-card-v5:hover {
    border-color: #cbd6e5;
    box-shadow: 0 6px 16px rgba(29,45,75,.07);
}

.product-related-img-v5 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 10px;
    border-bottom: 1px solid #edf0f4;
    background: #fbfcfe;
}

.product-related-img-v5 img {
    display: block;
    max-width: 100%;
    max-height: 108px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-related-text-v5 {
    padding: 10px 11px 11px;
}

.product-related-text-v5 h3 {
    height: 38px;
    margin: 0;
    overflow: hidden;
    color: #273247;
    font-size: 12px;
    line-height: 19px;
    font-weight: 700;
}

.product-related-text-v5 p {
    height: 18px;
    margin: 4px 0 5px !important;
    overflow: hidden;
    color: #8993a5;
    font-size: 10px;
    line-height: 18px;
}

.product-related-text-v5 span {
    color: #0670fa;
    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   V6 - Product information + related products in one screen
   ========================================================= */

.product-lower-v6 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    width: 100%;
    margin-top: 18px;
    align-items: start;
}

.product-content-v6,
.product-related-v6 {
    width: 100%;
    margin: 0;
    padding: 22px 24px 24px;
    border: 1px solid #e7ebf1;
    border-radius: 8px;
    background: #fff;
}

.product-section-head-v6 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding-bottom: 13px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e8ecf2;
}

.product-section-head-v6:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 68px;
    height: 2px;
    background: #0670fa;
}

.product-section-head-v6 > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: #0670fa;
    color: #fff;
    font-size: 15px;
}

.product-section-head-v6 h2 {
    margin: 0;
    color: #1f2937 !important;
    font-size: 19px;
    line-height: 24px;
    font-weight: 700;
}

.product-section-head-v6 p {
    margin: 2px 0 0 !important;
    color: #8a94a6;
    font-size: 11px;
    line-height: 16px;
}

/* Detail body */

.product-content-body-v6 {
    width: 100%;
    min-height: 520px;
    padding: 22px 24px;
    border: 1px solid #e9edf2;
    border-radius: 6px;
    background: #fbfcfe;
    color: #424d60;
    font-size: 14px;
    line-height: 1.85;
}

.product-content-body-v6 > *:first-child {
    margin-top: 0 !important;
}

.product-content-body-v6 > *:last-child {
    margin-bottom: 0 !important;
}

.product-content-body-v6 h1,
.product-content-body-v6 h2,
.product-content-body-v6 h3,
.product-content-body-v6 h4 {
    position: relative;
    margin: 20px 0 9px !important;
    padding-left: 11px;
    color: #1f2937 !important;
    font-weight: 700;
}

.product-content-body-v6 h1:before,
.product-content-body-v6 h2:before,
.product-content-body-v6 h3:before,
.product-content-body-v6 h4:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    border-radius: 3px;
    background: #0670fa;
}

.product-content-body-v6 h1 {
    font-size: 20px;
}

.product-content-body-v6 h2 {
    font-size: 18px;
}

.product-content-body-v6 h3 {
    font-size: 16px;
}

.product-content-body-v6 h4 {
    font-size: 15px;
}

.product-content-body-v6 p {
    margin: 7px 0 !important;
    line-height: 1.8;
}

.product-content-body-v6 ul,
.product-content-body-v6 ol {
    margin: 10px 0 !important;
    padding-left: 22px;
}

.product-content-body-v6 li {
    margin: 4px 0 !important;
    line-height: 1.75;
}

.product-content-body-v6 ul li {
    list-style: disc !important;
}

.product-content-body-v6 ol li {
    list-style: decimal !important;
}

.product-content-body-v6 img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px 0 !important;
    border-radius: 6px;
}

.product-content-body-v6 table {
    width: 100%;
    margin: 14px 0 !important;
    border-collapse: collapse;
}

.product-content-body-v6 th,
.product-content-body-v6 td {
    padding: 9px 10px;
    border: 1px solid #e4e9f0;
    font-size: 13px;
}

.product-content-body-v6 th {
    background: #f3f7ff;
}

/* Related products right column */

.product-related-v6 {
    padding-left: 18px;
    padding-right: 18px;
}

.product-related-list-v6 {
    width: 100%;
}

.product-related-card-v6 {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 11px;
    width: 100%;
    min-height: 104px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
}

.product-related-card-v6:first-child {
    padding-top: 0;
}

.product-related-card-v6:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.product-related-img-v6 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    padding: 6px;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    background: #fbfcfe;
}

.product-related-img-v6 img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-related-text-v6 {
    min-width: 0;
    padding-top: 2px;
}

.product-related-text-v6 h3 {
    max-height: 40px;
    margin: 0;
    overflow: hidden;
    color: #273247;
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
}

.product-related-text-v6 p {
    height: 18px;
    margin: 4px 0 4px !important;
    overflow: hidden;
    color: #8993a5;
    font-size: 10px;
    line-height: 18px;
}

.product-related-text-v6 span {
    color: #0670fa;
    font-size: 10px;
    line-height: 18px;
    font-weight: 600;
}

.product-related-card-v6:hover .product-related-text-v6 h3 {
    color: #0670fa;
}


/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767px) {
    .product-detail-v5,
    .product-detail-v5 *,
    .product-detail-v5 *:before,
    .product-detail-v5 *:after {
        box-sizing: border-box;
    }

    .product-detail-v5 {
        width: 100%;
        padding: 0 10px;
        margin: 0 0 24px !important;
        overflow: hidden;
    }

    .product-top-v5 {
        width: 100%;
        padding: 16px 14px 18px;
        margin: 0 !important;
        border-radius: 7px;
    }

    .product-head-v5 {
        display: block;
        width: 100%;
        padding-bottom: 14px;
        margin: 0 0 16px !important;
    }

    .product-head-main-v5 {
        width: 100%;
        margin: 0 !important;
    }

    .product-head-main-v5 > span {
        margin: 0 0 3px !important;
        font-size: 12px;
        line-height: 18px;
    }

    .product-head-main-v5 h1 {
        width: 100%;
        margin: 0 !important;
        font-size: 21px;
        line-height: 28px;
        word-break: break-word;
    }

    .product-head-stock-v5 {
        display: inline-flex;
        width: auto;
        max-width: 100%;
        margin: 12px 0 0 !important;
        padding: 8px 12px;
    }

    .product-head-stock-v5 > i {
        font-size: 18px;
    }

    .product-head-stock-v5 strong {
        font-size: 17px;
        line-height: 22px;
    }

    .product-top-grid-v5 {
        display: block;
        width: 100%;
        margin: 0 !important;
    }

    .product-gallery-v5,
    .product-panel-v5 {
        width: 100%;
        margin: 0 !important;
    }

    .product-gallery-v5 {
        padding: 10px;
    }

    .product-gallery-image-v5 {
        width: 100%;
        height: 270px;
        margin: 0 !important;
    }

    .product-gallery-image-v5 img {
        max-width: 92%;
        max-height: 92%;
    }

    .product-gallery-zoom-v2,
    .product-gallery-lens-v2 {
        display: none !important;
    }

    .product-gallery-thumbs-wrap-v5 {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        gap: 6px;
        width: 100%;
        margin: 10px 0 0 !important;
    }

    .product-gallery-arrow-v5 {
        width: 28px;
        height: 56px;
        margin: 0 !important;
    }

    .product-gallery-thumbs-v5 {
        width: 100%;
        margin: 0 !important;
    }

    .product-gallery-track-v5 {
        gap: 6px;
        margin: 0 !important;
    }

    .product-gallery-thumb-v5 {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        margin: 0 !important;
    }

    .product-gallery-tip-v5 {
        display: none;
    }

    .product-panel-v5 {
        margin-top: 14px !important;
    }

    .product-basic-v5,
    .product-specs-v5,
    .product-order-v5 {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .product-basic-v5,
    .product-specs-v5 {
        margin-bottom: 10px !important;
    }

    .product-basic-title-v5,
    .product-block-title-v5 {
        min-height: 40px;
        padding: 0 11px;
        margin: 0 !important;
        font-size: 13px;
    }

    .product-basic-row-v5 {
        grid-template-columns: 34px 90px minmax(0, 1fr);
        min-height: 46px;
        padding: 0 10px;
        margin: 0 !important;
    }

    .product-basic-icon-v5 {
        width: 26px;
        height: 26px;
        margin: 0 !important;
    }

    .product-basic-label-v5 {
        margin: 0 !important;
        font-size: 11px;
    }

    .product-basic-value-v5 {
        min-width: 0;
        margin: 0 !important;
        font-size: 12px;
        line-height: 18px;
        word-break: break-word;
    }

    .product-specs-grid-v5 {
        display: block;
        width: 100%;
        padding: 3px 11px 7px;
        margin: 0 !important;
    }

    .product-spec-item-v5 {
        grid-template-columns: 42% minmax(0, 58%);
        min-height: 34px;
        width: 100%;
        margin: 0 !important;
        font-size: 11px;
    }

    .product-order-head-v5 {
        display: flex;
        width: 100%;
        min-height: 52px;
        padding: 7px 10px;
        margin: 0 !important;
        gap: 8px;
    }

    .product-order-title-v5 {
        min-width: 0;
        margin: 0 !important;
    }

    .product-order-title-v5 > i {
        font-size: 15px;
    }

    .product-order-title-v5 strong {
        font-size: 13px;
    }

    .product-order-stock-v5 {
        flex: 0 0 auto;
        padding: 5px 7px;
        margin: 0 !important;
    }

    .product-order-stock-v5 span {
        display: none;
    }

    .product-order-stock-v5 strong {
        font-size: 12px;
    }

    .product-price-v5 {
        width: calc(100% - 20px);
        margin: 10px 10px 0 !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-price-head-v5 {
        min-height: 36px;
        padding: 0 9px;
        margin: 0 !important;
    }

    .product-price-v5 table {
        width: 100%;
        min-width: 300px;
    }

    .product-price-v5 th,
    .product-price-v5 td {
        padding: 7px 8px;
        font-size: 11px;
        line-height: 17px;
        white-space: nowrap;
    }

    .product-buy-v5 {
        display: block;
        width: calc(100% - 20px);
        margin: 10px !important;
        padding: 10px;
    }

    .product-price-summary-v5 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        margin: 0 0 10px !important;
    }

    .product-price-summary-v5 > div {
        min-height: 50px;
        margin: 0 !important;
    }

    .product-price-summary-v5 strong {
        font-size: 14px;
    }

    .product-qty-v5 {
        width: 100%;
        margin: 0 0 9px !important;
    }

    .product-qty-v5 label {
        margin: 0 0 5px !important;
    }

    .product-qty-v5 input {
        width: 100%;
        height: 40px;
        margin: 0 !important;
    }

    .product-actions-v5 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        margin: 0 !important;
    }

    .product-actions-v5 button {
        width: 100%;
        height: 40px;
        padding: 0 6px;
        margin: 0 !important;
        font-size: 11px;
    }

    .product-service-v5 {
        display: block;
        width: calc(100% - 20px);
        margin: 0 10px 10px !important;
    }

    .product-service-v5 > div {
        grid-template-columns: 78px minmax(0, 1fr);
        width: 100%;
        min-height: 38px;
        margin: 0 0 7px !important;
        padding: 5px 8px;
    }

    .product-service-v5 > div:last-child {
        margin-bottom: 0 !important;
    }

    .product-service-v5 span {
        font-size: 10px;
    }

    .product-service-v5 img {
        max-width: 100%;
    }

    /* Product information + related products */
    .product-lower-v6 {
        display: block;
        width: 100%;
        margin: 14px 0 0 !important;
    }

    .product-content-v6,
    .product-related-v6 {
        width: 100%;
        margin: 0 !important;
        padding: 15px 13px 16px;
        border-radius: 7px;
    }

    .product-related-v6 {
        margin-top: 12px !important;
    }

    .product-section-head-v6 {
        gap: 9px;
        min-height: 40px;
        padding-bottom: 10px;
        margin: 0 0 12px !important;
    }

    .product-section-head-v6 > i {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        margin: 0 !important;
        font-size: 13px;
    }

    .product-section-head-v6 h2 {
        margin: 0 !important;
        font-size: 16px;
        line-height: 21px;
    }

    .product-section-head-v6 p {
        margin: 1px 0 0 !important;
        font-size: 10px;
        line-height: 15px;
    }

    .product-content-body-v6 {
        width: 100%;
        min-height: 0;
        padding: 14px 13px;
        margin: 0 !important;
        font-size: 13px;
        line-height: 1.75;
        overflow: hidden;
    }

    .product-content-body-v6 h1 {
        font-size: 18px;
    }

    .product-content-body-v6 h2 {
        font-size: 16px;
    }

    .product-content-body-v6 h3 {
        font-size: 15px;
    }

    .product-content-body-v6 h4 {
        font-size: 14px;
    }

    .product-content-body-v6 h1,
    .product-content-body-v6 h2,
    .product-content-body-v6 h3,
    .product-content-body-v6 h4 {
        margin: 16px 0 7px !important;
    }

    .product-content-body-v6 p {
        margin: 6px 0 !important;
        word-break: break-word;
    }

    .product-content-body-v6 table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-content-body-v6 img {
        max-width: 100%;
        height: auto;
    }

    .product-related-list-v6 {
        width: 100%;
        margin: 0 !important;
    }

    .product-related-card-v6 {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 9px;
        width: 100%;
        min-height: 88px;
        padding: 9px 0;
        margin: 0 !important;
    }

    .product-related-img-v6 {
        width: 72px;
        height: 72px;
        padding: 5px;
        margin: 0 !important;
    }

    .product-related-img-v6 img {
        max-height: 60px;
    }

    .product-related-text-v6 {
        min-width: 0;
        margin: 0 !important;
        padding-top: 1px;
    }

    .product-related-text-v6 h3 {
        max-height: 38px;
        margin: 0 !important;
        font-size: 11px;
        line-height: 19px;
    }

    .product-related-text-v6 p {
        margin: 3px 0 !important;
        font-size: 10px;
    }

    .product-related-text-v6 span {
        font-size: 10px;
    }
}


/* =========================================================
   Add To Cart Modal
   ========================================================= */

body.goods-cart-modal-open-v1 {
    overflow: hidden;
}

.goods-cart-modal-v1,
.goods-cart-modal-v1 * {
    box-sizing: border-box;
}

.goods-cart-modal-v1 {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.goods-cart-modal-v1.show {
    opacity: 1;
    visibility: visible;
}

.goods-cart-modal-mask-v1 {
    position: absolute;
    inset: 0;
    margin: 0 !important;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.goods-cart-modal-dialog-v1 {
    position: relative;
    z-index: 2;
    width: 440px;
    max-width: 100%;
    margin: 0 !important;
    padding: 30px 30px 26px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    text-align: center;
    transform: translateY(14px) scale(.97);
    transition: transform .2s ease;
}

.goods-cart-modal-v1.show .goods-cart-modal-dialog-v1 {
    transform: translateY(0) scale(1);
}

.goods-cart-modal-close-v1 {
    position: absolute;
    top: 13px;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f5f8;
    color: #738095;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.goods-cart-modal-close-v1:hover {
    background: #e9edf3;
    color: #1f2937;
    transform: rotate(90deg);
}

.goods-cart-modal-icon-v1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px !important;
    border-radius: 50%;
    background: #eaf8f0;
    color: #20a66a;
    font-size: 25px;
    box-shadow: 0 0 0 8px rgba(32, 166, 106, .08);
}

.goods-cart-modal-v1.error .goods-cart-modal-icon-v1 {
    background: #fff0f0;
    color: #e5484d;
    box-shadow: 0 0 0 8px rgba(229, 72, 77, .08);
}

.goods-cart-modal-copy-v1 {
    margin: 0 !important;
}

.goods-cart-modal-copy-v1 h3 {
    margin: 0 0 7px !important;
    color: #182033 !important;
    font-size: 21px;
    line-height: 28px;
    font-weight: 700;
}

.goods-cart-modal-copy-v1 p {
    margin: 0 !important;
    color: #778196;
    font-size: 13px;
    line-height: 21px;
}

.goods-cart-modal-product-v1 {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 18px 0 0 !important;
    padding: 10px 12px;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    background: #f8fafc;
    text-align: left;
}

.goods-cart-modal-product-v1 i {
    flex: 0 0 auto;
    color: #0670fa;
    font-size: 14px;
}

.goods-cart-modal-product-v1 span {
    min-width: 0;
    overflow: hidden;
    color: #344054;
    font-size: 12px;
    line-height: 19px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-cart-modal-summary-v1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 12px 0 0 !important;
}

.goods-cart-modal-summary-item-v1 {
    margin: 0 !important;
    padding: 12px;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    background: #fff;
}

.goods-cart-modal-summary-item-v1 span {
    display: block;
    margin: 0 0 3px !important;
    color: #8b95a7;
    font-size: 11px;
    line-height: 16px;
}

.goods-cart-modal-summary-item-v1 strong {
    display: block;
    margin: 0 !important;
    color: #182033;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}

.goods-cart-modal-summary-item-v1:last-child strong {
    color: #e53935;
}

.goods-cart-modal-actions-v1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 18px 0 0 !important;
}

.goods-cart-modal-actions-v1 button,
.goods-cart-modal-actions-v1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    margin: 0 !important;
    padding: 0 14px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 42px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}

.goods-cart-modal-continue-v1 {
    border: 1px solid #d8dee8;
    background: #fff;
    color: #344054;
}

.goods-cart-modal-continue-v1:hover {
    border-color: #bac4d2;
    background: #f8fafc;
}

.goods-cart-modal-cart-v1 {
    border: 1px solid #0670fa;
    background: #0670fa;
    color: #fff !important;
}

.goods-cart-modal-cart-v1:hover {
    border-color: #055dce;
    background: #055dce;
    color: #fff !important;
}

.goods-cart-modal-cart-v1 i {
    margin-right: 6px;
}

.goods-cart-modal-actions-single-v1 {
    grid-template-columns: 1fr;
}

.goods-cart-modal-actions-single-v1 .goods-cart-modal-cart-v1 {
    max-width: 180px;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    .goods-cart-modal-v1 {
        padding: 15px;
    }

    .goods-cart-modal-dialog-v1 {
        width: 100%;
        padding: 26px 18px 20px;
        border-radius: 12px;
    }

    .goods-cart-modal-icon-v1 {
        width: 54px;
        height: 54px;
        margin-bottom: 14px !important;
        font-size: 21px;
    }

    .goods-cart-modal-copy-v1 h3 {
        font-size: 19px;
        line-height: 25px;
    }

    .goods-cart-modal-copy-v1 p {
        font-size: 12px;
        line-height: 19px;
    }

    .goods-cart-modal-product-v1 span {
        white-space: normal;
        max-height: 38px;
    }

    .goods-cart-modal-summary-item-v1 {
        padding: 10px 8px;
    }

    .goods-cart-modal-summary-item-v1 strong {
        font-size: 16px;
    }

    .goods-cart-modal-actions-v1 {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 14px !important;
    }

    .goods-cart-modal-actions-v1 button,
    .goods-cart-modal-actions-v1 a {
        height: 40px;
        line-height: 40px;
    }
}


/* =========================================================
   Cart modal centering fix
   ========================================================= */

.goods-cart-modal-v1 {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    margin: 0 !important;
    transform: none !important;
}

.goods-cart-modal-mask-v1 {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.goods-cart-modal-dialog-v1 {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 440px !important;
    max-width: calc(100vw - 40px) !important;
    margin: auto !important;
    transform-origin: center center !important;
}

.goods-cart-modal-actions-v1 {
    align-items: stretch !important;
}

.goods-cart-modal-actions-v1 .goods-cart-modal-cart-v1,
.goods-cart-modal-actions-v1 .goods-cart-modal-continue-v1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
}

.goods-cart-modal-cart-v1 i {
    display: inline-block !important;
    margin: 0 6px 0 0 !important;
}

@media (max-width: 767px) {
    .goods-cart-modal-v1 {
        padding: 15px !important;
    }

    .goods-cart-modal-dialog-v1 {
        width: 100% !important;
        max-width: calc(100vw - 30px) !important;
        margin: auto !important;
    }

    .goods-cart-modal-actions-v1 .goods-cart-modal-cart-v1,
    .goods-cart-modal-actions-v1 .goods-cart-modal-continue-v1 {
        width: 100% !important;
        text-align: center !important;
    }
}


/* =========================================================
   Gallery thumbnail selected state
   ========================================================= */

.product-gallery-thumb-v5 {
    position: relative;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-gallery-thumb-v5:hover {
    border-color: #8dbbff;
    background: #f7faff;
}

.product-gallery-thumb-v5.active,
.product-gallery-thumb-v5[aria-current="true"] {
    padding: 3px;
    border: 2px solid #0670fa !important;
    background: #eef5ff !important;
    box-shadow: 0 0 0 3px rgba(6, 112, 250, .12) !important;
}

.product-gallery-thumb-v5.active:after,
.product-gallery-thumb-v5[aria-current="true"]:after {
    content: "\f00c";
    position: absolute;
    top: 3px;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin: 0 !important;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #0670fa;
    color: #fff;
    font-family: FontAwesome;
    font-size: 8px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
    z-index: 3;
}

.product-gallery-thumb-v5.active img,
.product-gallery-thumb-v5[aria-current="true"] img {
    border-radius: 3px;
}

@media (max-width: 767px) {
    .product-gallery-thumb-v5.active,
    .product-gallery-thumb-v5[aria-current="true"] {
        padding: 2px;
        box-shadow: 0 0 0 2px rgba(6, 112, 250, .12) !important;
    }

    .product-gallery-thumb-v5.active:after,
    .product-gallery-thumb-v5[aria-current="true"]:after {
        top: 2px;
        right: 2px;
        width: 15px;
        height: 15px;
        font-size: 7px;
    }
}
