/* ============================================================
   Product Header Block
   ============================================================ */

.ph-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(2rem, 4vw, 4rem);
}

.ph-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
    box-sizing: border-box;
}

/* ── Body: two-column layout ──────────────────────────────── */

.ph-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

/* ── Breadcrumb ───────────────────────────────────────────── */

.ph-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}

.ph-breadcrumb__link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ph-breadcrumb__link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.ph-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.25);
}

.ph-breadcrumb__current {
    color: rgba(255, 255, 255, 0.55);
}

/* ── Title ────────────────────────────────────────────────── */

.ph-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #FF3300;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

/* ── Tagline ──────────────────────────────────────────────── */

.ph-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0 0 1.75rem 0;
    max-width: 60ch;
}

/* ── Provider logo ────────────────────────────────────────── */

.ph-provider {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
}

.ph-provider__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ph-provider__logo {
    display: block;
    max-height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* ── Product image card ───────────────────────────────────── */

.ph-visual {
    flex-shrink: 0;
}

.ph-visual__card {
    position: relative;
    width: clamp(140px, 18vw, 220px);
    height: clamp(140px, 18vw, 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    box-sizing: border-box;
    box-shadow:
        0 0 60px rgba(255, 51, 0, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.ph-visual__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(255, 51, 0, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.ph-visual__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* ── Divider ──────────────────────────────────────────────── */

.ph-divider {
    margin-top: clamp(2rem, 4vw, 3.5rem);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 20%,
        rgba(255, 255, 255, 0.12) 80%,
        transparent 100%
    );
}

/* ── First block on page: header clearance ────────────────── */

.site-main > .wp-block-acf-product-header:first-child .ph-section {
    padding-top: calc(112px + clamp(3rem, 6vw, 6rem));
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
    .ph-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ph-visual {
        order: -1;
    }

    .ph-visual__card {
        width: 120px;
        height: 120px;
        border-radius: 18px;
        padding: 1.25rem;
    }

    .ph-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}
