.wp-block-headless-product-highlight {
    padding: 128px 8px 58px;
    border-radius: 34px;
}

.product-highlight-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

/* --- Header ------------------------------------------------------------ */

.product-highlight-header {
    text-align: center;
    max-width: 670px;
    margin: 0 auto;
}

.product-highlight-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: #365072;
    margin: 0;
    letter-spacing: -0.02em;
}

.product-highlight-subtitle {
    max-width: 670px;
    margin: 12px auto 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(22, 30, 35, 0.75);
}

/* --- Content: image + separator + specs -------------------------------- */

.product-highlight-content {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.product-highlight-content.is-image-right {
    flex-direction: row-reverse;
}

/* --- Product image ----------------------------------------------------- */

.ph-viewer {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    overflow: hidden;
}

.ph-viewer:active {
    cursor: grabbing;
}

.ph-viewer canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    position: relative;
    z-index: 2;
}

.ph-fallback-img {
    display: block;
    max-width: 100%;
    max-height: 580px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.ph-bg-text {
    position: absolute;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: clamp(200px, 25vw, 371px);
    line-height: 1;
    color: #365072;
    opacity: 0.035;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.03em;
}

/* --- Loading overlay --------------------------------------------------- */

.ph-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.35s ease;
}

.ph-loading--done {
    opacity: 0;
    pointer-events: none;
}

.ph-loading-track {
    width: 120px;
    height: 3px;
    background: rgba(54, 80, 114, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.ph-loading-bar {
    width: 0;
    height: 100%;
    background: #365072;
    border-radius: 3px;
    transition: width 0.2s ease;
}

/* --- Vertical scroll indicator ----------------------------------------- */

.ph-separator {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
    width: 32px;
    padding: 16px 0;
}

.ph-separator-track {
    position: relative;
    flex: 1;
    width: 1px;
    background: rgba(54, 80, 114, 0.12);
}

.ph-separator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(54, 80, 114, 0.18);
    flex-shrink: 0;
}

.ph-separator-thumb {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 59px;
    border-radius: 50px;
    background: #263850;
    transition: top 0.15s ease-out;
}

/* --- Spec cards stack -------------------------------------------------- */

.product-highlight-specs-wrapper {
    position: relative;
    flex: 0 0 clamp(340px, 42vw, 640px);
    align-self: stretch;
    min-width: 0;
    overflow: hidden;
}

.product-highlight-specs {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    scrollbar-width: none;
    padding-right: 4px;
}

.product-highlight-specs::-webkit-scrollbar {
    display: none;
}

/* --- Spec card --------------------------------------------------------- */

.product-highlight-spec-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 30px;
    background: #ffffff;
    border-radius: 32px;
    flex-shrink: 0;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.product-highlight-spec-card:hover {
    box-shadow: 0 4px 24px rgba(27, 45, 61, 0.08);
    transform: translateY(-2px);
}

/* --- Icon badge -------------------------------------------------------- */

.product-highlight-spec-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 24px;
    line-height: 1;
}

.product-highlight-spec-icon i {
    font-size: 24px;
    line-height: 1;
}

.product-highlight-spec-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- Spec text --------------------------------------------------------- */

.product-highlight-spec-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-highlight-spec-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #161e23;
    margin: 0;
}

.product-highlight-spec-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(22, 30, 35, 0.75);
    margin: 0;
}

/* --- Responsive: Tablet ------------------------------------------------ */

@media (max-width: 1100px) {
    .wp-block-headless-product-highlight {
        padding: 80px 8px 48px;
    }

    .product-highlight-title {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }

    .ph-bg-text {
        font-size: clamp(140px, 20vw, 260px);
    }

    .product-highlight-specs-wrapper {
        flex: 0 0 clamp(280px, 40vw, 480px);
    }
}

/* --- Responsive: Mobile ------------------------------------------------ */

@media (max-width: 768px) {
    .wp-block-headless-product-highlight {
        padding: 48px 16px 36px;
        border-radius: 22px;
    }

    .product-highlight-container {
        gap: 28px;
    }

    .product-highlight-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .product-highlight-content,
    .product-highlight-content.is-image-right {
        flex-direction: column;
        gap: 24px;
        min-height: auto;
    }

    .ph-viewer {
        flex: none;
        width: 100%;
        min-height: 280px;
        max-width: 340px;
        margin: 0 auto;
    }

    .ph-bg-text {
        font-size: 120px;
    }

    .ph-fallback-img {
        max-height: 340px;
    }

    .ph-separator {
        display: none;
    }

    .product-highlight-specs-wrapper {
        flex: none;
        width: 100%;
    }

    .product-highlight-specs {
        position: static;
        max-height: 460px;
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }

    .product-highlight-spec-card {
        padding: 22px 24px;
        border-radius: 24px;
        gap: 12px;
    }

    .product-highlight-spec-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 20px;
    }

    .product-highlight-spec-icon i {
        font-size: 20px;
    }

    .product-highlight-spec-title {
        font-size: 1.05rem;
    }

    .product-highlight-spec-value {
        font-size: 0.82rem;
    }
}
