/*
 Theme Name:   Kadence Child - EHN
 Template:     kadence
 Description:  Child theme for Elemental Health & Nutrition
 Version:      1.0
*/

/* ─────────────────────────────────────────────────────────────────────────────
 * EHN Custom Product Page (2026-05-15)
 *
 * Companion CSS for the custom single-product.php template override at
 * kadence-child/woocommerce/single-product.php.
 *
 * Because we own the entire HTML structure, no !important needed — class-based
 * selectors win cleanly. Page wraps in .ehn-product-page; everything below is
 * scoped to that.
 * ───────────────────────────────────────────────────────────────────────── */

.ehn-product-page {
    --ehn-dark: #2D3436;
    --ehn-cream: #FAF8F5;
    --ehn-cream-warm: #EBE6DE;
    --ehn-sage: #ECF3E2;
    --ehn-green: #39B54A;
    --ehn-green-deep: #2E9A3D;
    --ehn-text: #2D3436;
    --ehn-text-muted: #5a6063;
    --ehn-border: #E8E4E0;
    --ehn-card-radius: 20px;
    --ehn-card-shadow: 0 2px 8px rgba(0,0,0,0.04);
    --ehn-card-shadow-hover: 0 8px 24px rgba(57,181,74,0.10);
    --ehn-serif: 'Instrument Serif', Georgia, serif;
    --ehn-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    background: var(--ehn-cream);
    font-family: var(--ehn-sans);
    color: var(--ehn-text);
}

/* Suppress Kadence's default product-page chrome we no longer need */
.ehn-product-page .product_meta,
.ehn-product-page .woocommerce-tabs,
.ehn-product-page .related.products:not(.ehn-related-products .related) {
    display: none;
}

/* ─── Above-the-fold: gallery + buy panel ─────────────────────────────── */
.ehn-product-page .ehn-product-top {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
}

.ehn-product-page .ehn-product-gallery {
    border-radius: var(--ehn-card-radius);
    overflow: hidden;
}

.ehn-product-page .ehn-product-gallery .woocommerce-product-gallery__image img {
    border-radius: var(--ehn-card-radius);
}

.ehn-product-page .ehn-product-summary {
    padding-top: 8px;
}

.ehn-product-page .product_title {
    font-family: var(--ehn-serif);
    font-size: 44px;
    line-height: 1.05;
    font-weight: 400;
    color: var(--ehn-text);
    margin-bottom: 18px;
}

.ehn-product-page .price,
.ehn-product-page .price .woocommerce-Price-amount {
    font-size: 28px;
    color: var(--ehn-green);
    font-weight: 700;
    margin-bottom: 8px;
}

.ehn-product-page .ehn-product-lede {
    color: var(--ehn-text-muted);
    margin: 16px 0 28px;
    font-size: 16px;
    line-height: 1.6;
}
.ehn-product-page .ehn-product-lede strong {
    color: var(--ehn-text);
    font-weight: 500;
}

.ehn-product-page .ehn-buy-panel {
    border-top: 1px solid var(--ehn-border);
    padding-top: 24px;
    margin-bottom: 16px;
}

.ehn-product-page table.variations th.label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ehn-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 8px;
    text-align: left;
}

.ehn-product-page .ehn-product-meta {
    margin-top: 20px;
    font-size: 13px;
    color: var(--ehn-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.ehn-product-page .ehn-meta-item strong {
    color: var(--ehn-text);
    font-weight: 500;
    margin-right: 4px;
}

.ehn-product-page .ehn-sample-report-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ehn-cream-warm);
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ehn-text);
    font-weight: 500;
    font-size: 14px;
    margin-top: 24px;
    transition: background .15s;
}
.ehn-product-page .ehn-sample-report-pill:hover {
    background: #ddd6c7;
}
.ehn-product-page .ehn-sample-report-pill svg {
    width: 18px;
    height: 18px;
    stroke: var(--ehn-green);
    stroke-width: 1.8;
    fill: none;
}

/* ─── Card stack (description content) ────────────────────────────────── */
.ehn-product-page .ehn-product-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ehn-product-page .ehn-pcard {
    background: #ffffff;
    border: 1px solid var(--ehn-border);
    border-radius: var(--ehn-card-radius);
    padding: 40px 44px;
    box-shadow: var(--ehn-card-shadow);
    transition: box-shadow .2s, transform .2s;
}
.ehn-product-page .ehn-pcard:hover {
    box-shadow: var(--ehn-card-shadow-hover);
}

/* Variants */
.ehn-product-page .ehn-pcard--dark {
    background: var(--ehn-dark);
    border-color: var(--ehn-dark);
    color: var(--ehn-cream);
}
.ehn-product-page .ehn-pcard--dark .ehn-pcard-heading,
.ehn-product-page .ehn-pcard--dark h2,
.ehn-product-page .ehn-pcard--dark h3,
.ehn-product-page .ehn-pcard--dark h4 {
    color: var(--ehn-cream);
}
.ehn-product-page .ehn-pcard--dark p,
.ehn-product-page .ehn-pcard--dark li,
.ehn-product-page .ehn-pcard--dark .ehn-pcard-body {
    color: var(--ehn-cream);
}
.ehn-product-page .ehn-pcard--dark p strong,
.ehn-product-page .ehn-pcard--dark li strong {
    color: var(--ehn-cream);
    font-weight: 600;
}
.ehn-product-page .ehn-pcard--dark em {
    color: var(--ehn-green);
    font-style: italic;
}

.ehn-product-page .ehn-pcard--cream {
    background: var(--ehn-cream-warm);
    border-color: transparent;
}
.ehn-product-page .ehn-pcard--sage {
    background: var(--ehn-sage);
    border-color: transparent;
}

/* Card typography */
.ehn-product-page .ehn-pcard-heading {
    font-family: var(--ehn-serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 18px;
    font-style: normal;
}
.ehn-product-page .ehn-pcard-heading em {
    font-style: italic;
    color: var(--ehn-green);
}
.ehn-product-page .ehn-pcard-body p {
    margin: 0 0 14px;
    color: var(--ehn-text-muted);
    line-height: 1.65;
    font-size: 16px;
}
.ehn-product-page .ehn-pcard-body p:last-child {
    margin-bottom: 0;
}
.ehn-product-page .ehn-pcard--dark .ehn-pcard-body p {
    color: var(--ehn-cream);
}

.ehn-product-page .ehn-pcard-intro {
    color: var(--ehn-text-muted);
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.65;
}

/* Pain-point checklist (sage card) */
.ehn-product-page .ehn-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}
.ehn-product-page .ehn-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ehn-text);
    font-size: 15px;
    line-height: 1.5;
}
.ehn-product-page .ehn-checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--ehn-green);
    border-radius: 5px;
    background: #fff;
    margin-top: 1px;
}
.ehn-product-page .ehn-checklist-caption {
    background: rgba(57,181,74,0.12);
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--ehn-text);
    font-size: 14px;
    line-height: 1.5;
}
.ehn-product-page .ehn-checklist-caption strong {
    color: var(--ehn-green-deep);
}

/* Biomarker grid (white card) */
.ehn-product-page .ehn-biomarker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.ehn-product-page .ehn-biomarker {
    background: var(--ehn-cream);
    border: 1px solid var(--ehn-border);
    border-radius: 14px;
    padding: 22px;
    transition: border-color .15s, transform .15s;
}
.ehn-product-page .ehn-biomarker:hover {
    border-color: var(--ehn-green);
    transform: translateY(-2px);
}
.ehn-product-page .ehn-bm-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ehn-green-deep);
    background: rgba(57,181,74,0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 500;
}
.ehn-product-page .ehn-bm-name {
    font-family: var(--ehn-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--ehn-text);
    margin: 0 0 6px;
}
.ehn-product-page .ehn-bm-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ehn-text-muted);
    margin: 0;
}

/* Sample + Turnaround side-by-side */
.ehn-product-page .ehn-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Sample collection rows with icons */
.ehn-product-page .ehn-info-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.ehn-product-page .ehn-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--ehn-text);
}
.ehn-product-page .ehn-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ehn-product-page .ehn-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--ehn-green-deep);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ehn-product-page .ehn-info-text strong {
    color: var(--ehn-text);
    font-weight: 500;
}

/* Turnaround big number */
.ehn-product-page .ehn-big-number {
    font-family: var(--ehn-serif);
    font-size: 56px;
    color: var(--ehn-green);
    line-height: 1;
    margin: 8px 0 16px;
}

/* Process steps (4-numbered) */
.ehn-product-page .ehn-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}
.ehn-product-page .ehn-step {
    background: var(--ehn-cream);
    border: 1px solid var(--ehn-border);
    border-radius: 16px;
    padding: 26px 22px;
}
.ehn-product-page .ehn-step-num {
    font-family: var(--ehn-serif);
    font-size: 32px;
    color: var(--ehn-green);
    font-style: italic;
    line-height: 1;
    margin-bottom: 14px;
}
.ehn-product-page .ehn-step-title {
    font-family: var(--ehn-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--ehn-text);
    margin: 0 0 8px;
}
.ehn-product-page .ehn-step-body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ehn-text-muted);
    margin: 0;
}

/* Tier-aware sub-list under process card */
.ehn-product-page .ehn-tier-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ehn-product-page .ehn-tier-list li {
    background: rgba(57,181,74,0.06);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 3px solid var(--ehn-green);
    font-size: 14px;
    color: var(--ehn-text);
    line-height: 1.5;
}
.ehn-product-page .ehn-tier-list li strong {
    color: var(--ehn-green-deep);
}

/* Why-EHN sample-report CTA */
.ehn-product-page .ehn-why-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ehn-dark);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 18px;
    font-weight: 500;
    font-size: 15px;
    transition: background .15s;
}
.ehn-product-page .ehn-why-cta:hover {
    background: var(--ehn-green);
    color: #ffffff;
}
.ehn-product-page .ehn-why-cta svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

/* Reviewer credential card */
.ehn-product-page .ehn-reviewer-card {
    margin-top: 24px;
    padding: 18px 22px;
    background: var(--ehn-cream-warm);
    border-radius: var(--ehn-card-radius);
    box-shadow: var(--ehn-card-shadow);
    font-size: 14px;
    line-height: 1.55;
}
.ehn-product-page .ehn-reviewer-card p {
    margin: 0 0 8px;
    color: var(--ehn-text);
}
.ehn-product-page .ehn-reviewer-card p:last-child {
    margin-bottom: 0;
}
.ehn-product-page .ehn-reviewer-disclaimer {
    font-size: 13px;
    color: var(--ehn-text-muted);
}
.ehn-product-page .ehn-reviewer-imp {
    color: var(--ehn-green-deep);
}

.ehn-product-page .ehn-back-link {
    margin: 32px 0 0;
    text-align: center;
}
.ehn-product-page .ehn-back-link a {
    color: var(--ehn-text-muted);
    text-decoration: none;
    font-size: 14px;
}
.ehn-product-page .ehn-back-link a:hover {
    color: var(--ehn-green);
}

/* Related products restyle to match card system */
.ehn-product-page .ehn-related-products {
    margin-top: 80px;
}
.ehn-product-page .ehn-related-products h2 {
    font-family: var(--ehn-serif);
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 24px;
    color: var(--ehn-text);
}

/* Mobile breakpoint */
@media (max-width: 900px) {
    .ehn-product-page {
        padding: 20px;
    }
    .ehn-product-page .ehn-product-top {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }
    .ehn-product-page .product_title {
        font-size: 36px;
    }
    .ehn-product-page .ehn-pcard {
        padding: 28px 22px;
    }
    .ehn-product-page .ehn-pcard-heading {
        font-size: 26px;
    }
    .ehn-product-page .ehn-biomarker-grid,
    .ehn-product-page .ehn-two-col,
    .ehn-product-page .ehn-process-grid,
    .ehn-product-page .ehn-checklist {
        grid-template-columns: 1fr;
    }
    .ehn-product-page .ehn-product-cards {
        gap: 16px;
    }
    .ehn-product-page .ehn-big-number {
        font-size: 44px;
    }
}


/* ─── Iteration round 5 (2026-05-15, replaces round 3 — matches live snippet 215 v5.5)
 *
 * Changes vs round 3:
 *   - Buy panel: qty + Add-to-Cart side by side (flex row, 14px gap), button now
 *     a 64px-tall rounded RECTANGLE (12px radius), not a full pill
 *   - Variation dropdown: NATIVE browser appearance (no custom green caret SVG)
 *   - Variation label: "CHOOSE YOUR LEVEL OF SUPPORT" (rename via filter in functions.php)
 *   - Tickable checklist: native <input> overlays the entire li (transparent),
 *     CSS ::before is the visible 22px box, :has(input:checked) drives checked
 *     state (green fill + white tick + green underline). NO JS needed.
 *   - Hide WC magnifying-glass zoom trigger
 *   - Hide duplicate sample-report CTA on Why-EHN card
 *   - Force ::before display:block (Customizer Additional CSS sets it to none)
 * ───────────────────────────────────────────────────────────────────────── */

/* === Top section, gallery === */
.ehn-product-page .ehn-product-top {
    align-items: start;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 32px;
}
.ehn-product-page .ehn-product-gallery {
    max-width: 580px;
}
.ehn-product-page .ehn-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 !important;
}
.ehn-product-page .ehn-product-gallery .woocommerce-product-gallery__image,
.ehn-product-page .ehn-product-gallery .flex-viewport,
.ehn-product-page .ehn-product-gallery .flex-viewport img {
    border-radius: 16px;
}

/* Hide WC gallery zoom magnifying-glass trigger */
.ehn-product-page .woocommerce-product-gallery__trigger {
    display: none !important;
}

/* Gallery thumbnail strip — kill ol numbering, render as clean grid */
.ehn-product-gallery .flex-control-nav,
.ehn-product-gallery .flex-control-thumbs {
    list-style: none !important;
    padding: 0 !important;
    margin: 12px 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.ehn-product-gallery .flex-control-thumbs li {
    list-style: none !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    cursor: pointer;
}
.ehn-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    opacity: 0.55;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    border: 1px solid transparent;
}
.ehn-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(57,181,74,0.18);
}
.ehn-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: rgba(57,181,74,0.5);
}

.ehn-product-page .ehn-product-summary {
    padding-top: 0;
}

/* === Buy panel: side-by-side qty + button row, 14px gap, 64px tall === */
.ehn-product-page table.variations,
.ehn-product-page table.variations tbody,
.ehn-product-page table.variations tr,
.ehn-product-page table.variations td {
    display: block;
    width: 100%;
}
.ehn-product-page table.variations th.label,
.ehn-product-page table.variations th.label label {
    display: block;
    text-align: left;
    padding-bottom: 10px;
    font-family: var(--ehn-sans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ehn-text-muted) !important;
}

/* Native dropdown — let the browser draw its own caret */
.ehn-product-page table.variations select,
.ehn-product-page table.variations select option {
    font-family: var(--ehn-sans) !important;
    font-size: 18px !important;
    color: var(--ehn-text) !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}
.ehn-product-page table.variations select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--ehn-border);
    border-radius: 12px;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    background-image: none;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    box-shadow: none;
    margin: 0;
}
.ehn-product-page table.variations select:focus {
    border-color: var(--ehn-green);
    box-shadow: 0 0 0 3px rgba(57,181,74,0.12);
    outline: none;
}
.ehn-product-page .reset_variations {
    display: inline-block !important;
    margin-top: 8px;
    color: var(--ehn-text-muted);
    font-size: 13px;
}

/* Variation description (visible after a tier is selected) */
.ehn-product-page .woocommerce-variation-description,
.ehn-product-page .woocommerce-variation-description p,
.ehn-product-page .woocommerce-variation-description li {
    font-family: var(--ehn-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ehn-text-muted);
}
.ehn-product-page .woocommerce-variation-description p { margin: 0 0 10px; }
.ehn-product-page .woocommerce-variation-description strong {
    color: var(--ehn-text);
    font-weight: 600;
}
.ehn-product-page .woocommerce-variation-price,
.ehn-product-page .woocommerce-variation-price .price,
.ehn-product-page .woocommerce-variation-price .woocommerce-Price-amount,
.ehn-product-page .woocommerce-variation-price bdi {
    font-family: var(--ehn-sans);
    font-size: 28px;
    color: var(--ehn-green);
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    margin: 12px 0 8px;
}

/* Qty + Add-to-Cart row — side by side, gap, 64px tall */
.ehn-product-page .quantity { display: inline-block; }
.ehn-product-page form.cart .variations_button,
.ehn-product-page .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin-top: 22px !important;
}
.ehn-product-page .quantity input.qty {
    height: 64px !important;
    min-height: 64px !important;
    width: 84px !important;
    padding: 0 12px;
    border: 1px solid var(--ehn-border);
    border-radius: 12px;
    background: #fff;
    font-family: var(--ehn-sans);
    font-size: 18px !important;
    font-weight: 500;
    text-align: center;
    box-shadow: none;
}
.ehn-product-page form.cart button.single_add_to_cart_button,
.ehn-product-page .woocommerce-variation-add-to-cart button.single_add_to_cart_button {
    background: var(--ehn-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0 28px !important;
    height: 64px !important;
    min-height: 64px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    flex: 1 1 0% !important;
    min-width: 200px !important;
    box-shadow: 0 6px 18px rgba(57,181,74,0.18);
    transition: background .15s, transform .12s, box-shadow .2s;
    font-family: var(--ehn-sans) !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1;
}
.ehn-product-page form.cart button.single_add_to_cart_button.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.ehn-product-page form.cart button.single_add_to_cart_button:hover {
    background: var(--ehn-green-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(57,181,74,0.28);
}

/* === Cards: targeted hover variation === */
.ehn-product-page .ehn-product-cards { gap: 20px; }
.ehn-product-page .ehn-pcard {
    padding: 36px 40px;
    transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}

/* RESET: no blanket hover. Per-type rules below. */
.ehn-product-page .ehn-pcard:hover {
    transform: none;
    box-shadow: var(--ehn-card-shadow);
    border-color: var(--ehn-border);
}
.ehn-product-page .ehn-pcard--dark:hover { border-color: var(--ehn-dark); }
.ehn-product-page .ehn-pcard--cream:hover { border-color: transparent; }
.ehn-product-page .ehn-pcard--sage:hover { border-color: transparent; }

/* HERO (dark) — gentle lift */
.ehn-product-page .ehn-pcard[data-card-type="hero"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    border-color: var(--ehn-dark);
}
/* FIT (sage) — gentle lift */
.ehn-product-page .ehn-pcard[data-card-type="fit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
/* TURNAROUND — number text-shadow pulse on hover */
.ehn-product-page .ehn-pcard[data-card-type="turnaround"] .ehn-big-number {
    transition: text-shadow .3s ease;
}
.ehn-product-page .ehn-pcard[data-card-type="turnaround"]:hover .ehn-big-number {
    text-shadow: 0 0 24px rgba(57,181,74,0.4);
}
/* PROCESS — per-step cards lift + step num glows */
.ehn-product-page .ehn-pcard[data-card-type="process"] .ehn-step {
    background: var(--ehn-cream);
    border: 1px solid var(--ehn-border);
    border-radius: 14px;
    padding: 20px 18px;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.ehn-product-page .ehn-pcard[data-card-type="process"] .ehn-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.04), 0 0 14px rgba(57,181,74,0.2);
    border-color: rgba(57,181,74,0.4);
}
.ehn-product-page .ehn-pcard[data-card-type="process"] .ehn-step-num {
    transition: color .2s ease, text-shadow .25s ease;
}
.ehn-product-page .ehn-pcard[data-card-type="process"] .ehn-step:hover .ehn-step-num {
    color: var(--ehn-green);
    text-shadow: 0 0 18px rgba(57,181,74,0.6);
}
/* WHY-NOW (dark) — gentle lift */
.ehn-product-page .ehn-pcard[data-card-type="why-now"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    border-color: var(--ehn-dark);
}
/* WHY-EHN — explicit no hover */
.ehn-product-page .ehn-pcard[data-card-type="why-ehn"]:hover {
    transform: none;
    box-shadow: var(--ehn-card-shadow);
    border-color: transparent;
}
/* Hide duplicate sample-report CTA on Why-EHN (already in buy-panel pill above) */
.ehn-product-page .ehn-pcard[data-card-type="why-ehn"] .ehn-why-cta {
    display: none !important;
}

/* === Inner-element interactions === */

/* Biomarker tiles — keep border lift (user said perfect) */
.ehn-product-page .ehn-biomarker {
    transition: border-color .2s ease, transform .2s ease;
}
.ehn-product-page .ehn-biomarker:hover {
    border-color: var(--ehn-green);
    transform: translateY(-2px);
}

/* Sample collection info-rows */
.ehn-product-page .ehn-info-row { transition: transform .15s ease; }
.ehn-product-page .ehn-info-row:hover { transform: translateX(2px); }
.ehn-product-page .ehn-info-icon { transition: background .2s, box-shadow .2s; }
.ehn-product-page .ehn-info-row:hover .ehn-info-icon {
    background: rgba(57,181,74,0.08);
    box-shadow: 0 0 12px rgba(57,181,74,0.18);
}

/* Why-EHN CTA button (for any product that doesn't trigger the hide above) */
.ehn-product-page .ehn-why-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ehn-green);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    transition: background .15s, transform .12s, box-shadow .2s;
}
.ehn-product-page .ehn-why-cta:hover {
    background: var(--ehn-green-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(57,181,74,0.32);
}

/* Sample report pill */
.ehn-product-page .ehn-sample-report-pill {
    transition: background .15s, transform .12s, box-shadow .2s;
}
.ehn-product-page .ehn-sample-report-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(57,181,74,0.18);
}

/* === Reviewer block — strip card chrome, render as inline text === */
.ehn-product-page .ehn-reviewer-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 32px 0 24px !important;
    border-radius: 0 !important;
}
.ehn-product-page .ehn-reviewer-card p {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--ehn-text-muted);
    line-height: 1.55;
}
.ehn-product-page .ehn-reviewer-card p strong { color: var(--ehn-text); }
.ehn-product-page .ehn-reviewer-disclaimer {
    margin-top: 8px !important;
    font-style: italic;
}

/* === Tickable "Is this test for you?" checklist (pure CSS, no JS) ===
 * Markup: <li class="ehn-tickable"><input type="checkbox"><span>text</span></li>
 * The native <input> sits invisibly over the entire li. User clicks anywhere
 * → browser toggles input.checked → :has(input:checked) drives the styles. */

/* Force ::before visible (Customizer Additional CSS sets display:none) */
.ehn-product-page .ehn-checklist li::before,
.ehn-product-page .ehn-checklist li.ehn-tickable::before {
    display: block !important;
    content: "" !important;
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    border: 1.5px solid var(--ehn-green) !important;
    border-radius: 5px !important;
    background-color: #fff;
    margin-top: 1px;
    box-sizing: border-box;
    transition: background-color .15s, border-color .15s, transform .12s;
}

.ehn-product-page .ehn-checklist li.ehn-tickable {
    position: relative !important;
    cursor: pointer;
}

/* Native input as full-li transparent overlay — clicks pass through to input */
.ehn-product-page .ehn-checklist li.ehn-tickable input[type="checkbox"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* CHECKED state — green fill + white tick */
.ehn-product-page .ehn-checklist li.ehn-tickable:has(input[type="checkbox"]:checked)::before {
    background-color: var(--ehn-green) !important;
    border-color: var(--ehn-green) !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
}

/* CHECKED text — green underline ONLY (no strikethrough) */
.ehn-product-page .ehn-checklist li.ehn-tickable:has(input[type="checkbox"]:checked) span {
    text-decoration: underline !important;
    text-decoration-line: underline !important;
    text-decoration-color: var(--ehn-green) !important;
    text-decoration-thickness: 2px !important;
    text-decoration-style: solid !important;
    text-underline-offset: 4px !important;
}
.ehn-product-page .ehn-checklist li.ehn-tickable:has(input[type="checkbox"]:checked) {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Sage checklist responsive */
@media (max-width: 900px) {
    .ehn-product-page .ehn-checklist { grid-template-columns: 1fr; }
}

/* Process steps grid */
.ehn-product-page .ehn-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 900px) {
    .ehn-product-page .ehn-process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .ehn-product-page .ehn-process-grid { grid-template-columns: 1fr; }
}

/* Mobile: stack top section */
@media (max-width: 900px) {
    .ehn-product-page .ehn-product-top { grid-template-columns: 1fr; gap: 32px; }
    .ehn-product-page .ehn-product-gallery { max-width: 100%; }
    .ehn-product-page .ehn-pcard { padding: 28px 24px; }
}

/* ─── v6 (2026-05-15): collapse Flexsliders inflated wrapper height.
 * Without this, the WC gallery wrapper gets an inline `height: 2028px`
 * set by Flexslider equal to the sum of all stacked gallery images
 * (~3 × 540 + thumbs) even though only one image is visible via
 * .flex-viewport. The grid column then matches that height and leaves
 * a huge empty space below the shorter buy-panel column. */
.ehn-product-page .woocommerce-product-gallery {
    height: auto !important;
}
