/* Mobile homepage route bundle: generated from mobile-app.css shared/home blocks. */
/*
 * MR Business Theme — Mobile App UI Foundation
 * Phase 1: shared app shell, compact header, premium bottom navbar,
 * typography, spacing, cards, buttons and reusable mobile components.
 */

:root{
    --mr-mobile-primary:#1e8a8a;
    --mr-mobile-primary-strong:#176f6f;
    --mr-mobile-primary-soft:#eaf6f5;
    --mr-mobile-bg:#f7fbfb;
    --mr-mobile-surface:#ffffff;
    --mr-mobile-surface-soft:#f1f8f7;
    --mr-mobile-text:#07142b;
    --mr-mobile-body:#334155;
    --mr-mobile-muted:#718096;
    --mr-mobile-border:#dceaea;
    --mr-mobile-radius-xs:8px;
    --mr-mobile-radius-sm:12px;
    --mr-mobile-radius-md:16px;
    --mr-mobile-radius-lg:22px;
    --mr-mobile-shadow:0 12px 30px rgba(7,20,43,.075);
    --mr-mobile-shadow-soft:0 8px 22px rgba(7,20,43,.05);
    --mr-mobile-page-pad:16px;
    --mr-mobile-section-gap:24px;
    --mr-mobile-bottom-nav-height:72px;
    --mr-mobile-header-height:58px;
}

@media(max-width:767px){
    html{scroll-padding-top:calc(var(--mr-mobile-header-height) + 10px)}
    body.mrbt-mobile-app-ready{
        min-width:320px;
        background:
            radial-gradient(circle at 12% 0,rgba(30,138,138,.08),transparent 30%),
            linear-gradient(180deg,#f6fbfb 0%,#fff 38%,#f8fbfb 100%);
        color:var(--mr-mobile-body);
        padding-bottom:86px;
        -webkit-font-smoothing:antialiased;
        text-rendering:optimizeLegibility;
    }
    body.mrbt-mobile-app-ready .site{overflow:clip}
    /* Clean mobile container model: full available width, gutter comes from padding only. */
    body.mrbt-mobile-app-ready .mr-container,
    body.mrbt-mobile-app-ready .container{
        width:100%;
        max-width:1180px;
        margin-inline:auto;
        padding-inline:var(--mr-mobile-page-pad);
    }

    /* typography */
    body.mrbt-mobile-app-ready h1{font-size:clamp(30px,8vw,40px);line-height:1.05;letter-spacing:-.035em}
    body.mrbt-mobile-app-ready h2{font-size:clamp(24px,6vw,32px);line-height:1.12;letter-spacing:-.025em}
    body.mrbt-mobile-app-ready h3{font-size:20px;line-height:1.2}
    body.mrbt-mobile-app-ready p,
    body.mrbt-mobile-app-ready li{font-size:15px;line-height:1.65}

    /* shared section shell */
    .mrbt-mobile-section{padding:var(--mr-mobile-section-gap) var(--mr-mobile-page-pad)}
    .mrbt-mobile-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
    .mrbt-mobile-section__eyebrow{display:block;margin-bottom:4px;color:var(--mr-mobile-primary);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
    .mrbt-mobile-section__title{margin:0;color:var(--mr-mobile-text);font-size:24px;line-height:1.14}
    .mrbt-mobile-section__link{display:inline-flex;align-items:center;gap:6px;min-height:40px;color:var(--mr-mobile-primary);font-size:12px;font-weight:800;text-decoration:none}

    /* cards */
    .mrbt-mobile-card{border:1px solid var(--mr-mobile-border);border-radius:var(--mr-mobile-radius-md);background:linear-gradient(180deg,#fff 0%,#fbfefe 100%);box-shadow:var(--mr-mobile-shadow-soft)}
    .mrbt-mobile-card--soft{background:linear-gradient(145deg,#f4fbfa 0%,#fff 72%)}
    .mrbt-mobile-card--interactive{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
    .mrbt-mobile-card--interactive:active{transform:scale(.985);border-color:rgba(30,138,138,.28);box-shadow:0 6px 16px rgba(7,20,43,.045)}

    /* buttons */
    .mrbt-mobile-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:1px solid transparent;border-radius:999px;font-size:14px;font-weight:800;line-height:1;text-decoration:none!important;cursor:pointer;touch-action:manipulation;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
    .mrbt-mobile-btn:active{transform:scale(.98)}
    .mrbt-mobile-btn--primary{background:linear-gradient(135deg,var(--mr-mobile-primary),var(--mr-mobile-primary-strong));color:#fff!important;box-shadow:0 10px 22px rgba(30,138,138,.22)}
    .mrbt-mobile-btn--secondary{border-color:rgba(30,138,138,.22);background:#fff;color:var(--mr-mobile-primary)!important}
    .mrbt-mobile-btn--ghost{background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary)!important}
    .mrbt-mobile-btn--full{width:100%}

    /* compact mobile header */
    .mrbt-mobile-app-header{position:sticky;top:0;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;min-height:var(--mr-mobile-header-height);padding:8px 14px;border-bottom:1px solid rgba(30,138,138,.10);background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(7,20,43,.04);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
    .mrbt-mobile-app-header__brand{display:flex;justify-self:center;align-items:center;min-width:0}
    .mrbt-mobile-app-header__brand .custom-logo-link{display:flex;align-items:center;justify-content:center;max-width:200px;height:40px;text-decoration:none!important}
    .mrbt-mobile-app-header__brand .custom-logo{display:block;width:auto!important;max-width:200px!important;height:auto!important;max-height:40px!important;object-fit:contain}
    .mrbt-mobile-app-header__logo-fallback{display:flex;align-items:center;justify-content:center;max-width:200px;min-height:38px;color:var(--mr-mobile-primary);font-size:17px;font-weight:900;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .mrbt-mobile-app-header__actions{display:flex;align-items:center;gap:8px}
    .mrbt-mobile-icon-btn{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--mr-mobile-border);border-radius:999px;background:#fff;color:var(--mr-mobile-text);cursor:pointer;text-decoration:none!important;box-shadow:0 5px 16px rgba(7,20,43,.035);touch-action:manipulation}
    .mrbt-mobile-icon-btn svg{width:19px;height:19px;pointer-events:none}

    /* premium bottom navbar */

    /* shared layouts/components */
    .mrbt-mobile-grid{display:grid;gap:12px}
    .mrbt-mobile-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mrbt-mobile-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
    .mrbt-mobile-stack{display:grid;gap:12px}

    .mrbt-mobile-feature-tile{display:flex;flex-direction:column;min-width:0;padding:14px;text-decoration:none!important}
    .mrbt-mobile-feature-tile__icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:12px;border-radius:13px;background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary)}
    .mrbt-mobile-feature-tile__title{margin:0 0 5px;color:var(--mr-mobile-text);font-size:14px;font-weight:850;line-height:1.3}
    .mrbt-mobile-feature-tile__text{margin:0;color:var(--mr-mobile-muted);font-size:12px;line-height:1.5}

    .mrbt-mobile-product-tile{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;color:inherit;text-decoration:none!important}
    .mrbt-mobile-product-tile__thumb{display:block;width:56px;height:56px;overflow:hidden;border-radius:999px;background:var(--mr-mobile-primary-soft)}
    .mrbt-mobile-product-tile__thumb img{display:block;width:100%;height:100%;object-fit:cover}
    .mrbt-mobile-product-tile__title{display:block;overflow:hidden;color:var(--mr-mobile-text);font-size:13px;font-weight:850;line-height:1.3;text-overflow:ellipsis}
    .mrbt-mobile-product-tile__meta{display:block;margin-top:4px;color:var(--mr-mobile-primary);font-size:11px;font-weight:800}

    .mrbt-mobile-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid rgba(30,138,138,.14);border-radius:999px;background:rgba(255,255,255,.8);color:var(--mr-mobile-primary);font-size:11px;font-weight:800;white-space:nowrap}

    /* replace existing desktop header on mobile only */
    body.mrbt-mobile-app-ready .site-header,
    body.mrbt-mobile-app-ready #masthead{display:none!important}
}

@media(min-width:768px){
    .mrbt-mobile-app-header,
    .mrbt-mobile-bottom-nav,
    .mrbt-mobile-only{display:none!important}
}


@media(max-width:767px){
    .mrbt-mobile-homepage,
    .mrbt-mobile-services-page{
        display:block;
        padding-top:4px;
    }
    .mrbt-mobile-home-hero{padding-top:18px}
    .mrbt-mobile-home-hero__chip{margin-bottom:14px}
    .mrbt-mobile-home-hero__grid{gap:18px}
    .mrbt-mobile-home-hero__title{margin:0 0 12px;color:var(--mr-mobile-text)}
    .mrbt-mobile-home-hero__title span,
    .mrbt-mobile-services-hero__title span{color:var(--mr-mobile-primary)}
    .mrbt-mobile-home-hero__text,
    .mrbt-mobile-services-hero__text,
.mrbt-mobile-home-hero__button{width:max-content;max-width:100%;min-width:190px}
    .mrbt-mobile-home-hero__button-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:rgba(255,255,255,.18)}
    .mrbt-mobile-home-hero__visual{padding:18px 6px 6px}
    .mrbt-mobile-home-hero__glow{position:absolute;inset:10% 12% auto;height:62%;border-radius:999px;background:radial-gradient(circle,rgba(49,216,225,.30),rgba(49,216,225,0) 70%);filter:blur(8px)}
    .mrbt-mobile-home-hero__frame{position:relative;overflow:hidden;padding:14px;min-height:260px;border-radius:28px}
    .mrbt-mobile-home-hero__frame::before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(30,138,138,.08),rgba(255,255,255,.94));pointer-events:none}
    .mrbt-mobile-home-hero__image{position:relative;display:block;width:100%;height:100%;object-fit:cover;border-radius:18px}
    .mrbt-mobile-home-hero__placeholder{position:relative;display:grid;place-items:center;min-height:230px;color:var(--mr-mobile-primary)}
    .mrbt-mobile-home-hero__placeholder svg{width:92px;height:92px}
    .mrbt-mobile-home-hero__rating,
    .mrbt-mobile-home-hero__builder{position:absolute;z-index:2;padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.96);box-shadow:var(--mr-mobile-shadow)}
    .mrbt-mobile-home-hero__rating{display:grid;text-align:center}
    .mrbt-mobile-home-hero__rating strong{color:var(--mr-mobile-text)}
    .mrbt-mobile-home-hero__rating span{color:#5f7086}
    .mrbt-mobile-home-hero__builder{display:flex;align-items:center}
    .mrbt-mobile-home-hero__builder-icon{display:grid;place-items:center;background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary)}
    .mrbt-mobile-home-hero__builder small{display:block;color:#6b7f94}
    .mrbt-mobile-home-hero__builder strong{display:block;color:var(--mr-mobile-text)}

    .mrbt-mobile-grid--5x{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
    .mrbt-mobile-feature-tile--service{padding:12px 8px;align-items:center;text-align:center;min-height:132px}
    .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__icon{width:50px;height:50px;margin-bottom:10px}
    .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__icon :is(.dashicons,.mrbt-mobile-service-svg){font-size:24px;width:24px;height:24px}
    .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__title{font-size:11px;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

    .mrbt-mobile-card-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .mrbt-mobile-product-card{overflow:hidden;padding:0}
    .mrbt-mobile-product-card__media{display:block;aspect-ratio:1.05/1;padding:0;background:linear-gradient(135deg,var(--mr-mobile-primary),#118ea0)}
    .mrbt-mobile-product-card__media img{display:block;width:100%;height:100%;object-fit:cover}
    .mrbt-mobile-product-card__media-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:32px;font-weight:900;color:#fff}
    .mrbt-mobile-product-card__body{padding:12px 12px 10px}
    .mrbt-mobile-product-card__body h3{margin:0 0 4px;font-size:15px;line-height:1.25}
    .mrbt-mobile-product-card__body h3 a{text-decoration:none;color:var(--mr-mobile-text)}
    .mrbt-mobile-product-card__body p{margin:0 0 10px;font-size:12px;line-height:1.45;color:#658}
    .mrbt-mobile-product-card__foot{display:flex;align-items:center;justify-content:space-between;gap:8px}
    .mrbt-mobile-product-card__foot strong{font-size:15px;color:var(--mr-mobile-primary)}
    .mrbt-mobile-product-card__cart{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--mr-mobile-border);border-radius:999px;background:#fff;color:var(--mr-mobile-primary);text-decoration:none}


    .mrbt-mobile-stats-wrap--hero{padding:18px 0 14px;margin:0;background:#fff;box-shadow:none;overflow:hidden}
    .mrbt-mobile-stats-surface{width:100%;max-width:520px;margin:0 auto;padding:0 var(--mr-mobile-page-pad);border:none;border-radius:0;background:transparent;box-shadow:none}
    .mrbt-mobile-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:100%;margin:0 auto}
    .mrbt-mobile-stat-box{display:grid;align-content:center;justify-items:center;min-height:88px;padding:14px 10px;border:1px solid rgba(30,138,138,.10);border-radius:18px;background:linear-gradient(180deg,#f7fbfb 0%,#eef7f7 100%);text-align:center}
    .mrbt-mobile-stat-box strong{display:block;margin-bottom:5px;font-size:22px;line-height:1.05;color:var(--mr-mobile-text)}
    .mrbt-mobile-stat-box span{display:block;font-size:12px;line-height:1.4;color:#6d7f92}


    .mrbt-mobile-pro-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
    .mrbt-mobile-pro-tool-card{display:flex;min-width:0;height:auto;overflow:hidden;border:1px solid var(--mr-mobile-border);border-radius:14px;background:#fff;flex-direction:column}
    .mrbt-mobile-pro-tool-card__media{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#e9f4f3}
    .mrbt-mobile-pro-tool-card__media img{display:block;width:100%;height:100%;object-fit:cover}
    .mrbt-mobile-pro-tool-card__placeholder{display:grid;place-items:center;width:100%;height:100%;color:var(--mr-mobile-primary);font-size:18px;font-weight:900}
    .mrbt-mobile-pro-tool-card__content{display:flex;flex:1;flex-direction:column;padding:8px}
    .mrbt-mobile-pro-tool-card__title{
        margin:0 0 7px;
        min-height:0;
        font-size:14px;
        font-weight:850;
        letter-spacing:-.01em;
        line-height:1.28;
    }
    .mrbt-mobile-pro-tool-card__title a{
        display:-webkit-box;
        overflow:hidden;
        color:var(--mr-mobile-text);
        font:inherit;
        letter-spacing:inherit;
        line-height:inherit;
        text-decoration:none;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
    }
    .mrbt-mobile-pro-tool-card__price{display:grid;gap:2px;margin-top:auto;padding-top:5px;border-top:1px solid rgba(30,138,138,.10)}
    .mrbt-mobile-pro-tool-card__price small{margin:0;color:#708195;font-size:8.5px;font-weight:600;line-height:1.3}
    .mrbt-mobile-pro-tool-card__price strong{margin:0;color:var(--mr-mobile-primary);font-size:12px;font-weight:900;line-height:1.3}
    .mrbt-mobile-pro-tool-card__price del{display:none}
    .mrbt-mobile-pro-tool-card__price ins{text-decoration:none}

    .mrbt-mobile-services-hero__title{margin:12px 0;color:var(--mr-mobile-text)}
    .mrbt-mobile-services-hero__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
    .mrbt-mobile-services-hero__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:4px}
    .mrbt-mobile-services-hero__metric{padding:12px 10px;text-align:center}
    .mrbt-mobile-services-hero__metric strong{display:block;font-size:16px;color:var(--mr-mobile-text)}
    .mrbt-mobile-services-hero__metric span{display:block;margin-top:4px;font-size:11px;line-height:1.35;color:#6d7f92}

    .mrbt-mobile-scroll-chips{display:flex;gap:10px;overflow:auto;padding-bottom:4px;scrollbar-width:none}
    .mrbt-mobile-scroll-chips::-webkit-scrollbar{display:none}
    .mrbt-mobile-scroll-chips .mrbt-mobile-chip{flex:none;text-decoration:none}
    .mrbt-mobile-scroll-chips .mrbt-mobile-chip.is-active{background:var(--mr-mobile-primary-soft)}

    .mrbt-mobile-service-card{padding:16px}
    .mrbt-mobile-service-card__head{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start}
    .mrbt-mobile-service-card__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary)}
    .mrbt-mobile-service-card__icon :is(.dashicons,.mrbt-mobile-service-svg){font-size:25px;width:25px;height:25px}
    .mrbt-mobile-service-card__intro h3{margin:0 0 6px;font-size:18px;line-height:1.25}
    .mrbt-mobile-service-card__intro h3 a{color:var(--mr-mobile-text);text-decoration:none}
    .mrbt-mobile-service-card__intro p{margin:0;color:#556b81;font-size:14px;line-height:1.55}
    .mrbt-mobile-service-card__features{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
    .mrbt-mobile-service-card__features span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary);font-size:11px;font-weight:700}
    .mrbt-mobile-service-card__meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
    .mrbt-mobile-service-card__meta span{padding:10px 12px;border-radius:14px;background:#f4f9f9}
    .mrbt-mobile-service-card__meta small{display:block;font-size:10px;color:#6d7f92;text-transform:uppercase;letter-spacing:.06em}
    .mrbt-mobile-service-card__meta strong{display:block;margin-top:2px;font-size:14px;color:var(--mr-mobile-text)}
    .mrbt-mobile-service-card--custom{background:linear-gradient(145deg,#fff,#f2faf9)}
.mrbt-mobile-checklist{display:grid;gap:0;padding:8px 14px}
    .mrbt-mobile-checklist__item{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid #edf4f4;color:#30465f}
    .mrbt-mobile-checklist__item:last-child{border-bottom:none}
    .mrbt-mobile-checklist__item svg{margin-top:3px;color:var(--mr-mobile-primary)}

    .mrbt-mobile-benefit-card,.mrbt-mobile-process-card{padding:16px}
    .mrbt-mobile-benefit-card__number,.mrbt-mobile-process-card__step{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary);font-size:11px;font-weight:800}
    .mrbt-mobile-benefit-card h3,.mrbt-mobile-process-card h3{margin:12px 0 8px;font-size:18px;color:var(--mr-mobile-text)}
    .mrbt-mobile-benefit-card p,.mrbt-mobile-process-card p{margin:0;color:#566b83;font-size:14px;line-height:1.6}

    .mrbt-mobile-faq-list{display:grid;gap:10px}
    .mrbt-mobile-faq-item{padding:0}
    .mrbt-mobile-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:16px;cursor:pointer}
    .mrbt-mobile-faq-item summary::-webkit-details-marker{display:none}
    .mrbt-mobile-faq-item summary strong{font-size:15px;line-height:1.45;color:var(--mr-mobile-text)}
    .mrbt-mobile-faq-item summary span{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:var(--mr-mobile-primary-soft);color:var(--mr-mobile-primary);font-size:18px;line-height:1}
    .mrbt-mobile-faq-item__answer{padding:0 16px 16px}
    .mrbt-mobile-faq-item__answer p{margin:0;color:#566b83;font-size:14px;line-height:1.6}
}

@media(max-width:560px){
    .mrbt-mobile-grid--5x{grid-template-columns:repeat(3,minmax(0,1fr))}
    .mrbt-mobile-card-row{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mrbt-mobile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}


@media(max-width:767px){
    /* ============================================================
       Final touch/click & overflow QA layer
       ============================================================ */
    body.mrbt-mobile-app-ready *{box-sizing:border-box}
    body.mrbt-mobile-app-ready img,
    body.mrbt-mobile-app-ready video,
    body.mrbt-mobile-app-ready iframe{max-width:100%}
    body.mrbt-mobile-app-ready iframe{width:100%}
    body.mrbt-mobile-app-ready table{max-width:100%}
    body.mrbt-mobile-app-ready :where(
        .site-main,
        .entry-content,
        .woocommerce,
        .mrbt-mobile-section
    ){min-width:0}
    body.mrbt-mobile-app-ready :where(
        a[href],
        button:not(:disabled),
        input[type=submit]:not(:disabled),
        input[type=button]:not(:disabled),
        summary
    ){
        touch-action:manipulation;
        -webkit-tap-highlight-color:rgba(30,138,138,.10);
    }
    body.mrbt-mobile-app-ready :where(
        a[href],
        button:not(:disabled),
        input[type=submit]:not(:disabled),
        input[type=button]:not(:disabled)
    ){cursor:pointer}
    body.mrbt-mobile-app-ready :where(
        .site-main,
        .site-footer
    ) *::before,
    body.mrbt-mobile-app-ready :where(
        .site-main,
        .site-footer
    ) *::after{pointer-events:none!important}

    /* Preserve interactivity for actual controls inside decorated components. */
    body.mrbt-mobile-app-ready :where(
        a[href],
        button,
        input,
        select,
        textarea,
        label,
        summary,
        details
    ){position:relative;z-index:auto}

    /* Prevent mobile horizontal scroll from wide legacy wrappers. */
    body.mrbt-mobile-app-ready{overflow-x:hidden}
    body.mrbt-mobile-app-ready :where(
        .mr-container,
        .container,
        .site-main,
        .entry-content,
        .woocommerce,
        .woocommerce-page,
        .mrbt-mobile-section
    ){max-width:100%!important}
    body.mrbt-mobile-app-ready :where(
        pre,
        code,
        table
    ){overflow-wrap:anywhere}
    body.mrbt-mobile-app-ready pre{overflow:auto}

    /* Avoid fixed/sticky elements covering the bottom app navbar. */
    body.mrbt-mobile-app-ready :where(
        .sticky,
        [class*="sticky-"],
        [class*="fixed-"]
    ){scroll-margin-bottom:calc(var(--mr-mobile-bottom-nav-height) + 20px)}

    /* Smaller footer footprint for app mode */
    body.mrbt-mobile-app-ready .site-footer{padding-bottom:12px!important}
}

/* Phase 6 final performance/accessibility helpers. */
@media(max-width:767px) and (prefers-reduced-motion:reduce){
    body.mrbt-mobile-app-ready *,
    body.mrbt-mobile-app-ready *::before,
    body.mrbt-mobile-app-ready *::after{
        scroll-behavior:auto!important;
        transition:none!important;
        animation:none!important;
    }
}


/* Mobile homepage hero: media first, content second */
@media(max-width:767px){
    .mrbt-mobile-home-hero__grid{
        display:flex!important;
        flex-direction:column!important;
    }
    .mrbt-mobile-home-hero__visual{
        order:1!important;
        margin-bottom:14px;
    }
    .mrbt-mobile-home-hero__content{
        order:2!important;
    }
}


/* Mobile hero eyebrow below image */
@media(max-width:767px){
    .mrbt-mobile-home-hero__content .mrbt-mobile-home-hero__chip{
        display:inline-flex;
        width:max-content;
        max-width:100%;
        margin:0 0 12px;
    }
}


/* Compact mobile hero info cards */
@media(max-width:767px){
    .mrbt-mobile-home-hero__rating{
        top:6px!important;
        right:6px!important;
        min-width:88px!important;
        padding:9px 11px!important;
        border-radius:16px!important;
        gap:1px!important;
    }
    .mrbt-mobile-home-hero__rating strong{
        font-size:15px!important;
        line-height:1.1!important;
    }
    .mrbt-mobile-home-hero__rating span{
        font-size:10px!important;
        line-height:1.2!important;
    }

    .mrbt-mobile-home-hero__builder{
        left:6px!important;
        bottom:4px!important;
        gap:8px!important;
        min-height:58px!important;
        padding:9px 12px!important;
        border-radius:16px!important;
    }
    .mrbt-mobile-home-hero__builder-icon{
        width:30px!important;
        height:30px!important;
        border-radius:10px!important;
    }
    .mrbt-mobile-home-hero__builder-icon svg{
        width:15px!important;
        height:15px!important;
    }
    .mrbt-mobile-home-hero__builder small{
        font-size:9px!important;
        line-height:1.2!important;
    }
    .mrbt-mobile-home-hero__builder strong{
        margin-top:2px!important;
        font-size:12px!important;
        line-height:1.2!important;
    }
}


/* Mobile hero dual compact product buttons */
@media(max-width:767px){
    .mrbt-mobile-home-hero__product-actions{
        display:flex;
        flex-wrap:wrap;
        gap:8px;
        margin-top:2px;
    }
    .mrbt-mobile-home-hero__product-btn{
        width:auto!important;
        min-width:0!important;
        min-height:38px!important;
        padding:0 11px!important;
        border-radius:10px!important;
        gap:6px!important;
        font-size:11px!important;
        line-height:1!important;
        white-space:nowrap;
        box-shadow:none!important;
    }
    .mrbt-mobile-home-hero__product-btn svg{
        flex:0 0 auto;
        width:12px!important;
        height:12px!important;
    }
}


/* Mobile hero typography */
@media(max-width:767px){
    .mrbt-mobile-home-hero__content .mrbt-mobile-home-hero__chip{
        font-size:15px!important;
        line-height:1.2!important;
    }
    .mrbt-mobile-home-hero__title{
        font-size:45px!important;
        line-height:1.1!important;
    }
}


/* Mobile hero product CTA tap fix */
@media(max-width:767px){
    .mrbt-mobile-home-hero__content{
        position:relative!important;
        z-index:20!important;
        pointer-events:auto!important;
    }
    .mrbt-mobile-home-hero__product-actions{
        position:relative!important;
        z-index:30!important;
        pointer-events:auto!important;
        isolation:isolate;
    }
    .mrbt-mobile-home-hero__product-btn{
        position:relative!important;
        z-index:31!important;
        pointer-events:auto!important;
        touch-action:manipulation!important;
    }
    .mrbt-mobile-home-hero__product-btn *{
        pointer-events:none!important;
    }
    .mrbt-mobile-home-hero__visual{
        position:relative!important;
        z-index:1!important;
    }
    .mrbt-mobile-home-hero__glow{
        pointer-events:none!important;
    }
}


/* Mobile Services heading / View All layout fix */
@media(max-width:767px){

    .mrbt-mobile-services-preview .mrbt-mobile-section__title{
        padding-right:0!important;
    }
}

@media(max-width:430px){
    .mrbt-mobile-services-preview .mrbt-mobile-section__head{
        align-items:start!important;
    }
}


/* Mobile Services heading 70/30 layout */
@media(max-width:767px){

    .mrbt-mobile-services-preview .mrbt-mobile-section__title{
        max-width:100%!important;
        margin:0!important;
        font-size:24px!important;
        line-height:1.18!important;
        overflow-wrap:break-word!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-section__link{
        align-self:end!important;
        min-height:36px!important;
        padding:0!important;
        margin:0 0 2px!important;
        font-size:11px!important;
    }
}

/* Keep the 70/30 structure even on narrow mobile screens. */
@media(max-width:430px){
    .mrbt-mobile-services-preview .mrbt-mobile-section__head{
        gap:0!important;
    }
    .mrbt-mobile-services-preview .mrbt-mobile-section__link{
        justify-self:end!important;
        margin:0 0 2px!important;
    }
}


/* Mobile Services heading 80/20 + shared dashboard headings */
@media(max-width:767px){
    .mrbt-mobile-services-preview .mrbt-mobile-section__head{
        display:grid!important;
        grid-template-columns:80% 20%!important;
        align-items:end!important;
        gap:0!important;
        width:100%!important;
    }
    .mrbt-mobile-services-preview .mrbt-mobile-section__head>div{
        min-width:0!important;
        padding-right:10px!important;
    }
    .mrbt-mobile-services-preview .mrbt-mobile-section__link{
        width:100%!important;
        min-width:0!important;
        justify-content:flex-end!important;
        justify-self:end!important;
        text-align:right!important;
        white-space:normal!important;
        line-height:1.25!important;
    }
}

@media(max-width:430px){
    .mrbt-mobile-services-preview .mrbt-mobile-section__head{
        grid-template-columns:80% 20%!important;
    }
}


/* Mobile service cards: larger full-width icon area */
@media(max-width:767px){
    .mrbt-mobile-services-preview .mrbt-mobile-grid--5x{
        gap:10px!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-feature-tile--service{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        justify-content:flex-start!important;
        min-height:150px!important;
        padding:10px!important;
        border-radius:16px!important;
        text-align:center!important;
        overflow:hidden!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__icon{
        display:grid!important;
        place-items:center!important;
        width:100%!important;
        height:86px!important;
        min-height:86px!important;
        margin:0 0 10px!important;
        border-radius:13px!important;
        background:linear-gradient(145deg,#e7f6f4,#f3fbfa)!important;
        color:var(--mr-mobile-primary)!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__icon :is(.dashicons,.mrbt-mobile-service-svg){
        width:38px!important;
        height:38px!important;
        font-size:38px!important;
        line-height:38px!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__title{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        flex:1!important;
        min-height:34px!important;
        margin:0!important;
        padding:0 2px!important;
        color:var(--mr-mobile-text)!important;
        font-weight:850!important;
        text-align:center!important;
        word-break:normal!important;
        overflow-wrap:anywhere!important;
        -webkit-line-clamp:unset!important;
    }
}


/* Six mobile services + 14px service titles */
@media(max-width:767px){
    .mrbt-mobile-services-preview .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__title{
        font-size:14px!important;
        line-height:1.28!important;
    }
}


/* Mobile MR Themes horizontal 3-up scroller */
@media(max-width:767px){
    .mrbt-mobile-products-preview{overflow:hidden}
    .mrbt-mobile-theme-scroller{
        display:flex!important;
        flex-wrap:nowrap!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        padding:2px 2px 8px!important;
        scroll-snap-type:x proximity;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    .mrbt-mobile-theme-scroller::-webkit-scrollbar{display:none}

    .mrbt-mobile-theme-card{
        padding:0!important;
        overflow:hidden!important;
        border-radius:14px!important;
        scroll-snap-align:start;
        box-shadow:none;
    }
    .mrbt-mobile-theme-card__media{
        display:block!important;
        width:100%!important;
        aspect-ratio:4/3!important;
        overflow:hidden!important;
        background:#e9f4f3!important;
    }
    .mrbt-mobile-theme-card__media img{
        display:block!important;
        width:100%!important;
        height:100%!important;
        object-fit:cover!important;
    }
    .mrbt-mobile-theme-card__placeholder{
        display:grid!important;
        place-items:center!important;
        width:100%!important;
        height:100%!important;
        color:var(--mr-mobile-primary)!important;
        font-size:20px!important;
        font-weight:900!important;
    }
    .mrbt-mobile-theme-card h3 a{
        color:var(--mr-mobile-text)!important;
        text-decoration:none!important;
        display:-webkit-box!important;
        -webkit-box-orient:vertical!important;
        overflow:hidden!important;
    }
    .mrbt-mobile-theme-card__price{
        display:grid;
        gap:4px;
        margin:4px 0 0;
        padding:5px 0 0;
        border-top:1px solid rgba(30,138,138,.12);
    }
    .mrbt-mobile-theme-card__price small{
        margin:0;
        color:#708195;
        font-size:10px;
        font-weight:600;
        line-height:1.35;
    }
    .mrbt-mobile-theme-card__price strong{
        margin:0;
        color:var(--mr-mobile-primary);
        font-size:15px;
        font-weight:900;
        line-height:1.35;
    }
    .mrbt-mobile-theme-card__price del{display:none}
    .mrbt-mobile-theme-card__price ins{text-decoration:none}
}


/* Compact Mobile MR Themes Cards */
@media(max-width:767px){
    .mrbt-mobile-theme-card{
        align-self:flex-start!important;
        height:auto!important;
        min-height:0!important;
    }

    .mrbt-mobile-theme-card__content{
        display:flex!important;
        flex-direction:column!important;
        gap:0!important;
        padding:8px 9px 9px!important;
        min-height:0!important;
        height:auto!important;
    }

    .mrbt-mobile-theme-card h3{
        margin:0 0 7px!important;
        min-height:0!important;
        font-size:13px!important;
        line-height:1.22!important;
    }

    .mrbt-mobile-theme-card h3 a{
        -webkit-line-clamp:2!important;
    }
}


/* Remove light background under MR Themes cards */
@media(max-width:767px){
    .mrbt-mobile-products-preview{
        background:transparent!important;
    }
    .mrbt-mobile-products-preview::before,
    .mrbt-mobile-products-preview::after,
    .mrbt-mobile-theme-scroller::before,
    .mrbt-mobile-theme-scroller::after{
        display:none!important;
        background:none!important;
        box-shadow:none!important;
    }
    .mrbt-mobile-theme-scroller{
        background:transparent!important;
        box-shadow:none!important;
    }
}


/* Mobile shared section heading layout 70/30 with single-line View All */
@media(max-width:767px){
    .mrbt-mobile-services-preview .mrbt-mobile-section__head,
    .mrbt-mobile-products-preview .mrbt-mobile-section__head,
    .mrbt-mobile-pro-tools-preview .mrbt-mobile-section__head{
        display:grid!important;
        grid-template-columns:minmax(0,70%) minmax(0,30%)!important;
        align-items:end!important;
        gap:0!important;
        width:100%!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-section__head>div,
    .mrbt-mobile-products-preview .mrbt-mobile-section__head>div,
    .mrbt-mobile-pro-tools-preview .mrbt-mobile-section__head>div{
        min-width:0!important;
        padding-right:12px!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-section__link,
    .mrbt-mobile-products-preview .mrbt-mobile-section__link,
    .mrbt-mobile-pro-tools-preview .mrbt-mobile-section__link{
        display:flex!important;
        align-items:center!important;
        align-self:end!important;
        justify-self:end!important;
        justify-content:flex-end!important;
        gap:4px!important;
        width:100%!important;
        min-width:0!important;
        min-height:36px!important;
        padding:0!important;
        margin:0 0 2px!important;
        white-space:nowrap!important;
        flex-wrap:nowrap!important;
        word-break:keep-all!important;
        overflow-wrap:normal!important;
        text-align:right!important;
        font-size:11px!important;
        line-height:1.1!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-section__link svg,
    .mrbt-mobile-products-preview .mrbt-mobile-section__link svg,
    .mrbt-mobile-pro-tools-preview .mrbt-mobile-section__link svg{
        flex:0 0 auto!important;
    }
}

@media(max-width:430px){
    .mrbt-mobile-services-preview .mrbt-mobile-section__head,
    .mrbt-mobile-products-preview .mrbt-mobile-section__head,
    .mrbt-mobile-pro-tools-preview .mrbt-mobile-section__head{
        grid-template-columns:minmax(0,70%) minmax(0,30%)!important;
        align-items:end!important;
        gap:0!important;
    }

    .mrbt-mobile-services-preview .mrbt-mobile-section__link,
    .mrbt-mobile-products-preview .mrbt-mobile-section__link,
    .mrbt-mobile-pro-tools-preview .mrbt-mobile-section__link{
        justify-self:end!important;
        margin:0 0 2px!important;
        font-size:10.5px!important;
    }
}


/* Mobile section heading highlight parity with desktop */
@media(max-width:767px){
    .mrbt-mobile-section__title span{
        color:var(--mr-color-primary,var(--mr-mobile-primary))!important;
    }
}


/* Consistent mobile homepage section spacing */
@media(max-width:767px){
    .mrbt-mobile-homepage > .mrbt-mobile-section{
        padding-top:var(--mr-mobile-section-gap)!important;
        padding-bottom:var(--mr-mobile-section-gap)!important;
        margin-top:0!important;
        margin-bottom:0!important;
    }

    .mrbt-mobile-products-preview,
    .mrbt-mobile-special-offer-wrap,
    .mrbt-mobile-review-wrap,
    .mrbt-mobile-pro-tools-preview,
    .mrbt-mobile-services-preview,
    .mrbt-mobile-stats-wrap--hero{
        margin-top:0!important;
        margin-bottom:0!important;
    }

    .mrbt-mobile-theme-scroller{
        margin-bottom:0!important;
    }
}

/* Sync Service + MR Themes card title typography */
@media(max-width:767px){
    .mrbt-mobile-services-preview .mrbt-mobile-feature-tile--service .mrbt-mobile-feature-tile__title,
    .mrbt-mobile-theme-card h3,
    .mrbt-mobile-theme-card h3 a{
        font-size:14px!important;
        font-weight:850!important;
        letter-spacing:-0.01em!important;
        line-height:1.28!important;
    }
}


/* MR Themes 2-up scroller + price area polish */
@media(max-width:767px){
    .mrbt-mobile-theme-scroller{
        gap:10px!important;
    }

    .mrbt-mobile-theme-card{
        flex:0 0 calc((100% - 10px)/2)!important;
        min-width:calc((100% - 10px)/2)!important;
        max-width:calc((100% - 10px)/2)!important;
    }
}


/* Explore MR Plugins uses the same mobile product-card system as MR Themes */
@media(max-width:767px){
    .mrbt-mobile-plugins-preview{
        overflow:hidden;
        margin-top:0;
        margin-bottom:0;
    }

    .mrbt-mobile-plugin-scroller{
        background:transparent;
        box-shadow:none;
    }
}


/* Compact deep-color Quick Choice card */
@media(max-width:767px){
    .mrbt-mobile-quick-choice-wrap{
        padding-top:var(--mr-mobile-section-gap);
        padding-bottom:var(--mr-mobile-section-gap);
    }

    .mrbt-mobile-quick-choice{
        display:grid;
        gap:12px;
        padding:16px;
        border-radius:18px;
        background:linear-gradient(135deg,#176f6f 0%,#0f5f68 100%);
        box-shadow:0 12px 28px rgba(15,95,104,.18);
    }

    .mrbt-mobile-quick-choice__intro span{
        display:block;
        margin-bottom:3px;
        color:rgba(255,255,255,.68);
        font-size:10px;
        font-weight:800;
        letter-spacing:.08em;
        text-transform:uppercase;
    }

    .mrbt-mobile-quick-choice__intro h2{
        margin:0;
        color:#fff;
        font-size:18px;
        line-height:1.15;
        letter-spacing:-.02em;
    }

    .mrbt-mobile-quick-choice__links{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
    }

    .mrbt-mobile-quick-choice__links a{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:6px;
        min-width:0;
        min-height:38px;
        padding:7px 8px;
        border:1px solid rgba(255,255,255,.14);
        border-radius:11px;
        background:rgba(255,255,255,.10);
        color:#fff;
        font-size:10.5px;
        font-weight:800;
        line-height:1.15;
        text-align:center;
        text-decoration:none;
    }

    .mrbt-mobile-quick-choice__links a svg{
        flex:0 0 auto;
    }
}


/* Mobile Testimonials heading + compact 1-card scroller */
@media(max-width:767px){
    .mrbt-mobile-review-wrap .mrbt-mobile-section__head{
        display:grid;
        grid-template-columns:minmax(0,70%) minmax(0,30%);
        align-items:end;
        gap:0;
        width:100%;
    }

    .mrbt-mobile-review-wrap .mrbt-mobile-section__head>div{
        min-width:0;
        padding-right:12px;
    }

    .mrbt-mobile-review-wrap .mrbt-mobile-section__link{
        display:flex;
        align-items:center;
        align-self:end;
        justify-self:end;
        justify-content:flex-end;
        gap:4px;
        width:100%;
        min-width:0;
        min-height:36px;
        margin:0 0 2px;
        padding:0;
        white-space:nowrap;
        color:var(--mr-mobile-primary);
        font-size:11px;
        font-weight:800;
        line-height:1.1;
        text-align:right;
        text-decoration:none;
    }

    .mrbt-mobile-review-wrap .mrbt-mobile-section__link svg{
        flex:0 0 auto;
    }

    .mrbt-mobile-review-scroller{
        display:flex;
        flex-wrap:nowrap;
        gap:12px;
        overflow-x:auto;
        overflow-y:hidden;
        margin:0;
        padding:1px 1px 4px;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    .mrbt-mobile-review-scroller::-webkit-scrollbar{
        display:none;
    }

    .mrbt-mobile-review-card{
        flex:0 0 100%;
        min-width:100%;
        max-width:100%;
        padding:13px;
        border:1px solid var(--mr-mobile-border);
        border-radius:16px;
        background:#fff;
        box-shadow:none;
        scroll-snap-align:start;
    }

    .mrbt-mobile-review-card__top{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        margin-bottom:9px;
    }

    .mrbt-mobile-review-card__person{
        display:flex;
        align-items:center;
        min-width:0;
        gap:9px;
    }

    .mrbt-mobile-review-card__avatar{
        display:grid;
        flex:0 0 38px;
        place-items:center;
        width:38px;
        height:38px;
        overflow:hidden;
        border:1px solid rgba(30,138,138,.16);
        border-radius:50%;
        background:var(--mr-mobile-primary-soft);
        color:var(--mr-mobile-primary);
        font-size:13px;
        font-weight:900;
    }

    .mrbt-mobile-review-card__img{
        display:block;
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .mrbt-mobile-review-card__identity{
        display:block;
        min-width:0;
    }

    .mrbt-mobile-review-card__identity strong{
        display:block;
        overflow:hidden;
        color:var(--mr-mobile-text);
        font-size:13px;
        font-weight:850;
        line-height:1.2;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .mrbt-mobile-review-card__identity small{
        display:block;
        overflow:hidden;
        margin-top:2px;
        color:#78899a;
        font-size:10px;
        line-height:1.2;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .mrbt-mobile-review-card__stars{
        flex:0 0 auto;
        color:#f4b400;
        font-size:11px;
        letter-spacing:.5px;
        line-height:1;
        white-space:nowrap;
    }

    .mrbt-mobile-review-card__text{
        display:-webkit-box;
        overflow:hidden;
        margin:0;
        color:#40566f;
        font-size:13px;
        line-height:1.5;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:5;
    }

    .mrbt-mobile-review-card.is-expanded .mrbt-mobile-review-card__text{
        display:block;
        overflow:visible;
        -webkit-line-clamp:unset;
    }

    .mrbt-mobile-review-card__toggle{
        display:inline-flex;
        align-items:center;
        min-height:28px;
        margin:7px 0 0;
        padding:0;
        border:0;
        background:transparent;
        color:var(--mr-mobile-primary);
        font-size:11px;
        font-weight:850;
        line-height:1;
        cursor:pointer;
    }

    .mrbt-mobile-review-card__toggle[hidden]{
        display:none;
    }
}


/* Mobile interaction architecture rebuild */
@media(max-width:767px){
    /*
     * Stacking contract:
     * page content < fixed app chrome < overlay backdrop < open panel/modal.
     */
    .mrbt-mobile-app-header{
        z-index:1300;
    }

    .mrbt-mobile-bottom-nav{
        z-index:1300;
    }

    .mrbt-search-backdrop,
    .mrbt-offcanvas-backdrop,
    .mrbt-mobile-overlay{
        z-index:1400;
    }

    .mrbt-search-panel,
    .mrbt-offcanvas,
    .mrbt-mobile-search-panel,
    .mrbt-mobile-menu-panel,
    [aria-modal="true"]{
        z-index:1410;
    }

    /*
     * Dynamic hidden state stays standards-based.
     * No global inline pointer-events mutation is used.
     */
    [hidden]{
        display:none!important;
    }

    /*
     * Decorative layers never receive hit-testing.
     */
    .mrbt-mobile-home-hero__glow,
    .mrbt-mobile-home-hero__frame::before,
    .mrbt-mobile-products-preview::before,
    .mrbt-mobile-products-preview::after,
    .mrbt-mobile-theme-scroller::before,
    .mrbt-mobile-theme-scroller::after{
        pointer-events:none;
    }

    /*
     * The real WhatsApp wrapper is only a positioning shell.
     * Its visible button/card children receive the clicks.
     */
    .mrbt-wa-widget{
        pointer-events:none!important;
        z-index:1280!important;
        bottom:calc(var(--mr-mobile-bottom-nav-height) + env(safe-area-inset-bottom,0px) + 22px)!important;
    }

    .mrbt-wa-widget .mrbt-wa-button,
    .mrbt-wa-widget .mrbt-wa-card,
    .mrbt-wa-widget a,
    .mrbt-wa-widget button{
        pointer-events:auto!important;
    }
}


/* Mobile footer directory cleanup */
@media(max-width:767px){
    .site-footer .mrbt-footer-mobile-hide-directory{
        display:none;
    }
}


/* Mobile footer simple single-line menu + centered payment image */
@media(max-width:767px){
    .site-footer .mrbt-footer-utility{
        display:block;
        min-width:0;
        max-width:100%;
        overflow:hidden;
    }

    .site-footer .mrbt-footer-utility__links{
        display:flex;
        flex-flow:row nowrap;
        align-items:center;
        gap:16px;
        width:100%;
        max-width:100%;
        overflow-x:auto;
        overflow-y:hidden;
        margin:0;
        padding:0 0 6px;
        list-style:none;
        white-space:nowrap;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
        overscroll-behavior-x:contain;
    }

    .site-footer .mrbt-footer-utility__links::-webkit-scrollbar{
        display:none;
        width:0;
        height:0;
    }

    .site-footer .mrbt-footer-utility__links > li{
        flex:0 0 auto;
        width:auto;
        max-width:none;
        margin:0;
        padding:0;
    }

    .site-footer .mrbt-footer-utility__links > li > a{
        display:inline;
        width:auto;
        min-width:0;
        min-height:0;
        padding:0;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        white-space:nowrap;
    }

    .site-footer .mrbt-footer-utility__links > li > a[href*="/testimonials"]{
        display:inline;
        min-height:0;
        padding:0;
        border:0;
        border-radius:0;
        background:transparent;
        color:#fff;
        box-shadow:none;
        transform:none;
    }

    .site-footer .mrbt-footer-utility__links > li > a:hover,
    .site-footer .mrbt-footer-utility__links > li > a:focus-visible{
        transform:none;
        box-shadow:none;
    }

    .site-footer .mrbt-footer-utility img,
    .site-footer .mrbt-footer-utility__payment,
    .site-footer .mrbt-footer-payment,
    .site-footer .mrbt-footer-payment-image{
        display:block;
        margin-left:auto;
        margin-right:auto;
    }
}


/* Fixed mobile scroller arrow controls */
@media(max-width:767px){
    .mrbt-mobile-scroller-shell{
        position:relative;
        min-width:0;
    }

    .mrbt-mobile-theme-scroller,
    .mrbt-mobile-review-scroller{
        position:relative;
        z-index:1;
    }

    .mrbt-mobile-scroll-controls{
        position:absolute;
        z-index:8;
        top:50%;
        left:0;
        right:0;
        display:flex;
        align-items:center;
        justify-content:space-between;
        height:0;
        pointer-events:none;
        transform:translateY(-50%);
    }

    .mrbt-mobile-scroll-controls__btn{
        display:grid;
        width:32px;
        height:32px;
        flex:0 0 32px;
        place-items:center;
        padding:0;
        border:1px solid rgba(30,138,138,.18);
        border-radius:50%;
        background:rgba(255,255,255,.96);
        color:var(--mr-mobile-primary);
        box-shadow:0 6px 16px rgba(17,53,67,.14);
        cursor:pointer;
        opacity:.98;
        pointer-events:auto;
        transition:opacity .2s ease,transform .2s ease;
        backdrop-filter:blur(8px);
        -webkit-backdrop-filter:blur(8px);
    }

    .mrbt-mobile-scroll-controls__btn.is-prev{
        margin-left:-16px;
    }

    .mrbt-mobile-scroll-controls__btn.is-next{
        margin-right:-16px;
    }

    .mrbt-mobile-scroll-controls__btn span{
        display:block;
        margin-top:-2px;
        font-size:24px;
        font-weight:700;
        line-height:1;
        pointer-events:none;
    }

    .mrbt-mobile-scroll-controls__btn[disabled]{
        opacity:.28;
        pointer-events:none;
    }

    .mrbt-mobile-scroll-controls__btn:active{
        transform:scale(.94);
    }
}


/* Compact mobile search panel */
@media(max-width:767px){
    .mrbt-search-panel__recommendation-card--products{
        display:none;
    }
}


/* Phase 3 — Canonical mobile bottom navigation */
@media(max-width:767px){
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference{
        position:fixed;
        z-index:1300;
        left:0;
        right:0;
        bottom:0;
        display:grid;
        grid-template-columns:repeat(5,1fr);
        align-items:end;
        justify-content:stretch;
        justify-items:stretch;
        width:100vw;
        max-width:none;
        min-width:100%;
        min-height:68px;
        margin:0;
        padding:6px 8px max(4px,env(safe-area-inset-bottom));
        border:0;
        border-top:1px solid rgba(255,255,255,.10);
        border-radius:0;
        background:
            radial-gradient(circle at 50% -18px,rgba(255,255,255,.18) 0,rgba(255,255,255,.18) 34px,transparent 35px),
            linear-gradient(135deg,color-mix(in srgb,var(--mr-color-secondary) 92%,#02131d) 0%,color-mix(in srgb,var(--mr-color-secondary) 84%,#08263b) 55%,color-mix(in srgb,var(--mr-mobile-primary) 78%,#092133) 100%);
        box-shadow:0 -12px 28px rgba(5,20,31,.24),inset 0 1px 0 rgba(255,255,255,.06);
        box-sizing:border-box;
        overflow:visible;
        transform:none;
        translate:none;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item{
        position:relative;
        display:flex;
        width:100%;
        max-width:none;
        min-width:0;
        min-height:56px;
        align-items:center;
        justify-content:center;
        justify-self:stretch;
        flex-direction:column;
        gap:4px;
        margin:0;
        padding:8px 3px 5px;
        border:0;
        border-radius:14px;
        background:transparent;
        color:rgba(255,255,255,.82);
        box-shadow:none;
        text-align:center;
        text-decoration:none;
        pointer-events:auto;
        transition:transform .22s ease,background-color .22s ease,color .22s ease,box-shadow .22s ease;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:active{
        transform:translateY(1px);
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:nth-child(1){grid-column:1}
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:nth-child(2){grid-column:2}
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:nth-child(3){grid-column:3;justify-self:center}
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:nth-child(4){grid-column:4}
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:nth-child(5){grid-column:5}

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__icon{
        display:grid;
        width:22px;
        height:22px;
        place-items:center;
        color:inherit;
        line-height:1;
        pointer-events:none;
        transition:transform .22s ease,background-color .22s ease,box-shadow .22s ease;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item:not(.is-whatsapp) .mrbt-mobile-bottom-nav__icon{
        width:28px;
        height:28px;
        border-radius:999px;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__icon svg{
        display:block;
        width:20px;
        height:20px;
        pointer-events:none;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__label{
        display:block;
        max-width:100%;
        overflow:hidden;
        color:inherit;
        font-size:10px;
        font-weight:700;
        line-height:1;
        letter-spacing:.01em;
        text-overflow:ellipsis;
        white-space:nowrap;
        opacity:.98;
        pointer-events:none;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-active{
        color:#fff;
        background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07));
        box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 16px rgba(0,0,0,.12);
        transform:translateY(-1px);
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-active:not(.is-whatsapp)::after{
        content:"";
        position:absolute;
        left:50%;
        bottom:-8px;
        width:30px;
        height:3px;
        transform:translateX(-50%);
        border-radius:999px 999px 0 0;
        background:rgba(255,255,255,.96);
        box-shadow:0 -2px 10px rgba(255,255,255,.22);
        pointer-events:none;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-active:not(.is-whatsapp) .mrbt-mobile-bottom-nav__icon{
        background:rgba(255,255,255,.12);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
        transform:translateY(-1px);
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-active .mrbt-mobile-bottom-nav__label{
        font-weight:800;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-whatsapp{
        position:relative;
        z-index:4;
        display:flex;
        width:100%;
        min-height:82px;
        align-self:start;
        margin:-36px 0 0;
        padding-top:0;
        visibility:visible;
        opacity:1;
        isolation:isolate;
        overflow:visible;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference::before,
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference::after,
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-whatsapp::before,
    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-whatsapp::after{
        content:none;
        display:none;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-whatsapp .mrbt-mobile-bottom-nav__icon{
        position:relative;
        z-index:3;
        display:flex;
        width:70px;
        height:70px;
        align-items:center;
        justify-content:center;
        padding:0;
        border:0;
        border-radius:50%;
        background:transparent;
        color:#fff;
        box-shadow:none;
        visibility:visible;
        opacity:1;
        overflow:visible;
        transform:translateZ(0);
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-whatsapp .mrbt-mobile-bottom-nav__icon::before{
        content:"";
        position:absolute;
        z-index:-1;
        left:50%;
        top:50%;
        width:68px;
        height:68px;
        transform:translate(-50%,-50%);
        border-radius:50%;
        background:#fff;
        box-shadow:0 5px 14px rgba(4,23,33,.10);
        pointer-events:none;
    }

    .mrbt-mobile-bottom-nav__whatsapp-image{
        position:absolute;
        z-index:2;
        left:50%;
        top:50%;
        display:block;
        width:50px;
        height:50px;
        transform:translate(-50%,-50%);
        object-fit:contain;
        border-radius:50%;
        pointer-events:none;
    }

    .mrbt-mobile-bottom-nav.mrbt-mobile-bottom-nav--reference .mrbt-mobile-bottom-nav__item.is-whatsapp .mrbt-mobile-bottom-nav__label{
        display:none;
    }
}


/* Phase 3 — Canonical premium mobile offcanvas navigation */
@media(max-width:767px){
    .mrbt-offcanvas{
        position:fixed;
        inset:0;
        z-index:1410;
    }

    .mrbt-offcanvas__backdrop{
        position:absolute;
        inset:0;
        background:rgba(2,17,24,.68);
        backdrop-filter:blur(3px);
        -webkit-backdrop-filter:blur(3px);
    }

    .mrbt-offcanvas__panel{
        position:absolute;
        top:0;
        right:auto;
        left:0;
        width:50vw;
        max-width:none;
        height:100%;
        padding:20px 16px 24px;
        overflow-x:hidden;
        overflow-y:auto;
        background:
            radial-gradient(circle at 14% 8%,color-mix(in srgb,var(--mr-mobile-primary) 22%,transparent) 0%,transparent 30%),
            linear-gradient(165deg,#08262d 0%,#071d26 52%,#06171f 100%);
        color:#f4ffff;
        border-right:1px solid rgba(255,255,255,.10);
        box-shadow:20px 0 48px rgba(0,0,0,.28);
        transform:none;
        overscroll-behavior:contain;
    }

    .mrbt-offcanvas__head{
        position:sticky;
        top:0;
        z-index:5;
        display:flex;
        min-height:64px;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        padding:10px 0 14px;
        border-bottom:0;
        background:transparent;
    }

    .mrbt-offcanvas__head .site-branding--offcanvas,
    .mrbt-offcanvas__head .site-logo,
    .mrbt-offcanvas__head .custom-logo-link{
        display:flex;
        flex:1 1 auto;
        min-width:0;
        max-width:100%;
        align-items:center;
        overflow:visible;
        background:transparent;
    }

    .mrbt-offcanvas__head .site-branding--offcanvas{
        width:calc(100% - 50px);
        margin:0;
        padding:0;
        background:transparent;
    }

    .mrbt-offcanvas__head img,
    .mrbt-offcanvas__head .custom-logo{
        display:block;
        width:auto;
        max-width:100%;
        height:auto;
        max-height:34px;
        object-fit:contain;
        object-position:left center;
        filter:brightness(0) invert(1);
        mix-blend-mode:screen;
        background:transparent;
    }

    .mrbt-offcanvas__head .header-icon-button[data-mrbt-offcanvas-close]{
        position:absolute;
        top:10px;
        right:-20px;
        z-index:6;
        display:grid;
        flex:0 0 42px;
        width:42px;
        height:42px;
margin:0;
        place-items:center;
        padding:0;
        border:1px solid rgba(255,255,255,.16);
        border-radius:999px;
        background:#062c33;
        color:#ffffff;
        box-shadow:0 10px 24px rgba(0,0,0,.28);
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    .mrbt-offcanvas__head .header-icon-button[data-mrbt-offcanvas-close] svg{
        display:block;
        width:20px;
        height:20px;
        stroke:currentColor;
        color:inherit;
    }

    .mrbt-offcanvas .mobile-navigation ul{
        display:grid;
        gap:2px;
        margin:18px 0 20px;
        padding:0;
        list-style:none;
    }

    .mrbt-offcanvas .mobile-navigation li{
        position:relative;
        margin:0;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .mrbt-offcanvas .mobile-navigation > ul > li:last-child{
        border-bottom:0;
    }

    .mrbt-offcanvas .mobile-navigation a{
        position:relative;
        display:flex;
        min-height:46px;
        align-items:center;
        padding:11px 4px;
        color:rgba(244,255,255,.92);
        font-size:14px;
        font-weight:700;
        line-height:1.25;
        text-decoration:none;
        transition:color .2s ease,transform .2s ease,background-color .2s ease;
    }

    .mrbt-offcanvas .mobile-navigation a:hover,
    .mrbt-offcanvas .mobile-navigation a:focus-visible{
        color:#fff;
        transform:translateX(3px);
    }

    .mrbt-offcanvas .mobile-navigation .current-menu-item > a,
    .mrbt-offcanvas .mobile-navigation .current-menu-ancestor > a{
        color:#fff;
    }

    .mrbt-offcanvas .mobile-navigation .current-menu-item > a::before,
    .mrbt-offcanvas .mobile-navigation .current-menu-ancestor > a::before{
        content:"";
        position:absolute;
        left:-16px;
        top:50%;
        width:3px;
        height:22px;
        border-radius:0 999px 999px 0;
        background:var(--mr-mobile-primary);
        box-shadow:0 0 12px color-mix(in srgb,var(--mr-mobile-primary) 48%,transparent);
        transform:translateY(-50%);
    }

    /* MR Exclusive parent */
    .mrbt-offcanvas .mobile-navigation > ul > li.menu-item-has-children > a{
        margin:0 0 8px;
        padding:11px 12px;
        border:1px solid color-mix(in srgb,var(--mr-mobile-primary) 34%,rgba(255,255,255,.14));
        border-radius:999px;
        background:linear-gradient(135deg,color-mix(in srgb,var(--mr-mobile-primary) 18%,rgba(255,255,255,.07)),rgba(255,255,255,.055));
        color:#17313d;
        box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.12);
    }

    .mrbt-offcanvas .mobile-navigation > ul > li.menu-item-has-children > a:hover,
    .mrbt-offcanvas .mobile-navigation > ul > li.menu-item-has-children > a:focus-visible{
        color:var(--mr-mobile-primary);
        background:linear-gradient(135deg,color-mix(in srgb,var(--mr-mobile-primary) 28%,rgba(255,255,255,.08)),rgba(255,255,255,.07));
    }

    .mrbt-offcanvas .mobile-navigation > ul > li.menu-item-has-children.current-menu-item > a,
    .mrbt-offcanvas .mobile-navigation > ul > li.menu-item-has-children.current-menu-ancestor > a{
        color:#17313d;
    }

    /* MR Exclusive submenu */
    .mrbt-offcanvas .mobile-navigation .menu-item-has-children > .sub-menu{
        display:grid;
        gap:4px;
        margin:4px 0 10px;
        padding:8px;
        border:1px solid rgba(255,255,255,.09);
        border-radius:14px;
        background:rgba(255,255,255,.94);
        color:#17313d;
        box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 8px 20px rgba(0,0,0,.10);
    }

    .mrbt-offcanvas .mobile-navigation .menu-item-has-children > .sub-menu li{
        border:0;
    }

    .mrbt-offcanvas .mobile-navigation .menu-item-has-children > .sub-menu a{
        min-height:38px;
        padding:8px 9px;
        border-radius:10px;
        color:#17313d;
        font-size:12px;
        font-weight:650;
        transform:none;
    }

    .mrbt-offcanvas .mobile-navigation .menu-item-has-children > .sub-menu a:hover,
    .mrbt-offcanvas .mobile-navigation .menu-item-has-children > .sub-menu a:focus-visible{
        color:var(--mr-mobile-primary);
        background:color-mix(in srgb,var(--mr-mobile-primary) 7%,#fff);
        transform:none;
    }

    .mrbt-offcanvas .mobile-navigation .menu-item-has-children > .sub-menu a::after{
        content:"›";
        margin-left:auto;
        color:var(--mr-mobile-primary);
        font-size:18px;
        line-height:1;
    }

    .mrbt-offcanvas__contact{
        display:grid;
        gap:8px;
        margin:16px 0;
    }

    .mrbt-offcanvas__contact a{
        color:rgba(236,252,252,.82);
        font-size:12px;
        text-decoration:none;
    }

    .mrbt-offcanvas__cta{
        display:flex;
        width:100%;
        min-height:42px;
        align-items:center;
        justify-content:center;
        margin:14px 0 18px;
        padding:8px 10px;
        border:1px solid color-mix(in srgb,var(--mr-mobile-primary) 68%,#fff);
        border-radius:999px;
        background:linear-gradient(135deg,var(--mr-mobile-primary),color-mix(in srgb,var(--mr-mobile-primary) 82%,#073743));
        color:#fff;
        font-size:12px;
        font-weight:800;
        box-shadow:0 10px 22px rgba(0,0,0,.18);
    }

    .mrbt-offcanvas .mrbt-social-links{
        display:flex;
        flex-wrap:wrap;
        gap:8px 12px;
        padding-top:14px;
        border-top:1px solid rgba(255,255,255,.09);
    }

    .mrbt-offcanvas .mrbt-social-links a{
        color:color-mix(in srgb,var(--mr-mobile-primary) 60%,#fff);
        font-size:11px;
        font-weight:700;
        text-decoration:none;
    }
}


