/* GHZ Product Stage 4 — responsive */

@media (min-width: 1200px) {
    body.ghz-product-v3 .summary-before.col-md-5 {
        width: 54%;
    }

    body.ghz-product-v3 .summary.entry-summary.col-md-7 {
        width: 46%;
    }
}

@media (max-width: 1199px) {
    body.ghz-product-v3 .product-image-slider .inner {
        min-height: 430px;
    }

    body.ghz-product-v3 .product-image-slider img {
        max-height: 430px;
    }

    body.ghz-product-v3 .ghz-product-trust {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 991px) {
    body.ghz-product-v3 .product-summary-wrap .summary {
        position: static;
        top: auto;
    }

    body.ghz-product-v3 .product-summary-wrap .summary-before,
    body.ghz-product-v3 .product-summary-wrap .summary {
        border-radius: 16px;
    }

    body.ghz-product-v3 .product-image-slider .inner {
        min-height: 380px;
    }

    body.ghz-product-v3 .product-image-slider img {
        max-height: 380px;
    }

    body.ghz-product-v3 .woocommerce-product-details__short-description {
        max-height: none;
    }
}

@media (max-width: 767px) {
    body.ghz-product-v3 {
        padding-bottom: 82px;
    }

    body.ghz-product-v3 .product-summary-wrap {
        margin-top: 6px;
    }

    body.ghz-product-v3 .product-summary-wrap .summary-before {
        padding: 10px;
        margin-bottom: 14px;
    }

    body.ghz-product-v3 .product-summary-wrap .summary {
        padding: 20px 15px;
        margin-bottom: 18px;
    }

    body.ghz-product-v3 .product-image-slider .inner {
        min-height: 310px;
        padding: 12px;
    }

    body.ghz-product-v3 .product-image-slider img {
        max-height: 310px;
    }

    body.ghz-product-v3 .product_title {
        font-size: 25px;
    }

    body.ghz-product-v3 .ghz-product-trust {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    body.ghz-product-v3 .ghz-product-trust__item {
        justify-content: flex-start;
        text-align: start;
        padding-inline: 12px;
    }

    body.ghz-product-v3 #product-tab {
        border-radius: 15px;
    }

    body.ghz-product-v3 #product-tab .resp-tabs-list {
        display: none !important;
    }

    body.ghz-product-v3 #product-tab h2.resp-accordion {
        margin: 0;
        padding: 14px 15px !important;
        border: 0 !important;
        border-bottom: 1px solid var(--ghz-line) !important;
        background: #fff;
        color: #071a3d;
        font-size: 14px;
        font-weight: 800;
    }

    body.ghz-product-v3 #product-tab h2.resp-tab-active {
        background: #f4f7fb !important;
    }

    body.ghz-product-v3 .tab-content {
        padding: 18px 14px;
    }

    body.ghz-product-v3 .woocommerce-product-attributes th,
    body.ghz-product-v3 .woocommerce-product-attributes td {
        padding: 11px;
        font-size: 12px;
    }

    body.ghz-product-v3 .woocommerce-product-attributes th {
        width: 40%;
    }

    body.ghz-product-v3 .ghz-product-downloads {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    body.ghz-product-v3 .product-summary-wrap form.cart:not(.variations_form) {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.ghz-product-v3 .product-summary-wrap form.cart:not(.variations_form) .quantity,
    body.ghz-product-v3 .product-summary-wrap .single_add_to_cart_button {
        width: 100%;
    }

    body.ghz-product-v3 .ghz-product-trust {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ghz-product-v3 *,
    body.ghz-product-v3 *::before,
    body.ghz-product-v3 *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ==========================================================
   GHZ Hero Refinement — responsive
   ========================================================== */

@media (min-width: 1200px) {
    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary-before {
        width: 52%;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary.entry-summary {
        width: 48%;
    }
}

@media (max-width: 1199px) {
    body.single-product.ghz-product-v3 .product-image-slider,
    body.single-product.ghz-product-v3 .product-image-slider .inner {
        min-height: 420px;
    }

    body.single-product.ghz-product-v3 .product-image-slider img {
        max-height: 420px;
    }
}

@media (max-width: 991px) {
    body.single-product.ghz-product-v3 .summary.entry-summary {
        padding: 22px;
    }

    body.single-product.ghz-product-v3 .product-image-slider,
    body.single-product.ghz-product-v3 .product-image-slider .inner {
        min-height: 360px;
    }

    body.single-product.ghz-product-v3 .product-image-slider img {
        max-height: 360px;
    }
}

@media (max-width: 767px) {
    body.single-product.ghz-product-v3 .summary-before {
        padding: 10px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3 .summary.entry-summary {
        padding: 18px 14px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3 .product-image-slider,
    body.single-product.ghz-product-v3 .product-image-slider .inner {
        min-height: 300px;
    }

    body.single-product.ghz-product-v3 .product-image-slider img {
        max-height: 300px;
    }

    body.single-product.ghz-product-v3 .product_title {
        font-size: 24px;
    }

    body.single-product.ghz-product-v3 .summary.entry-summary > .price {
        font-size: 27px;
    }

    body.single-product.ghz-product-v3 .ghz-product-trust {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    body.single-product.ghz-product-v3 .ghz-product-trust__item {
        min-height: 46px;
        justify-content: flex-start;
        text-align: start;
        padding-inline: 10px;
    }
}

@media (max-width: 420px) {
    body.single-product.ghz-product-v3 .ghz-product-trust {
        grid-template-columns: 1fr;
    }
}

/* GHZ Phase 2 responsive */

@media (max-width: 991px) {
    body.single-product.ghz-product-v3 .ghz-tech-highlights__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 767px) {
    body.single-product.ghz-product-v3 .ghz-tech-highlights {
        margin-top: 22px;
        padding: 16px 13px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3 .ghz-tech-highlights__grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body.single-product.ghz-product-v3 .ghz-tech-highlights__item {
        min-height: 0;
        padding: 11px 12px;
    }

    body.single-product.ghz-product-v3 #product-tab {
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3 #product-tab .resp-tabs-list {
        display: none !important;
    }

    body.single-product.ghz-product-v3 #product-tab h2.resp-accordion {
        margin: 0;
        padding: 14px !important;
        border: 0 !important;
        border-bottom: 1px solid #e6ebf1 !important;
        background: #fff;
        color: #071a3d;
        font-size: 13px;
        font-weight: 800;
    }

    body.single-product.ghz-product-v3 #product-tab h2.resp-tab-active {
        background: #f4f7fb !important;
    }

    body.single-product.ghz-product-v3 .woocommerce-product-attributes th {
        width: 40%;
    }

    body.single-product.ghz-product-v3 .woocommerce-product-attributes th,
    body.single-product.ghz-product-v3 .woocommerce-product-attributes td {
        padding: 10px;
        font-size: 11px;
    }
}

/* GHZ Phase 3 — responsive discovery */

@media (max-width: 991px) {
    body.single-product.ghz-product-v3 .ghz-product-discovery {
        padding: 18px;
    }
}

@media (max-width: 767px) {
    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 {
        margin-top: 28px;
    }

    body.single-product.ghz-product-v3 .ghz-product-discovery {
        padding: 15px 12px;
        border-radius: 14px;
    }

    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 {
        font-size: 21px;
    }

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

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

@media (max-width: 991px) {
    body.single-product.ghz-product-v3 .main-content {
        padding-bottom: 28px;
    }
}

@media (max-width: 767px) {
    body.single-product.ghz-product-v3 .product-summary-wrap {
        padding-inline: 0;
    }

    body.single-product.ghz-product-v3 #tab-description,
    body.single-product.ghz-product-v3 #tab-additional_information,
    body.single-product.ghz-product-v3 #tab-reviews {
        font-size: 13px;
    }

    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: 24px;
    }

    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 {
        font-size: 20px;
        line-height: 1.35;
    }

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

    /* Keep footer comfortably above our mobile purchase bar */
    body.single-product.ghz-product-v3 .footer-wrapper,
    body.single-product.ghz-product-v3 footer {
        margin-bottom: 8px;
    }
}

@media (max-width: 420px) {
    body.single-product.ghz-product-v3 .woocommerce-product-attributes th {
        width: 42%;
    }
}




/* ==========================================================
   GHZ Phase 6 — Responsive main content only
   No Porto sticky/mobile-menu selectors here.
   ========================================================== */

@media (min-width: 1200px) {
    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary-before {
        width: 52%;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary.entry-summary {
        width: 48%;
    }
}

@media (max-width: 1199px) {
    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 420px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 420px;
    }
}

@media (max-width: 991px) {
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        position: static;
        padding: 22px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 360px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 360px;
    }
}

@media (max-width: 767px) {
    body.single-product.ghz-product-v3
    .product-summary-wrap .summary-before {
        padding: 10px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary {
        padding: 18px 14px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 300px;
        padding: 12px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 300px;
    }

    body.single-product.ghz-product-v3
    .product_title {
        font-size: 24px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary > .price {
        font-size: 27px;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights {
        margin-top: 22px;
    }

    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: 26px;
    }
}

/* ==========================================================
   GHZ Phase 7 — Responsive main content only
   ========================================================== */

@media (max-width: 1199px) {
    body.single-product.ghz-product-v3
    .product-image-slider {
        min-height: 470px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 470px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 445px;
    }

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

@media (max-width: 991px) {
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        position: static;
        padding: 22px;
        border-radius: 18px;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap .summary-before {
        padding: 14px;
        border-radius: 18px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider,
    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 390px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 370px;
    }
}

@media (max-width: 767px) {
    body.single-product.ghz-product-v3
    .product-summary-wrap {
        padding-top: 8px;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap .summary-before {
        padding: 9px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary {
        padding: 18px 14px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider,
    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 310px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 295px;
        max-width: 94%;
    }

    body.single-product.ghz-product-v3
    .product_title {
        font-size: 25px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary > .price {
        font-size: 29px;
    }

    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: 1fr 1fr;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights {
        margin-top: 24px;
        padding: 16px 13px;
        border-radius: 15px;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights__item {
        min-height: 0;
        padding: 12px;
    }

    body.single-product.ghz-product-v3
    #product-tab {
        border-radius: 15px;
    }

    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: 30px;
    }
}

@media (max-width: 420px) {
    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   GHZ Final UI — Responsive product content only
   Porto mobile menu/sticky product not targeted.
   ========================================================== */

@media (min-width: 1200px) {
    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary-before {
        flex: 0 0 56%;
        max-width: 56%;
        width: 56%;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary.entry-summary {
        flex: 0 0 44%;
        max-width: 44%;
        width: 44%;
    }
}

@media (min-width: 992px) {
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        position: sticky;
        top: 18px;
    }
}

@media (max-width: 991px) {
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        position: static;
        margin-top: 14px;
    }

    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 767px) {

    body.single-product.ghz-product-v3
    .product-summary-wrap {
        padding-top: 6px;
    }

    body.single-product.ghz-product-v3
    .summary-before,
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap .summary-before {
        margin-bottom: 10px;
    }

    body.single-product.ghz-product-v3
    .product_title {
        font-size: 24px;
        line-height: 1.34;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary > .price {
        font-size: 28px;
    }

    body.single-product.ghz-product-v3
    .woocommerce-product-details__short-description {
        padding: 13px;
    }

    body.single-product.ghz-product-v3
    .variations_form .variations tr {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-bottom: 12px;
    }

    body.single-product.ghz-product-v3
    .variations_form .variations select {
        min-height: 48px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary form.cart,
    body.single-product.ghz-product-v3
    .summary.entry-summary form.variations_form {
        padding: 16px 0;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary .single_add_to_cart_button {
        min-height: 50px;
    }

    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    body.single-product.ghz-product-v3
    .ghz-product-trust__item {
        min-height: 50px;
        padding: 10px;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights__grid {
        grid-template-columns: 1fr;
    }

    body.single-product.ghz-product-v3
    #product-tab .tab-content {
        padding: 18px 14px;
    }

    body.single-product.ghz-product-v3
    .woocommerce-product-attributes th,
    body.single-product.ghz-product-v3
    .woocommerce-product-attributes td {
        padding: 11px 10px;
        font-size: 11px;
    }

    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: 28px;
    }

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

@media (max-width: 420px) {
    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   GHZ Phase 10 — Responsive product content only
   ========================================================== */

@media (min-width: 1200px) {
    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary-before {
        flex: 0 0 55%;
        max-width: 55%;
        width: 55%;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap > .row > .summary.entry-summary {
        flex: 0 0 45%;
        max-width: 45%;
        width: 45%;
    }
}

@media (min-width: 992px) {
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        position: sticky;
        top: 18px;
    }
}

@media (max-width: 1199px) {
    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 440px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 415px;
    }

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

@media (max-width: 991px) {
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        position: static;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {

    body.single-product.ghz-product-v3
    .product-summary-wrap {
        padding-top: 6px;
    }

    body.single-product.ghz-product-v3
    .summary-before,
    body.single-product.ghz-product-v3
    .summary.entry-summary {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    body.single-product.ghz-product-v3
    .product-summary-wrap .summary-before {
        border-radius: 14px;
        padding: 10px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary {
        border-radius: 14px;
        padding: 18px 14px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider .inner {
        min-height: 300px;
        padding: 12px;
    }

    body.single-product.ghz-product-v3
    .product-image-slider img {
        max-height: 285px;
    }

    body.single-product.ghz-product-v3
    .product_title {
        font-size: 24px;
    }

    body.single-product.ghz-product-v3
    .summary.entry-summary > .price {
        font-size: 28px;
    }

    body.single-product.ghz-product-v3
    .variations_form .variations tr {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: 1fr 1fr;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights {
        margin-top: 24px;
        padding: 15px 13px;
        border-radius: 15px;
    }

    body.single-product.ghz-product-v3
    .ghz-tech-highlights__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.single-product.ghz-product-v3
    #product-tab {
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3
    #product-tab .tab-content {
        padding: 18px 14px;
    }
}

@media (max-width: 420px) {
    body.single-product.ghz-product-v3
    .ghz-product-trust {
        grid-template-columns: 1fr;
    }
}

/* GHZ Discovery Features — responsive */

@media (max-width: 767px) {
    body.single-product.ghz-product-v3
    .ghz-fbt,
    body.single-product.ghz-product-v3
    .ghz-recent-products {
        margin-top: 26px;
        padding: 14px 12px;
        border-radius: 14px;
    }

    body.single-product.ghz-product-v3
    .ghz-fbt__head h2,
    body.single-product.ghz-product-v3
    .ghz-recent-products__head h2 {
        font-size: 20px;
    }
}

/* ==========================================================
   GHZ Phase 11 — Mobile Variable Product UX
   ========================================================== */

@media (max-width: 767px) {

    body.single-product.ghz-product-v3
    .variations_form .variations {
        width: 100%;
    }

    body.single-product.ghz-product-v3
    .variations_form .variations tr {
        display: block;
        margin-bottom: 13px;
    }

    body.single-product.ghz-product-v3
    .variations_form .variations th {
        margin-bottom: 6px;
    }

    body.single-product.ghz-product-v3
    .variations_form .variations select {
        width: 100%;
        min-height: 48px;
        font-size: 14px;
    }

    body.single-product.ghz-product-v3
    .ghz-selected-variation {
        padding: 11px;
    }

    body.single-product.ghz-product-v3
    .ghz-selected-variation__items {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.single-product.ghz-product-v3
    .woocommerce-variation-price .price {
        font-size: 28px;
    }
}
