/* Premium product detail aligned with the IOR homepage. */

body:has(.product-home-hero) .site-header--navigation {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    position: absolute;
}

body:has(.product-home-hero) .site-header--navigation .navbar {
    min-height: 96px;
    padding-block: 14px;
}

body:has(.product-home-hero) .header-brand-logo {
    filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.2));
    width: clamp(154px, 12vw, 205px);
}

body:has(.product-home-hero) .gateway-header-menu .nav-link {
    color: rgba(255, 255, 255, 0.92);
}

body:has(.product-home-hero) .language-toggle-group {
    background: rgba(4, 18, 43, 0.56);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
}

body:has(.product-home-hero) .language-option {
    color: rgba(255, 255, 255, 0.85);
}

body:has(.product-home-hero) .language-option.is-active {
    background: var(--ior-green-deep);
    color: #fff;
}

body:has(.product-home-hero) .gateway-header-quote {
    background: linear-gradient(135deg, #f2c95d, #d99a22);
    border-color: #e8b43d;
    color: #13233a;
}

.product-home-hero {
    --product-accent: #2c754b;
    background: #061733;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 112px;
    position: relative;
}

.product-home-hero--spices { --product-accent: #8b5a24; }
.product-home-hero--wood { --product-accent: #77503a; }
.product-home-hero--natural { --product-accent: #2f4a40; }
.product-home-hero--produce { --product-accent: #54883f; }

.product-home-hero__image,
.product-home-hero__overlay,
.product-home-hero__pattern {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.product-home-hero__image {
    background-image: var(--product-category-image);
    background-position: center;
    background-size: cover;
    filter: saturate(0.92) contrast(1.06) brightness(0.62);
    opacity: 0.7;
    z-index: -3;
}

.product-home-hero__overlay {
    background:
        radial-gradient(circle at 88% 24%, color-mix(in srgb, var(--product-accent) 48%, transparent), transparent 29%),
        linear-gradient(92deg, rgba(3, 17, 42, 0.995) 0%, rgba(5, 28, 61, 0.95) 53%, rgba(5, 54, 59, 0.7) 100%);
    z-index: -2;
}

.product-home-hero__pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 96%);
    z-index: -1;
}

.product-home-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(52px, 6vw, 96px);
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
}

.product-home-hero__copy {
    max-width: 850px;
}

.product-home-hero__topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}

.product-home-hero__topline > a,
.product-home-hero__topline > span {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.66rem;
    font-weight: 900;
    gap: 7px;
    letter-spacing: 0.06em;
    min-height: 34px;
    padding: 8px 11px;
    text-transform: uppercase;
}

.product-home-hero__topline > a {
    background: rgba(255, 255, 255, 0.09);
    color: var(--ior-light-gold);
    text-decoration: none;
}

.product-home-hero__topline > a:hover,
.product-home-hero__topline > a:focus-visible {
    background: #fff;
    color: var(--ior-navy);
    outline: 0;
}

.product-home-hero__topline > span {
    background: rgba(255, 255, 255, 0.95);
    color: var(--ior-navy);
}

.product-home-hero__topline svg {
    height: 14px;
    width: 14px;
}

.product-home-eyebrow {
    color: var(--ior-light-gold);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.product-home-hero h1 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 6vw, 6.9rem);
    letter-spacing: -0.065em;
    line-height: 0.91;
    margin: 0;
    max-width: 900px;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.product-home-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.8;
    margin: 25px 0 0;
    max-width: 770px;
}

.product-home-readiness {
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid var(--ior-gold);
    display: flex;
    gap: 12px;
    margin-top: 26px;
    max-width: 650px;
    padding: 14px 16px;
}

.product-home-readiness > span {
    align-items: center;
    background: rgba(229, 199, 103, 0.12);
    border-radius: 50%;
    color: var(--ior-light-gold);
    display: flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.product-home-readiness svg {
    height: 20px;
    width: 20px;
}

.product-home-readiness small {
    color: rgba(255, 255, 255, 0.58);
    display: block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-home-readiness strong {
    color: #fff;
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 4px;
}

.product-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.product-home-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    gap: 9px;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-home-button:hover,
.product-home-button:focus-visible {
    outline: 0;
    transform: translateY(-1px);
}

.product-home-button svg {
    height: 17px;
    width: 17px;
}

.product-home-button--gold {
    background: linear-gradient(135deg, #f2c95d, #d99a22);
    border-color: #e6b13a;
    color: #17233a;
}

.product-home-button--gold:hover,
.product-home-button--gold:focus-visible {
    background: #fff;
    border-color: #fff;
    color: var(--ior-navy);
}

.product-home-button--outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.product-home-button--outline:hover,
.product-home-button--outline:focus-visible {
    background: #fff;
    border-color: #fff;
    color: var(--ior-navy);
}

.product-home-profile {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 20px;
    box-shadow: 0 28px 68px rgba(3, 17, 42, 0.32);
    color: var(--ior-navy);
    padding: 28px;
}

.product-home-profile__heading {
    align-items: center;
    border-bottom: 1px solid rgba(11, 40, 95, 0.1);
    display: grid;
    gap: 13px;
    grid-template-columns: 54px minmax(0, 1fr);
    padding-bottom: 20px;
}

.product-home-profile__heading > span {
    align-items: center;
    background: #eaf2e8;
    border-radius: 50%;
    color: var(--ior-green);
    display: flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.product-home-profile__heading svg {
    height: 23px;
    width: 23px;
}

.product-home-profile__heading small {
    color: var(--ior-green);
    display: block;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-home-profile__heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 5px 0 0;
}

.product-home-profile__facts {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
}

.product-home-profile__facts > div {
    border-bottom: 1px solid rgba(11, 40, 95, 0.09);
    display: grid;
    gap: 5px;
    padding: 12px 0;
}

.product-home-profile__facts > div:last-child {
    border-bottom: 0;
}

.product-home-profile__facts dt {
    color: var(--ior-muted);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.product-home-profile__facts dd {
    color: var(--ior-ink);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
}

.product-home-profile__facts dd.is-italic {
    font-style: italic;
}

.product-home-profile > p {
    align-items: flex-start;
    background: #f6f8f2;
    color: var(--ior-muted);
    display: flex;
    font-size: 0.7rem;
    gap: 8px;
    line-height: 1.55;
    margin: 18px 0 0;
    padding: 12px;
}

.product-home-profile > p svg {
    flex: 0 0 auto;
    height: 14px;
    margin-top: 2px;
    width: 14px;
}

.product-home-facts {
    background: #fff;
    position: relative;
    z-index: 3;
}

.product-home-facts__grid {
    background: #fff;
    border: 1px solid rgba(11, 40, 95, 0.1);
    box-shadow: 0 22px 48px rgba(7, 28, 66, 0.12);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: translateY(-32px);
}

.product-home-facts article {
    align-items: flex-start;
    border-right: 1px solid rgba(11, 40, 95, 0.09);
    display: grid;
    gap: 11px;
    grid-template-columns: 38px minmax(0, 1fr);
    min-width: 0;
    padding: 18px;
}

.product-home-facts article:last-child {
    border-right: 0;
}

.product-home-facts article > span {
    align-items: center;
    background: #eef4eb;
    border-radius: 50%;
    color: var(--ior-green);
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.product-home-facts svg {
    height: 17px;
    width: 17px;
}

.product-home-facts small {
    color: var(--ior-muted);
    display: block;
    font-size: 0.59rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.product-home-facts strong {
    color: var(--ior-navy);
    display: block;
    font-size: 0.76rem;
    line-height: 1.45;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.product-home-facts strong.is-italic {
    font-style: italic;
}

.product-home-body {
    background:
        radial-gradient(circle at 9% 10%, rgba(201, 151, 35, 0.07), transparent 23%),
        linear-gradient(180deg, #f7f8f3 0%, #fff 100%);
    padding: 52px 0 80px;
}

.product-home-overview-grid {
    align-items: stretch;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
}

.product-home-panel {
    background: #fff;
    border: 1px solid rgba(11, 40, 95, 0.1);
    box-shadow: 0 14px 38px rgba(7, 28, 66, 0.05);
    padding: clamp(26px, 3.3vw, 42px);
}

.product-home-panel--commercial {
    background: linear-gradient(155deg, #f7f1e4, #fff);
    border-top: 4px solid var(--ior-gold);
}

.product-home-panel--specifications,
.product-home-panel--variants,
.product-home-source {
    margin-top: 22px;
}

.product-home-section-heading {
    align-items: flex-start;
    border-bottom: 1px solid rgba(11, 40, 95, 0.09);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 17px;
}

.product-home-section-heading > div > p {
    color: var(--ior-green);
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.product-home-section-heading h2 {
    color: var(--ior-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1;
    margin: 0;
    overflow-wrap: anywhere;
}

.product-home-section-heading--compact h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.45rem);
}

.product-home-section-heading > span {
    align-items: center;
    background: #eef4eb;
    border-radius: 50%;
    color: var(--ior-green);
    display: flex;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.product-home-section-heading > span svg {
    height: 22px;
    width: 22px;
}

.product-home-rich-copy {
    color: var(--ior-muted);
    font-size: 0.93rem;
    line-height: 1.86;
}

.product-home-rich-copy p:last-child {
    margin-bottom: 0;
}

.product-home-commercial-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.product-home-commercial-list > div {
    border-bottom: 1px solid rgba(11, 40, 95, 0.09);
    display: grid;
    gap: 5px;
    padding: 12px 0;
}

.product-home-commercial-list > div:first-child {
    padding-top: 0;
}

.product-home-commercial-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-home-commercial-list dt {
    color: var(--ior-muted);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.product-home-commercial-list dd {
    color: var(--ior-ink);
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.45;
    margin: 0;
}

.product-home-spec-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-home-spec-card {
    background: #f8faf6;
    border: 1px solid rgba(11, 40, 95, 0.09);
    border-left: 3px solid rgba(36, 107, 59, 0.55);
    min-width: 0;
    padding: 16px;
}

.product-home-spec-card > div {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.product-home-spec-card > div > span {
    color: var(--ior-muted);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-home-spec-card small {
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    padding: 6px 8px;
    text-transform: uppercase;
}

.product-home-spec-card strong {
    color: var(--ior-navy);
    display: block;
    font-size: 0.88rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.product-home-spec-card .verification-verified {
    background: #e8f5eb;
    color: #246b3b;
}

.product-home-spec-card .verification-source_reported {
    background: #eaf2fb;
    color: #17417c;
}

.product-home-spec-card .verification-review_required,
.product-home-spec-card .verification-to_be_confirmed {
    background: #fff1c9;
    color: #7c5908;
}

.product-home-variant-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-home-variant-card {
    background: #fbfcfa;
    border: 1px solid rgba(11, 40, 95, 0.1);
    padding: 20px;
}

.product-home-variant-card > span {
    align-items: center;
    background: #eef4eb;
    border-radius: 50%;
    color: var(--ior-green);
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.product-home-variant-card > span svg {
    height: 20px;
    width: 20px;
}

.product-home-variant-card h3 {
    color: var(--ior-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    margin: 16px 0 14px;
}

.product-home-variant-card dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.product-home-variant-card dl > div {
    border-top: 1px solid rgba(11, 40, 95, 0.08);
    display: grid;
    gap: 4px;
    padding-top: 8px;
}

.product-home-variant-card dt {
    color: var(--ior-muted);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-home-variant-card dd {
    color: var(--ior-ink);
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0;
}

.product-home-source {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
}

.product-home-origin-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-home-origin-grid > div {
    background: #f8faf6;
    border: 1px solid rgba(11, 40, 95, 0.09);
    padding: 15px;
}

.product-home-origin-grid span {
    color: var(--ior-muted);
    display: block;
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-home-origin-grid strong {
    color: var(--ior-navy);
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-top: 5px;
}

.product-home-muted-copy {
    color: var(--ior-muted);
    font-size: 0.86rem;
    line-height: 1.7;
    margin: 0;
}

.product-home-review {
    align-items: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(55, 133, 75, 0.33), transparent 31%),
        linear-gradient(145deg, #071c42, #0b4b45);
    color: #fff;
    display: grid;
    gap: 20px;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    padding: clamp(28px, 4vw, 44px);
}

.product-home-review__icon {
    align-items: center;
    background: rgba(229, 199, 103, 0.13);
    border: 1px solid rgba(229, 199, 103, 0.3);
    border-radius: 50%;
    color: var(--ior-light-gold);
    display: flex;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.product-home-review__icon svg {
    height: 27px;
    width: 27px;
}

.product-home-review > div > p:first-child {
    color: var(--ior-light-gold);
    font-size: 0.63rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    margin: 0 0 7px;
    text-transform: uppercase;
}

.product-home-review h2 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.7vw, 2.8rem);
    letter-spacing: -0.04em;
    margin: 0;
}

.product-home-review > div > p:last-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.65;
    margin: 10px 0 0;
    max-width: 700px;
}

.product-home-back {
    align-items: center;
    color: var(--ior-navy);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 8px;
    margin-top: 28px;
    text-decoration: none;
}

.product-home-back:hover,
.product-home-back:focus-visible {
    color: var(--ior-green);
    outline: 0;
}

.product-home-back svg {
    height: 16px;
    width: 16px;
}

@media (max-width: 1199.98px) {
    body:has(.product-home-hero) .site-header--navigation {
        background: rgba(4, 18, 43, 0.97);
        position: fixed;
    }

    body:has(.product-home-hero) .gateway-header-collapse {
        background: #071c42;
    }

    .product-home-hero {
        padding-top: 142px;
    }

    .product-home-hero__grid,
    .product-home-overview-grid,
    .product-home-source {
        grid-template-columns: 1fr;
    }

    .product-home-profile {
        max-width: 760px;
    }

    .product-home-facts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-home-facts article:nth-child(2) {
        border-right: 0;
    }

    .product-home-facts article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(11, 40, 95, 0.09);
    }

    .product-home-variant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-home-review {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .product-home-review .product-home-button {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .product-home-hero {
        padding: 118px 0 88px;
    }

    .product-home-hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .product-home-actions {
        display: grid;
    }

    .product-home-actions .product-home-button {
        width: 100%;
    }

    .product-home-profile {
        padding: 22px;
    }

    .product-home-facts__grid {
        grid-template-columns: 1fr;
        transform: translateY(-24px);
    }

    .product-home-facts article,
    .product-home-facts article:nth-child(2) {
        border-bottom: 1px solid rgba(11, 40, 95, 0.09);
        border-right: 0;
    }

    .product-home-facts article:last-child {
        border-bottom: 0;
    }

    .product-home-body {
        padding-top: 32px;
    }

    .product-home-panel {
        padding: 24px 20px;
    }

    .product-home-spec-grid,
    .product-home-variant-grid,
    .product-home-origin-grid {
        grid-template-columns: 1fr;
    }

    .product-home-review {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .product-home-review .product-home-button {
        justify-self: stretch;
        width: 100%;
    }
}
