/**
 * Site-wide craft layer — loads AFTER site.css + editorial.css
 * One brand system: home, shop, product, content pages.
 */

/* ── Shared atmosphere (non-home) ───────────────────────────────────── */

body:not(.home) {
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(10, 79, 191, 0.06), transparent 55%),
        radial-gradient(ellipse 60% 40% at 0% 20%, rgba(11, 28, 51, 0.04), transparent 50%),
        linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
}

body:not(.home) .site-header {
    border-bottom-color: rgba(11, 28, 51, 0.08);
    background: rgba(247, 248, 251, 0.86);
    backdrop-filter: blur(16px);
}

/* Quiet promo — lab notice, not coupon carnival */
body:not(.home) .promo-strip {
    background: #0b1c33;
    color: rgba(244, 247, 251, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body:not(.home) .promo-strip a {
    color: rgba(244, 247, 251, 0.9);
}

/* Display type across the brand */
body:not(.home) .page-shell h1,
body:not(.home) .commerce-page-hero h1,
body.prc-shop-archive .shop-catalog-hero h1,
body.prc-single-product .product_title,
body.prc-editorial .research-hub-hero h1,
.archive .research-hub-hero h1,
body.home .home-catalog-first .section-heading h2,
body.home .home-coa-preview .section-heading h2 {
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* ── PRODUCT PAGE — vial stage, not kindergarten sticker ────────────── */

body.prc-single-product .woocommerce {
    width: min(1180px, calc(100% - 40px));
    margin: 1.5rem auto 3rem;
}

body.prc-single-product .woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    gap: clamp(1.75rem, 4vw, 3.25rem) !important;
    align-items: start !important;
}

/* The stage: Woo puts gallery + .images on the SAME node — style that node once */
body.prc-single-product .woocommerce div.product div.images,
body.prc-single-product .woocommerce-product-gallery.images {
    /* NOT sticky: the lower documentation spans full width (grid-column 1/-1),
       and a sticky gallery floats over that text on the left as you scroll. */
    position: relative !important;
    top: auto !important;
    align-self: start !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem) !important;
    border: 0 !important;
    border-radius: 20px !important;
    isolation: isolate;
    background:
        radial-gradient(ellipse 58% 44% at 50% 32%, rgba(255, 255, 255, 0.30) 0%, transparent 64%),
        linear-gradient(165deg, #d6e2f1 0%, #e8eef6 46%, #c6d6e9 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 28px 60px rgba(11, 28, 51, 0.1) !important;
    overflow: hidden !important;
    opacity: 1 !important;
}

body.prc-single-product .woocommerce-product-details__short-description,
body.prc-single-product .woocommerce-product-details__short-description p {
    display: none !important;
}

body.prc-single-product .woocommerce div.product div.images::before,
body.prc-single-product .woocommerce-product-gallery.images::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 100%, rgba(11, 28, 51, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 40%);
    z-index: 1;
}

/* Children only — never wipe the gallery root stage background */
body.prc-single-product .woocommerce-product-gallery__wrapper {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: min(320px, 42vh) !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    opacity: 1 !important;
}

body.prc-single-product .woocommerce-product-gallery__image,
body.prc-single-product .prc-product-gallery__packshot {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    min-height: 0 !important;
    opacity: 1 !important;
}

body.prc-single-product .woocommerce div.product div.images img,
body.prc-single-product .woocommerce-product-gallery__image img,
body.prc-single-product .woocommerce-product-gallery__image picture img,
body.prc-single-product .prc-product-gallery__packshot img {
    width: auto !important;
    max-width: min(78%, 360px) !important;
    max-height: min(52vh, 460px) !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter:
        drop-shadow(0 32px 24px rgba(11, 28, 51, 0.2))
        drop-shadow(0 8px 10px rgba(11, 28, 51, 0.16));
    animation: prc-packshot-in 0.45s ease both;
}

/* Buy column */
body.prc-single-product .product_title {
    font-size: clamp(2rem, 3.6vw, 2.85rem) !important;
    line-height: 1.05 !important;
    color: var(--blue-deep, #0b1c33) !important;
    max-width: 16ch !important;
}

body.prc-single-product .ruo-notice {
    border-radius: 10px !important;
    border: 1px solid rgba(10, 79, 191, 0.16) !important;
    border-left: 3px solid var(--blue) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(6px);
}

body.prc-single-product .product-availability--in-stock,
body.prc-single-product .product-availability--coa-published {
    border-radius: 10px !important;
    border: 1px solid rgba(23, 111, 82, 0.22) !important;
    background: rgba(23, 111, 82, 0.08) !important;
}

body.prc-single-product .price {
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--blue-deep, #0b1c33);
}

body.prc-single-product .product-specs-block--premium,
body.prc-single-product .product-coa-block,
body.prc-single-product .molecular-profile,
body.prc-single-product .molecular-profile-section {
    border-radius: 14px !important;
    border: 1px solid rgba(11, 28, 51, 0.08) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 12px 40px rgba(11, 28, 51, 0.05) !important;
}

/* ── Catalog cards (home + shop) — flat archival tiles, not floating SaaS cards ─ */

.prc-vial-card,
body.prc-shop-archive ul.products li.product,
body.home .prc-vial-card {
    position: relative !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
    transition: none;
}

.prc-vial-card:hover,
body.prc-shop-archive ul.products li.product:hover,
body.home .prc-vial-card:hover {
    transform: none;
    box-shadow: none !important;
}

/* Full-card hit target — COA link sits above it */
.prc-vial-card__hit {
    position: absolute !important;
    inset: 0;
    z-index: 1;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-indent: -9999px;
    overflow: hidden;
}

.prc-vial-card__media {
    position: relative;
    z-index: 0;
}

.prc-vial-card__image-wrap,
body.prc-shop-archive ul.products li.product .prc-vial-card__image-wrap,
body.home .prc-vial-card__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1.04;
    padding: 1.1rem 0.75rem 0.75rem;
    isolation: isolate;
    overflow: visible !important;
    /* Quiet paper field — not a candy gradient “render booth” */
    background: linear-gradient(180deg, #eef2f6 0%, #e4ebf2 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.prc-vial-card__image-wrap picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 0;
}

.prc-vial-card__image-wrap img,
.prc-vial-card__image-wrap picture img,
.prc-vial-card__image,
body.prc-shop-archive ul.products li.product .prc-vial-card__image-wrap img,
body.home .prc-vial-card__image {
    width: auto !important;
    max-width: 84% !important;
    max-height: min(330px, 44vh) !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center 62% !important;
    background: transparent !important;
    border: 0 !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: drop-shadow(0 10px 18px rgba(11, 28, 51, 0.12));
    animation: none;
}

.prc-vial-card__title,
body.prc-shop-archive ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-size: 1.35rem !important;
    line-height: 1.15;
    color: var(--blue-deep, #0b1c33);
}

.prc-vial-card__meta,
.prc-vial-card__price {
    color: rgba(11, 28, 51, 0.62);
}

.prc-vial-card__cta,
body.prc-shop-archive ul.products li.product .button {
    border-radius: 0 !important;
}

/* ── SHOP archive hero (editorial masthead only — no duplicate intro) ─ */

body.prc-shop-archive .shop-catalog-header,
body.prc-shop-archive .shop-hero,
body.prc-shop-archive .shop-hero--premium {
    display: none !important;
}

body.prc-shop-archive .shop-catalog-hero,
body.prc-shop-archive .catalog-masthead {
    width: min(1180px, calc(100% - 40px));
    margin: 1.25rem auto 1.75rem;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
    border: 0;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(10, 79, 191, 0.1), transparent 60%),
        linear-gradient(135deg, #0b1c33 0%, #123056 55%, #0a4fbf 140%);
    color: #f4f7fb;
    box-shadow: 0 24px 50px rgba(11, 28, 51, 0.18);
}

body.prc-shop-archive .shop-catalog-hero h1,
body.prc-shop-archive .catalog-masthead h1 {
    color: #ffffff !important;
    max-width: 16ch;
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    font-size: clamp(2rem, 3.8vw, 2.85rem);
}

body.prc-shop-archive .catalog-masthead__ruo {
    margin: 0 0 0.5rem;
    color: rgba(244, 247, 251, 0.55);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.prc-shop-archive .shop-catalog-hero p,
body.prc-shop-archive .catalog-masthead__lede {
    color: rgba(244, 247, 251, 0.78);
    max-width: 52ch;
}

body.prc-shop-archive .shop-catalog-hero .hero-payment-note {
    color: rgba(244, 247, 251, 0.5);
}

body.prc-shop-archive .catalog-stage {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto 3rem;
}

body.prc-shop-archive .catalog-chips {
    display: none !important;
}

body.prc-shop-archive .catalog-chips__item {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 28, 51, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: var(--blue-deep, #0b1c33);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

body.prc-shop-archive .catalog-chips__item.is-active,
body.prc-shop-archive .catalog-chips__item:hover {
    border-color: rgba(10, 79, 191, 0.35);
    background: #0b1c33;
    color: #ffffff;
}

body.prc-shop-archive .shop-rail,
body.prc-shop-archive .shop-rail > * {
    border-radius: 14px;
    border-color: rgba(11, 28, 51, 0.08);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 28px rgba(11, 28, 51, 0.04);
}

body.prc-shop-archive .shop-rail a[href*="uncategorized"] {
    display: none !important;
}

/* ── Content pages (About, FAQ, Lab, Contact, Research) ─────────────── */

.research-hub-hero,
.page-shell .commerce-page-hero,
.lab-hero,
.about-hero-banner {
    border-radius: 18px;
    overflow: hidden;
}

.research-hub-hero,
.page-shell .commerce-page-hero {
    padding: clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(10, 79, 191, 0.08), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f0f3f8 100%);
    border: 1px solid rgba(11, 28, 51, 0.07);
    box-shadow: 0 16px 40px rgba(11, 28, 51, 0.05);
}

.research-hub-list article,
.coa-library-card,
.faq-item {
    border-radius: 14px;
}

/* Home catalog section — same card language as shop */
body.home .home-catalog-first {
    background: transparent;
}

body.home .home-catalog-first .section-heading h2,
body.home .home-coa-preview .section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    max-width: 22ch;
}

body.home .coa-library-card {
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(11, 28, 51, 0.06);
}

/* ── Footer — ink, not white coupon strip ───────────────────────────── */

body:not(.home) .site-footer,
body.home .site-footer,
.prc-editorial:not(.home) .site-footer {
    margin-top: 2rem;
    background: #0b1c33 !important;
    color: rgba(244, 247, 251, 0.78);
    border-top: 0 !important;
}

body:not(.home) .site-footer a,
body.home .site-footer a,
.prc-editorial:not(.home) .site-footer a {
    color: rgba(244, 247, 251, 0.88);
}

body:not(.home) .site-footer .footer-disclaimer,
body:not(.home) .site-footer .footer-ruo-note {
    color: rgba(244, 247, 251, 0.62);
}

body:not(.home) .site-footer .brand-logo,
body:not(.home) .site-footer .footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

body:not(.home) .site-footer .brand-text {
    color: #ffffff;
}

/* Discount energy stays demoted site-wide */
.dp-discount-strip {
    display: none !important;
}

.dp-footer-signup {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(244, 247, 251, 0.12);
}

.dp-footer-signup__copy h2 {
    margin: 0 0 0.35rem;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(244, 247, 251, 0.82);
}

.dp-footer-signup__copy p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(244, 247, 251, 0.55);
}

.dp-footer-signup__form {
    display: none;
}

.dp-footer-signup a {
    color: rgba(244, 247, 251, 0.88);
    text-decoration: underline;
    text-underline-offset: 0.12em;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ── Home cinematic — stronger veil + unified CTAs ──────────────────── */

.hero-cinematic__veil {
    background:
        linear-gradient(100deg, rgba(11, 28, 51, 0.97) 0%, rgba(11, 28, 51, 0.94) 26%, rgba(11, 28, 51, 0.7) 40%, rgba(11, 28, 51, 0.26) 52%, transparent 64%),
        linear-gradient(180deg, rgba(11, 28, 51, 0.24) 0%, transparent 18%, transparent 72%, rgba(11, 28, 51, 0.42) 100%) !important;
}

/* Bias the composition right (desktop only) so the center/right vials own the
   frame and the left vial recedes fully behind the copy — clean type bed.
   Mobile keeps its own centered composition (see base mobile rules). */
@media (min-width: 861px) {
    .hero-cinematic__media img,
    .hero-cinematic__photo {
        object-position: 100% 44% !important;
        transform: scale(1.04) !important;
        transform-origin: 100% center !important;
    }
}

.hero-cinematic .button-primary {
    background: #0b1c33 !important;
    border-color: #0b1c33 !important;
    color: #ffffff !important;
}

.hero-cinematic .button-primary:hover {
    background: #172033 !important;
    border-color: #172033 !important;
    color: #ffffff !important;
}

.hero-cinematic .button-ghost {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* ── Product buy column — quiet status, no retail stock shout ───────── */

body.prc-single-product p.stock,
body.prc-single-product .woocommerce-product-details__short-description .product-ruo-notice {
    display: none !important;
}

body.prc-single-product .ruo-notice--compact {
    margin: 0 0 0.65rem !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
}

body.prc-single-product .product-availability {
    margin: 0 0 0.75rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(11, 28, 51, 0.1) !important;
    color: rgba(11, 28, 51, 0.72) !important;
}

body.prc-single-product .product-availability--in-stock,
body.prc-single-product .product-availability--coa-published {
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(11, 28, 51, 0.1) !important;
    color: rgba(11, 28, 51, 0.72) !important;
}

body.prc-single-product .product-payment-note {
    margin: 0.35rem 0 0.85rem;
    font-size: 0.78rem;
    color: rgba(11, 28, 51, 0.55);
}

body.prc-single-product .single_add_to_cart_button:active,
body.prc-single-product .product-sticky-cart__button:active {
    transform: translateY(1px);
}

/* ── About + Lab — edge planes, not sticker cards ───────────────────── */

.about-hero-banner {
    position: relative;
    min-height: clamp(420px, 58vh, 620px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0 !important;
    overflow: hidden;
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.about-hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 3vw, 2rem);
    background:
        linear-gradient(105deg, rgba(11, 28, 51, 0.92) 0%, rgba(11, 28, 51, 0.72) 42%, rgba(11, 28, 51, 0.2) 68%, transparent 100%);
}

.about-hero-overlay h1 {
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    max-width: 18ch;
}

.page-hero-split.lab-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    margin: 0 calc(50% - 50vw) 1.5rem;
    width: 100vw;
    max-width: 100vw;
    min-height: clamp(420px, 52vh, 560px);
    border-radius: 0 !important;
    overflow: hidden;
    background: #0b1c33;
}

.page-hero-split.lab-hero > div {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    background:
        linear-gradient(105deg, rgba(11, 28, 51, 0.94) 0%, rgba(11, 28, 51, 0.78) 55%, rgba(11, 28, 51, 0.35) 100%);
    color: #f4f7fb;
}

.page-hero-split.lab-hero > div .eyebrow,
.page-hero-split.lab-hero > div .hero-lede,
.page-hero-split.lab-hero > div p {
    color: rgba(244, 247, 251, 0.78);
}

.page-hero-split.lab-hero h1 {
    color: #ffffff;
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    max-width: 16ch;
}

.page-hero-split.lab-hero img {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.page-hero-split.lab-hero .hero-actions .button-primary {
    background: #0a4fbf;
    border-color: #0a4fbf;
}

.coa-library-stats {
    gap: 0.75rem;
}

.coa-library-stat {
    padding: 1rem 1.1rem !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(11, 28, 51, 0.08) !important;
    box-shadow: none !important;
}

.coa-library-stat strong {
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    font-size: 1.35rem !important;
    color: #0b1c33;
}

.coa-library-stat span {
    font-size: 0.78rem !important;
    color: rgba(11, 28, 51, 0.58) !important;
}

.coa-grid span {
    font-family: var(--font-display), Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* Related products — same stage language */
.related.products ul.products li.product .prc-vial-card__image-wrap {
    background:
        radial-gradient(ellipse 58% 42% at 50% 30%, rgba(255, 255, 255, 0.28) 0%, transparent 62%),
        linear-gradient(165deg, #d6e2f1 0%, #e8eef6 46%, #c6d6e9 100%) !important;
}

/* Waitlist = intentional secondary */
.prc-vial-card--waitlist .prc-vial-card__cta,
body.prc-shop-archive ul.products li.product.prc-vial-card--waitlist .button,
body.home .prc-vial-card--waitlist .prc-vial-card__cta {
    background: transparent !important;
    border: 1px solid rgba(11, 28, 51, 0.22) !important;
    color: #0b1c33 !important;
}

.prc-vial-card--waitlist .prc-vial-card__cta:hover,
body.home .prc-vial-card--waitlist .prc-vial-card__cta:hover {
    background: rgba(11, 28, 51, 0.06) !important;
    border-color: rgba(11, 28, 51, 0.35) !important;
    color: #0b1c33 !important;
}

.notify-me-btn,
.notify-me-block--premium .notify-me-btn {
    background: transparent !important;
    border: 1px solid rgba(11, 28, 51, 0.22) !important;
    color: #0b1c33 !important;
}

.notify-me-btn:hover {
    background: rgba(11, 28, 51, 0.06) !important;
    border-color: rgba(11, 28, 51, 0.35) !important;
}

/* ── Buttons: one purchase language ─────────────────────────────────── */

body.prc-single-product .single_add_to_cart_button,
body.prc-single-product .product-sticky-cart__button,
body.prc-shop-archive ul.products li.product .add_to_cart_button,
body.home .prc-vial-card__cta {
    border-radius: 8px !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em;
    background: var(--blue, #0a4fbf) !important;
    border-color: var(--blue, #0a4fbf) !important;
    color: #ffffff !important;
}

body.prc-single-product .single_add_to_cart_button:hover,
body.prc-single-product .product-sticky-cart__button:hover,
body.home .prc-vial-card__cta:hover {
    background: #172033 !important;
    border-color: #172033 !important;
}

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

@media (max-width: 900px) {
    body.prc-single-product .woocommerce div.product {
        grid-template-columns: 1fr !important;
    }

    body.prc-single-product .woocommerce div.product div.images {
        position: relative !important;
        top: auto !important;
        padding: 2rem 1.25rem 1.5rem !important;
    }

    .prc-vial-card__image-wrap,
    body.prc-shop-archive ul.products li.product .prc-vial-card__image-wrap,
    body.home .prc-vial-card__image-wrap {
        align-items: center !important;
        aspect-ratio: 1 / 1.05 !important;
        padding: 1rem 0.75rem 0.5rem !important;
    }

    .prc-vial-card__image-wrap img,
    body.home .prc-vial-card__image {
        max-height: 270px !important;
        object-position: center 62% !important;
    }

    .page-hero-split.lab-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    body.prc-lab-archive .page-hero-split.lab-hero {
        display: block;
        position: relative;
        min-height: clamp(400px, 68vh, 540px);
    }

    body.prc-lab-archive .page-hero-split.lab-hero img,
    body.prc-lab-archive .page-hero-split.lab-hero .hero-banner-photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0 !important;
        object-fit: cover;
        object-position: 50% 28%;
        order: unset;
        z-index: 0;
    }

    body.prc-lab-archive .page-hero-split.lab-hero > div {
        position: relative;
        z-index: 2;
        min-height: clamp(400px, 68vh, 540px);
        justify-content: flex-end;
        text-align: center;
        background:
            linear-gradient(180deg,
                rgba(11, 28, 51, 0.2) 0%,
                transparent 28%,
                rgba(11, 28, 51, 0.55) 52%,
                rgba(11, 28, 51, 0.94) 72%,
                #0b1c33 100%);
    }

    .page-hero-split.lab-hero > div {
        grid-column: 1;
        padding: 2rem 1.25rem;
        background: linear-gradient(180deg, rgba(11, 28, 51, 0.94) 0%, rgba(11, 28, 51, 0.82) 100%);
    }

    body.prc-lab-archive .page-hero-split.lab-hero > div {
        padding: 5rem 1.25rem 2rem;
    }

    .page-hero-split.lab-hero img {
        grid-column: 1;
        min-height: 220px;
        order: -1;
    }

    body.prc-lab-archive .page-hero-split.lab-hero img {
        grid-column: unset;
        min-height: 0;
        order: unset;
    }

    .about-hero-overlay {
        max-width: none;
        padding: 2rem 1.25rem;
    }
}

@media (hover: hover) {
    .prc-vial-card:hover,
    body.prc-shop-archive ul.products li.product:hover,
    body.home .prc-vial-card:hover {
        transform: translateY(-3px);
    }
}

@media (hover: none) {
    .prc-vial-card:hover,
    body.prc-shop-archive ul.products li.product:hover,
    body.home .prc-vial-card:hover {
        transform: none;
    }
}

/* ═══ P0/P1 — catalog vials visible; one system; lab richest ═══════════ */

/* Beat legacy site.css rules that clip or flatten packshots */
ul.products li.product,
.prc-vial-card,
body.home .prc-vial-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

ul.products li.product a.prc-vial-card__link--media,
.prc-vial-card__link--media,
.prc-vial-card__media {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products li.product a.prc-vial-card__link--title,
.prc-vial-card__link--title {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.prc-vial-card__image-wrap,
body.prc-shop-archive ul.products li.product .prc-vial-card__image-wrap,
body.home .prc-vial-card__image-wrap,
.related.products ul.products li.product .prc-vial-card__image-wrap {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 220px !important;
    aspect-ratio: 1 / 1.05 !important;
    align-items: center !important;
    justify-content: center !important;
}

.prc-vial-card__image-wrap img,
.prc-vial-card__image-wrap picture img,
.prc-vial-card__image,
ul.products li.product a img,
ul.products li.product a.woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
body.home .prc-vial-card__image {
    max-width: 84% !important;
    max-height: min(330px, 44vh) !important;
    min-height: 150px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center 62% !important;
    /* Layered shadow reads as a grounded contact shadow, not a floating drop */
    filter:
        drop-shadow(0 26px 20px rgba(11, 28, 51, 0.18))
        drop-shadow(0 6px 8px rgba(11, 28, 51, 0.14)) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.prc-vial-card__title,
body.prc-shop-archive ul.products li.product .woocommerce-loop-product__title {
    position: relative;
    z-index: 0;
    padding: 0.55rem 0 0.2rem !important;
    min-height: 0 !important;
    font-size: 1.2rem !important;
    text-align: left !important;
}

.prc-vial-card__meta,
body.prc-shop-archive ul.products li.product .prc-vial-card__meta {
    position: relative;
    z-index: 0;
    display: block !important;
    margin: 0 !important;
    padding: 0 0 0.2rem !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-align: left !important;
    text-transform: none;
    color: rgba(11, 28, 51, 0.62) !important;
}

.prc-vial-card__price,
body.prc-shop-archive ul.products li.product .prc-vial-card__price,
body.prc-shop-archive ul.products li.product .price {
    position: relative;
    z-index: 0;
    display: block !important;
    margin: 0 !important;
    padding: 0.15rem 0 0 !important;
    text-align: left !important;
    font-weight: 700 !important;
    color: var(--blue-deep, #0b1c33) !important;
}

.prc-vial-card__cta,
body.home .prc-vial-card__cta {
    position: relative;
    z-index: 0;
    display: inline-block !important;
    margin: 0.65rem 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--blue, #1e4a7a) !important;
    font-size: 0.85rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.01em;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.prc-vial-card--waitlist .prc-vial-card__cta,
body.home .prc-vial-card--waitlist .prc-vial-card__cta {
    color: rgba(11, 28, 51, 0.55) !important;
}

.prc-vial-card__coa-btn,
ul.products li.product .prc-vial-card__coa-btn {
    position: relative !important;
    z-index: 2 !important;
    align-self: flex-start !important;
    display: inline-block !important;
    width: auto !important;
    margin: 0.65rem 0 0.15rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--blue, #1e4a7a) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.prc-vial-card__coa-btn:hover,
ul.products li.product .prc-vial-card__coa-btn:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--blue-deep, #0b1c33) !important;
}

body.prc-shop-archive .catalog-masthead h1 {
    max-width: 18ch;
}

body.prc-shop-archive ul.products {
    gap: 1.75rem 1.25rem !important;
}

/* Kill leftover Woo category chip chrome if anything re-hooks it */
body.prc-shop-archive .catalog-chips {
    display: none !important;
}

/* Home COA preview — published leads, pending muted */
body.home .home-coa-preview .coa-library-card--published {
    border-color: rgba(11, 28, 51, 0.16) !important;
    box-shadow: 0 16px 36px rgba(11, 28, 51, 0.08) !important;
}

body.home .home-coa-preview .coa-library-card--pending {
    opacity: 0.72;
    border-style: dashed;
}

body.home .home-coa-preview .coa-library-card__badge {
    background: rgba(11, 28, 51, 0.82) !important;
}

body.home .home-coa-preview .coa-library-card--published .coa-library-card__badge {
    background: #0b1c33 !important;
}

/* Lab Tests — richest page on the site */
body.prc-lab-archive .page-shell {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.prc-lab-archive .page-hero-split.lab-hero h1,
body.prc-lab-archive .coa-library-section__head h2 {
    font-family: var(--font-display), Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.025em;
}

body.prc-lab-archive .coa-grid--methods {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 1.5rem;
}

body.prc-lab-archive .coa-grid--methods article {
    border: 1px solid rgba(11, 28, 51, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(11, 28, 51, 0.05);
}

.coa-method-index {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-display), Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    color: rgba(11, 28, 51, 0.28);
}

.coa-method-label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(10, 79, 191, 0.85);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.prc-lab-archive .coa-library-stats {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 1.25rem;
}

body.prc-lab-archive .coa-library-section {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto 2.5rem;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border: 1px solid rgba(11, 28, 51, 0.08);
    border-radius: 20px;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(10, 79, 191, 0.06), transparent 55%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 60px rgba(11, 28, 51, 0.08);
}

body.prc-lab-archive .coa-library-section__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    max-width: 20ch;
}

body.prc-lab-archive .coa-library-toolbar {
    margin-bottom: 1.25rem;
}

body.prc-lab-archive .coa-library-search input {
    max-width: 360px;
}

body.prc-lab-archive .coa-library-card--published {
    border-color: rgba(11, 28, 51, 0.18) !important;
    box-shadow: 0 18px 40px rgba(11, 28, 51, 0.08) !important;
}

body.prc-lab-archive .coa-library-card--published .coa-library-card__badge {
    background: #0b1c33 !important;
}

body.prc-lab-archive .coa-library-card--pending {
    opacity: 0.74;
    border-style: dashed !important;
    border-color: rgba(11, 28, 51, 0.12) !important;
    box-shadow: none !important;
}

body.prc-lab-archive .coa-library-card--pending .coa-library-card__badge {
    background: rgba(11, 28, 51, 0.55) !important;
}

body.prc-lab-archive .coa-library-card__media {
    background:
        radial-gradient(ellipse 62% 48% at 50% 38%, rgba(255, 255, 255, 0.45) 0%, transparent 68%),
        linear-gradient(165deg, #dce6f2 0%, #eef2f7 42%, #cfdceb 100%) !important;
}

body.prc-lab-archive .coa-lookup-callout--published {
    border-left: 3px solid #0b1c33;
    background: rgba(11, 28, 51, 0.04);
}

body.prc-lab-archive .coa-library-note {
    font-size: 0.78rem;
    opacity: 0.88;
}

body.prc-lab-archive .lab-proof-band,
body.prc-lab-archive .checkout-section {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

body.prc-lab-archive .page-hero-split.lab-hero .button-primary,
body.prc-lab-archive .checkout-section .button-primary {
    background: #0b1c33 !important;
    border-color: #0b1c33 !important;
}

body.prc-lab-archive .page-hero-split.lab-hero .button-primary:hover,
body.prc-lab-archive .checkout-section .button-primary:hover {
    background: #172033 !important;
    border-color: #172033 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   $100k detail pass — the small marks that separate a boutique lab
   catalog from a custom Woo theme: composed numerals, grounded stages,
   a documentation archive that reads richer than the shop.
   ═══════════════════════════════════════════════════════════════════════ */

/* Prices as considered specs — lining, tabular figures; not retail default */
.prc-vial-card__price,
.prc-vial-card__price .woocommerce-Price-amount,
body.prc-single-product .price,
body.prc-single-product .price .woocommerce-Price-amount,
.woocommerce-Price-amount {
    font-feature-settings: "tnum" 1, "lnum" 1;
    font-variant-numeric: tabular-nums lining-nums;
}

.prc-vial-card__price,
body.prc-shop-archive ul.products li.product .prc-vial-card__price {
    padding: 0.1rem 1rem 1rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    color: #0b1c33 !important;
}

/* Meta line as a quiet spec stripe — hairline above, generous tracking */
.prc-vial-card__meta,
body.prc-shop-archive ul.products li.product .prc-vial-card__meta {
    padding-top: 0.55rem !important;
    margin-top: 0.15rem !important;
    letter-spacing: 0.015em !important;
}

/* Eyebrows: one voice across every surface */
.eyebrow,
.section-heading .eyebrow,
body.prc-shop-archive .shop-catalog-hero .eyebrow,
.page-hero-split.lab-hero .eyebrow,
.about-hero-overlay .eyebrow {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
}

/* ── Lab Tests hero: soften the hard tile seam into one plane (desktop only) ─ */
.page-hero-split.lab-hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 42%;
    width: 22%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, #0b1c33 0%, rgba(11, 28, 51, 0.55) 45%, transparent 100%);
}

@media (max-width: 900px) {
    .page-hero-split.lab-hero::before {
        display: none;
    }
}

/* ── Lab Tests: documentation IS the product — richest, quietest page ─── */
/* Stats read as an engraved ledger row, not SaaS metric cards */
.coa-library-stats {
    gap: 0 !important;
    border: 1px solid rgba(11, 28, 51, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
}

.coa-library-stat {
    padding: 1.15rem 1.35rem !important;
    border: 0 !important;
    border-right: 1px solid rgba(11, 28, 51, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.coa-library-stat:last-child {
    border-right: 0 !important;
}

.coa-library-stat strong {
    display: block;
    font-size: 1.6rem !important;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.coa-library-stat span {
    letter-spacing: 0.02em !important;
}

/* COA archive rows — confident published, muted pending */
.coa-grid .coa-row,
.coa-library .coa-entry {
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Card COA tag — an archival control, aligned to the info rhythm */
.prc-vial-card__coa-btn,
ul.products li.product .prc-vial-card__coa-btn {
    align-self: center;
    margin-top: 0.6rem !important;
}

/* ── Product money page: gallery|buy on top, documentation full-width ─── */
body.prc-single-product .mrp-wrap,
body.prc-single-product .product-specs-block,
body.prc-single-product .product-coa-block,
body.prc-single-product .woocommerce-tabs,
body.prc-single-product .related.products {
    grid-column: 1 / -1 !important;
}

/* Batch specifications as a calm two-column ledger at desktop width */
@media (min-width: 861px) {
    body.prc-single-product .product-specs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 3rem !important;
        row-gap: 0 !important;
    }
}

/* ── Mobile hero: copy sits at the bottom over a large vial — darken the
   lower third so the type reads cleanly without hiding the product ─────── */
@media (max-width: 860px) {
    /* Vial cap/shoulder occupies the top; copy sits on a near-solid navy base */
    .hero-cinematic__veil {
        background:
            linear-gradient(180deg,
                rgba(11, 28, 51, 0.36) 0%,
                rgba(11, 28, 51, 0.1) 20%,
                transparent 34%,
                rgba(11, 28, 51, 0.86) 52%,
                #0b1c33 66%) !important;
    }
    .hero-cinematic__media img,
    .hero-cinematic__photo {
        object-position: 50% 14% !important;
    }
}

/* Header search on every page (incl. home). Earlier rules hid it on home
   desktop/mobile and left phones with no search outside the homepage. */
.site-header .header-inner .product-search-wrap,
body.home .site-header .header-inner .product-search-wrap {
    display: block !important;
}

.site-header .header-inner .product-search,
body.home .site-header .header-inner .product-search {
    display: flex !important;
}

/* Home already has header search — drop the duplicate below-hero block. */
.home-mobile-search {
    display: none !important;
}

@media (max-width: 860px) {
    .site-header .header-inner .product-search-wrap,
    body.home .site-header .header-inner .product-search-wrap {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
    }

    .site-header .header-inner .product-search,
    body.home .site-header .header-inner .product-search {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 44px;
        border-radius: 12px !important;
        background: #ffffff !important;
        justify-self: stretch !important;
    }

    .site-header .header-inner .product-search input[type="search"],
    body.home .site-header .header-inner .product-search input[type="search"] {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
        font-size: 16px !important; /* avoid iOS zoom */
        color: var(--text) !important;
    }
}

/* ═══ Kill remaining WooCommerce silhouette on the product page ═══════════ */

/* The lone "Description" tab is pure Woo chrome AND duplicates the
   Molecular Research Profile rendered above it — remove the whole tab block. */
body.prc-single-product .woocommerce-tabs {
    display: none !important;
}

/* Quantity field shipped with the raw browser-default inset border (native/Woo
   tell). Make it a calm branded field that matches the Add-to-cart button. */
body.prc-single-product .quantity input.qty {
    width: 4.5rem !important;
    padding: 0.85rem 0.5rem !important;
    border: 1px solid rgba(11, 28, 51, 0.2) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #0b1c33 !important;
    font-family: var(--font), system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    -moz-appearance: textfield;
    box-shadow: none !important;
}

body.prc-single-product .quantity input.qty:focus {
    outline: none !important;
    border-color: var(--blue, #0a4fbf) !important;
    box-shadow: 0 0 0 3px rgba(10, 79, 191, 0.14) !important;
}

body.prc-single-product .quantity input.qty::-webkit-outer-spin-button,
body.prc-single-product .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Related products → "More from the catalog": brand section heading, not
   a Woo default. Cards already inherit the staged vial component. */
body.prc-single-product .related.products > h2 {
    font-family: var(--font-display), Georgia, serif !important;
    font-weight: 400 !important;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem) !important;
    letter-spacing: -0.02em !important;
    color: #0b1c33 !important;
    margin: 0 0 1.35rem !important;
}

/* ═══ Empty cart: strip default Woo "New in store" cross-sell + sad-emoji ═══ */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before,
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title svg,
.wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wp-block-woocommerce-empty-cart-block .wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title),
.wp-block-woocommerce-empty-cart-block .wc-block-grid,
.wp-block-woocommerce-empty-cart-block [class*="wp-block-product-new"] {
    display: none !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
    font-family: var(--font-display, Georgia), serif !important;
    font-weight: 400 !important;
    font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
    letter-spacing: -0.02em !important;
    color: #0b1c33 !important;
    padding: 0.5rem 0 0 !important;
    margin: 0 !important;
}

/* Branded continue-shopping link (cart page, empty + filled) */
.cart-continue-shopping {
    margin: 1.75rem 0 0;
    text-align: center;
}

.cart-continue-shopping a {
    display: inline-block;
    padding: 0.7rem 1.3rem;
    border: 1px solid rgba(11, 28, 51, 0.22);
    border-radius: 10px;
    color: #0b1c33;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-continue-shopping a:hover {
    background: rgba(11, 28, 51, 0.06);
    border-color: rgba(11, 28, 51, 0.35);
}

/* Checkout block: "Place Order" shipped as charcoal — unify to brand navy so
   every purchase CTA on the site is one color (no stray Woo/default button). */
.wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button.contained,
.wp-block-woocommerce-checkout .wc-block-components-button.contained {
    background: #0b1c33 !important;
    border-color: #0b1c33 !important;
    color: #ffffff !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-button.contained:hover {
    background: #172033 !important;
    border-color: #172033 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   INTEGRATION PASS
   Fix: "everything sits on top of everything." The site leaned on drop
   shadows + floating rounded boxes to separate sections, so every panel
   read as a disconnected island on paper. Here: mastheads go full-bleed
   (like the Lab/About heroes), heavy elevation becomes hairline borders,
   panels share one surface. Loaded last so it wins.
   ═══════════════════════════════════════════════════════════════════════ */

/* 1) Shop masthead: floating shadowed box → full-bleed band, flush, no shadow */
body.prc-shop-archive .shop-catalog-hero,
body.prc-shop-archive .catalog-masthead {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) 2.25rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-top: clamp(2.25rem, 5vw, 3.5rem) !important;
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem) !important;
    padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
    padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
}

/* 2) Catalog cards: elevated islands → hairline-bordered connected grid.
      Lift only on hover, so the resting state reads as one calm grid. */
.prc-vial-card,
body.prc-shop-archive ul.products li.product,
body.home .prc-vial-card,
.related.products ul.products li.product {
    box-shadow: none !important;
    border: 1px solid rgba(11, 28, 51, 0.1) !important;
}

.prc-vial-card:hover,
body.prc-shop-archive ul.products li.product:hover,
body.home .prc-vial-card:hover,
.related.products ul.products li.product:hover {
    box-shadow: none !important;
    border-color: transparent !important;
    transform: none !important;
}

/* 3) Product page panels: heavy elevation → hairline, share the page surface */
body.prc-single-product .product-specs-block--premium,
body.prc-single-product .product-coa-block,
body.prc-single-product .molecular-profile,
body.prc-single-product .molecular-profile-section,
body.prc-single-product .mrp-wrap,
body.prc-single-product .mrp-card,
body.prc-single-product .mrp-section {
    box-shadow: none !important;
    border: 1px solid rgba(11, 28, 51, 0.1) !important;
    background: rgba(255, 255, 255, 0.5) !important;
}

/* 4) Product gallery stage: keep the atmospheric stage, drop the big float */
body.prc-single-product .woocommerce div.product div.images,
body.prc-single-product .woocommerce-product-gallery.images {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 1px 3px rgba(11, 28, 51, 0.05) !important;
    border: 1px solid rgba(11, 28, 51, 0.07) !important;
}

/* 5) Generic page mastheads + content panels (cart, checkout, legal, about
      body, contact, faq): floating white boxes → flush, hairline-defined */
.commerce-page-hero,
.page-shell .commerce-page-hero,
.commerce-content-panel {
    box-shadow: none !important;
    border: 1px solid rgba(11, 28, 51, 0.09) !important;
    background: rgba(255, 255, 255, 0.45) !important;
}

/* 6) COA archive + lab method + stat panels: de-elevate to hairlines */
.coa-grid .coa-row,
.coa-library .coa-entry,
.lab-method-card,
.coa-card,
.about-claim-card,
.about-cards > * {
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   UNIFIED SURFACE  (integration, round 2 — after studying a reference)
   Root cause of the remaining "sits on top": light theme = white cards on
   gray paper, so the value jump makes cards float even with shadows gone.
   Fix (same principle a dark reference uses, inverted for light): the page
   ground and the cards/panels share ONE near-white tone, delineated only by
   hairlines. Cards read as framed windows cut into the page. The navy
   full-bleed mastheads/heroes and the cool vial wells stay as the anchors.
   ═══════════════════════════════════════════════════════════════════════ */

/* Calm, uniform page ground — drop the busy radial washes for one surface */
body:not(.home) {
    background: #eef2f7 !important;
}

body.home .home-page__stage,
body.home .featured-products,
body.home .home-catalog-first,
body.home .home-coa-preview {
    background: transparent !important;
}

/* Cards: one hair above the ground + hairline — not white-on-gray floats */
.prc-vial-card,
body.prc-shop-archive ul.products li.product,
body.home .prc-vial-card,
.related.products ul.products li.product {
    background: #f8fafc !important;
    border: 1px solid rgba(11, 28, 51, 0.1) !important;
    box-shadow: none !important;
}

/* Product + generic panels share the same near-white surface */
body.prc-single-product .product-specs-block--premium,
body.prc-single-product .product-coa-block,
body.prc-single-product .molecular-profile,
body.prc-single-product .molecular-profile-section,
body.prc-single-product .mrp-wrap,
body.prc-single-product .mrp-card,
body.prc-single-product .mrp-section,
.commerce-page-hero,
.page-shell .commerce-page-hero,
.commerce-content-panel {
    background: #f8fafc !important;
    border: 1px solid rgba(11, 28, 51, 0.1) !important;
    box-shadow: none !important;
}

/* Buy-column notice/status boxes: dissolve into the surface, keep the
   left accent rule as the only signal (less boxed-in stacking) */
body.prc-single-product .ruo-notice,
body.prc-single-product .product-availability,
body.prc-single-product .product-availability--in-stock,
body.prc-single-product .product-availability--coa-published {
    background: transparent !important;
    border-color: transparent !important;
    border-left: 3px solid var(--blue, #0a4fbf) !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    padding-left: 0.85rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   DE-NEST  —  kill "box in a box in a box" (the WordPress tell)
   Rule: section wrappers and page stages are NOT boxes. They carry no bg,
   border, radius, or shadow — content sits directly on the page surface.
   Only leaf items (product cards, COA cards) get a hairline. Stats become
   an open ledger (rules), not a bordered box.
   ═══════════════════════════════════════════════════════════════════════ */

/* Home: the big rounded shadowed stage that wraps everything below the hero */
body.home .home-page__stage {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Section + page wrappers → no box (home COA + lab COA + catalog + generic) */
.coa-library-section,
.home-coa-preview,
.featured-products,
.home-catalog-first,
.commerce-content-panel,
.commerce-page-hero,
.page-shell .commerce-page-hero,
body.prc-single-product .product-specs-block--premium,
body.prc-single-product .product-coa-block,
body.prc-single-product .molecular-profile,
body.prc-single-product .molecular-profile-section,
body.prc-single-product .mrp-wrap {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Stats: bordered box → open ledger, defined by top/bottom rules only */
.coa-library-stats {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(11, 28, 51, 0.12) !important;
    border-bottom: 1px solid rgba(11, 28, 51, 0.12) !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Product doc sections: separate with a top hairline instead of a card box */
body.prc-single-product .product-specs-block--premium,
body.prc-single-product .product-coa-block {
    border-top: 1px solid rgba(11, 28, 51, 0.12) !important;
    border-radius: 0 !important;
    padding-top: 1.75rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   No white card backdrop — the card body IS the page.
   Catalog cards carry no fill and no resting border: only the vial well
   (the product stage) and the info sit on the continuous surface, grouped
   by whitespace. A faint tint + hairline appear on hover for affordance.
   ═══════════════════════════════════════════════════════════════════════ */
.prc-vial-card,
body.prc-shop-archive ul.products li.product,
body.home .prc-vial-card,
.related.products ul.products li.product {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.prc-vial-card:hover,
body.prc-shop-archive ul.products li.product:hover,
body.home .prc-vial-card:hover,
.related.products ul.products li.product:hover {
    background: rgba(11, 28, 51, 0.025) !important;
    border-color: rgba(11, 28, 51, 0.08) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* COA card tiles (home preview + lab archive): same — no white fill */
.coa-grid .coa-card,
.coa-library .coa-card,
.home-coa-preview .coa-card,
.coa-card {
    background: transparent !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Product page: match the COA page — documentation on the surface, not
   stacked white/blue sub-panels. The de-nest missed these inner classes.
   Sections separate with a hairline; nested callouts get a left rule.
   ═══════════════════════════════════════════════════════════════════════ */
body.prc-single-product .mrp-section {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(11, 28, 51, 0.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1.75rem 0 0.5rem !important;
    margin: 1.75rem 0 0 !important;
}

body.prc-single-product .mrp-cascade-block,
body.prc-single-product .mrp-disclaimer {
    background: transparent !important;
    border: 0 !important;
    border-left: 3px solid rgba(10, 79, 191, 0.28) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.15rem 0 0.15rem 1rem !important;
    margin-top: 1rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Catalog cards: flat documentation tiles (final override).
   No white float, no radius, no lift shadow. Product sits on the page
   surface; the vial well is a quiet paper field. Whole card is clickable
   via .prc-vial-card__hit; COA stays its own link above the hit.
   ═══════════════════════════════════════════════════════════════════════ */
.prc-vial-card,
body.prc-shop-archive ul.products li.product,
body.home .prc-vial-card,
.related.products ul.products li.product {
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
}

.prc-vial-card:hover,
body.prc-shop-archive ul.products li.product:hover,
body.home .prc-vial-card:hover,
.related.products ul.products li.product:hover {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Let the stretch link receive clicks; keep COA independently clickable */
.prc-vial-card > *:not(.prc-vial-card__hit):not(.prc-vial-card__coa-btn),
body.prc-shop-archive ul.products li.product > *:not(.prc-vial-card__hit):not(.prc-vial-card__coa-btn),
body.home .prc-vial-card > *:not(.prc-vial-card__hit):not(.prc-vial-card__coa-btn) {
    position: relative;
    z-index: 0;
    pointer-events: none;
}

.prc-vial-card__hit {
    z-index: 1 !important;
    pointer-events: auto !important;
}

.prc-vial-card__coa-btn,
ul.products li.product .prc-vial-card__coa-btn {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Quiet paper well — not a candy gradient booth */
.prc-vial-card__image-wrap,
body.prc-shop-archive ul.products li.product .prc-vial-card__image-wrap,
body.home .prc-vial-card__image-wrap,
.related.products ul.products li.product .prc-vial-card__image-wrap {
    background: linear-gradient(180deg, #eef2f6 0%, #e4ebf2 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   The grid "grout" must BE the page — not a white block behind the cards.
   ul.products shipped with a white background, so the gaps between cards
   read as a third layer (white grout) on the gray page. Make every product
   grid transparent so white cards sit on one continuous surface (COA-style).
   ═══════════════════════════════════════════════════════════════════════ */
body.prc-shop-archive ul.products,
.woocommerce ul.products,
ul.products,
.product-grid,
.featured-products-grid,
.home-catalog-grid,
.related.products ul.products {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   From the Delta / About / FAQ — bring into the one system.
   These pages still wrapped content in white 6px-radius panels (WP feel).
   Flatten every wrapper so content sits on the continuous page; upgrade the
   article/claim cards to the site card system (white · hairline · 14px · soft
   shadow) so they match the shop and COA cards.
   ═══════════════════════════════════════════════════════════════════════ */

/* Wrapper panels → no box, content on the surface */
.research-hub-hero,
.image-copy-band,
.content-page,
.faq-page,
.faq-side-card,
.faq-cta-section {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Article + claim cards → the shared card system (like shop / COA cards) */
.research-card,
.story-grid article {
    background: #ffffff !important;
    border: 1px solid rgba(11, 28, 51, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px rgba(11, 28, 51, 0.08) !important;
}

.research-card:hover,
.story-grid article:hover {
    border-color: rgba(11, 28, 51, 0.12) !important;
    box-shadow: 0 24px 52px rgba(11, 28, 51, 0.12) !important;
}

/* FAQ accordion → a clean list on the surface, divided by hairlines */
.faq-page details,
.content-page details {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(11, 28, 51, 0.1) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Home: catalog eyebrow was landing on the dark hero (blue-on-navy).
   The stage overlapped the hero by -40px; that was invisible when the stage
   had a light fill, but now it's transparent so the dark hero shows through.
   Drop the overlap and give the catalog breathing room on the light page.
   ═══════════════════════════════════════════════════════════════════════ */
body.home .home-page__stage {
    margin-top: 0 !important;
}

body.home .home-catalog-first {
    padding-top: clamp(1.75rem, 4vh, 3rem) !important;
}

/* Eyebrow + heading share one left edge (no centered-short-line vs narrow h2 mismatch) */
body.home .home-catalog-first .section-heading-inline > div,
body.home .home-coa-preview .section-heading-inline > div {
    align-items: flex-start;
    text-align: left;
}

body.home .home-catalog-first .section-heading .eyebrow,
body.home .home-coa-preview .section-heading .eyebrow {
    margin-bottom: 0.35rem !important;
    padding-left: 0.16em; /* balance letter-spacing so cap aligns with h2 */
}

.section-heading .eyebrow {
    margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
    body.home .home-page__stage {
        box-shadow: none;
        border-top: 0;
        padding-top: 0.5rem;
    }

    body.home .home-catalog-first {
        padding-top: 1.25rem !important;
    }
}

/* ── Mobile: centering + spacing (catalog, COA, lab) ─────────────────── */

@media (max-width: 760px) {
    .hero-cinematic__inner {
        text-align: center;
        padding-bottom: 4.75rem;
    }

    .hero-cinematic .hero-actions {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .hero-cinematic .hero-payment-note {
        margin-top: 1.1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 22rem;
        text-align: center;
        line-height: 1.45;
    }

    body.home .home-catalog-first .section-heading-inline,
    body.home .home-coa-preview .section-heading-inline,
    body.prc-lab-archive .coa-library-section__head.section-heading,
    body.prc-lab-archive .coa-library-section__head.section-heading-inline {
        text-align: left;
        gap: 0.85rem;
        margin-bottom: 1.5rem;
    }

    body.home .home-catalog-first .section-heading-inline > div,
    body.home .home-coa-preview .section-heading-inline > div,
    body.prc-lab-archive .coa-library-section__head > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    body.home .home-catalog-first .section-heading .eyebrow,
    body.home .home-coa-preview .section-heading .eyebrow,
    body.prc-lab-archive .coa-library-section__head .eyebrow {
        margin-bottom: 0 !important;
    }

    body.home .home-catalog-first .section-heading h2,
    body.home .home-coa-preview .section-heading h2,
    body.prc-lab-archive .coa-library-section__head h2 {
        line-height: 1.22;
        max-width: none;
    }

    body.home .home-coa-preview .coa-library-section__head p:last-of-type {
        margin-left: auto;
        margin-right: auto;
    }

    .section-heading-inline a,
    .coa-library-section__head.section-heading a {
        justify-self: start;
        margin-top: 0.15rem;
    }

    .coa-library-stats,
    .coa-library-stats--compact {
        text-align: center;
    }

    .page-hero-split.lab-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-top: 1.35rem;
    }

    .page-hero-split.lab-hero .hero-actions .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Lab hero: overlay copy on the vial photo (matches home cinematic) */
    body.prc-lab-archive .page-hero-split.lab-hero {
        display: block;
        position: relative;
        min-height: clamp(420px, 72vh, 560px);
        margin-bottom: 0;
    }

    body.prc-lab-archive .page-hero-split.lab-hero img,
    body.prc-lab-archive .page-hero-split.lab-hero .hero-banner-photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0 !important;
        max-height: none;
        object-fit: cover;
        object-position: 50% 28%;
        order: unset;
        z-index: 0;
    }

    body.prc-lab-archive .page-hero-split.lab-hero > div {
        position: relative;
        z-index: 2;
        min-height: clamp(420px, 72vh, 560px);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        text-align: center;
        padding: 5.5rem 1.25rem 2rem;
        background:
            linear-gradient(180deg,
                rgba(11, 28, 51, 0.2) 0%,
                transparent 28%,
                rgba(11, 28, 51, 0.55) 52%,
                rgba(11, 28, 51, 0.94) 72%,
                #0b1c33 100%);
    }

    body.prc-lab-archive .page-hero-split.lab-hero h1 {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.12;
    }

    body.prc-lab-archive .page-hero-split.lab-hero .hero-lede {
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.92rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.prc-lab-archive .coa-grid--methods {
        width: calc(100% - 2rem);
        margin: 1.75rem auto 1.5rem;
    }

    body.prc-lab-archive .coa-grid--methods article {
        padding: 1.15rem 1.1rem;
        text-align: center;
    }

    body.prc-lab-archive .coa-library-stats {
        width: calc(100% - 2rem);
    }

    body.prc-lab-archive .coa-library-section {
        width: calc(100% - 2rem);
        padding: 1.35rem 1.1rem;
    }

    .coa-library-card__facts div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .coa-library-card__facts dd {
        margin-bottom: 0.4rem;
    }

    .coa-library-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding-top: 0.65rem;
    }

    .coa-library-card__actions .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .coa-library-card__pdf {
        display: block;
        text-align: center;
    }

    .image-copy-band.lab-proof-band {
        text-align: center;
    }

    .image-copy-band.lab-proof-band > div {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    .image-copy-band.lab-proof-band h2 {
        line-height: 1.18;
    }

    .image-copy-band.lab-proof-band .button {
        align-self: center;
        width: 100%;
        max-width: 20rem;
        margin-top: 0.35rem;
    }
}
