/* GHZ Product Stage 4 — information and discovery */

body.ghz-product-v3 #product-tab {
    margin-top: 34px;
    border: 1px solid var(--ghz-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(7,26,61,.045);
    overflow: hidden;
}

body.ghz-product-v3 #product-tab .resp-tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid var(--ghz-line);
    background: #f6f8fb;
}

body.ghz-product-v3 #product-tab .resp-tabs-list li {
    margin: 0 !important;
    padding: 11px 15px !important;
    border: 0 !important;
    border-radius: 10px;
    background: transparent;
    color: #5c687b;
    font-size: 13px;
    font-weight: 750;
}

body.ghz-product-v3 #product-tab .resp-tabs-list li.resp-tab-active {
    background: #071a3d !important;
    color: #fff !important;
}

body.ghz-product-v3 .tab-content {
    padding: clamp(22px,3vw,40px);
    color: #26344a;
    font-size: 14px;
    line-height: 1.9;
}

body.ghz-product-v3 .tab-content h2,
body.ghz-product-v3 .woocommerce-Tabs-panel h2 {
    margin-bottom: 18px;
    color: #071a3d;
    font-size: clamp(22px,1.7vw,28px);
    line-height: 1.35;
    font-weight: 850;
}

body.ghz-product-v3 .woocommerce-product-attributes {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--ghz-line);
    border-radius: 14px;
    overflow: hidden;
}

body.ghz-product-v3 .woocommerce-product-attributes tr:nth-child(even) {
    background: #fafbfd;
}

body.ghz-product-v3 .woocommerce-product-attributes th,
body.ghz-product-v3 .woocommerce-product-attributes td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ghz-line);
    vertical-align: middle;
}

body.ghz-product-v3 .woocommerce-product-attributes tr:last-child th,
body.ghz-product-v3 .woocommerce-product-attributes tr:last-child td {
    border-bottom: 0;
}

body.ghz-product-v3 .woocommerce-product-attributes th {
    width: 30%;
    background: #f6f8fb;
    color: #071a3d;
    font-weight: 800;
}

body.ghz-product-v3 .ghz-product-downloads {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    max-width: 920px;
}

body.ghz-product-v3 .ghz-product-download {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 13px 15px;
    border: 1px solid var(--ghz-line);
    border-radius: 12px;
    background: #f7f9fc;
    color: #071a3d;
    font-weight: 750;
}

body.ghz-product-v3 .ghz-product-download:hover {
    background: #eef3f9;
    border-color: #cad4e0;
}

body.ghz-product-v3 .upsells,
body.ghz-product-v3 .related,
body.ghz-product-v3 .porto-related-products,
body.ghz-product-v3 .ghz-product-discovery {
    margin-top: 46px;
}

body.ghz-product-v3 .ghz-section-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

body.ghz-product-v3 .ghz-section-heading__eyebrow {
    color: #7a8597;
    font-size: 11px;
    font-weight: 800;
}

body.ghz-product-v3 .ghz-section-heading h2,
body.ghz-product-v3 .related h2.slider-title,
body.ghz-product-v3 .upsells > h2 {
    margin: 0 0 18px;
    color: #071a3d;
    font-size: clamp(23px,1.8vw,29px);
    font-weight: 850;
}

body.ghz-product-v3 .related li.product,
body.ghz-product-v3 .upsells li.product,
body.ghz-product-v3 .ghz-product-discovery li.product {
    border: 1px solid var(--ghz-line);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

body.ghz-product-v3 .related li.product:hover,
body.ghz-product-v3 .upsells li.product:hover,
body.ghz-product-v3 .ghz-product-discovery li.product:hover {
    transform: translateY(-2px);
    border-color: #d6dde7;
    box-shadow: 0 12px 28px rgba(7,26,61,.07);
}

body.ghz-product-v3 #reviews {
    max-width: 980px;
}

/* ==========================================================
   GHZ Phase 2 — technical highlights + information
   ========================================================== */

body.single-product.ghz-product-v3 .ghz-tech-highlights {
    clear: both;
    margin: 34px 0 24px;
    padding: clamp(20px,2.5vw,30px);
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(7,26,61,.04);
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__head {
    margin-bottom: 17px;
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__head > span {
    display: block;
    margin-bottom: 4px;
    color: #7a8597;
    font-size: 11px;
    font-weight: 800;
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__head h2 {
    margin: 0;
    color: #071a3d;
    font-size: clamp(21px,1.7vw,27px);
    line-height: 1.35;
    font-weight: 850;
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 82px;
    padding: 14px 15px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #f7f9fc;
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__label {
    color: #788396;
    font-size: 11px;
    font-weight: 700;
}

body.single-product.ghz-product-v3 .ghz-tech-highlights__value {
    color: #071a3d;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 850;
}

/* Product information tabs */
body.single-product.ghz-product-v3 #product-tab {
    clear: both;
    margin-top: 24px;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(7,26,61,.04);
}

body.single-product.ghz-product-v3 #product-tab .resp-tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 9px;
    border-bottom: 1px solid #e6ebf1;
    background: #f7f9fc;
}

body.single-product.ghz-product-v3 #product-tab .resp-tabs-list li {
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 9px;
    background: transparent;
    color: #647188;
    font-size: 12px;
    font-weight: 800;
}

body.single-product.ghz-product-v3 #product-tab .resp-tabs-list li.resp-tab-active {
    background: #071a3d !important;
    color: #fff !important;
}

body.single-product.ghz-product-v3 #product-tab .tab-content {
    padding: clamp(20px,3vw,36px);
}

body.single-product.ghz-product-v3 #product-tab .tab-content > h2:first-child {
    margin-top: 0;
    color: #071a3d;
    font-size: clamp(21px,1.6vw,26px);
    font-weight: 850;
}

/* Specifications */
body.single-product.ghz-product-v3 .woocommerce-product-attributes {
    width: 100%;
    margin: 0;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

body.single-product.ghz-product-v3 .woocommerce-product-attributes th,
body.single-product.ghz-product-v3 .woocommerce-product-attributes td {
    padding: 13px 15px;
    border-bottom: 1px solid #e8edf3;
    vertical-align: middle;
}

body.single-product.ghz-product-v3 .woocommerce-product-attributes tr:last-child th,
body.single-product.ghz-product-v3 .woocommerce-product-attributes tr:last-child td {
    border-bottom: 0;
}

body.single-product.ghz-product-v3 .woocommerce-product-attributes th {
    width: 28%;
    background: #f7f9fc;
    color: #071a3d;
    font-size: 12px;
    font-weight: 800;
}

body.single-product.ghz-product-v3 .woocommerce-product-attributes td {
    color: #4e5d72;
    font-size: 13px;
}

/* Reviews */
body.single-product.ghz-product-v3 #reviews {
    max-width: 1000px;
}

body.single-product.ghz-product-v3 #review_form_wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6ebf1;
}

/* ==========================================================
   GHZ Phase 3 — discovery / related products
   ========================================================== */

body.single-product.ghz-product-v3 .ghz-product-discovery,
body.single-product.ghz-product-v3 .related.products,
body.single-product.ghz-product-v3 .upsells.products,
body.single-product.ghz-product-v3 .porto-related-products {
    clear: both;
    margin-top: 42px;
}

body.single-product.ghz-product-v3 .ghz-product-discovery {
    padding: clamp(20px,2.5vw,30px);
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(7,26,61,.04);
}

body.single-product.ghz-product-v3 .ghz-section-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

body.single-product.ghz-product-v3 .ghz-section-heading__eyebrow {
    color: #7b8697;
    font-size: 11px;
    font-weight: 800;
}

body.single-product.ghz-product-v3 .ghz-section-heading h2,
body.single-product.ghz-product-v3 .related.products .slider-title,
body.single-product.ghz-product-v3 .upsells.products > h2 {
    margin: 0 0 18px;
    color: #071a3d;
    font-size: clamp(22px,1.7vw,28px);
    line-height: 1.35;
    font-weight: 850;
}

body.single-product.ghz-product-v3 .ghz-product-discovery li.product,
body.single-product.ghz-product-v3 .related.products li.product,
body.single-product.ghz-product-v3 .upsells.products li.product {
    height: 100%;
    border: 1px solid #e6ebf1;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.single-product.ghz-product-v3 .ghz-product-discovery li.product:hover,
body.single-product.ghz-product-v3 .related.products li.product:hover,
body.single-product.ghz-product-v3 .upsells.products li.product:hover {
    transform: translateY(-3px);
    border-color: #d1d9e4;
    box-shadow: 0 14px 30px rgba(7,26,61,.075);
}

body.single-product.ghz-product-v3 .ghz-product-discovery li.product .price,
body.single-product.ghz-product-v3 .related.products li.product .price,
body.single-product.ghz-product-v3 .upsells.products li.product .price {
    color: #071a3d;
    font-weight: 850;
}

body.single-product.ghz-product-v3 .ghz-product-discovery li.product .add_to_cart_button,
body.single-product.ghz-product-v3 .related.products li.product .add_to_cart_button,
body.single-product.ghz-product-v3 .upsells.products li.product .add_to_cart_button {
    border-radius: 9px;
}

body.single-product.ghz-product-v3 .main-content {
    padding-bottom: 18px;
}

body.single-product.ghz-product-v3 .footer-wrapper,
body.single-product.ghz-product-v3 footer {
    clear: both;
}

body.single-product.ghz-product-v3 .related.products:last-child,
body.single-product.ghz-product-v3 .ghz-product-discovery:last-child {
    margin-bottom: 42px;
}

/* ==========================================================
   GHZ Phase 4 — final visual polish
   ========================================================== */

/* Hide empty merchant/Porto tabs after JS marks them */
body.single-product.ghz-product-v3 #product-tab .ghz-empty-tab {
    display: none !important;
}

/* Cleaner description measure */
body.single-product.ghz-product-v3 #tab-description {
    color: #344258;
}

body.single-product.ghz-product-v3 #tab-description > * {
    max-width: 1080px;
}

body.single-product.ghz-product-v3 #tab-description p,
body.single-product.ghz-product-v3 #tab-description li {
    line-height: 1.9;
}

body.single-product.ghz-product-v3 #tab-description ul,
body.single-product.ghz-product-v3 #tab-description ol {
    padding-inline-start: 20px;
}

/* Stronger spec readability */
body.single-product.ghz-product-v3
.woocommerce-product-attributes-item__label {
    color: #071a3d;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes-item__value {
    color: #4f5d72;
}

/* Related/upsell titles */
body.single-product.ghz-product-v3 .related.products .slider-title,
body.single-product.ghz-product-v3 .upsells.products > h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid #e9edf2;
}

/* Equal card rhythm */
body.single-product.ghz-product-v3 .related.products li.product,
body.single-product.ghz-product-v3 .upsells.products li.product,
body.single-product.ghz-product-v3 .ghz-product-discovery li.product {
    min-height: 100%;
}

body.single-product.ghz-product-v3 .related.products li.product .product-content,
body.single-product.ghz-product-v3 .upsells.products li.product .product-content,
body.single-product.ghz-product-v3 .ghz-product-discovery li.product .product-content {
    padding-inline: 12px;
}

/* Price consistency in cards */
body.single-product.ghz-product-v3 .related.products li.product .price,
body.single-product.ghz-product-v3 .upsells.products li.product .price,
body.single-product.ghz-product-v3 .ghz-product-discovery li.product .price {
    font-size: 15px;
    line-height: 1.3;
}

/* Footer separation */
body.single-product.ghz-product-v3 .main-content {
    padding-bottom: 34px;
}

body.single-product.ghz-product-v3 .footer-wrapper,
body.single-product.ghz-product-v3 footer {
    clear: both;
    position: relative;
    z-index: 1;
}

/* Prevent accidental overflow near page bottom */
body.single-product.ghz-product-v3 .related.products,
body.single-product.ghz-product-v3 .upsells.products,
body.single-product.ghz-product-v3 .ghz-product-discovery {
    overflow: visible;
}

/* Reviews */
body.single-product.ghz-product-v3 #reviews .commentlist {
    margin-bottom: 20px;
}

body.single-product.ghz-product-v3 #review_form_wrapper {
    border-top: 1px solid #e6ebf1;
    padding-top: 20px;
}

/* Cleaner focus states */
body.single-product.ghz-product-v3 a:focus-visible,
body.single-product.ghz-product-v3 button:focus-visible,
body.single-product.ghz-product-v3 input:focus-visible,
body.single-product.ghz-product-v3 textarea:focus-visible {
    outline: 2px solid #2f5e9c;
    outline-offset: 2px;
}

/* ==========================================================
   GHZ Phase 6 — Product Information
   ========================================================== */

body.single-product.ghz-product-v3
.ghz-tech-highlights {
    margin-top: 30px;
    margin-bottom: 22px;
    border-radius: 18px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__grid {
    gap: 10px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__item {
    min-height: 78px;
    background: #f8fafc;
    border-color: #e7ecf2;
}

body.single-product.ghz-product-v3
#product-tab {
    margin-top: 24px;
    border-radius: 18px;
    border-color: #e6ebf1;
}

body.single-product.ghz-product-v3
#product-tab .tab-content {
    padding: clamp(22px,3vw,38px);
}

body.single-product.ghz-product-v3
#tab-description {
    max-width: 1120px;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes {
    border-radius: 12px;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes th {
    background: #f7f9fc;
    color: #071a3d;
    font-weight: 800;
}

body.single-product.ghz-product-v3
.related.products,
body.single-product.ghz-product-v3
.upsells.products,
body.single-product.ghz-product-v3
.ghz-product-discovery {
    margin-top: 38px;
}

body.single-product.ghz-product-v3
.related.products .slider-title,
body.single-product.ghz-product-v3
.upsells.products > h2,
body.single-product.ghz-product-v3
.ghz-section-heading h2 {
    color: #071a3d;
    font-weight: 850;
}

body.single-product.ghz-product-v3
.related.products li.product,
body.single-product.ghz-product-v3
.upsells.products li.product,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product {
    border-radius: 14px;
    border-color: #e6ebf1;
}

body.single-product.ghz-product-v3
.related.products li.product:hover,
body.single-product.ghz-product-v3
.upsells.products li.product:hover,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product:hover {
    box-shadow: 0 12px 28px rgba(7,26,61,.07);
    transform: translateY(-2px);
}

/* Footer separation */
body.single-product.ghz-product-v3
.main-content {
    padding-bottom: 36px;
}

/* ==========================================================
   GHZ Phase 7 — High Impact Content
   ========================================================== */

/* Technical highlights become a strong visual strip */
body.single-product.ghz-product-v3
.ghz-tech-highlights {
    margin: 38px 0 26px;
    padding: 26px;
    border: 1px solid #e3e8ef;
    border-radius: 22px;
    background:
        linear-gradient(180deg,#fff 0%,#fafbfd 100%);
    box-shadow:
        0 14px 34px rgba(7,26,61,.05);
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__head {
    margin-bottom: 20px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__head > span {
    color: #748094;
    font-size: 11px;
    letter-spacing: .02em;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__head h2 {
    font-size: clamp(24px,1.8vw,30px);
    font-weight: 900;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__item {
    min-height: 96px;
    justify-content: center;
    padding: 16px 17px;
    border: 1px solid #e4eaf1;
    border-radius: 14px;
    background: #f7f9fc;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__label {
    font-size: 11px;
    color: #7a8597;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__value {
    color: #071a3d;
    font-size: 15px;
    font-weight: 900;
}

/* Tabs */
body.single-product.ghz-product-v3
#product-tab {
    margin-top: 28px;
    border-radius: 22px;
    border: 1px solid #e3e8ef;
    box-shadow:
        0 14px 34px rgba(7,26,61,.045);
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list {
    padding: 11px;
    gap: 6px;
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list li {
    padding: 11px 16px !important;
    border-radius: 10px;
    font-size: 13px;
}

body.single-product.ghz-product-v3
#product-tab .tab-content {
    padding: clamp(28px,3vw,44px);
}

/* Specs table */
body.single-product.ghz-product-v3
.woocommerce-product-attributes {
    border-radius: 14px;
    overflow: hidden;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes th,
body.single-product.ghz-product-v3
.woocommerce-product-attributes td {
    padding: 15px 16px;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes th {
    width: 30%;
    background: #f5f8fb;
    font-size: 12px;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes td {
    font-size: 13px;
}

/* Related cards become visibly card-like */
body.single-product.ghz-product-v3
.related.products,
body.single-product.ghz-product-v3
.upsells.products,
body.single-product.ghz-product-v3
.ghz-product-discovery {
    margin-top: 46px;
}

body.single-product.ghz-product-v3
.related.products .slider-title,
body.single-product.ghz-product-v3
.upsells.products > h2,
body.single-product.ghz-product-v3
.ghz-section-heading h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf2;
    font-size: clamp(24px,1.8vw,30px);
}

body.single-product.ghz-product-v3
.related.products li.product,
body.single-product.ghz-product-v3
.upsells.products li.product,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product {
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0 8px 20px rgba(7,26,61,.035);
}

body.single-product.ghz-product-v3
.related.products li.product:hover,
body.single-product.ghz-product-v3
.upsells.products li.product:hover,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 34px rgba(7,26,61,.08);
}

/* More bottom breathing room before footer */
body.single-product.ghz-product-v3
.main-content {
    padding-bottom: 48px;
}

/* ==========================================================
   GHZ Final UI — Technical / Tabs / Related
   ========================================================== */

body.single-product.ghz-product-v3
.ghz-tech-highlights {
    overflow: hidden;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__grid {
    align-items: stretch;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__item {
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

@media (hover:hover) and (pointer:fine) {
    body.single-product.ghz-product-v3
    .ghz-tech-highlights__item:hover {
        transform: translateY(-2px);
        border-color: #d7dee7;
        box-shadow: 0 8px 18px rgba(7,26,61,.05);
    }
}

/* Tabs */
body.single-product.ghz-product-v3
#product-tab .resp-tabs-list {
    position: relative;
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list li {
    cursor: pointer;
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list li.resp-tab-active {
    box-shadow: 0 5px 12px rgba(7,26,61,.12);
}

body.single-product.ghz-product-v3
#tab-description h2,
body.single-product.ghz-product-v3
#tab-description h3,
body.single-product.ghz-product-v3
#tab-additional_information h2,
body.single-product.ghz-product-v3
#tab-reviews h2 {
    color: #071a3d;
    line-height: 1.35;
}

body.single-product.ghz-product-v3
#tab-description p,
body.single-product.ghz-product-v3
#tab-description li {
    color: #435167;
    line-height: 1.9;
}

/* Spec table */
body.single-product.ghz-product-v3
.woocommerce-product-attributes tr:nth-child(even) th,
body.single-product.ghz-product-v3
.woocommerce-product-attributes tr:nth-child(even) td {
    background-color: #fbfcfe;
}

body.single-product.ghz-product-v3
.woocommerce-product-attributes td p {
    margin: 0;
}

/* Related product cards */
body.single-product.ghz-product-v3
.related.products ul.products,
body.single-product.ghz-product-v3
.upsells.products ul.products,
body.single-product.ghz-product-v3
.ghz-product-discovery ul.products {
    align-items: stretch;
}

body.single-product.ghz-product-v3
.related.products li.product,
body.single-product.ghz-product-v3
.upsells.products li.product,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.single-product.ghz-product-v3
.related.products li.product .product-image,
body.single-product.ghz-product-v3
.upsells.products li.product .product-image,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product .product-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafbfd;
}

body.single-product.ghz-product-v3
.related.products li.product .product-image img,
body.single-product.ghz-product-v3
.upsells.products li.product .product-image img,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.single-product.ghz-product-v3
.related.products li.product .product-content,
body.single-product.ghz-product-v3
.upsells.products li.product .product-content,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product .product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

body.single-product.ghz-product-v3
.related.products li.product .woocommerce-loop-product__title,
body.single-product.ghz-product-v3
.upsells.products li.product .woocommerce-loop-product__title,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product .woocommerce-loop-product__title {
    min-height: 2.9em;
    line-height: 1.45;
}

body.single-product.ghz-product-v3
.related.products li.product .price,
body.single-product.ghz-product-v3
.upsells.products li.product .price,
body.single-product.ghz-product-v3
.ghz-product-discovery li.product .price {
    margin-top: auto;
}

/* Footer breathing room */
body.single-product.ghz-product-v3
.main-content {
    padding-bottom: 52px;
}

/* ==========================================================
   GHZ Phase 10 — Professional Content Area
   ========================================================== */

body.single-product.ghz-product-v3
.ghz-tech-highlights {
    margin: 34px 0 26px;
    padding: 24px;
    border: 1px solid #e5eaf0;
    border-radius: 20px;
    background: linear-gradient(180deg,#fff 0%,#fafbfd 100%);
    box-shadow: 0 12px 28px rgba(7,26,61,.04);
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__head {
    margin-bottom: 18px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__head h2 {
    color: #071a3d;
    font-size: clamp(23px,1.7vw,29px);
    font-weight: 900;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__item {
    min-height: 86px;
    padding: 14px;
    border: 1px solid #e6ebf1;
    border-radius: 13px;
    background: #f8fafc;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__label {
    color: #7b8798;
    font-size: 10px;
}

body.single-product.ghz-product-v3
.ghz-tech-highlights__value {
    margin-top: 4px;
    color: #11233d;
    font-size: 14px;
    font-weight: 900;
}

/* Tabs */
body.single-product.ghz-product-v3
#product-tab {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #e4e9ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7,26,61,.04);
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    border-bottom: 1px solid #edf0f4;
    background: #fbfcfe;
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list li {
    margin: 0 !important;
    padding: 10px 14px !important;
    border-radius: 9px;
    color: #526076;
    font-size: 12px;
    font-weight: 800;
}

body.single-product.ghz-product-v3
#product-tab .resp-tabs-list li.resp-tab-active {
    background: #071a3d;
    color: #fff;
    box-shadow: 0 5px 12px rgba(7,26,61,.12);
}

body.single-product.ghz-product-v3
#product-tab .tab-content {
    padding: clamp(24px,2.8vw,40px);
}

body.single-product.ghz-product-v3
#tab-description {
    max-width: 1100px;
}

body.single-product.ghz-product-v3
#tab-description p,
body.single-product.ghz-product-v3
#tab-description li {
    color: #46546a;
    line-height: 1.9;
}

/* Related products */
body.single-product.ghz-product-v3
.related.products,
body.single-product.ghz-product-v3
.upsells.products {
    margin-top: 42px;
}

body.single-product.ghz-product-v3
.related.products .slider-title,
body.single-product.ghz-product-v3
.upsells.products > h2 {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf2;
    color: #071a3d;
    font-size: clamp(23px,1.7vw,29px);
    font-weight: 900;
}

body.single-product.ghz-product-v3
.related.products li.product,
body.single-product.ghz-product-v3
.upsells.products li.product {
    height: 100%;
    border: 1px solid #e5eaf0;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(7,26,61,.03);
    transition: transform .18s ease, box-shadow .18s ease;
}

@media (hover:hover) and (pointer:fine) {
    body.single-product.ghz-product-v3
    .related.products li.product:hover,
    body.single-product.ghz-product-v3
    .upsells.products li.product:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(7,26,61,.07);
    }
}

body.single-product.ghz-product-v3
.main-content {
    padding-bottom: 46px;
}

/* ==========================================================
   GHZ Discovery Features — Final
   FBT / Recently Viewed / Related / Upsells
   ========================================================== */

body.single-product.ghz-product-v3
.ghz-fbt,
body.single-product.ghz-product-v3
.ghz-recent-products {
    margin-top: 38px;
    padding: 22px;
    border: 1px solid #e5eaf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(7,26,61,.04);
}

body.single-product.ghz-product-v3
.ghz-fbt__head,
body.single-product.ghz-product-v3
.ghz-recent-products__head {
    margin-bottom: 16px;
}

body.single-product.ghz-product-v3
.ghz-fbt__head h2,
body.single-product.ghz-product-v3
.ghz-recent-products__head h2 {
    margin: 0;
    color: #071a3d;
    font-size: clamp(22px,1.6vw,28px);
    font-weight: 900;
}

body.single-product.ghz-product-v3
.ghz-fbt ul.products,
body.single-product.ghz-product-v3
.ghz-recent-products ul.products {
    margin-bottom: 0;
}

body.single-product.ghz-product-v3
.ghz-fbt li.product,
body.single-product.ghz-product-v3
.ghz-recent-products li.product,
body.single-product.ghz-product-v3
.related.products li.product,
body.single-product.ghz-product-v3
.upsells.products li.product {
    height: 100%;
    border: 1px solid #e5eaf0;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(7,26,61,.03);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

@media (hover:hover) and (pointer:fine) {
    body.single-product.ghz-product-v3
    .ghz-fbt li.product:hover,
    body.single-product.ghz-product-v3
    .ghz-recent-products li.product:hover,
    body.single-product.ghz-product-v3
    .related.products li.product:hover,
    body.single-product.ghz-product-v3
    .upsells.products li.product:hover {
        transform: translateY(-3px);
        border-color: #d7dee7;
        box-shadow: 0 14px 30px rgba(7,26,61,.07);
    }
}

body.single-product.ghz-product-v3
.ghz-fbt li.product .product-image,
body.single-product.ghz-product-v3
.ghz-recent-products li.product .product-image,
body.single-product.ghz-product-v3
.related.products li.product .product-image,
body.single-product.ghz-product-v3
.upsells.products li.product .product-image {
    aspect-ratio: 1 / 1;
    background: #fafbfd;
}

body.single-product.ghz-product-v3
.ghz-fbt li.product .product-image img,
body.single-product.ghz-product-v3
.ghz-recent-products li.product .product-image img,
body.single-product.ghz-product-v3
.related.products li.product .product-image img,
body.single-product.ghz-product-v3
.upsells.products li.product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* GHZ Cache-Safe Recently Viewed */
body.single-product.ghz-product-v3 .ghz-recent-products[hidden] {
    display: none !important;
}

body.single-product.ghz-product-v3
.ghz-recent-products__content > ul.products {
    margin-bottom: 0;
}

/* ==========================================================
   GHZ Phase 11 — Single Product Redundancy Cleanup
   Keep GHZ discovery sections, reduce redundant Porto sidebar widgets.
   ========================================================== */

body.single-product.ghz-product-v3
.main-content > .sidebar,
body.single-product.ghz-product-v3
.product-layout-default + .sidebar {
    display: none;
}

body.single-product.ghz-product-v3
.main-content > .content-area {
    width: 100%;
    max-width: 100%;
}

/* Avoid duplicated generic product carousels when GHZ discovery is present */
body.single-product.ghz-product-v3
.widget-products,
body.single-product.ghz-product-v3
.widget_recently_viewed_products {
    margin-top: 22px;
}

/* Discovery order spacing */
body.single-product.ghz-product-v3
.related.products {
    margin-top: 36px;
}

body.single-product.ghz-product-v3
.ghz-fbt {
    margin-top: 32px;
}

body.single-product.ghz-product-v3
.ghz-recent-products {
    margin-top: 32px;
}
