/* JLBMW 10-in-1 upgrade: preserves existing visual language */
.row-wrap{display:none!important}
.offers-wrap{position:relative}.offers-btn{border:1px solid var(--line);background:rgba(17,19,24,.7);color:var(--text);padding:7px 13px;border-radius:999px;font:600 12px 'IBM Plex Sans',sans-serif;cursor:pointer}.offers-menu{display:none;position:absolute;top:42px;left:0;width:min(760px,92vw);max-height:72vh;overflow:auto;background:rgba(10,12,16,.98);border:1px solid var(--line);box-shadow:0 24px 70px rgba(0,0,0,.55);border-radius:18px;padding:12px;z-index:90}.offers-wrap.open .offers-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.offer-item{display:flex;align-items:center;gap:10px;text-decoration:none;padding:11px 12px;border:1px solid transparent;border-radius:12px;color:var(--text);background:rgba(255,255,255,.02)}.offer-item:hover{border-color:#384252;background:rgba(255,255,255,.045)}.offer-item .oi{font-size:17px}.offer-item .ot{font-size:12.5px;font-weight:600}.offer-item .od{display:block;color:var(--muted);font-size:10.5px;margin-top:2px}.offer-special{border-color:rgba(75,123,255,.34);background:rgba(47,95,214,.08)}
.upgrade-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}.upgrade-gallery img,.upgrade-gallery video{width:100%;height:110px;object-fit:cover;border-radius:9px;background:#000}.work-seo-link{display:inline-flex;margin:10px 6px 0 0;padding:7px 10px;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-size:11px;color:var(--blue-2)}
.multi-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0}.multi-preview img,.multi-preview video{width:100%;height:90px;object-fit:cover;border-radius:8px;background:#000}.admin-section select,.admin-section input[type=datetime-local],.admin-section input[type=number],.admin-section input[type=url]{width:100%;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:10px 12px;font-size:12px;margin-bottom:8px}.admin-section option{background:#111318}.admin-checks{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:8px 0 11px}.admin-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.upgrade-admin-item{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.upgrade-admin-item .txt{flex:1;font-size:11px}.upgrade-admin-item button{background:none;border:1px solid var(--line);color:var(--red);border-radius:999px;padding:5px 9px;cursor:pointer}
.ad-slot{width:100%;display:flex;justify-content:center;padding:10px 14px;box-sizing:border-box}.ad-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#090b0e;box-shadow:0 16px 40px rgba(0,0,0,.22)}.ad-card.full{width:100%}.ad-card.large{width:min(100%,1000px)}.ad-card.medium{width:min(100%,720px)}.ad-card.small{width:min(100%,420px)}.ad-card img,.ad-card video{display:block;width:100%;max-height:520px;object-fit:cover;background:#000}.ad-card .ad-meta{position:absolute;left:10px;bottom:10px;right:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.ad-card .ad-title{background:rgba(0,0,0,.65);backdrop-filter:blur(5px);padding:7px 10px;border-radius:999px;font-size:11px}.ad-card .ad-cta{pointer-events:auto;text-decoration:none;background:var(--blue);color:#fff;padding:8px 11px;border-radius:999px;font-size:11px;font-weight:700}
.ad-desktop-only{display:flex}.ad-mobile-only{display:none}
@media(max-width:760px){.offers-wrap.open .offers-menu{grid-template-columns:1fr;position:fixed;left:10px;right:10px;top:62px;width:auto;max-height:76vh}.topbar-left{gap:7px}.offers-btn{padding:6px 10px}.upgrade-gallery{grid-template-columns:repeat(2,1fr)}.admin-grid2{grid-template-columns:1fr}.ad-desktop-only{display:none!important}.ad-mobile-only{display:flex}.ad-card.custom{max-width:100%!important}}
.admin-media-strip{display:flex;gap:5px;flex-wrap:wrap;width:100%;padding:6px 0 2px}.admin-media-chip{position:relative;width:54px;height:54px;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#000}.admin-media-chip img,.admin-media-chip video{width:100%;height:100%;object-fit:cover}.admin-media-chip button{position:absolute;right:2px;top:2px;width:20px;height:20px;border:0;border-radius:50%;background:rgba(0,0,0,.78);color:#fff;font-size:11px;cursor:pointer}


/* ===== SIMPLE ADMIN V2 ===== */
#adminPanel{padding-bottom:10px}
.admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0 6px;position:sticky;top:0;z-index:8;padding:8px 0;background:linear-gradient(180deg,#111318 72%,rgba(17,19,24,0))}
.admin-tab-btn{border:1px solid var(--line);background:rgba(255,255,255,.025);color:var(--muted);border-radius:12px;padding:10px 8px;font:700 11px 'IBM Plex Sans',sans-serif;cursor:pointer}
.admin-tab-btn.active{color:#fff;border-color:rgba(0,174,255,.6);background:rgba(0,174,255,.12)}
.admin-section[data-admin-tab]{display:none;margin-top:10px;padding-top:10px}
.admin-section[data-admin-tab].admin-tab-open{display:block}
.admin-compact-list{max-height:330px;overflow:auto;overscroll-behavior:contain;padding-right:4px;margin-top:12px!important;border-top:1px solid var(--line)}
.admin-compact-list::-webkit-scrollbar{width:7px}.admin-compact-list::-webkit-scrollbar-thumb{background:#303744;border-radius:999px}
.admin-section h3{display:flex;align-items:center;justify-content:space-between;gap:10px}
.simple-help{font-size:11px;line-height:1.5;color:var(--muted);margin:2px 0 12px}
.ad-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}
.ad-place-btn{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--line);background:rgba(255,255,255,.025);color:var(--text);border-radius:13px;padding:10px;cursor:pointer}
.ad-place-btn strong{display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;background:#202631;color:#7dd9ff;font-size:13px}
.ad-place-btn span{font-size:11px;line-height:1.25;color:var(--muted)}
.ad-place-btn.selected{border-color:rgba(0,174,255,.75);background:rgba(0,174,255,.10)}
.ad-simple-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ad-simple-label{display:block;font-size:11px;color:var(--muted);margin:9px 0 5px}
.ad-advanced{border:1px solid var(--line);border-radius:12px;padding:9px 11px;margin:10px 0;background:rgba(255,255,255,.018)}
.ad-advanced summary{cursor:pointer;color:var(--muted);font-size:11px;font-weight:700}
.ad-advanced .inside{padding-top:10px}
.simple-ad-card{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.simple-ad-thumb{width:58px;height:48px;border-radius:9px;overflow:hidden;background:#000;border:1px solid var(--line)}
.simple-ad-thumb img,.simple-ad-thumb video{width:100%;height:100%;object-fit:cover}
.simple-ad-main b{font-size:11px}.simple-ad-main small{display:block;color:var(--muted);font-size:10px;line-height:1.45;margin-top:2px}
.simple-ad-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.simple-ad-actions button{border:1px solid var(--line);background:transparent;border-radius:999px;padding:5px 8px;font-size:10px;cursor:pointer;color:#dce3ec}
.simple-ad-actions button.danger{color:var(--red)}
.simple-ad-actions button.off{color:#ffd35c}
.admin-login-memory{font-size:10.5px;color:var(--muted);margin-top:10px;text-align:center}
@media(max-width:760px){.admin-tabs{grid-template-columns:repeat(2,1fr)}.ad-place-grid{grid-template-columns:1fr}.ad-simple-row{grid-template-columns:1fr}.simple-ad-card{grid-template-columns:50px 1fr}.simple-ad-actions{grid-column:1/-1;justify-content:flex-start}}


/* ===== SIMPLE ADMIN V3: 4 ad slots + paging + persistent-login UX ===== */
.admin-list-tools{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:9px 0 4px}
.admin-list-search{flex:1;min-width:0;background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;border-radius:999px!important;color:var(--text)!important;padding:8px 11px!important;font-size:11px!important;margin:0!important}
.admin-list-pager{display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--muted);font-size:10px}
.admin-list-pager button{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--text);cursor:pointer}.admin-list-pager button:disabled{opacity:.35;cursor:default}
.admin-compact-list{max-height:none;overflow:visible}
.admin-logout-simple{float:right;border:1px solid rgba(255,95,95,.35);background:rgba(255,70,70,.06);color:#ff9d9d;border-radius:999px;padding:6px 11px;font:700 10px 'IBM Plex Sans',sans-serif;cursor:pointer;margin:0 0 4px 8px}
.simple-ad-card.empty{opacity:.72}.simple-ad-card.empty .simple-ad-thumb{display:grid;place-items:center;background:rgba(255,255,255,.025);color:#7dd9ff;font-weight:800;font-size:13px}
@media(max-width:760px){.admin-list-tools{align-items:stretch;flex-direction:column}.admin-list-pager{justify-content:flex-end;width:100%}}

/* ===== JLBMW COMPACT AD SLOTS V1 =====
   Keep ads visible without stretching the page. */
.ad-slot{
  width:100%;
  padding:14px 16px;
  display:flex;
  justify-content:center;
  align-items:center;
  box-sizing:border-box;
}
.ad-card,
.ad-card.full,
.ad-card.large,
.ad-card.medium,
.ad-card.small,
.ad-card.custom{
  width:min(92vw,720px) !important;
  height:230px !important;
  max-width:720px !important;
  max-height:230px !important;
  border-radius:14px;
}
.ad-card img,
.ad-card video{
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#080a0d;
}
@media(max-width:760px){
  .ad-slot{padding:10px 12px}
  .ad-card,
  .ad-card.full,
  .ad-card.large,
  .ad-card.medium,
  .ad-card.small,
  .ad-card.custom{
    width:100% !important;
    height:170px !important;
    max-width:100% !important;
    max-height:170px !important;
  }
}


/* ===== JLBMW SIDE ADS V1 =====
   Four small side-only ad positions. Existing slot IDs are re-used. */
.ad-side-slot{
  position:fixed !important;
  z-index:24 !important;
  width:240px !important;
  height:138px !important;
  max-width:240px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.ad-side-slot.ad-side-left-top{left:14px;top:118px}
.ad-side-slot.ad-side-right-top{right:14px;top:118px}
.ad-side-slot.ad-side-left-bottom{left:14px;top:276px}
.ad-side-slot.ad-side-right-bottom{right:14px;top:276px}
.ad-side-slot .ad-card,
.ad-side-slot .ad-card.full,
.ad-side-slot .ad-card.large,
.ad-side-slot .ad-card.medium,
.ad-side-slot .ad-card.small,
.ad-side-slot .ad-card.custom{
  width:240px !important;
  height:138px !important;
  max-width:240px !important;
  max-height:138px !important;
  min-width:0 !important;
  border-radius:12px !important;
  pointer-events:auto;
  background:#080a0d;
  box-shadow:0 10px 28px rgba(0,0,0,.32);
}
.ad-side-slot .ad-card img,
.ad-side-slot .ad-card video{
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#080a0d !important;
}
.ad-side-slot .ad-meta{left:6px!important;right:6px!important;bottom:6px!important;gap:5px!important}
.ad-side-slot .ad-title{font-size:9px!important;padding:5px 7px!important;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-side-slot .ad-cta{font-size:9px!important;padding:5px 7px!important}
@media (max-width:1199px) and (min-width:900px){
  .ad-side-slot{width:168px!important;height:98px!important;max-width:168px!important}
  .ad-side-slot.ad-side-left-top{left:8px;top:106px}
  .ad-side-slot.ad-side-right-top{right:8px;top:106px}
  .ad-side-slot.ad-side-left-bottom{left:8px;top:220px}
  .ad-side-slot.ad-side-right-bottom{right:8px;top:220px}
  .ad-side-slot .ad-card,
  .ad-side-slot .ad-card.full,
  .ad-side-slot .ad-card.large,
  .ad-side-slot .ad-card.medium,
  .ad-side-slot .ad-card.small,
  .ad-side-slot .ad-card.custom{width:168px!important;height:98px!important;max-width:168px!important;max-height:98px!important;border-radius:10px!important}
  .ad-side-slot .ad-meta{display:none!important}
}
@media (max-width:899px){.ad-side-slot{display:none!important}}

/* ===== FINAL HOME LAYOUT V1 =====
   Keep the existing homepage design. Add only:
   1) owner portrait on the right,
   2) ad #1 on the left,
   3) ad #2 at the top center. */
.home-main.home-final-layout{position:relative;isolation:isolate}
.home-main.home-final-layout>.brand-space,
.home-main.home-final-layout>.tagline,
.home-main.home-final-layout>.row-wrap,
.home-main.home-final-layout>.cta-row,
.home-main.home-final-layout>.gen-bar{position:relative;z-index:3}
.jl-home-portrait{
  position:absolute;
  z-index:2;
  right:clamp(18px,3.2vw,58px);
  bottom:82px;
  width:clamp(210px,25vw,350px);
  height:min(61vh,520px);
  pointer-events:none;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  opacity:.98;
  -webkit-mask-image:linear-gradient(to left,transparent 0,#000 10%,#000 94%,transparent 100%),linear-gradient(to top,transparent 0,#000 12%,#000 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to left,transparent 0,#000 10%,#000 94%,transparent 100%),linear-gradient(to top,transparent 0,#000 12%,#000 100%);
  mask-composite:intersect;
}
.jl-home-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 31%;filter:saturate(.96) contrast(1.02)}

/* Two ad positions only. */
.ad-side-slot{pointer-events:none!important;z-index:25!important;padding:0!important;margin:0!important}
.ad-side-slot.ad-final-left{
  position:fixed!important;
  left:16px!important;
  top:160px!important;
  width:188px!important;
  height:246px!important;
  max-width:188px!important;
}
.ad-side-slot.ad-final-top{
  position:fixed!important;
  left:50%!important;
  top:76px!important;
  transform:translateX(-50%)!important;
  width:330px!important;
  height:108px!important;
  max-width:330px!important;
}
.ad-side-slot.ad-final-left .ad-card,
.ad-side-slot.ad-final-left .ad-card.full,
.ad-side-slot.ad-final-left .ad-card.large,
.ad-side-slot.ad-final-left .ad-card.medium,
.ad-side-slot.ad-final-left .ad-card.small,
.ad-side-slot.ad-final-left .ad-card.custom{
  width:188px!important;height:246px!important;max-width:188px!important;max-height:246px!important;border-radius:13px!important;pointer-events:auto
}
.ad-side-slot.ad-final-top .ad-card,
.ad-side-slot.ad-final-top .ad-card.full,
.ad-side-slot.ad-final-top .ad-card.large,
.ad-side-slot.ad-final-top .ad-card.medium,
.ad-side-slot.ad-final-top .ad-card.small,
.ad-side-slot.ad-final-top .ad-card.custom{
  width:330px!important;height:108px!important;max-width:330px!important;max-height:108px!important;border-radius:13px!important;pointer-events:auto
}
.ad-side-slot.ad-final-left .ad-card img,.ad-side-slot.ad-final-left .ad-card video,
.ad-side-slot.ad-final-top .ad-card img,.ad-side-slot.ad-final-top .ad-card video{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#080a0d!important;max-height:none!important
}
.ad-side-slot.ad-final-top .ad-meta{display:none!important}

@media(max-width:1199px) and (min-width:900px){
  .ad-side-slot.ad-final-left{left:8px!important;top:145px!important;width:148px!important;height:196px!important;max-width:148px!important}
  .ad-side-slot.ad-final-left .ad-card,
  .ad-side-slot.ad-final-left .ad-card.full,
  .ad-side-slot.ad-final-left .ad-card.large,
  .ad-side-slot.ad-final-left .ad-card.medium,
  .ad-side-slot.ad-final-left .ad-card.small,
  .ad-side-slot.ad-final-left .ad-card.custom{width:148px!important;height:196px!important;max-width:148px!important;max-height:196px!important}
  .ad-side-slot.ad-final-top{top:68px!important;width:270px!important;height:88px!important;max-width:270px!important}
  .ad-side-slot.ad-final-top .ad-card,
  .ad-side-slot.ad-final-top .ad-card.full,
  .ad-side-slot.ad-final-top .ad-card.large,
  .ad-side-slot.ad-final-top .ad-card.medium,
  .ad-side-slot.ad-final-top .ad-card.small,
  .ad-side-slot.ad-final-top .ad-card.custom{width:270px!important;height:88px!important;max-width:270px!important;max-height:88px!important}
}

/* ===== JLBMW MOBILE ADS — single consolidated rule =====
   Replaces 4 overlapping breakpoint-specific ad-slot overrides
   (899/760/420/390px) that fought each other via source order.
   Fluid clamp() sizing scales smoothly across the whole mobile
   range instead of jumping at fixed breakpoints. */
@media(max-width:899px){
  .ad-side-slot.ad-final-top{
    display:flex!important;
    position:absolute!important;
    left:50%!important;right:auto!important;
    top:clamp(70px,11vw,96px)!important;
    transform:translateX(-50%)!important;
    width:clamp(156px,44vw,190px)!important;
    height:clamp(51px,15vw,62px)!important;
    max-width:clamp(156px,44vw,190px)!important;
    z-index:22!important;
  }
  .ad-side-slot.ad-final-left{
    display:flex!important;
    position:absolute!important;
    left:6px!important;right:auto!important;
    top:clamp(294px,34vw,315px)!important;
    width:clamp(62px,20vw,82px)!important;
    height:clamp(86px,27vw,112px)!important;
    max-width:clamp(62px,20vw,82px)!important;
    z-index:22!important;
  }
  .ad-side-slot.ad-final-top .ad-card,
  .ad-side-slot.ad-final-left .ad-card{
    width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border-radius:9px!important;
  }
  .ad-side-slot.ad-final-left .ad-meta,
  .ad-side-slot.ad-final-top .ad-meta{display:none!important}
}

/* ===== JLBMW MOBILE HOME FIX V1 =====
   Mobile-only correction. Desktop layout is untouched. */
@media (max-width:899px){
  /* Ad slot positioning is now handled by the single consolidated
     block above — nothing ad-related here anymore. */

  /* Remove the large empty mobile gap left by the desktop composition. */
  .brand-space{flex-basis:8vh!important;min-height:24px!important}
  main.home-main{gap:9px!important;padding-left:12px!important;padding-right:12px!important}

  /* Compact the header without changing its content. */
  .topbar{padding:10px 10px!important}
  .topbar-left{gap:6px!important;min-width:0}
  .topbar-right{gap:5px!important}
  .brand-mark{font-size:13px!important;line-height:1!important;letter-spacing:.055em!important}
  .brand-mark .dot{width:6px!important;height:6px!important}
  .lang-switch{gap:2px!important;padding:3px!important}
  .lang-switch button{font-size:9px!important;padding:5px 7px!important}
  .whatsapp-circle,.admin-toggle{width:31px!important;height:31px!important;min-width:31px!important}
}

@media (max-width:420px){
  .offers-btn{font-size:10px!important;padding:6px 8px!important}
}

/* ===== JLBMW MOBILE PERFECT V2 — 2026-08-28 =====
   Mobile-only polish. Desktop stays unchanged.
   - no overlapping header controls
   - smaller centered hero logo/background
   - owner portrait stays on the right without covering the title
   - exact JL mark from the site's own hero artwork is overlaid on the shirt
   - CTA/map remains above the sticky contact dock and clickable
   - mobile pages can scroll naturally
*/
.jl-home-portrait .jl-owner-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 31%;
  filter:saturate(.96) contrast(1.02);
}
@media (max-width:760px){
  html{min-height:100%;background:#040507}
  body{
    height:auto!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding-bottom:0!important;
  }
  #app{height:auto!important;min-height:100vh!important;min-height:100dvh!important;overflow:visible!important}
  .hero-bg{
    flex:none!important;
    width:100%!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    height:auto!important;
    overflow:visible!important;
    background-size:min(88vw,340px) auto!important;
    background-position:center 128px!important;
    background-repeat:no-repeat!important;
  }

  /* Header: one clean controls row + Offers on a second line. */
  .topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"brand controls" "offers offers"!important;
    align-items:center!important;
    row-gap:7px!important;
    column-gap:8px!important;
    padding:9px 10px 7px!important;
    min-height:82px!important;
  }
  .topbar-left{display:contents!important}
  .brand-mark{
    grid-area:brand!important;
    justify-self:start!important;
    white-space:nowrap!important;
    min-width:0!important;
    font-size:13px!important;
    line-height:1!important;
    letter-spacing:.055em!important;
    gap:6px!important;
  }
  .brand-mark .dot{width:6px!important;height:6px!important}
  .offers-wrap{grid-area:offers!important;justify-self:start!important;position:relative!important}
  .offers-btn{
    font-size:10.5px!important;
    line-height:1!important;
    padding:7px 10px!important;
    min-height:30px!important;
    max-width:165px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .topbar-right{
    grid-area:controls!important;
    justify-self:end!important;
    gap:4px!important;
    min-width:0!important;
  }
  .lang-switch{gap:1px!important;padding:3px!important}
  .lang-switch button{font-size:9px!important;line-height:1!important;padding:6px 7px!important;min-width:30px!important}
  .whatsapp-circle,.admin-toggle{width:30px!important;height:30px!important;min-width:30px!important}
  .whatsapp-circle svg{width:16px!important;height:16px!important}
  .offers-wrap.open .offers-menu{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    top:86px!important;
    width:auto!important;
    max-height:calc(100dvh - 104px)!important;
    grid-template-columns:1fr!important;
    border-radius:14px!important;
    padding:8px!important;
    z-index:120!important;
  }
  .offer-item{padding:9px 10px!important}
  .offer-item .ot{font-size:12px!important}
  .offer-item .od{font-size:10px!important}

  main.home-main{
    flex:none!important;
    min-height:calc(100dvh - 82px)!important;
    height:auto!important;
    overflow:visible!important;
    gap:9px!important;
    padding:0 14px 88px!important;
  }
  .brand-space{
    flex:none!important;
    height:330px!important;
    min-height:330px!important;
  }
  .tagline{
    text-align:left!important;
    padding:0 132px 0 4px!important;
    min-height:210px!important;
  }
  .tagline h1{
    font-size:21px!important;
    line-height:1.12!important;
    letter-spacing:.01em!important;
    margin:0!important;
  }
  .tagline p{
    font-size:11px!important;
    line-height:1.35!important;
    margin-top:7px!important;
  }
  .cta-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    position:relative!important;
    z-index:8!important;
  }
  .cta-btn{
    min-height:52px!important;
    padding:10px 7px!important;
    font-size:11.5px!important;
    line-height:1.1!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .gen-bar{
    font-size:9px!important;
    letter-spacing:.21em!important;
    line-height:1.2!important;
    padding:3px 0 4px!important;
    white-space:nowrap!important;
  }

  /* Portrait sits beside the tagline text — vertically aligned to that
     block only, so it can never reach down into the CTA buttons below. */
  .jl-home-portrait{
    display:flex!important;
    position:absolute!important;
    left:auto!important;
    right:5px!important;
    top:328px!important;
    bottom:auto!important;
    width:124px!important;
    height:200px!important;
    opacity:.98!important;
    z-index:4!important;
    overflow:hidden!important;
    -webkit-mask-image:linear-gradient(to top,transparent 0,#000 12%,#000 100%)!important;
    mask-image:linear-gradient(to top,transparent 0,#000 12%,#000 100%)!important;
  }
  .jl-home-portrait .jl-owner-photo{object-position:center 28%!important}

  /* Compact sticky contact dock, with real space reserved beneath page content. */
  .mobile-dock{
    display:grid!important;
    left:7px!important;
    right:7px!important;
    bottom:max(7px,env(safe-area-inset-bottom))!important;
    z-index:100!important;
    gap:4px!important;
    padding:5px!important;
    border-radius:14px!important;
    pointer-events:auto!important;
  }
  .mobile-dock a{
    padding:9px 4px!important;
    min-height:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:11px!important;
    pointer-events:auto!important;
    position:relative!important;
    z-index:101!important;
  }
  body.scroll-page{padding-bottom:86px!important}
  main.page-main{padding-bottom:104px!important}
  .page-inner{padding-left:14px!important;padding-right:14px!important}

  /* Reviews and other long pages: no portrait/card collisions. */
  .reviews-split{height:auto!important;min-height:calc(100dvh - 92px)!important;overflow:visible!important}
  .reviews-right{height:245px!important;min-height:245px!important;overflow:hidden!important}
  .reviews-right img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}
  .reviews-left{overflow:visible!important;padding:18px 14px 105px!important}
}

@media (max-width:390px){
  .brand-mark{font-size:12px!important}
  .lang-switch button{padding:6px 5px!important;min-width:27px!important}
  .offers-btn{max-width:145px!important;font-size:10px!important}
  .hero-bg{background-size:90vw auto!important;background-position:center 130px!important}
  .brand-space{height:318px!important;min-height:318px!important}
  .tagline{padding-right:100px!important}
  .tagline h1{font-size:19px!important}
}




/* ===== JLBMW FINAL MOBILE/ADS POLISH — 2026-08-31 ===== */
.ad-card[data-whatsapp-ad="1"]{cursor:pointer;outline:none}
.ad-card[data-whatsapp-ad="1"]:focus-visible{box-shadow:0 0 0 2px rgba(68,123,255,.9),0 16px 40px rgba(0,0,0,.28)}
.ad-card[data-whatsapp-ad="1"] .ad-cta{background:#21c563;color:#07140b;font-weight:800}


/* ===== AD AUTO-FIT V5 ===== */
.ad-autofit-note{display:block;margin:5px 0 10px;color:#8edfff;font:600 10px/1.45 'IBM Plex Sans',sans-serif}
.ad-card[data-whatsapp-ad="1"] img{display:block}

/* ===== JL MOBILE PREMIUM 10/10 — 2026-08-31 =====
   Mobile homepage redesign only. Desktop (>=761px) is intentionally untouched. */
.jl-mobile-premium{display:none}
.mp-services-sheet{display:none}

@media (max-width:760px){
  :root{--mp-blue:#0878ff;--mp-blue2:#0d55df;--mp-gold:#d8aa35;--mp-card:#0d1015;--mp-line:#252b35}
  body:not(.scroll-page){background:#020305!important}
  body:not(.scroll-page) .hero-bg{
    background:
      radial-gradient(circle at 78% 24%,rgba(8,91,255,.12),transparent 27%),
      radial-gradient(circle at 93% 31%,rgba(192,27,42,.08),transparent 22%),
      linear-gradient(180deg,#020305 0%,#05070a 54%,#020305 100%)!important;
    filter:none!important;
    min-height:auto!important;
  }

  /* Header exactly like the approved mobile concept. */
  body:not(.scroll-page) .topbar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:70px!important;
    padding:10px 14px 8px!important;
    gap:8px!important;
    border-bottom:1px solid rgba(255,255,255,.035)!important;
  }
  body:not(.scroll-page) .topbar-left{display:flex!important;align-items:center!important;min-width:0!important;flex:1 1 auto!important}
  body:not(.scroll-page) .offers-wrap{display:none!important}
  body:not(.scroll-page) .admin-toggle{display:none!important}
  body:not(.scroll-page) .brand-mark{
    width:clamp(132px,40vw,176px)!important;
    height:50px!important;
    flex:0 1 auto!important;
    font-size:0!important;
    gap:0!important;
    background:url('/assets/mobile-brand-logo.jpg?v=mobile10') center/contain no-repeat!important;
    border:0!important;
  }
  body:not(.scroll-page) .brand-mark .dot{display:none!important}
  body:not(.scroll-page) .topbar-right{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
  body:not(.scroll-page) .lang-switch{
    gap:0!important;padding:3px!important;border-color:#2b3039!important;background:#0d1015!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)!important
  }
  body:not(.scroll-page) .lang-switch button{
    min-width:34px!important;padding:7px 8px!important;font-size:10px!important;border-radius:999px!important
  }
  body:not(.scroll-page) .lang-switch button.active{background:linear-gradient(145deg,#086fe8,#1857cc)!important;box-shadow:0 0 0 1px rgba(74,142,255,.32)!important}
  body:not(.scroll-page) .whatsapp-circle{
    width:38px!important;height:38px!important;min-width:38px!important;background:#06170d!important;color:#22dc72!important;
    border:1px solid rgba(34,220,114,.55)!important;box-shadow:0 0 18px rgba(34,220,114,.08)!important
  }
  body:not(.scroll-page) .whatsapp-circle svg{width:21px!important;height:21px!important}

  /* Hide the old mobile homepage composition; keep it intact for desktop. */
  body:not(.scroll-page) main.home-main{
    display:block!important;min-height:0!important;height:auto!important;padding:0 12px 104px!important;overflow:visible!important
  }
  body:not(.scroll-page) main.home-main> :not(.jl-mobile-premium){display:none!important}
  .jl-mobile-premium{display:block;width:100%;max-width:480px;margin:0 auto;position:relative;z-index:4;padding-top:8px}

  /* Hero copy + portrait */
  .mp-intro{position:relative;min-height:390px;padding:18px 42% 0 4px;overflow:hidden}
  .mp-title{font-family:'IBM Plex Sans',sans-serif;font-weight:800;font-size:clamp(27px,7.1vw,34px);line-height:1.23;letter-spacing:-.02em;color:#f8f9fb;text-shadow:0 4px 20px rgba(0,0,0,.45)}
  .mp-title .blue{color:#087cff}
  .mp-title-rule{display:block;width:28px;height:3px;background:#087cff;border-radius:99px;margin:16px 0 15px;box-shadow:0 0 14px rgba(8,124,255,.28)}
  .mp-lead{color:#9ca5b2;font-size:12.5px;line-height:1.58;max-width:235px}
  .mp-owner{
    position:absolute;right:-9px;top:14px;width:46%;height:330px;object-fit:cover;object-position:center 24%;
    border-radius:0;filter:saturate(.95) contrast(1.04);
    -webkit-mask-image:linear-gradient(to left,transparent 0,#000 10%,#000 100%),linear-gradient(to top,transparent 0,#000 12%,#000 100%);
    -webkit-mask-composite:source-in;mask-image:linear-gradient(to left,transparent 0,#000 10%,#000 100%),linear-gradient(to top,transparent 0,#000 12%,#000 100%);mask-composite:intersect
  }
  .mp-tags{position:absolute;left:4px;right:4px;bottom:7px;display:flex;flex-wrap:wrap;gap:7px 10px;max-width:92%;color:#c3c9d2;font-family:'IBM Plex Mono',monospace;font-size:9.5px;letter-spacing:.01em;text-transform:uppercase}
  .mp-tag{display:flex;align-items:center;gap:5px;white-space:nowrap}
  .mp-tag i{font-style:normal;color:#087cff;font-size:13px}.mp-tag+.mp-tag:before{content:'|';color:#096ef0;margin-right:1px}

  /* Central JL + BMW visual from the approved concept. */
  .mp-stage{position:relative;height:220px;margin:0 -3px 10px;overflow:hidden;border-radius:18px;background:linear-gradient(180deg,#020305,#03070c 68%,#020305)}
  .mp-stage:before,.mp-stage:after{content:'';position:absolute;top:66px;width:2px;height:90px;background:linear-gradient(180deg,transparent,#0a8cff 34%,#0a8cff 70%,transparent);box-shadow:0 0 16px #087cff;opacity:.72}
  .mp-stage:before{left:13px}.mp-stage:after{right:13px}
  .mp-mark{position:absolute;z-index:2;left:50%;top:4px;transform:translateX(-50%);width:52%;height:108px;object-fit:contain;mix-blend-mode:screen}
  .mp-car{position:absolute;left:0;right:0;bottom:0;width:100%;height:168px;object-fit:cover;object-position:center bottom;filter:contrast(1.05) brightness(.92)}
  .mp-stage-shade{position:absolute;z-index:3;left:0;right:0;bottom:0;height:50px;background:linear-gradient(180deg,transparent,#030406 88%);pointer-events:none}

  /* Four premium action cards. */
  .mp-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 13px}
  .mp-card{
    min-height:86px;border:1px solid var(--mp-line);border-radius:13px;background:linear-gradient(145deg,#11151b,#090b0f);
    color:#f4f6f8;text-decoration:none;padding:13px 13px 11px;display:grid;grid-template-columns:38px 1fr 16px;align-items:center;gap:8px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.015);cursor:pointer;position:relative;overflow:hidden
  }
  .mp-card:active{transform:scale(.985)}
  .mp-card.primary{border-color:#166fe7;background:linear-gradient(145deg,#0b63e5,#123cb6);box-shadow:0 12px 28px rgba(0,87,255,.16)}
  .mp-card.gold{border-color:rgba(220,171,50,.55);background:linear-gradient(145deg,rgba(95,66,9,.47),rgba(20,15,7,.94));color:#e9bb4a}
  .mp-card-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(8,121,255,.13);border:1px solid rgba(8,121,255,.2);color:#0b7cff;font-size:19px;font-weight:800}
  .mp-card.primary .mp-card-icon{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}
  .mp-card.gold .mp-card-icon{background:rgba(218,169,47,.08);border-color:rgba(218,169,47,.17);color:#e4b23b}
  .mp-card-copy b{display:block;font-size:14px;line-height:1.18;font-weight:800;color:inherit}.mp-card-copy small{display:block;color:#8f99a7;font-size:10px;line-height:1.35;margin-top:5px}.mp-card.primary .mp-card-copy small{color:#b9d1ff}.mp-card.gold .mp-card-copy small{color:#aa9668}
  .mp-card-arrow{font-size:23px;color:#aeb6c0;font-weight:300;line-height:1}.mp-card.gold .mp-card-arrow{color:#cba03b}

  /* One integrated advertisement on mobile only. */
  .mp-ad-host{display:none;margin:2px 0 10px;min-height:0}
  .mp-ad-host.has-ad{display:block}
  .mp-ad-host .ad-slot,
  .mp-ad-host .ad-side-slot,
  .mp-ad-host .ad-mobile-premium{
    display:block!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    transform:none!important;width:100%!important;height:auto!important;max-width:none!important;padding:0!important;margin:0!important;z-index:5!important;pointer-events:auto!important
  }
  .mp-ad-host .ad-card,
  .mp-ad-host .ad-card.full,.mp-ad-host .ad-card.large,.mp-ad-host .ad-card.medium,.mp-ad-host .ad-card.small,.mp-ad-host .ad-card.custom{
    width:100%!important;height:auto!important;min-height:132px!important;max-width:none!important;max-height:none!important;border-radius:14px!important;
    border:1px solid rgba(217,169,49,.58)!important;background:#080a0d!important;box-shadow:0 14px 36px rgba(0,0,0,.22)!important;overflow:hidden!important
  }
  .mp-ad-host .ad-card img,.mp-ad-host .ad-card video{width:100%!important;height:auto!important;min-height:132px!important;max-height:190px!important;object-fit:contain!important;background:#080a0d!important}
  .mp-ad-host .ad-meta{display:flex!important;left:10px!important;right:10px!important;bottom:9px!important;z-index:3!important}
  .mp-ad-host .ad-title{font-size:10px!important;background:rgba(2,3,5,.76)!important;border:1px solid rgba(255,255,255,.08)!important;color:#fff!important;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mp-ad-host .ad-cta{font-size:10px!important;background:#20c965!important;color:#06110a!important}

  /* Mobile services drawer triggered by the 4th card. */
  .mp-services-sheet{position:fixed;inset:0;z-index:180;background:rgba(0,0,0,.74);backdrop-filter:blur(8px);padding:74px 12px 94px;overflow:auto}
  .mp-services-sheet.open{display:block}
  .mp-services-panel{max-width:480px;margin:0 auto;background:#0a0d12;border:1px solid #282e38;border-radius:18px;padding:14px;box-shadow:0 24px 70px rgba(0,0,0,.6)}
  .mp-services-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.mp-services-head b{font-size:17px}.mp-services-close{width:34px;height:34px;border-radius:50%;border:1px solid #2b313b;background:#12161c;color:#dfe5ec;font-size:20px;cursor:pointer}
  .mp-services-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mp-service-link{display:block;text-decoration:none;padding:11px;border:1px solid #252b34;border-radius:11px;background:#0f1318;color:#eef1f5;font-size:11px;line-height:1.25}.mp-service-link span{display:block;color:#087cff;font:700 9px 'IBM Plex Mono',monospace;margin-bottom:4px}

  /* Dock: icon + text, like the approved concept. */
  .mobile-dock{left:8px!important;right:8px!important;bottom:max(7px,env(safe-area-inset-bottom))!important;padding:5px!important;gap:5px!important;border-radius:15px!important;background:rgba(7,9,13,.94)!important;border-color:#282e38!important;box-shadow:0 16px 45px rgba(0,0,0,.58)!important}
  .mobile-dock a{min-height:46px!important;padding:8px 5px!important;font-size:12px!important;gap:6px!important;border-radius:11px!important;background:#11151b!important;color:#f4f6f8!important;text-transform:none!important}
  .mobile-dock a:first-child{background:linear-gradient(140deg,#129b50,#22d36f)!important;color:white!important}
  .mobile-dock .dock-ico{display:inline-grid;place-items:center;width:18px;height:18px;font-size:17px;line-height:1}

  @media(max-width:390px){
    body:not(.scroll-page) .topbar{padding-left:10px!important;padding-right:10px!important}
    body:not(.scroll-page) .brand-mark{width:128px!important;height:46px!important}
    body:not(.scroll-page) .lang-switch button{min-width:29px!important;padding:7px 5px!important;font-size:9px!important}
    body:not(.scroll-page) .whatsapp-circle{width:35px!important;height:35px!important;min-width:35px!important}
    .mp-intro{padding-right:39%;min-height:366px}.mp-owner{width:45%;height:310px;right:-12px}.mp-title{font-size:25px}.mp-lead{font-size:11.5px}.mp-tags{gap:6px 7px;font-size:8.7px}.mp-stage{height:205px}.mp-car{height:158px}.mp-mark{width:54%;height:102px}.mp-card{min-height:82px;padding:11px 10px;grid-template-columns:34px 1fr 12px;gap:7px}.mp-card-icon{width:33px;height:33px}.mp-card-copy b{font-size:12.7px}.mp-card-copy small{font-size:9.3px}
  }
}
