/* Service product detail page */
body.single-product .product_cat-services {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 34px;
}

body.single-product .product_cat-services > .images,
body.single-product .product_cat-services > .summary,
body.single-product .product_cat-services > .zc-product-specs,
body.single-product .product_cat-services > .woocommerce-tabs,
body.single-product .product_cat-services > .related,
body.single-product .product_cat-services .woocommerce-Tabs-panel {
    scroll-margin-top: 120px;
}

body.single-product .product_cat-services div.images .woocommerce-product-gallery__wrapper {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 44px;
    border-color: rgba(239, 68, 68, 0.22);
    background: #fffafa;
    box-shadow: 0 24px 58px rgba(127, 29, 29, 0.11);
}

body.single-product .product_cat-services div.images .woocommerce-product-gallery__wrapper::before {
    content: "HHY SERVICE";
    position: absolute;
    top: 24px;
    left: 26px;
    z-index: 1;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fee2e2;
    color: var(--zc-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

body.single-product .product_cat-services div.images .woocommerce-product-gallery__wrapper::after {
    content: "Strategy / Content / Operation";
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 1;
    max-width: 210px;
    color: rgba(80, 22, 22, 0.58);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

body.single-product .product_cat-services div.images img {
    position: relative;
    z-index: 2;
    max-width: min(78%, 430px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(80, 22, 22, 0.08);
}

body.single-product .product_cat-services div.summary {
    padding: 34px;
    border-color: rgba(239, 68, 68, 0.22);
    background: #fff;
    box-shadow: 0 24px 58px rgba(127, 29, 29, 0.11);
}

body.single-product .product_cat-services .product_title {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3.1vw, 3.2rem);
    letter-spacing: 0;
}

body.single-product .product_cat-services .woocommerce-product-details__short-description {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom-color: rgba(239, 68, 68, 0.18);
    color: var(--zc-muted);
    font-size: 1rem;
}

.zc-service-product-price {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 16px;
    background: #fff7f7;
}

.zc-service-product-price .service-plan-card__price-prefix {
    margin: 0;
    color: var(--zc-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.zc-service-product-price > span:not(.service-plan-card__price-prefix),
.zc-service-product-price .amount {
    color: var(--zc-accent-alt);
    font-family: var(--zc-heading-font);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1;
}

body.single-product .product_cat-services .zc-single-product-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 22px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.single-product .product_cat-services .zc-single-product-meta__item {
    display: block;
    padding: 14px 16px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 14px;
    background: #fff7f7;
}

body.single-product .product_cat-services .zc-single-product-meta__label {
    display: block;
    margin-bottom: 8px;
    color: var(--zc-muted);
    font-size: 0.72rem;
}

body.single-product .product_cat-services .zc-single-product-meta__value {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0;
}

body.single-product .product_cat-services .zc-single-product-meta__value a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: var(--zc-accent);
    font-size: 0.78rem;
    font-weight: 900;
}

body.single-product .product_cat-services .zc-single-product-inquiry {
    margin-top: 0;
    padding: 26px;
    border-color: rgba(239, 68, 68, 0.24);
    background: #fffafa;
    box-shadow: none;
}

body.single-product .product_cat-services .zc-single-product-inquiry__intro {
    margin-bottom: 20px;
}

body.single-product .product_cat-services .zc-single-product-inquiry__heading {
    font-size: 1.45rem;
}

body.single-product .product_cat-services .zc-single-product-inquiry__actions .zc-btn {
    min-height: 54px;
    border-radius: 12px;
    background: var(--zc-accent);
}

body.single-product .product_cat-services .zc-single-product-inquiry__actions .zc-btn:hover {
    background: var(--zc-highlight);
}

body.single-product .product_cat-services > .zc-product-specs,
body.single-product .product_cat-services > .woocommerce-tabs .woocommerce-Tabs-panel {
    border-color: rgba(239, 68, 68, 0.18);
    box-shadow: 0 18px 42px rgba(127, 29, 29, 0.08);
}

body.single-product .product_cat-services > .zc-product-specs {
    margin-top: 32px;
    padding: 30px;
}

body.single-product .product_cat-services .zc-product-specs__title::after {
    background: rgba(239, 68, 68, 0.18);
}

body.single-product .product_cat-services .zc-product-specs__table th {
    width: 220px;
    background: #fff7f7;
}

body.single-product .product_cat-services > .woocommerce-tabs {
    margin-top: 6px;
}

body.single-product .product_cat-services .woocommerce-tabs ul.tabs {
    display: none;
}

body.single-product .product_cat-services .woocommerce-Tabs-panel {
    margin-top: 0;
    padding: 32px;
}

body.single-product .product_cat-services .woocommerce-Tabs-panel h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--zc-accent-alt);
}

body.single-product .product_cat-services .woocommerce-Tabs-panel p {
    max-width: 900px;
    color: var(--zc-muted);
    font-size: 1.03rem;
}

body.single-product .product_cat-services .woocommerce-Tabs-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
}

body.single-product .product_cat-services .woocommerce-Tabs-panel li {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 14px 18px 14px 42px;
    border: 1px solid rgba(239, 68, 68, 0.16);
    border-radius: 14px;
    background: #fff7f7;
    color: var(--zc-accent-alt);
    font-weight: 800;
    line-height: 1.35;
}

body.single-product .product_cat-services .woocommerce-Tabs-panel li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--zc-accent);
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.12);
}

body.single-product .product_cat-services > .related {
    display: block;
    margin-top: 44px;
}

body.single-product .product_cat-services > .related > h2 {
    display: block;
    width: auto;
    margin: 0 0 24px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    color: var(--zc-accent-alt);
}

body.single-product .product_cat-services > .related ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

body.single-product .product_cat-services > .related ul.products li.product {
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
}

body.single-product .product_cat-services > .related .product-card {
    overflow: hidden;
}

body.single-product .product_cat-services > .related .product-card__body {
    padding: 20px;
}

body.single-product .product_cat-services > .related .product-card__body h2,
body.single-product .product_cat-services > .related .product-card__body h3 {
    font-size: 1.08rem;
}

@media (max-width: 1199px) {
    body.single-product .product_cat-services {
        grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.85fr);
    }

    body.single-product .product_cat-services > .related ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    body.single-product .product_cat-services {
        grid-template-columns: 1fr;
    }

    body.single-product .product_cat-services div.images .woocommerce-product-gallery__wrapper {
        min-height: 420px;
    }

    body.single-product .product_cat-services > .related ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.single-product .product_cat-services div.summary,
    body.single-product .product_cat-services > .zc-product-specs,
    body.single-product .product_cat-services .woocommerce-Tabs-panel {
        padding: 20px;
    }

    body.single-product .product_cat-services div.images .woocommerce-product-gallery__wrapper {
        min-height: 300px;
        padding: 28px 18px;
    }

    body.single-product .product_cat-services div.images .woocommerce-product-gallery__wrapper::after {
        display: none;
    }

    body.single-product .product_cat-services .zc-single-product-meta {
        grid-template-columns: 1fr;
    }

    body.single-product .product_cat-services .woocommerce-Tabs-panel ul {
        grid-template-columns: 1fr;
    }

    body.single-product .product_cat-services > .related ul.products {
        grid-template-columns: 1fr;
    }

    body.single-product .product_cat-services > .related ul.products li.product {
        width: 100% !important;
    }
}
