
:root{
    --mf-bg:#0b0d0f;
    --mf-panel:#121519;
    --mf-panel-2:#171b20;
    --mf-line:#2a3037;
    --mf-text:#f4f6f8;
    --mf-muted:#9aa4af;
    --mf-accent:#b6f400;
    --mf-radius:18px;
}

/* ---------- Typography ---------- */

.mfopto-product-page,
.mfopto-product-page *,
.mfopto-product-page *::before,
.mfopto-product-page *::after{
    box-sizing:border-box;
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif !important;
}

.mfopto-product-page{
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

.mfopto-model{
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif !important;
}

.mfopto-spec-model{
    font-family:ui-monospace,"SFMono-Regular","Cascadia Mono","Roboto Mono",Consolas,monospace !important;
}

/* ---------- Page ---------- */

.mfopto-product-page{
    background:
        radial-gradient(circle at 15% 0%,rgba(182,244,0,.075),transparent 27%),
        linear-gradient(180deg,#090c0e 0%,#0d1013 100%);
    color:var(--mf-text);
    padding:24px 20px 72px;
}

.mfopto-product-shell{
    max-width:1280px;
    margin:0 auto;
}

.mfopto-breadcrumbs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    min-height:24px;
    color:#77818c;
    font-size:12px;
    margin:0 0 22px;
}

.mfopto-breadcrumbs a{
    color:#aab3bc;
    text-decoration:none;
}

.mfopto-breadcrumbs a:hover{
    color:var(--mf-accent);
}

/* ---------- Hero ---------- */

.mfopto-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(430px,1fr);
    gap:54px;
    align-items:start;
}

.mfopto-gallery{
    min-width:0;
}

.mfopto-main-image-wrap{
    position:relative;
    aspect-ratio:1/1;
    background:#fff;
    border:1px solid var(--mf-line);
    border-radius:22px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.mfopto-main-image{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    transition:opacity .18s ease,transform .2s ease;
}

.mfopto-main-image.is-changing{
    opacity:.35;
    transform:scale(.985);
}

.mfopto-no-image{
    color:#7b838c;
    background:#111418;
}

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

.mfopto-thumb{
    appearance:none;
    border:1px solid var(--mf-line);
    background:#fff;
    padding:0;
    border-radius:12px;
    aspect-ratio:1/1;
    overflow:hidden;
    cursor:pointer;
    opacity:.72;
    transition:border-color .18s ease,opacity .18s ease,transform .18s ease;
}

.mfopto-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.mfopto-thumb:hover,
.mfopto-thumb.is-active{
    opacity:1;
    border-color:var(--mf-accent);
}

.mfopto-thumb:hover{
    transform:translateY(-2px);
}

.mfopto-summary{
    position:sticky;
    top:28px;
    padding-top:7px;
    min-width:0;
}

.mfopto-model{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 12px;
    border:1px solid rgba(182,244,0,.42);
    border-radius:999px;
    color:var(--mf-accent);
    background:rgba(182,244,0,.055);
    font-size:13px;
    line-height:1;
    font-weight:800;
    letter-spacing:.035em;
    -webkit-font-smoothing:antialiased;
    text-rendering:geometricPrecision;
}

.mfopto-summary h1{
    margin:18px 0 16px;
    color:var(--mf-text);
    width:100%;
    max-width:none;
    font-size:clamp(36px,3.4vw,48px);
    line-height:1.05;
    letter-spacing:-.045em;
    font-weight:800;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    text-wrap:balance;
}

.mfopto-summary h1.mfopto-title-long{
    font-size:clamp(34px,3vw,40px);
    line-height:1.07;
    letter-spacing:-.035em;
}

.mfopto-summary h1.mfopto-title-very-long{
    font-size:clamp(31px,2.7vw,36px);
    line-height:1.09;
    letter-spacing:-.025em;
}

.mfopto-tax-pills,
.mfopto-app-pills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.mfopto-tax-pills{
    margin-bottom:22px;
}

.mfopto-tax-pills a,
.mfopto-app-pills a,
.mfopto-app-pills span{
    text-decoration:none;
    color:#c2cad1;
    border:1px solid var(--mf-line);
    background:#12161a;
    padding:8px 11px;
    border-radius:999px;
    font-size:12px;
    line-height:1.2;
}

.mfopto-tax-pills a:hover,
.mfopto-app-pills a:hover{
    border-color:#5a6672;
    color:#fff;
}

.mfopto-short-desc{
    color:#b6bec7;
    font-size:15px;
    line-height:1.7;
    max-width:62ch;
}

.mfopto-short-desc p{
    margin:0;
}

.mfopto-section-kicker{
    color:var(--mf-accent);
    font-weight:700;
    font-size:10px;
    line-height:1.2;
    letter-spacing:.13em;
    margin-bottom:11px;
}

.mfopto-feature-card{
    margin-top:24px;
    padding:18px 20px;
    border:1px solid var(--mf-line);
    border-radius:var(--mf-radius);
    background:linear-gradient(180deg,#15191d,#101317);
}

.mfopto-feature-card ul{
    list-style:none;
    margin:0;
    padding:0;
}

.mfopto-feature-card li{
    position:relative;
    padding:9px 0 9px 22px;
    border-top:1px solid rgba(255,255,255,.06);
    color:#e3e7eb;
    font-size:14px;
    line-height:1.48;
}

.mfopto-feature-card li:first-child{
    border-top:0;
}

.mfopto-feature-card li::before{
    content:"";
    position:absolute;
    left:0;
    top:15px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--mf-accent);
    box-shadow:0 0 0 4px rgba(182,244,0,.08);
}

.mfopto-rfq-card{
    margin-top:18px;
    padding:20px;
    display:grid;
    gap:18px;
    border-radius:var(--mf-radius);
    background:var(--mf-accent);
    color:#0a0d0f;
}

.mfopto-rfq-title{
    font-size:17px;
    font-weight:800;
    line-height:1.25;
}

.mfopto-rfq-copy{
    font-size:13px;
    line-height:1.55;
    opacity:.74;
    margin-top:5px;
}

.mfopto-rfq-button{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    min-height:48px;
    padding:0 18px;
    align-items:center;
    justify-content:center;
    gap:20px;
    border-radius:12px;
    background:#0d1013;
    color:#fff !important;
    text-decoration:none !important;
    font-size:14px;
    font-weight:800;
    line-height:1;
    transition:transform .18s ease,background .18s ease;
}

.mfopto-rfq-button:hover{
    background:#171c20;
    transform:translateY(-1px);
}

/* ---------- Shared content cards ---------- */

.mfopto-content-card{
    margin-top:20px;
    border:1px solid var(--mf-line);
    border-radius:22px;
    background:rgba(18,21,25,.9);
    padding:36px;
}


.mfopto-content-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-top:70px;
    align-items:start;
}


.mfopto-content-grid.is-single{
    grid-template-columns:1fr;
}

.mfopto-content-grid .mfopto-spec-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:48px;
}

.mfopto-content-grid > .mfopto-content-card{
    margin-top:0;
    align-self:start;
    height:auto;
}

.mfopto-content-grid .mfopto-overview-section{
    margin-top:0;
}

.mfopto-content-grid .mfopto-spec-section{
    margin-top:0;
}

.mfopto-overview-section{
    margin-top:0;
}

.mfopto-section-heading{
    max-width:820px;
}

.mfopto-section-heading h2,
.mfopto-applications h2,
.mfopto-bottom-cta h2{
    margin:0;
    color:var(--mf-text);
    font-size:clamp(27px,2.3vw,34px);
    line-height:1.12;
    letter-spacing:-.035em;
    font-weight:800;
}

.mfopto-overview-copy{
    max-width:920px;
    margin-top:22px;
    color:#b7c0c8;
    font-size:15px;
    line-height:1.75;
}

.mfopto-overview-copy p{
    margin:0 0 15px;
}

.mfopto-overview-copy p:last-child{
    margin-bottom:0;
}

.mfopto-overview-copy h3{
    margin:27px 0 8px;
    color:#f3f5f7;
    font-size:17px;
    line-height:1.35;
    letter-spacing:-.01em;
    font-weight:700;
}

/* ---------- Specifications ---------- */

.mfopto-spec-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    max-width:none;
    padding-bottom:24px;
    border-bottom:1px solid var(--mf-line);
}

.mfopto-spec-model{
    color:#78838d;
    font-size:13px;
    letter-spacing:.08em;
}

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

.mfopto-spec-item{
    display:grid;
    grid-template-columns:minmax(118px,.72fr) minmax(0,1.28fr);
    gap:16px;
    align-items:start;
    min-height:62px;
    padding:17px 0;
    border-bottom:1px solid var(--mf-line);
}

.mfopto-spec-key{
    color:#7f8993;
    font-size:12px;
    line-height:1.45;
}

.mfopto-spec-value{
    color:#eef1f4;
    font-size:14px;
    line-height:1.48;
    font-weight:600;
    overflow-wrap:anywhere;
}

.mfopto-extra-specs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:22px;
}

.mfopto-extra-specs > div{
    padding:8px 10px;
    border:1px solid var(--mf-line);
    border-radius:999px;
    color:#aeb7bf;
    background:#101418;
    font-size:12px;
}

/* ---------- Applications ---------- */

.mfopto-applications h2{
    margin-bottom:20px;
}

/* ---------- Bottom CTA ---------- */

.mfopto-bottom-cta{
    display:flex;
    justify-content:space-between;
    gap:40px;
    align-items:center;
    margin-top:20px;
    padding:38px 40px;
    border:1px solid rgba(182,244,0,.22);
    border-radius:22px;
    background:
        linear-gradient(90deg,rgba(182,244,0,.09),rgba(182,244,0,.02)),
        #111519;
}

.mfopto-bottom-cta h2{
    margin-bottom:8px;
}

.mfopto-bottom-cta p{
    margin:0;
    color:#98a3ad;
    line-height:1.6;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1024px){
    .mfopto-content-grid{
        margin-top:48px;
    }

    .mfopto-spec-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        column-gap:30px;
    }

    .mfopto-product-page{
        padding-left:18px;
        padding-right:18px;
    }

    .mfopto-hero{
        grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);
        gap:34px;
    }

    .mfopto-summary h1,
    .mfopto-summary h1.mfopto-title-long,
    .mfopto-summary h1.mfopto-title-very-long{
        font-size:clamp(30px,3.6vw,38px);
        line-height:1.08;
    }

    .mfopto-spec-grid{
        column-gap:30px;
    }
}

@media (max-width:820px){
    .mfopto-spec-grid,
    .mfopto-content-grid .mfopto-spec-grid{
        grid-template-columns:1fr;
    }

    .mfopto-hero{
        grid-template-columns:1fr;
        gap:30px;
    }

    .mfopto-summary{
        position:static;
        padding-top:0;
    }

    .mfopto-summary h1,
    .mfopto-summary h1.mfopto-title-long,
    .mfopto-summary h1.mfopto-title-very-long{
        font-size:clamp(32px,6vw,44px);
        line-height:1.07;
        letter-spacing:-.035em;
    }

    .mfopto-content-card{
        padding:30px;
    }

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

    .mfopto-spec-item{
        grid-template-columns:minmax(145px,.8fr) minmax(0,1.2fr);
    }

    .mfopto-bottom-cta{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* =========================================================
   MOBILE — 320 / 375 / 390 / 430
   ========================================================= */

@media (max-width:600px){
    .mfopto-product-page{
        padding:14px 14px 46px;
    }

    .mfopto-breadcrumbs{
        font-size:11px;
        gap:6px;
        margin-bottom:16px;
    }

    .mfopto-hero{
        gap:26px;
    }

    .mfopto-main-image-wrap{
        border-radius:16px;
    }

    .mfopto-thumbs{
        display:flex;
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        gap:8px;
        margin-top:9px;
        padding:0 0 5px;
        scrollbar-width:thin;
    }

    .mfopto-thumb{
        flex:0 0 72px;
        width:72px;
        height:72px;
        scroll-snap-align:start;
        border-radius:10px;
    }

    .mfopto-model{
        min-height:30px;
        padding:0 11px;
        font-size:12px;
        letter-spacing:.03em;
    }

    .mfopto-summary h1,
    .mfopto-summary h1.mfopto-title-long,
    .mfopto-summary h1.mfopto-title-very-long{
        margin-top:14px;
        font-size:clamp(29px,8.3vw,35px);
        line-height:1.08;
        letter-spacing:-.026em;
        text-wrap:pretty;
    }

    .mfopto-tax-pills{
        margin-bottom:18px;
    }

    .mfopto-tax-pills a,
    .mfopto-app-pills a,
    .mfopto-app-pills span{
        min-height:36px;
        display:inline-flex;
        align-items:center;
        padding:8px 10px;
    }

    .mfopto-short-desc{
        font-size:14px;
        line-height:1.68;
    }

    .mfopto-feature-card{
        margin-top:20px;
        padding:16px 17px;
        border-radius:15px;
    }

    .mfopto-feature-card li{
        min-height:43px;
        display:flex;
        align-items:center;
        font-size:13px;
        padding-top:9px;
        padding-bottom:9px;
    }

    .mfopto-feature-card li::before{
        top:18px;
    }

    .mfopto-rfq-card{
        padding:18px;
        border-radius:15px;
    }

    .mfopto-rfq-button{
        width:100%;
        min-height:48px;
    }

    .mfopto-overview-section{
        margin-top:40px;
    }

    .mfopto-content-card{
        margin-top:14px;
        padding:23px 19px;
        border-radius:17px;
    }

    .mfopto-section-heading h2,
    .mfopto-applications h2,
    .mfopto-bottom-cta h2{
        font-size:26px;
        line-height:1.13;
    }

    .mfopto-overview-copy{
        margin-top:19px;
        font-size:14px;
        line-height:1.72;
    }

    .mfopto-overview-copy h3{
        margin-top:23px;
        font-size:16px;
    }

    .mfopto-spec-heading{
        align-items:flex-start;
        padding-bottom:20px;
    }

    .mfopto-spec-model{
        display:none;
    }

    .mfopto-spec-grid{
        display:block;
    }

    .mfopto-spec-item{
        grid-template-columns:1fr;
        gap:5px;
        min-height:0;
        padding:14px 0;
    }

    .mfopto-spec-key{
        font-size:11px;
        text-transform:uppercase;
        letter-spacing:.055em;
    }

    .mfopto-spec-value{
        font-size:14px;
        line-height:1.45;
    }

    .mfopto-bottom-cta{
        margin-top:14px;
        gap:24px;
        padding:27px 21px;
        border-radius:17px;
    }

    .mfopto-bottom-cta .mfopto-rfq-button{
        width:100%;
    }
}

/* Small mobile */
@media (max-width:350px){
    .mfopto-product-page{
        padding-left:11px;
        padding-right:11px;
    }

    .mfopto-summary h1,
    .mfopto-summary h1.mfopto-title-long,
    .mfopto-summary h1.mfopto-title-very-long{
        font-size:28px;
    }

    .mfopto-thumb{
        flex-basis:66px;
        width:66px;
        height:66px;
    }

    .mfopto-content-card{
        padding-left:17px;
        padding-right:17px;
    }
}
