/* =========================================================
   MISR PRODUCTS — CREATIVE PRODUCT SHOWCASE
   HTML/content unchanged — visual layer only
   ========================================================= */

:root {
    --products-green: var(--green, #1f5d4a);
    --products-green-dark: #123f33;
    --products-green-soft: #eef6f1;
    --products-gold: var(--green, #E2B94F);
    --products-ink: var(--ink, #16322a);
    --products-muted: var(--muted, #71807b);
    --products-line: var(--line, #dfe7e3);
    --products-paper: #f7faf8;
}

/* =========================================================
   PAGE HERO
   ========================================================= */

body:has(.product-showcase) .page-hero {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 86% 18%, rgba(31,93,74,.07), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f7faf8 100%);
}


body:has(.product-showcase) .page-hero::after {
    content: "";
    position: absolute;
    left: 7%;
    bottom: -100px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(31,93,74,.07);
    border-radius: 50%;
    pointer-events: none;
}

body:has(.product-showcase) .page-hero .container {
    position: relative;
    z-index: 1;
    width: min(1177px, calc(100% - 48px));
    max-width: 1177px;
    padding-block: 78px 62px;
}

body:has(.product-showcase) .page-hero .eyebrow {
    color: var(--products-gold);
}

body:has(.product-showcase) .page-hero h1 {
    max-width: 760px;
    margin: 15px 0 17px;
    color: var(--products-ink);
    font-size: clamp(1.65rem, 2.7vw, 2.45rem);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.015em;
}

body:has(.product-showcase) .page-hero .lead {
    max-width: 900px;
    margin: 0;
    color: var(--products-muted);
    font-size: .90rem;
    line-height: 1.9;
}

/* =========================================================
   PRODUCT SECTION
   ========================================================= */

body:has(.product-showcase) main > .section {
    padding-top: 58px !important;
    padding-bottom: 64px;
}

/* =========================================================
   PRODUCT SHOWCASE
   ========================================================= */

.product-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(31,93,74,.10);
    border-radius: 28px;
    background: #fff;
    box-shadow:
        0 22px 60px rgba(24,58,47,.08),
        0 4px 16px rgba(24,58,47,.04);
    isolation: isolate;
}

/* Fine technical frame */
.product-showcase::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(31,93,74,.055);
    border-radius: 20px;
    pointer-events: none;
    z-index: 4;
}

/* =========================================================
   PRODUCT VISUAL / STAGE
   ========================================================= */

.product-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 590px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 43%, rgba(255,255,255,.98) 0 18%, rgba(236,244,240,.92) 45%, rgba(222,235,229,.95) 100%),
        #edf4f0;
}

/* Large quiet technical circle */
.product-visual::before {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(31,93,74,.11);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(31,93,74,.025),
        0 0 0 58px rgba(31,93,74,.015);
    animation: productOrbit 12s linear infinite;
}

/* Ground shadow */
.product-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 58px;
    width: 245px;
    height: 30px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(20,55,44,.16);
    filter: blur(19px);
    pointer-events: none;
}

/* Small decorative marks */

.product-visual {
    --mark-color: rgba(31,93,74,.14);
}

.product-visual img {
    position: relative;
    z-index: 2;

    width: auto;
    max-width: 78%;

     height: var(--product-display-height, 300px);

    object-fit: contain;
    transform: translateY(0);

    filter:
        drop-shadow(0 28px 25px rgba(20,55,44,.17))
        drop-shadow(0 3px 5px rgba(20,55,44,.08));

    transition:
        opacity .28s ease,
        transform .55s cubic-bezier(.2,.75,.25,1),
        filter .4s ease;
}

.product-visual:hover img {
    transform: translateY(-8px) scale(1.018);

    filter:
        drop-shadow(0 35px 28px rgba(20,55,44,.20))
        drop-shadow(0 5px 8px rgba(20,55,44,.09));
}

.product-visual img.is-changing {
    opacity: 0;
    transform: translateY(18px) scale(.965);
}

/* =========================================================
   PRODUCT INFORMATION PANEL
   ========================================================= */

.product-info {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 50px;
    background:
        radial-gradient(circle at 94% 8%, rgba(201,169,104,.07), transparent 24%),
        #fff;
}

/* Green accent rail */
.product-info::before {
    content: "";
    position: absolute;
    top: 42px;
    bottom: 42px;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(
        180deg,
        transparent,
        var(--products-green) 20%,
        var(--products-gold) 50%,
        var(--products-green) 80%,
        transparent
    );
}

/* =========================================================
   PRODUCT LABEL + SIZE
   ========================================================= */

.product-info > .eyebrow {
    width: fit-content;
    margin-bottom: 8px;
    color: var(--products-gold);
}

.product-size {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    width: fit-content;
    margin: 4px 0 20px;
    color: var(--products-green);
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.055em;
    transition:
        color .25s ease,
        transform .35s ease;
}

.product-size::after {
    content: "";
    position: absolute;
    left: 2px;
    right: -12px;
    bottom: -10px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--products-gold),
        rgba(201,169,104,0)
    );
}

.product-size:hover {
    transform: translateX(4px);
}

/* =========================================================
   SPECIFICATIONS — MORE VISUAL
   ========================================================= */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
    border-top: 1px solid var(--products-line);
    border-bottom: 1px solid var(--products-line);
    background: transparent;
}

.spec-grid div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    padding: 13px 16px 12px 0;
    border-bottom: 1px solid var(--products-line);
    transition:
        background .25s ease,
        padding .25s ease,
        transform .25s ease;
    animation: specReveal .45s both;
}

.spec-grid div:nth-child(1) { animation-delay: .03s; }
.spec-grid div:nth-child(2) { animation-delay: .08s; }
.spec-grid div:nth-child(3) { animation-delay: .13s; }
.spec-grid div:nth-child(4) { animation-delay: .18s; }
.spec-grid div:nth-child(5) { animation-delay: .23s; }
.spec-grid div:nth-child(6) { animation-delay: .28s; }

.spec-grid div:nth-child(n+5) {
    border-bottom: 0;
}

.spec-grid div:nth-child(even) {
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--products-line);
}

.spec-grid div:hover {
    z-index: 1;
    background: var(--products-green-soft);
    transform: translateY(-2px);
}

.spec-grid div::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--products-gold);
    transition: width .25s ease;
}

.spec-grid div:hover::before {
    width: 34px;
}

.spec-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--products-muted);
    font-size: .61rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .075em;
}

.spec-grid strong {
    display: block;
    margin: 0;
    color: var(--products-ink);
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.35;
}

/* =========================================================
   PRODUCT SELECTOR
   ========================================================= */

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 24px;
}

.product-tabs button {
    position: relative;
    min-width: 58px;
    padding: 9px 12px;
    border: 1px solid var(--products-line);
    border-radius: 9px;
    background: #fff;
    color: var(--products-muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .01em;
    cursor: pointer;
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.product-tabs button:hover {
    border-color: var(--products-green);
    color: var(--products-green);
    transform: translateY(-2px);
}

.product-tabs button.active {
    border-color: var(--products-green);
    background: var(--products-green);
    color: #fff;
    box-shadow: 0 7px 16px rgba(31,93,74,.16);
}

.product-tabs button.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 7px;
    height: 7px;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 1px;
    background: var(--products-green);
}

/* =========================================================
   CONTROLS
   ========================================================= */

.product-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.arrow-btn {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--products-line);
    border-radius: 50%;
    background: #fff;
    color: var(--products-ink);
    font-size: .95rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.arrow-btn:hover {
    border-color: var(--products-green);
    background: var(--products-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31,93,74,.15);
}

.progress {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: #e8eeeb;
}

.progress::before {
    content: "";
    position: absolute;
    inset: -1px 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0 11px,
        rgba(31,93,74,.08) 11px 12px
    );
}

.progress span {
    position: relative;
    z-index: 1;
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--products-green),
        var(--products-gold)
    );
    transition: width .45s cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   MARQUEE
   ========================================================= */

.product-marquee {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--products-line);
    background: #f7fbf8;
    white-space: nowrap;
}

.product-marquee::before,
.product-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 90px;
    pointer-events: none;
}

.product-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #f7fbf8, transparent);
}

.product-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #f7fbf8, transparent);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    padding: 15px 0;
    color: #61736d;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 34px;
}

.marquee-track span::after {
    content: "•";
    color: var(--products-gold);
}

.rtl .marquee-track {
    animation-direction: reverse;
}

/* =========================================================
   RANGE LOGIC / QUOTE PANEL
   ========================================================= */

body:has(.product-showcase) .soft-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 30%, rgba(31,93,74,.055), transparent 25%),
        #f5f9f7;
}

body:has(.product-showcase) .split {
    gap: 44px;
    align-items: stretch;
}

body:has(.product-showcase) .split > .reveal {
    align-self: center;
    max-width: 650px;
}

body:has(.product-showcase) .split h2 {
    max-width: 610px;
    margin: 14px 0 18px;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -.02em;
}

body:has(.product-showcase) .split .lead {
    max-width: 620px;
    font-size: .86rem;
    line-height: 1.85;
}

body:has(.product-showcase) .quote-panel {
    position: relative;
    overflow: hidden;
    align-self: center;
    padding: 38px 40px;
    border: 1px solid rgba(201,169,104,.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 0%, rgba(201,169,104,.13), transparent 34%),
        linear-gradient(145deg, var(--products-green-dark), #1c5745);
    box-shadow: 0 20px 45px rgba(18,63,51,.12);
    color: #fff;
}

body:has(.product-showcase) .quote-panel::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

body:has(.product-showcase) .quote-panel::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 24px;
    width: 34px;
    height: 2px;
    background: var(--products-gold);
}

body:has(.product-showcase) .quote-panel h3 {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 13px 0 13px;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.28;
}

body:has(.product-showcase) .quote-panel p {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin-bottom: 22px;
    color: rgba(255,255,255,.76);
    font-size: .78rem;
    line-height: 1.8;
}

body:has(.product-showcase) .quote-panel .btn {
    position: relative;
    z-index: 1;
}

/* =========================================================
   RTL
   ========================================================= */

.rtl .product-info::before {
    border-radius: 4px 0 0 4px;
}

.rtl .product-size:hover {
    transform: translateX(-4px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
    .product-showcase {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    }

    .product-info {
        padding: 40px;
    }

    .product-visual img {
        height: 490px;
        max-width: 84%;
    }

    .product-visual::before {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 900px) {
    body:has(.product-showcase) .page-hero {
        min-height: 320px;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product-visual {
        min-height: 455px;
        order: 1;
    }

    .product-info {
        order: 2;
        padding: 38px 34px 40px;
    }

    .product-info::before {
        top: 0;
        bottom: auto;
        inset-inline-start: 34px;
        width: 60px;
        height: 3px;
        border-radius: 0 0 5px 5px;
    }

    .product-visual img {
        height: 405px;
    }

    .product-visual::before {
        width: 310px;
        height: 310px;
    }

    body:has(.product-showcase) .split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body:has(.product-showcase) .split > .reveal {
        max-width: none;
    }
}

@media (max-width: 640px) {
    body:has(.product-showcase) .page-hero .container {
        width: min(100% - 36px, 1177px);
        padding-block: 62px 50px;
    }

    body:has(.product-showcase) .page-hero h1 {
        font-size: clamp(1.5rem, 7vw, 2.1rem);
    }

    body:has(.product-showcase) main > .section {
        padding-top: 42px !important;
        padding-bottom: 48px;
    }

    .product-visual {
        min-height: 385px;
    }

    .product-visual img {
        height: 350px;
        max-width: 82%;
    }

    .product-visual::before {
        width: 270px;
        height: 270px;
    }

    .product-visual::after {
        bottom: 43px;
        width: 185px;
        height: 24px;
    }

    .product-info {
        padding: 32px 24px 34px;
    }

    .product-info::before {
        inset-inline-start: 24px;
    }

    .product-size {
        font-size: clamp(2.35rem, 13vw, 3.6rem);
    }

    .spec-grid div {
        min-height: 67px;
        padding-inline-end: 10px;
    }

    .spec-grid div:nth-child(even) {
        padding-inline-start: 12px;
    }

    .spec-grid strong {
        font-size: .78rem;
    }

    .product-tabs {
        gap: 6px;
    }

    .product-tabs button {
        min-width: 53px;
        padding: 8px 10px;
        font-size: .64rem;
    }

    .quote-panel {
        padding: 32px 26px !important;
    }
}

@media (max-width: 420px) {
    .product-visual {
        min-height: 340px;
    }

    .product-visual img {
        height: 310px;
    }

    .product-visual::before {
        width: 235px;
        height: 235px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid div,
    .spec-grid div:nth-child(even) {
        padding-inline: 0;
        border-inline-start: 0;
    }

    .spec-grid div:nth-child(n) {
        border-bottom: 1px solid var(--products-line);
    }

    .spec-grid div:last-child {
        border-bottom: 0;
    }

    .product-controls {
        gap: 9px;
    }

    .arrow-btn {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}

/* =========================================================
   MOTION
   ========================================================= */

@keyframes productOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes specReveal {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-visual::before,
    .marquee-track,
    .spec-grid div {
        animation: none !important;
    }

    .product-visual img,
    .product-tabs button,
    .arrow-btn,
    .spec-grid div {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   MISR PRODUCTS + MULTILAYER
   Integrated Multilayer/COEX visual layer
   Existing Products styles are preserved above.
   ========================================================= */

/* Prevent the existing Products page section-spacing rule from
   collapsing the newly integrated Multilayer sections. */
.products-page main > .section.ml-intro,
.products-page main > .section.ml-why,
.products-page main > .section.ml-layers-section,
.products-page main > .section.ml-material-section,
.products-page main > .section.ml-applications,
.products-page main > .section.ml-iml-section,
.products-page main > .section.ml-decision,
.products-page main > .section.ml-related,
.products-page main > .section.ml-final-cta {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
}


/* =========================================================
   MISR — MULTILAYER PACKAGING
   Unified with the existing MISR global design system
   ========================================================= */

/* ---------- HERO ---------- */

.ml-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 42%, rgba(53,108,77,.09), transparent 31%),
        radial-gradient(circle at 8% 0%, rgba(226,185,79,.07), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, var(--soft) 100%);
}

.ml-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -170px;
    border: 1px solid rgba(53,108,77,.09);
    border-radius: 50%;
    pointer-events: none;
}

.ml-hero::after {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    left: -430px;
    bottom: -500px;
    border: 1px solid rgba(226,185,79,.12);
    border-radius: 50%;
    pointer-events: none;
}

.ml-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(45px, 6vw, 78px);
    align-items: center;
    padding: 82px 0 74px;
}

.ml-hero-copy {
    max-width: 680px;
}

.ml-hero-copy h1 {
    max-width: 650px;
    margin: 18px 0 22px;
    color: var(--ink);
    font-size: clamp(2.65rem, 5vw, 5.25rem);
    line-height: .99;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.ml-hero-copy .lead {
    max-width: 620px;
    line-height: 1.85;
}

.ml-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.ml-hero-actions .btn {
    min-width: 205px;
}

/* ---------- HERO VISUAL ---------- */

.ml-hero-visual {
    position: relative;
    min-height: 475px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(53,108,77,.09);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(255,255,255,.96) 0 15%,
            rgba(230,241,235,.78) 42%,
            rgba(216,232,223,.92) 100%);
    box-shadow: 0 28px 70px rgba(31,69,50,.10);
}

.hero-visual-glow {
    position: absolute;
    width: 245px;
    height: 245px;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
    filter: blur(2px);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(53,108,77,.12);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-a {
    width: 350px;
    height: 350px;
}

.hero-orbit-b {
    width: 465px;
    height: 465px;
    border-color: rgba(226,185,79,.13);
}

.hero-layer-stack {
    position: relative;
    z-index: 2;
    width: min(255px, 62%);
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 11px;
    transform: rotate(-7deg);
    filter: drop-shadow(0 26px 24px rgba(20,55,44,.15));
}

.hero-layer-stack span {
    display: block;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.hero-layer-stack span:nth-child(1) {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #dcefe5, var(--green));
}

.hero-layer-stack span:nth-child(2) {
    width: 88%;
    height: 31px;
    align-self: center;
    background: linear-gradient(135deg, #e2b94f, #f0c960);
}

.hero-layer-stack span:nth-child(3) {
    width: 92%;
    height: 98px;
    align-self: center;
    background: linear-gradient(135deg, #b8d5c6, #6e9b83);
}

.hero-layer-stack span:nth-child(4) {
    width: 100%;
    height: 76px;
    background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
}

.hero-layer-caption {
    position: absolute;
    z-index: 4;
    right: 28px;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 14px;
    border: 1px solid rgba(53,108,77,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(8px);
}

.hero-layer-caption span {
    color: var(--muted);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.hero-layer-caption strong {
    color: var(--green);
    font-size: 1.15rem;
    letter-spacing: .08em;
}

/* ---------- GENERAL ---------- */

.ml-intro,
.ml-layers-section,
.ml-iml-section,
.ml-decision,
.ml-related,
.ml-final-cta {
    background: var(--white);
}

.ml-why,
.ml-applications {
    background: linear-gradient(180deg, #f7faf8 0%, #f2f7f4 100%);
}

.ml-intro,
.ml-why,
.ml-layers-section,
.ml-iml-section,
.ml-decision,
.ml-related,
.ml-final-cta {
    padding: 88px 0;
}

/* ---------- SECTION HEAD ---------- */

.ml-intro-grid,
.ml-material-grid,
.ml-iml-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(50px, 7vw, 90px);
    align-items: center;
}

.ml-intro h2,
.ml-material-copy h2,
.ml-iml-copy h2 {
    max-width: 650px;
    margin: 15px 0 0;
    font-size: clamp(2.25rem, 4vw, 4rem);
    text-wrap: balance;
}

.ml-intro-copy > p,
.ml-material-copy > p,
.ml-iml-copy > p {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.9;
}

.ml-intro-copy > p + p,
.ml-material-copy > p + p {
    margin-top: 18px;
}

/* ---------- STATS ---------- */

.ml-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.ml-stat-row > div {
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.ml-stat-row strong {
    display: block;
    color: var(--green);
    font-size: 1.08rem;
    line-height: 1.2;
}

.ml-stat-row span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

/* ---------- SECTION INTRO ---------- */

.section-head {
    max-width: 820px;
    margin-bottom: 42px;
}

.section-head h2 {
    max-width: 850px;
    margin: 14px 0 15px;
    text-wrap: balance;
}

.section-head .lead {
    max-width: 760px;
    line-height: 1.85;
}

/* ---------- BENEFITS ---------- */

.ml-benefits-grid,
.ml-application-grid,
.ml-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ml-benefit-card,
.ml-application-card,
.ml-related-card {
    position: relative;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, #fff 0%, #f8fbf9 100%);
    box-shadow: 0 10px 30px rgba(10,30,24,.045);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.ml-benefit-card:hover,
.ml-application-card:hover,
.ml-related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(226,185,79,.48);
    box-shadow: 0 20px 44px rgba(10,30,24,.09);
}

.ml-benefit-card > span,
.ml-application-card > span,
.ml-related-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
    border: 1px solid rgba(53,108,77,.12);
    border-radius: 11px;
    background: #edf7f3;
    color: var(--green);
    font-size: .72rem;
    font-weight: 900;
}

.ml-benefit-card h3,
.ml-application-card h3,
.ml-related-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.ml-benefit-card p,
.ml-application-card p,
.ml-related-card p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.82;
}

/* ---------- COEX LAYERS ---------- */

.coex-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.coex-order strong {
    color: var(--green);
}

.coex-order i {
    color: var(--gold);
    font-style: normal;
    font-size: 1.1rem;
}

.ml-layer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ml-layer-card {
    position: relative;
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(10,30,24,.045);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ml-layer-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--green), var(--gold));
    transform: scaleY(.25);
    transform-origin: center;
    opacity: .65;
    transition: transform .3s ease, opacity .3s ease;
}

.ml-layer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(53,108,77,.22);
    box-shadow: 0 22px 45px rgba(10,30,24,.09);
}

.ml-layer-card:hover::before {
    transform: scaleY(1);
    opacity: 1;
}

.layer-card-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--green);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
}

.layer-card-content {
    min-width: 0;
}

.layer-card-content > span {
    color: var(--green);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.layer-card-content h3 {
    margin: 7px 0 10px;
    color: var(--ink);
    font-size: 1.42rem;
}

.layer-card-content p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.82;
}

.ml-tech-link {
    margin-top: 30px;
}

.text-link {
    display: inline-flex;
    color: var(--green);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.5;
    border-bottom: 1px solid rgba(53,108,77,.25);
    padding-bottom: 3px;
    transition: color .2s ease, border-color .2s ease;
}

.text-link:hover {
    color: var(--green-dark);
    border-color: var(--gold);
}

/* ---------- MATERIAL VISUAL ---------- */

.ml-material-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(53,108,77,.10);
    border-radius: 30px;
    background: #f1f7f4;
    box-shadow: 0 24px 60px rgba(20,55,44,.08);
}

.ml-material-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}


.material-badge span {
    color: var(--muted);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.material-badge strong {
    color: var(--green);
    font-size: 1.1rem;
    letter-spacing: .08em;
}

.material-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.material-points > div {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.material-points span {
    color: var(--gold);
    font-size: .68rem;
    font-weight: 900;
}

.material-points p {
    margin: 0;
    color: var(--ink);
    font-size: .75rem;
    font-weight: 700;
}

/* ---------- APPLICATIONS ---------- */

.ml-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-application-card {
    min-height: 220px;
}

/* ---------- IML ---------- */

.ml-iml-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ml-iml-copy {
    max-width: 650px;
}

.ml-iml-visual {
    min-width: 0;
}

.iml-image-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #f5f8f6;
    box-shadow: 0 22px 55px rgba(20,55,44,.08);
}

.ml-material-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(53,108,77,.10);
    border-radius: 30px;
    background: #f1f7f4;
    box-shadow: 0 24px 60px rgba(20,55,44,.08);
}

.ml-material-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

.iml-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.iml-mini-grid > div {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.iml-mini-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: .68rem;
}

.iml-mini-grid span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
}

/* ---------- DECISION / CTA ---------- */

.ml-decision-box,
.ml-final-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 44px 48px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 5%, rgba(226,185,79,.16), transparent 30%),
        linear-gradient(135deg, var(--green-deep) 0%, var(--ink) 100%);
    box-shadow: 0 28px 65px rgba(31,69,50,.14);
}

.ml-decision-copy,
.ml-final-box > div {
    max-width: 800px;
}

.ml-decision-box .eyebrow,
.ml-final-box .eyebrow {
    color: var(--gold-light);
}

.ml-decision-box .eyebrow::before,
.ml-final-box .eyebrow::before {
    background: var(--gold);
}

.ml-decision-box h2,
.ml-final-box h2 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    line-height: 1.06;
}

.ml-decision-box p,
.ml-final-box p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,.73);
    line-height: 1.85;
    font-size: .86rem;
}

.ml-final-cta {
    padding-top: 70px;
    padding-bottom: 90px;
}

/* ---------- RELATED ---------- */

.ml-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ml-related-card {
    display: block;
}

.ml-related-card > strong {
    display: block;
    margin-top: 22px;
    color: var(--green);
    font-size: 1.15rem;
    transition: transform .25s ease;
}

.ml-related-card:hover > strong {
    transform: translateX(5px);
}

html[dir="rtl"] .ml-related-card:hover > strong {
    transform: translateX(-5px);
}

/* ---------- RTL ---------- */

html[dir="rtl"] .ml-hero-copy,
html[dir="rtl"] .ml-intro,
html[dir="rtl"] .ml-material-copy,
html[dir="rtl"] .ml-iml-copy,
html[dir="rtl"] .ml-decision,
html[dir="rtl"] .ml-related,
html[dir="rtl"] .ml-final-cta,
html[dir="rtl"] .ml-why,
html[dir="rtl"] .ml-applications,
html[dir="rtl"] .ml-layers-section {
    direction: rtl;
}

html[dir="rtl"] .ml-hero-copy h1,
html[dir="rtl"] .ml-intro h2,
html[dir="rtl"] .ml-material-copy h2,
html[dir="rtl"] .ml-iml-copy h2,
html[dir="rtl"] .section-head h2,
html[dir="rtl"] .ml-decision-box h2,
html[dir="rtl"] .ml-final-box h2 {
    letter-spacing: 0;
}

html[dir="rtl"] .hero-layer-caption {
    right: auto;
    left: 28px;
}

html[dir="rtl"] .material-badge {
    right: auto;
    left: 22px;
}

html[dir="rtl"] .ml-layer-card {
    grid-template-columns: minmax(0, 1fr) 55px;
}

html[dir="rtl"] .layer-card-number {
    grid-column: 2;
    grid-row: 1;
}

html[dir="rtl"] .layer-card-content {
    grid-column: 1;
    grid-row: 1;
}

html[dir="rtl"] .ml-layer-card::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .ml-related-card > strong {
    transform: scaleX(-1);
}

html[dir="rtl"] .ml-related-card:hover > strong {
    transform: scaleX(-1) translateX(5px);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1050px) {
    .ml-hero-grid {
        grid-template-columns: 1fr;
    }

    .ml-hero-copy {
        max-width: 800px;
    }

    .ml-hero-visual {
        min-height: 420px;
    }

    .ml-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ml-intro-grid,
    .ml-material-grid,
    .ml-iml-grid {
        gap: 50px;
    }
}

@media (max-width: 800px) {
    .ml-intro,
    .ml-why,
    .ml-layers-section,
    .ml-iml-section,
    .ml-decision,
    .ml-related,
    .ml-final-cta {
        padding: 70px 0;
    }

    .ml-intro-grid,
    .ml-material-grid,
    .ml-iml-grid,
    .ml-layer-grid {
        grid-template-columns: 1fr;
    }

    .ml-application-grid,
    .ml-related-grid {
        grid-template-columns: 1fr;
    }

    .ml-decision-box,
    .ml-final-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 34px 28px;
    }

    .ml-stat-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .ml-hero {
        min-height: auto;
    }

    .ml-hero-grid {
        padding: 60px 0 55px;
    }

    .ml-hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.5rem);
    }

    .ml-hero-actions {
        flex-direction: column;
    }

    .ml-hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .ml-hero-visual {
        min-height: 330px;
        border-radius: 24px;
    }

    .hero-orbit-a {
        width: 245px;
        height: 245px;
    }

    .hero-orbit-b {
        width: 320px;
        height: 320px;
    }

    .hero-layer-stack {
        width: 190px;
        height: 245px;
        gap: 8px;
    }

    .hero-layer-stack span:nth-child(1) { height: 43px; }
    .hero-layer-stack span:nth-child(2) { height: 24px; }
    .hero-layer-stack span:nth-child(3) { height: 73px; }
    .hero-layer-stack span:nth-child(4) { height: 58px; }

    .hero-layer-caption {
        right: 15px;
        bottom: 15px;
    }

    html[dir="rtl"] .hero-layer-caption {
        right: auto;
        left: 15px;
    }

    .ml-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ml-layer-card {
        grid-template-columns: 45px minmax(0, 1fr);
        padding: 23px 20px;
    }

    html[dir="rtl"] .ml-layer-card {
        grid-template-columns: minmax(0, 1fr) 45px;
    }

    .material-points,
    .iml-mini-grid {
        grid-template-columns: 1fr;
    }

    .ml-decision-box h2,
    .ml-final-box h2 {
        font-size: 2rem;
    }
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
    .ml-benefit-card,
    .ml-application-card,
    .ml-related-card,
    .ml-layer-card,
    .btn,
    .text-link {
        transition: none;
    }
}


/* =========================================================

/* =========================================================
   FINAL CLEAN OVERRIDES — PRODUCTS / MULTILAYER
   - One visual system
   - Readable typography
   - No image cropping on technical diagrams
   - Responsive layout
   ========================================================= */

/* ---------- PRODUCT HERO ---------- */
body:has(.product-showcase) .page-hero h1 {
    max-width: 900px;
    margin: 16px 0 18px;
    color: var(--products-ink);
    font-size: clamp(2.35rem, 4.1vw, 3.55rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
    text-wrap: balance;
}

body:has(.product-showcase) .page-hero .lead {
    max-width: 820px;
    margin: 0;
    color: var(--products-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

/* ---------- PRODUCT SHOWCASE ---------- */
.products-page .product-showcase {
    border-radius: 24px;
    border-color: #dfe9e4;
    box-shadow: 0 18px 48px rgba(10,30,24,.075);
}

.product-info > .eyebrow {
    font-size: .76rem;
    line-height: 1.4;
}

.product-size {
    font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.spec-grid span {
    font-size: .72rem;
    line-height: 1.35;
}

.spec-grid strong {
    font-size: .95rem;
    line-height: 1.45;
}

.product-tabs button {
    font-size: .76rem;
    line-height: 1.35;
}

.marquee-track {
    font-size: .74rem;
    line-height: 1.4;
}

/* ---------- RANGE / QUOTE ---------- */
body:has(.product-showcase) .split h2 {
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.2;
}

body:has(.product-showcase) .split .lead {
    font-size: 1rem;
    line-height: 1.85;
}

.products-page .quote-panel {
    border-radius: 24px;
    padding: 38px 40px;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    box-shadow: 0 18px 42px rgba(10,30,24,.10);
}

body:has(.product-showcase) .quote-panel h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.35;
}

body:has(.product-showcase) .quote-panel p {
    font-size: .95rem;
    line-height: 1.8;
}

/* ---------- SECTION RHYTHM ---------- */
.products-page main > .section.ml-intro,
.products-page main > .section.ml-why,
.products-page main > .section.ml-layers-section,
.products-page main > .section.ml-applications,
.products-page main > .section.ml-iml-section,
.products-page main > .section.ml-related {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
}

.products-page .ml-decision {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
}

/* ---------- MULTILAYER HEADINGS / BODY ---------- */
.products-page .ml-intro h2,
.products-page .ml-material-copy h2,
.products-page .ml-iml-copy h2,
.products-page .section-head h2 {
    line-height: 1.18;
    letter-spacing: -.025em;
}

.products-page .ml-intro-copy > p,
.products-page .ml-material-copy > p,
.products-page .ml-iml-copy > p,
.products-page .section-head .lead {
    font-size: 1rem;
    line-height: 1.85;
}

/* ---------- SHARED CARD LANGUAGE ---------- */
.products-page .ml-benefit-card,
.products-page .ml-application-card,
.products-page .ml-related-card,
.products-page .ml-layer-card {
    border: 1px solid #dfe9e4;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #f8fbf9 100%);
    box-shadow: 0 10px 30px rgba(10,30,24,.045);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.products-page .ml-benefit-card:hover,
.products-page .ml-application-card:hover,
.products-page .ml-related-card:hover,
.products-page .ml-layer-card:hover {
    transform: translateY(-7px);
    border-color: #bfd9cf;
    background: #fff;
    box-shadow: 0 20px 44px rgba(10,30,24,.10);
}

.products-page .ml-benefit-card,
.products-page .ml-application-card,
.products-page .ml-related-card {
    padding: 28px;
}

.products-page .ml-benefit-card > span,
.products-page .ml-application-card > span,
.products-page .ml-related-card > span,
.products-page .layer-card-number {
    border: 1px solid rgba(0,107,82,.08);
    border-radius: 12px;
    background: #edf7f3;
    color: #006b52;
    box-shadow: none;
}

.products-page .ml-benefit-card > span,
.products-page .ml-application-card > span,
.products-page .ml-related-card > span {
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    font-size: .70rem;
}

.products-page .ml-benefit-card h3,
.products-page .ml-application-card h3,
.products-page .ml-related-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.products-page .ml-benefit-card p,
.products-page .ml-application-card p,
.products-page .ml-related-card p {
    margin: 0;
    color: #596861;
    font-size: .95rem;
    line-height: 1.8;
}

.products-page .ml-benefits-grid,
.products-page .ml-layer-grid,
.products-page .ml-application-grid,
.products-page .ml-related-grid {
    gap: 22px;
}

/* ---------- COEX LAYERS ---------- */
.products-page .coex-order {
    gap: 16px;
    font-size: .9rem;
    line-height: 1.5;
    letter-spacing: .04em;
    text-transform: none;
}

.products-page .coex-order i {
    font-size: 1.15rem;
}

.products-page .ml-layer-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 20px;
    padding: 28px;
    overflow: hidden;
}

.products-page .ml-layer-card::before {
    width: 4px;
    background: #006b52;
    transform: scaleY(0);
    opacity: 0;
}

.products-page .ml-layer-card:hover::before {
    transform: scaleY(1);
    opacity: 1;
}

.products-page .layer-card-number {
    width: 42px;
    height: 42px;
    font-size: .70rem;
}

.products-page .layer-card-content > span {
    color: #006b52;
    font-size: .72rem;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: .08em;
}

.products-page .layer-card-content h3 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.4;
}

.products-page .layer-card-content p {
    margin: 0;
    color: #596861;
    font-size: .95rem;
    line-height: 1.8;
}

/* ---------- TECHNICAL IMAGE BOXES — IMPORTANT ---------- */
.products-page .ml-material-visual,
.products-page .iml-image-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe9e4;
    border-radius: 24px;
    background: #f5f8f6;
    box-shadow: 0 14px 36px rgba(10,30,24,.06);
}

/* Never crop technical diagrams, labels, layer drawings or process images. */
.products-page .ml-material-visual img,
.products-page .iml-image-card img,
.products-page .tech-box img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
}

.products-page .ml-material-visual img {
    margin: 0 auto;
}

/* ---------- SMALL TECHNICAL DATA ---------- */
.products-page .ml-stat-row > div,
.products-page .material-points > div,
.products-page .iml-mini-grid > div {
    border-color: #dfe9e4;
    border-radius: 16px;
    background: #fff;
}

.products-page .ml-stat-row strong {
    font-size: 1.08rem;
}

.products-page .ml-stat-row span,
.products-page .material-points p,
.products-page .iml-mini-grid span {
    font-size: .82rem;
    line-height: 1.6;
}

.products-page .material-points span,
.products-page .iml-mini-grid strong {
    font-size: .72rem;
}

.products-page .material-badge span {
    font-size: .68rem;
}

.products-page .material-badge strong {
    font-size: 1.1rem;
}

.products-page .text-link {
    font-size: .86rem;
    line-height: 1.55;
}

/* ---------- FINAL DECISION CTA ---------- */
.products-page .ml-decision-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 32px 36px;
    border: 1px solid rgba(143,209,189,.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 5%, rgba(226,185,79,.12), transparent 30%),
        linear-gradient(135deg, #09271f 0%, #103d31 62%, #0a3027 100%);
    box-shadow: 0 18px 42px rgba(10,30,24,.10);
}

.products-page .ml-decision-copy {
    max-width: 760px;
}

.products-page .ml-decision-box h2 {
    margin: 13px 0 12px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.products-page .ml-decision-box p {
    max-width: 720px;
    color: rgba(255,255,255,.76);
    font-size: 1rem;
    line-height: 1.8;
}

.products-page .ml-decision-box .btn {
    flex: 0 0 auto;
    min-width: 178px;
    padding: 13px 20px;
    border-radius: 999px;
    font-size: .86rem;
}

/* ---------- RTL ---------- */
html[dir="rtl"] .products-page .ml-layer-card {
    grid-template-columns: minmax(0, 1fr) 46px;
}

html[dir="rtl"] .products-page .ml-layer-card::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .products-page .layer-card-number {
    grid-column: 2;
    grid-row: 1;
}

html[dir="rtl"] .products-page .layer-card-content {
    grid-column: 1;
    grid-row: 1;
}

html[dir="rtl"] .products-page .ml-benefit-card,
html[dir="rtl"] .products-page .ml-application-card,
html[dir="rtl"] .products-page .ml-related-card,
html[dir="rtl"] .products-page .ml-layer-card {
    text-align: right;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1050px) {
    .products-page .ml-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-page .ml-layer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .products-page .ml-decision-box {
        padding: 30px;
    }
}

@media (max-width: 800px) {
    .products-page main > .section.ml-intro,
    .products-page main > .section.ml-why,
    .products-page main > .section.ml-layers-section,
    .products-page main > .section.ml-applications,
    .products-page main > .section.ml-iml-section,
    .products-page main > .section.ml-related {
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

    .products-page .ml-decision {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    .products-page .ml-benefits-grid,
    .products-page .ml-layer-grid,
    .products-page .ml-application-grid,
    .products-page .ml-related-grid {
        grid-template-columns: 1fr;
    }

    .products-page .ml-benefit-card,
    .products-page .ml-application-card,
    .products-page .ml-related-card,
    .products-page .ml-layer-card {
        border-radius: 20px;
        padding: 24px;
    }

    .products-page .ml-benefit-card h3,
    .products-page .ml-application-card h3,
    .products-page .ml-related-card h3 {
        font-size: 1.1rem;
    }

    .products-page .ml-benefit-card p,
    .products-page .ml-application-card p,
    .products-page .ml-related-card p,
    .products-page .layer-card-content p {
        font-size: .92rem;
    }

    .products-page .layer-card-content h3 {
        font-size: 1.15rem;
    }

    .products-page .ml-decision-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 28px 24px;
        border-radius: 20px;
    }

    .products-page .ml-decision-box h2 {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }

    .products-page .ml-decision-box p,
    .products-page .ml-intro-copy > p,
    .products-page .ml-material-copy > p,
    .products-page .ml-iml-copy > p,
    .products-page .section-head .lead {
        font-size: .95rem;
        line-height: 1.8;
    }

    .products-page .ml-decision-box .btn {
        width: 100%;
    }

    .products-page .quote-panel {
        border-radius: 20px;
        padding: 32px 26px;
    }
}

@media (max-width: 620px) {
    body:has(.product-showcase) .page-hero h1 {
        font-size: clamp(1.9rem, 8.5vw, 2.35rem);
    }

    body:has(.product-showcase) .page-hero .lead {
        font-size: .98rem;
    }

    .products-page .ml-layer-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 16px;
        padding: 22px 20px;
    }

    html[dir="rtl"] .products-page .ml-layer-card {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .products-page .layer-card-number {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .products-page .ml-benefit-card > span,
    .products-page .ml-application-card > span,
    .products-page .ml-related-card > span {
        width: 40px;
        height: 40px;
        margin-bottom: 18px;
    }
}

@media (max-width: 420px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-page .ml-benefit-card,
    .products-page .ml-application-card,
    .products-page .ml-related-card,
    .products-page .ml-layer-card {
        transition: none;
    }
}


/* =========================================================
   FINAL ARABIC / RTL FIX
   - Keep COEX order visually correct in RTL
   - Increase Arabic readability without changing the layout
   ========================================================= */

/* COEX order:
   Title → Outside → Inside
   Keep the flex sequence LTR so RTL does not reverse the arrows/order.
   Arabic text itself remains RTL inside each text node. */
html[dir="rtl"] .products-page .coex-order {
    direction: ltr;
    unicode-bidi: isolate;
    gap: 16px;
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0;
}

html[dir="rtl"] .products-page .coex-order strong,
html[dir="rtl"] .products-page .coex-order span {
    direction: rtl;
    unicode-bidi: isolate;
}

html[dir="rtl"] .products-page .coex-order i {
    direction: ltr;
    unicode-bidi: isolate;
    font-size: 1.2rem;
    line-height: 1;
}

/* Arabic body copy — closer to the typography scale used by the other pages. */
html[dir="rtl"] .products-page .ml-intro-copy > p,
html[dir="rtl"] .products-page .ml-material-copy > p,
html[dir="rtl"] .products-page .ml-iml-copy > p,
html[dir="rtl"] .products-page .section-head .lead,
html[dir="rtl"] .products-page .ml-decision-box p,
html[dir="rtl"] .products-page .split .lead {
    font-size: 1.05rem;
    line-height: 1.95;
}

/* Cards */
html[dir="rtl"] .products-page .ml-benefit-card h3,
html[dir="rtl"] .products-page .ml-application-card h3,
html[dir="rtl"] .products-page .ml-related-card h3,
html[dir="rtl"] .products-page .layer-card-content h3 {
    font-size: 1.2rem;
    line-height: 1.5;
}

html[dir="rtl"] .products-page .ml-benefit-card p,
html[dir="rtl"] .products-page .ml-application-card p,
html[dir="rtl"] .products-page .ml-related-card p,
html[dir="rtl"] .products-page .layer-card-content p {
    font-size: 1rem;
    line-height: 1.9;
}

/* Technical labels/data */
html[dir="rtl"] .products-page .layer-card-content > span {
    font-size: .8rem;
    line-height: 1.5;
    letter-spacing: 0;
}

html[dir="rtl"] .products-page .ml-stat-row span,
html[dir="rtl"] .products-page .material-points p,
html[dir="rtl"] .products-page .iml-mini-grid span {
    font-size: .88rem;
    line-height: 1.7;
}

html[dir="rtl"] .products-page .spec-grid span {
    font-size: .76rem;
    line-height: 1.5;
    letter-spacing: 0;
}

html[dir="rtl"] .products-page .spec-grid strong {
    font-size: 1rem;
    line-height: 1.55;
}

/* Quote panel */
html[dir="rtl"] .products-page .quote-panel p {
    font-size: 1rem;
    line-height: 1.9;
}

html[dir="rtl"] .products-page .quote-panel h3 {
    line-height: 1.5;
}

/* Hero Arabic supporting text */
html[dir="rtl"] body:has(.product-showcase) .page-hero .lead {
    font-size: 1.08rem;
    line-height: 1.95;
}

/* Mobile: keep Arabic readable without making cards oversized. */
@media (max-width: 800px) {
    html[dir="rtl"] .products-page .ml-intro-copy > p,
    html[dir="rtl"] .products-page .ml-material-copy > p,
    html[dir="rtl"] .products-page .ml-iml-copy > p,
    html[dir="rtl"] .products-page .section-head .lead,
    html[dir="rtl"] .products-page .ml-decision-box p,
    html[dir="rtl"] .products-page .split .lead {
        font-size: 1rem;
        line-height: 1.9;
    }

    html[dir="rtl"] .products-page .ml-benefit-card p,
    html[dir="rtl"] .products-page .ml-application-card p,
    html[dir="rtl"] .products-page .ml-related-card p,
    html[dir="rtl"] .products-page .layer-card-content p {
        font-size: .98rem;
        line-height: 1.9;
    }

    html[dir="rtl"] .products-page .coex-order {
        font-size: .95rem;
        gap: 12px;
    }
}

@media (max-width: 620px) {
    html[dir="rtl"] body:has(.product-showcase) .page-hero .lead {
        font-size: 1rem;
    }

    html[dir="rtl"] .products-page .coex-order {
        font-size: .9rem;
        gap: 10px;
        flex-wrap: wrap;
    }
}


/* =========================================================
   PACKAGING TYPES — COEX + HDPE
   Clean product-category cards
========================================================= */

.packaging-types {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 18%, rgba(31,93,74,.055), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f6faf8 100%);
}

.packaging-types .section-head {
    max-width: 850px;
}

.packaging-types-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.packaging-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(31,93,74,.11);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(226,185,79,.08), transparent 30%),
        #fff;
    box-shadow: 0 14px 38px rgba(10,30,24,.055);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.packaging-type-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--products-green),
        var(--products-gold)
    );
    transform: scaleY(.3);
    transform-origin: center;
    opacity: .65;
    transition: transform .3s ease, opacity .3s ease;
}

.packaging-type-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31,93,74,.20);
    box-shadow: 0 24px 52px rgba(10,30,24,.10);
}

.packaging-type-card:hover::before {
    transform: scaleY(1);
    opacity: 1;
}

.packaging-type-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.packaging-type-top .eyebrow {
    margin: 0;
    color: var(--products-gold);
}

.packaging-type-top strong {
    color: var(--products-green);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.packaging-type-card h3 {
    max-width: 620px;
    margin: 0 0 12px;
    color: var(--products-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.packaging-type-card > p {
    margin: 0;
    max-width: 680px;
    color: var(--products-muted);
    font-size: .86rem;
    line-height: 1.85;
}

.packaging-type-card ul {
    display: grid;
    gap: 9px;
    margin: 22px 0 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid var(--products-line);
}

.packaging-type-card li {
    position: relative;
    padding-inline-start: 19px;
    color: var(--products-ink);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.6;
}

.packaging-type-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--products-gold);
    box-shadow: 0 0 0 3px rgba(226,185,79,.12);
}

.packaging-type-use {
    margin-top: auto;
    padding-top: 24px;
}

.packaging-type-use > span {
    display: block;
    margin-bottom: 7px;
    color: var(--products-green);
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.packaging-type-use p {
    margin: 0;
    color: var(--products-muted);
    font-size: .76rem;
    line-height: 1.75;
}

/* RTL */
html[dir="rtl"] .packaging-type-card {
    direction: rtl;
}

/* Responsive */
@media (max-width: 800px) {
    .packaging-types-grid {
        grid-template-columns: 1fr;
    }

    .packaging-type-card {
        padding: 27px 24px;
    }
}

@media (max-width: 520px) {
    .packaging-type-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .packaging-type-top {
        align-items: flex-start;
    }

    .packaging-type-top strong {
        font-size: 1.15rem;
    }

    .packaging-type-card h3 {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .packaging-type-card {
        transition: none;
    }
}


/* =========================================================
   ARABIC PRODUCT TEXT — LARGER & MORE READABLE
========================================================= */

html[dir="rtl"] .product-info {
    font-size: 1rem;
}

html[dir="rtl"] .product-info > p,
html[dir="rtl"] .product-info .lead {
    font-size: 1.05rem;
    line-height: 1.9;
}

html[dir="rtl"] .spec-grid span {
    font-size: .78rem;
    line-height: 1.5;
}

html[dir="rtl"] .spec-grid strong {
    font-size: 1.5rem;
    line-height: 1.65;
    font-weight: 800;
}

html[dir="rtl"] .spec-grid div:last-child strong {
    font-size: 1.05rem;
    line-height: 1.7;
}

html[dir="rtl"] .spec-grid div {
    min-height: 88px;
    padding-top: 16px;
    padding-bottom: 16px;
}

@media (max-width: 640px) {
    html[dir="rtl"] .spec-grid span {
        font-size: 1rem;
    }

    html[dir="rtl"] .spec-grid strong {
        font-size: 1.5rem;
        line-height: 1.65;
    }

    html[dir="rtl"] .spec-grid div {
        min-height: 78px;
    }
}
html[dir="rtl"] .spec-grid div:last-child strong {
    font-size: 2rem;
    line-height: 1.7;
}
/* =========================================================
   FINAL ARABIC TYPOGRAPHY — PRODUCTS PAGE
   LARGE + COMFORTABLE + ARABIC ONLY
========================================================= */

html[dir="rtl"] .products-page,
.rtl .products-page {
    font-size: 1.08rem;
}


/* =========================
   HERO
========================= */

html[dir="rtl"] .products-page .page-hero .eyebrow,
.rtl .products-page .page-hero .eyebrow {
    font-size: 1.25rem !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .products-page .page-hero h1,
.rtl .products-page .page-hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem) !important;
    line-height: 1.25 !important;
}

html[dir="rtl"] .products-page .page-hero .lead,
.rtl .products-page .page-hero .lead {
    font-size: 1.15rem !important;
    line-height: 2 !important;
}


/* =========================
   PRODUCT INFORMATION
========================= */

html[dir="rtl"] .products-page .product-info > .eyebrow,
.rtl .products-page .product-info > .eyebrow {
    font-size: 1.1rem !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .products-page .spec-grid span,
.rtl .products-page .spec-grid span {
    font-size: .9rem !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .products-page .spec-grid strong,
.rtl .products-page .spec-grid strong {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
}


/* =========================
   SECTIONS
========================= */

html[dir="rtl"] .products-page .section-head .eyebrow,
.rtl .products-page .section-head .eyebrow,
html[dir="rtl"] .products-page .soft-section .eyebrow,
.rtl .products-page .soft-section .eyebrow {
    font-size: 1.1rem !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .products-page .section-head h2,
.rtl .products-page .section-head h2,
html[dir="rtl"] .products-page .split h2,
.rtl .products-page .split h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem) !important;
    line-height: 1.35 !important;
}

html[dir="rtl"] .products-page .section-head .lead,
.rtl .products-page .section-head .lead,
html[dir="rtl"] .products-page .split .lead,
.rtl .products-page .split .lead,
html[dir="rtl"] .products-page .ml-intro-copy > p,
.rtl .products-page .ml-intro-copy > p,
html[dir="rtl"] .products-page .ml-material-copy > p,
.rtl .products-page .ml-material-copy > p,
html[dir="rtl"] .products-page .ml-iml-copy > p,
.rtl .products-page .ml-iml-copy > p {
    font-size: 1.1rem !important;
    line-height: 2 !important;
}


/* =========================
   CARDS
========================= */

html[dir="rtl"] .products-page .ml-benefit-card h3,
html[dir="rtl"] .products-page .ml-application-card h3,
html[dir="rtl"] .products-page .ml-related-card h3,
html[dir="rtl"] .products-page .layer-card-content h3,
.rtl .products-page .ml-benefit-card h3,
.rtl .products-page .ml-application-card h3,
.rtl .products-page .ml-related-card h3,
.rtl .products-page .layer-card-content h3 {
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
}

html[dir="rtl"] .products-page .ml-benefit-card p,
html[dir="rtl"] .products-page .ml-application-card p,
html[dir="rtl"] .products-page .ml-related-card p,
html[dir="rtl"] .products-page .layer-card-content p,
.rtl .products-page .ml-benefit-card p,
.rtl .products-page .ml-application-card p,
.rtl .products-page .ml-related-card p,
.rtl .products-page .layer-card-content p {
    font-size: 1.05rem !important;
    line-height: 2 !important;
}


/* =========================
   TECHNICAL LABELS
========================= */

html[dir="rtl"] .products-page .layer-card-content > span,
.rtl .products-page .layer-card-content > span {
    font-size: .95rem !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
}

html[dir="rtl"] .products-page .ml-stat-row span,
html[dir="rtl"] .products-page .material-points p,
html[dir="rtl"] .products-page .iml-mini-grid span,
.rtl .products-page .ml-stat-row span,
.rtl .products-page .material-points p,
.rtl .products-page .iml-mini-grid span {
    font-size: .95rem !important;
    line-height: 1.8 !important;
}


/* =========================
   PACKAGING TYPES
========================= */

html[dir="rtl"] .products-page .packaging-type-card h3,
.rtl .products-page .packaging-type-card h3 {
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
}

html[dir="rtl"] .products-page .packaging-type-card > p,
.rtl .products-page .packaging-type-card > p {
    font-size: 1.05rem !important;
    line-height: 2 !important;
}

html[dir="rtl"] .products-page .packaging-type-card li,
.rtl .products-page .packaging-type-card li {
    font-size: .95rem !important;
    line-height: 1.8 !important;
}

html[dir="rtl"] .products-page .packaging-type-use > span,
.rtl .products-page .packaging-type-use > span {
    font-size: .9rem !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .products-page .packaging-type-use p,
.rtl .products-page .packaging-type-use p {
    font-size: .95rem !important;
    line-height: 1.8 !important;
}


/* =========================
   COEX
========================= */

html[dir="rtl"] .products-page .coex-order,
.rtl .products-page .coex-order {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    letter-spacing: 0 !important;
}


/* =========================
   QUOTE / CTA
========================= */

html[dir="rtl"] .products-page .quote-panel h3,
.rtl .products-page .quote-panel h3 {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
}

html[dir="rtl"] .products-page .quote-panel p,
.rtl .products-page .quote-panel p {
    font-size: 1.05rem !important;
    line-height: 2 !important;
}

html[dir="rtl"] .products-page .ml-decision-box h2,
html[dir="rtl"] .products-page .ml-final-box h2,
.rtl .products-page .ml-decision-box h2,
.rtl .products-page .ml-final-box h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem) !important;
    line-height: 1.3 !important;
}

html[dir="rtl"] .products-page .ml-decision-box p,
html[dir="rtl"] .products-page .ml-final-box p,
.rtl .products-page .ml-decision-box p,
.rtl .products-page .ml-final-box p {
    font-size: 1.05rem !important;
    line-height: 2 !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    html[dir="rtl"] .products-page .page-hero h1,
    .rtl .products-page .page-hero h1 {
        font-size: 2.2rem !important;
    }

    html[dir="rtl"] .products-page .page-hero .lead,
    .rtl .products-page .page-hero .lead {
        font-size: 1.05rem !important;
    }

    html[dir="rtl"] .products-page .section-head h2,
    html[dir="rtl"] .products-page .split h2,
    .rtl .products-page .section-head h2,
    .rtl .products-page .split h2 {
        font-size: 1.85rem !important;
    }

    html[dir="rtl"] .products-page .section-head .lead,
    html[dir="rtl"] .products-page .split .lead,
    html[dir="rtl"] .products-page .ml-intro-copy > p,
    html[dir="rtl"] .products-page .ml-material-copy > p,
    html[dir="rtl"] .products-page .ml-iml-copy > p,
    .rtl .products-page .section-head .lead,
    .rtl .products-page .split .lead,
    .rtl .products-page .ml-intro-copy > p,
    .rtl .products-page .ml-material-copy > p,
    .rtl .products-page .ml-iml-copy > p {
        font-size: 1.02rem !important;
        line-height: 2 !important;
    }

    html[dir="rtl"] .products-page .ml-benefit-card p,
    html[dir="rtl"] .products-page .ml-application-card p,
    html[dir="rtl"] .products-page .ml-related-card p,
    html[dir="rtl"] .products-page .layer-card-content p,
    .rtl .products-page .ml-benefit-card p,
    .rtl .products-page .ml-application-card p,
    .rtl .products-page .ml-related-card p,
    .rtl .products-page .layer-card-content p {
        font-size: 1rem !important;
    }

    html[dir="rtl"] .products-page .ml-benefit-card h3,
    html[dir="rtl"] .products-page .ml-application-card h3,
    html[dir="rtl"] .products-page .ml-related-card h3,
    html[dir="rtl"] .products-page .layer-card-content h3,
    .rtl .products-page .ml-benefit-card h3,
    .rtl .products-page .ml-application-card h3,
    .rtl .products-page .ml-related-card h3,
    .rtl .products-page .layer-card-content h3 {
        font-size: 1.2rem !important;
    }
}