*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f7f7fb;color:#12121a}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}img{max-width:100%;display:block}.wrap{width:min(1280px,calc(100% - 32px));margin:auto}.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid #ececf2;backdrop-filter:blur(12px)}.navin{height:72px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:24px}.brandmark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#6d28d9;color:#fff}.navlinks{display:flex;gap:24px;margin-left:auto}.navlinks a{color:#30303a}.actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:11px 16px;border:1px solid transparent;cursor:pointer;font-weight:800;background:white;transition:.15s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:#6d28d9;color:white}.btn.soft{background:#f0e9ff;color:#6d28d9}.btn.outline{border-color:#dedee7;background:white}.btn.dark{background:#17171f;color:white}.btn.danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}.btn.small{padding:8px 10px;border-radius:10px;font-size:13px}.btn.big{padding:14px 22px;font-size:16px}.page{padding:34px 0 80px}.hero{margin-top:28px;background:linear-gradient(120deg,#101016,#18131f);color:white;border-radius:28px;padding:62px 54px;display:grid;grid-template-columns:1.5fr .7fr;align-items:center;min-height:390px}.badge{display:inline-block;background:#f1e9ff;color:#6d28d9;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.hero h1{font-size:54px;line-height:1.02;margin:12px 0 20px;letter-spacing:-2px}.hero h1 span{background:linear-gradient(90deg,#8b5cf6,#ec4899);-webkit-background-clip:text;color:transparent}.hero p{max-width:680px;font-size:18px;color:#d6d3dc;line-height:1.6}.heroart{font-size:120px;text-align:center}.search{display:flex;background:white;border-radius:15px;padding:6px;max-width:680px;margin-top:28px}.search input{flex:1;border:0;outline:0;padding:12px 14px}.promo{margin-top:22px;background:white;border:1px solid #e9e9f0;border-radius:20px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.promo h2{margin:0 0 6px}.promo p{margin:0;color:#646471}.section{padding-top:28px}.sectop{display:flex;justify-content:space-between;align-items:center}.grid{display:grid;gap:16px}.cats{grid-template-columns:repeat(8,1fr)}.cat{background:white;border:1px solid #e5e5ee;border-radius:18px;padding:24px 12px;text-align:center;min-height:126px;display:grid;place-items:center}.cat .ic{font-size:29px}.shops{grid-template-columns:repeat(4,1fr)}.shopcard{background:white;border:1px solid #e5e5ee;border-radius:18px;padding:18px}.shoprow{display:flex;gap:12px;align-items:center}.logo,.storelogo{width:48px;height:48px;border-radius:14px;background:#ede9fe;color:#6d28d9;display:grid;place-items:center;font-weight:900}.products{grid-template-columns:repeat(5,1fr)}.product{background:white;border:1px solid #e5e5ee;border-radius:18px;padding:12px}.prodimg,.bigimg{background:#f1f1f5;border-radius:14px;overflow:hidden;display:grid;place-items:center}.prodimg{aspect-ratio:1/1}.prodimg img,.bigimg img{width:100%;height:100%;object-fit:cover}.emoji{font-size:54px}.pname{font-weight:800;margin-top:10px}.price{font-weight:900;margin-top:7px}.price.large{font-size:28px}.old{text-decoration:line-through;color:#9b9ba5;font-weight:500;margin-left:8px;font-size:.8em}.muted{color:#777783}.panel{background:white;border:1px solid #e6e6ee;border-radius:20px;padding:22px}.auth{max-width:520px;margin:auto}.auth.wide,.formpanel{max-width:860px;margin:auto}.field{display:flex;flex-direction:column;gap:7px}.field label{font-weight:800;font-size:14px}.field input,.field textarea,.field select,.inlineform input,.rowactions select,.table input,.table select{width:100%;border:1px solid #dcdce6;border-radius:11px;padding:11px 12px;background:white;outline:none}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #ede9fe}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.fullbtn{width:100%}.flash{padding:13px 15px;border-radius:12px;margin-bottom:16px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.flash.warn{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.link{color:#6d28d9;font-weight:700}.footer{padding:28px 0;border-top:1px solid #e7e7ee;color:#777783;background:white}.mobilebar{display:none}.noticebell{position:relative}.count{position:absolute;right:-5px;top:-7px;background:#ef4444;color:white;border-radius:999px;font-size:10px;min-width:18px;height:18px;display:grid;place-items:center}.adminlayout{display:grid;grid-template-columns:260px 1fr;gap:22px}.sidebar{min-width:0}.side{position:sticky;top:92px;background:white;border:1px solid #e5e5ed;border-radius:20px;padding:14px;display:grid;gap:5px}.side a{padding:13px 14px;border-radius:12px;font-weight:800;display:flex;justify-content:space-between;align-items:center}.side a:hover,.side a.active{background:#f0e9ff;color:#6d28d9}.pill{background:#6d28d9;color:#fff;border-radius:999px;padding:2px 7px;font-size:11px}.adminmain{min-width:0}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.pagehead h1,.pagehead h3{margin:0}.pagehead p{margin:5px 0 0}.pagehead.compact{margin-bottom:12px}.stats{grid-template-columns:repeat(4,1fr)}.stat{background:white;border:1px solid #e5e5ed;border-radius:18px;padding:20px}.stat span{display:block;color:#777783}.stat b{display:block;font-size:32px;margin-top:6px}.quick,.rowactions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.mt12{margin-top:12px}.mt20{margin-top:20px}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th,.table td{text-align:left;padding:14px 10px;border-bottom:1px solid #eeeeF3;vertical-align:middle}.table th{font-size:12px;text-transform:uppercase;color:#777783}.status{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}.status.ok{background:#dcfce7;color:#166534}.status.pending{background:#ffedd5;color:#9a3412}.status.info{background:#ede9fe;color:#6d28d9}.check{display:flex;align-items:center;gap:9px;font-weight:700}.check.block{padding:12px 0}.stickybar{position:sticky;bottom:14px;margin-top:18px;background:rgba(255,255,255,.93);backdrop-filter:blur(10px);border:1px solid #e4e4ec;border-radius:15px;padding:10px;display:flex;justify-content:flex-end}.inlineform{display:grid;grid-template-columns:90px 1fr 130px auto;gap:10px}.miniinput{max-width:85px}.vendorgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.vendorproduct{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #efeff4}.productdetail{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start}.bigimg{aspect-ratio:1/1}.productdetail hr{border:0;border-top:1px solid #ececf2}.storehero{background:linear-gradient(120deg,var(--store,#6d28d9),#111827);color:white;border-radius:24px;padding:34px}.storeinfo{display:flex;gap:18px;align-items:flex-start}.storelogo{width:72px;height:72px;font-size:22px;background:white}.storeinfo h1{margin:0 0 5px}.notification{display:block;padding:16px 0;border-bottom:1px solid #eeeeF3}.notification b{display:block;margin-bottom:4px}
@media(max-width:1000px){.cats{grid-template-columns:repeat(4,1fr)}.shops{grid-template-columns:repeat(2,1fr)}.products{grid-template-columns:repeat(3,1fr)}.hero h1{font-size:44px}.adminlayout{grid-template-columns:1fr}.side{position:static;display:flex;overflow:auto}.side a{white-space:nowrap}.stats{grid-template-columns:repeat(2,1fr)}.vendorgrid{grid-template-columns:1fr}}
@media(max-width:720px){.wrap{width:min(100% - 22px,1280px)}.navin{height:64px}.navlinks{display:none}.actions .btn:not(.primary):not(.soft){display:none}.hero{grid-template-columns:1fr;padding:34px 24px;border-radius:22px}.hero h1{font-size:38px;letter-spacing:-1px}.heroart{display:none}.promo{align-items:flex-start;flex-direction:column}.cats{grid-template-columns:repeat(2,1fr)}.shops,.products{grid-template-columns:repeat(2,1fr)}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.stats{grid-template-columns:1fr 1fr}.pagehead{align-items:flex-start;flex-direction:column}.inlineform{grid-template-columns:70px 1fr}.inlineform input[type=number]{grid-column:1/2}.inlineform button{grid-column:2/3}.productdetail{grid-template-columns:1fr}.mobilebar{display:grid;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e6e6ee;z-index:70;padding-bottom:max(4px,env(safe-area-inset-bottom))}.mobilebar a{text-align:center;font-size:10px;padding:8px 2px}.mobilebar b{display:block;font-size:18px}.footer{padding-bottom:78px}.vendorproduct{align-items:flex-start;flex-direction:column}}

/* ShopLink v4 storefront + ad upgrades */
.brandimg{overflow:hidden;padding:0}.brandimg img{width:100%;height:100%;object-fit:cover;display:block}
.uploadpreview{margin-top:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.uploadpreview img{width:78px;height:78px;border-radius:14px;object-fit:cover;border:1px solid #e5e7eb}.uploadpreview.coverprev img{width:180px;height:90px;border-radius:12px}
.logo img,.storelogo img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.shopcovermini{height:90px;margin:-18px -18px 14px;overflow:hidden;border-radius:16px 16px 0 0}.shopcovermini img{width:100%;height:100%;object-fit:cover}.tiny{font-size:12px;margin-top:3px}
.heroart img{max-width:330px;max-height:260px;width:100%;height:100%;object-fit:contain;border-radius:24px}.promoimg{width:110px;height:80px;overflow:hidden;border-radius:14px;flex:0 0 auto}.promoimg img{width:100%;height:100%;object-fit:cover}
.adspace{margin:22px 0;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px;display:flex;align-items:center;gap:20px;box-shadow:0 8px 25px rgba(17,24,39,.04)}.adimage{width:220px;height:120px;border-radius:14px;overflow:hidden;flex:0 0 auto}.adimage img{width:100%;height:100%;object-fit:cover}.adcopy{flex:1}.adcopy h3{margin:4px 0 7px}.adcopy p{margin:0 0 12px;color:#6b7280}.adlabel{font-size:10px;letter-spacing:.14em;color:#6b7280;font-weight:800}
.storecover{min-height:300px;border-radius:26px;background:linear-gradient(135deg,var(--store),var(--accent));background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:32px;color:#fff;overflow:hidden}.storeoverlay{width:100%}.storecover h1{margin:6px 0 4px;font-size:42px}.storetag{font-size:18px;margin:4px 0 10px;color:rgba(255,255,255,.92)}.storelogo.big{width:100px;height:100px;border:4px solid rgba(255,255,255,.75);font-size:28px;background:#fff;color:#111}.storeoverlay .storelogo.big img{border-radius:50%}.statusbadge{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);font-size:12px;font-weight:800;text-transform:uppercase}.storecontent{margin-top:20px}.storeabout{display:grid;grid-template-columns:1.5fr 1fr;gap:28px}.storefacts{border-left:1px solid #e5e7eb;padding-left:24px}.storefacts p{color:#4b5563;line-height:1.55}.categoryrow{display:grid;grid-template-columns:90px minmax(180px,1fr) 100px 100px auto;gap:10px;align-items:center}.inline-delete{display:inline-block;margin-top:8px}
@media(max-width:760px){.adspace{display:block}.adimage{width:100%;height:160px;margin-bottom:14px}.storeabout{grid-template-columns:1fr}.storefacts{border-left:0;border-top:1px solid #e5e7eb;padding-left:0;padding-top:18px}.storecover{padding:22px;min-height:250px}.storecover h1{font-size:32px}.categoryrow{grid-template-columns:70px 1fr}.categoryrow>*{min-width:0}.promoimg{width:80px}}


/* ShopLink v5 dynamic branding */
body{background:var(--brand-background,#f7f7fb);color:var(--brand-text,#12121a)}
.nav,.footer,.mobilebar,.panel,.stat,.side,.promo,.cat,.shopcard,.product{background:var(--brand-surface,#fff)}
.brandmark,.btn.primary,.pill{background:var(--brand-primary,#6d28d9)}
.btn.soft{background:color-mix(in srgb,var(--brand-primary,#6d28d9) 12%,white);color:var(--brand-primary,#6d28d9)}
.link,.side a:hover,.side a.active{color:var(--brand-primary,#6d28d9)}
.side a:hover,.side a.active{background:color-mix(in srgb,var(--brand-primary,#6d28d9) 10%,white)}
.logo,.storelogo{background:color-mix(in srgb,var(--brand-primary,#6d28d9) 12%,white);color:var(--brand-primary,#6d28d9)}
.badge{background:color-mix(in srgb,var(--brand-primary,#6d28d9) 12%,white);color:var(--brand-primary,#6d28d9)}
.hero{background:linear-gradient(120deg,var(--brand-hero,#101016),color-mix(in srgb,var(--brand-secondary,#8b5cf6) 28%,var(--brand-hero,#101016)));color:var(--brand-hero-text,#fff)}
.hero h1 span{background:linear-gradient(90deg,var(--brand-secondary,#8b5cf6),var(--brand-accent,#ec4899));-webkit-background-clip:text;color:transparent}
.btn,.field input,.field textarea,.field select,.inlineform input,.rowactions select,.table input,.table select{border-radius:var(--brand-radius,12px)}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--brand-secondary,#8b5cf6);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary,#6d28d9) 12%,transparent)}
.status.info{background:color-mix(in srgb,var(--brand-primary,#6d28d9) 12%,white);color:var(--brand-primary,#6d28d9)}
.colorfield{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center}.colorfield input[type=color]{width:56px;height:46px;padding:3px;border:1px solid #dcdce6;border-radius:10px;background:white;cursor:pointer}.brandpreview{display:flex;gap:14px;align-items:center;padding:16px;border:1px solid #e5e5ed;border-radius:16px}.previewbar{width:120px;height:54px;border-radius:14px;background:linear-gradient(90deg,var(--p),var(--s),var(--a));flex:none}

/* ShopLink v6 site identity/footer + production refinements */
.customfooter{background:var(--footer-bg,#fff);color:var(--footer-text,#777783)}
.footergrid{display:flex;align-items:center;justify-content:space-between;gap:24px}
.footeridentity{display:flex;align-items:center;gap:12px;min-width:0}.footerlogo{width:48px;height:48px;object-fit:contain;border-radius:12px}.footersite{display:block;color:var(--brand-text,#12121a);font-size:16px}.footerdesc{margin-top:4px;line-height:1.45}.footermeta{text-align:right;display:grid;gap:5px;font-size:13px}.footermeta a{color:var(--brand-primary,#6d28d9);font-weight:800}
.hero:not(:has(.heroart)){grid-template-columns:1fr}.hero:not(:has(.heroart))>div:first-child{max-width:860px}
@media(max-width:720px){.footergrid{align-items:flex-start;flex-direction:column}.footermeta{text-align:left}.footeridentity{align-items:flex-start}}

/* ShopLink v7 responsive/mobile-first hotfix */
html,body{max-width:100%;overflow-x:hidden}
.hero{width:100%;max-width:100%;min-width:0;overflow:hidden;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);gap:32px}
.hero>div{min-width:0}
.hero h1{font-size:clamp(2.4rem,4.6vw,3.375rem);overflow-wrap:break-word;word-break:normal}
.hero p{max-width:100%;overflow-wrap:break-word}
.heroart{min-width:0;display:flex;align-items:center;justify-content:center}
.heroart img{width:min(100%,330px);height:auto;max-height:280px;object-fit:contain}
.search{width:100%;min-width:0;max-width:680px}
.search input{min-width:0;width:100%}
.promo>*{min-width:0}
.shoprow>div:last-child{min-width:0}.shoprow b,.tiny,.muted{overflow-wrap:anywhere}

@media(max-width:820px){
  .hero{grid-template-columns:1fr;padding:40px 30px;gap:26px;min-height:0}
  .hero h1{font-size:clamp(2.2rem,7vw,3rem);line-height:1.08;letter-spacing:-1.2px}
  .hero p{font-size:17px}
  .heroart{display:flex}
  .heroart img{width:min(100%,420px);max-height:300px}
}

@media(max-width:720px){
  .wrap{width:calc(100% - 24px);max-width:1280px}
  .navin{height:auto;min-height:64px;padding:9px 0;gap:10px}
  .brand{font-size:clamp(19px,6vw,24px);min-width:0;max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brandmark{width:40px;height:40px;flex:0 0 40px}
  .actions{margin-left:auto;gap:7px;flex:0 0 auto}
  .actions .btn{padding:10px 13px;font-size:14px}
  .actions .btn:not(.primary):not(.soft){display:none}

  .hero{margin-top:16px;padding:28px 20px 24px;border-radius:22px;gap:22px;min-height:0;align-items:start}
  .hero .badge{font-size:11px;padding:5px 9px;max-width:100%;white-space:normal}
  .hero h1{font-size:clamp(2rem,10vw,2.75rem);line-height:1.07;letter-spacing:-1px;margin:11px 0 16px}
  .hero p{font-size:16px;line-height:1.52;margin:0}
  .heroart{display:flex;order:2;width:100%;padding-top:2px}
  .heroart img{width:100%;max-width:360px;max-height:240px;height:auto;object-fit:contain;border-radius:18px}
  .search{display:grid;grid-template-columns:1fr;margin-top:20px;padding:5px;border-radius:14px;gap:6px;background:white;overflow:hidden}
  .search input{width:100%;min-width:0;padding:13px 12px;font-size:16px;border-radius:10px}
  .search .btn{width:100%;min-height:46px}

  .promo{padding:18px;border-radius:18px;gap:14px}
  .promoimg{width:100%;height:auto;aspect-ratio:16/8;max-height:190px}
  .promo .btn{width:100%}
  .section{padding-top:22px}
  .sectop h2{font-size:22px;margin:0 0 12px}
  .cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cat{min-width:0;min-height:110px;padding:17px 8px;border-radius:16px}
  .shops,.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .shopcard,.product{min-width:0}
  .shopcard{padding:13px}
  .shopcovermini{margin:-13px -13px 12px;height:82px}
  .shoprow{align-items:flex-start;gap:9px}.logo{width:42px;height:42px;flex:0 0 42px}
  .product{padding:9px}.pname{font-size:14px;line-height:1.28}.product .muted{font-size:12px}.price{font-size:14px}.old{display:block;margin-left:0;margin-top:2px}
  .adspace{margin:17px 0;padding:13px;border-radius:17px}.adimage{height:auto;aspect-ratio:16/7}.adcopy .btn{width:100%}
  .storecover{padding:20px;min-height:220px;border-radius:20px}.storecover h1{font-size:clamp(28px,9vw,36px);overflow-wrap:anywhere}.storelogo.big{width:82px;height:82px}
  .storeinfo{flex-direction:column}.storeabout{gap:18px}
  .productdetail{gap:22px}
  .panel{padding:17px;border-radius:17px}
  .page{padding-top:22px}
  .footergrid{gap:16px}.footeridentity{width:100%}.footermeta{width:100%}
}

@media(max-width:420px){
  .wrap{width:calc(100% - 18px)}
  .brand{max-width:52vw;font-size:18px}.brandmark{width:36px;height:36px;flex-basis:36px;border-radius:10px}
  .actions .btn{padding:9px 11px;font-size:13px}
  .hero{padding:24px 17px 20px;border-radius:19px}
  .hero h1{font-size:clamp(1.9rem,10.5vw,2.45rem)}
  .hero p{font-size:15px}
  .heroart img{max-height:210px}
  .cats,.shops,.products{grid-template-columns:1fr 1fr}
  .cat{min-height:100px}.cat .ic{font-size:25px}
}

@media(max-width:340px){
  .brand{max-width:48vw}.actions .btn{padding:8px 9px}
  .cats,.shops,.products{grid-template-columns:1fr}
}

/* Product gallery */
.productmedia{min-width:0}.productmainimage{overflow:hidden;border-radius:20px;background:#f3f4f6}.productmainimage img{width:100%;height:100%;object-fit:contain;display:block}.productthumbs{display:flex;gap:10px;overflow-x:auto;padding:10px 2px 4px;scrollbar-width:thin}.productthumb{width:76px;height:76px;flex:0 0 76px;border:2px solid transparent;border-radius:12px;padding:3px;background:#fff;cursor:pointer;overflow:hidden}.productthumb.active{border-color:var(--brand-primary,#6d28d9)}.productthumb img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}.gallerymanage{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.gallerymanageitem{border:1px solid #e5e7eb;border-radius:14px;padding:8px;background:#fff;display:grid;gap:7px;cursor:pointer}.gallerymanageitem img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px}.gallerymanageitem span{font-size:12px;font-weight:700;display:flex;gap:6px;align-items:center}.field small.muted{display:block;margin-top:6px;line-height:1.4}
@media(max-width:720px){.productthumb{width:64px;height:64px;flex-basis:64px}.productmainimage{border-radius:16px}.gallerymanage{grid-template-columns:repeat(3,1fr)}}
@media(max-width:420px){.gallerymanage{grid-template-columns:repeat(2,1fr)}}

/* Mobile hamburger account menu */
.menutoggle{display:none;width:44px;height:44px;border:1px solid #dedee7;border-radius:12px;background:var(--brand-surface,#fff);padding:10px;cursor:pointer;flex:0 0 44px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menutoggle span{display:block;width:21px;height:2px;border-radius:99px;background:var(--brand-text,#12121a);transition:transform .2s ease,opacity .2s ease}
.menutoggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menutoggle.open span:nth-child(2){opacity:0}
.menutoggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobilemenu{display:none}

@media(max-width:720px){
  .navin{position:relative}
  .navlinks{display:none!important}
  .menutoggle{display:flex;margin-left:auto}
  .actions{display:none!important}
  .mobilemenu{display:block;position:absolute;left:0;right:0;top:100%;background:var(--brand-surface,#fff);border-top:1px solid #eeeeF4;border-bottom:1px solid #e5e5ed;box-shadow:0 18px 35px rgba(18,18,26,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;max-height:calc(100vh - 64px);overflow-y:auto}
  .mobilemenu.open{opacity:1;visibility:visible;transform:translateY(0)}
  .mobilemenuinner{display:grid;padding-top:10px;padding-bottom:14px}
  .mobilemenu a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:11px 13px;border-radius:12px;font-weight:750;color:var(--brand-text,#12121a)}
  .mobilemenu a:hover,.mobilemenu a:active{background:color-mix(in srgb,var(--brand-primary,#6d28d9) 8%,white)}
  .mobilemenudivider{height:1px;background:#ececf2;margin:7px 0}
  .mobilemenu .mobilelogin{border:1px solid color-mix(in srgb,var(--brand-primary,#6d28d9) 30%,#dedee7);color:var(--brand-primary,#6d28d9);margin-top:3px;justify-content:center}
  .mobilemenu .mobileregister{background:var(--brand-primary,#6d28d9);color:#fff;margin-top:8px;justify-content:center}
  .mobilemenu .mobilelogout{color:#be123c;margin-top:4px}
  .menucount{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--brand-primary,#6d28d9);color:#fff;font-size:12px}
  body.menu-open{overflow:hidden}
}


/* PBM v8 definitive mobile header + hero */
@media (max-width: 720px) {
  .nav { overflow: visible !important; }
  .nav .wrap.navin {
    width: calc(100% - 24px) !important;
    min-height: 68px !important;
    height: 68px !important;
    padding: 7px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .nav .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .nav .brandmark {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }
  .nav .brandmark img { width:100% !important; height:100% !important; object-fit:contain !important; }
  .nav .navlinks, .nav .actions { display: none !important; }
  .nav .menutoggle {
    display: flex !important;
    margin: 0 0 0 auto !important;
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    padding: 10px !important;
    border: 1px solid #dedee7 !important;
    border-radius: 13px !important;
    background: var(--brand-surface,#fff) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
  }
  .nav .menutoggle span {
    display: block !important;
    width: 23px !important;
    height: 2.5px !important;
    min-height: 2.5px !important;
    background: var(--brand-text,#12121a) !important;
    border-radius: 99px !important;
    opacity: 1;
  }
  .nav .menutoggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)!important}
  .nav .menutoggle.open span:nth-child(2){opacity:0!important}
  .nav .menutoggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)!important}
  .nav .mobilemenu {
    display: block !important;
    position: absolute !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    background: var(--brand-surface,#fff) !important;
    border-top: 1px solid #ececf2 !important;
    border-bottom: 1px solid #e5e5ed !important;
    box-shadow: 0 18px 35px rgba(18,18,26,.16) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
  }
  .nav .mobilemenu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  .nav .mobilemenuinner {
    width: calc(100% - 24px) !important;
    display: grid !important;
    gap: 3px !important;
    padding: 10px 0 14px !important;
  }
  .nav .mobilemenu a {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 750 !important;
  }

  .page > .hero, .hero {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
    padding: 28px 20px !important;
    overflow: hidden !important;
  }
  .hero > div { width:100% !important; max-width:100% !important; min-width:0 !important; }
  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
  .hero p { width:100% !important; max-width:100% !important; font-size:16px !important; line-height:1.5 !important; }
  .hero .search {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    padding: 6px !important;
  }
  .hero .search input, .hero .search button { width:100% !important; max-width:100% !important; min-width:0 !important; }
  .heroart { width:100% !important; max-width:100% !important; }
  .heroart img { width:100% !important; max-width:360px !important; height:auto !important; max-height:260px !important; object-fit:contain !important; margin:auto !important; }
}
@media (max-width: 420px) {
  .nav .wrap.navin, .nav .mobilemenuinner { width: calc(100% - 18px) !important; }
  .nav .brand { font-size:17px !important; }
  .page > .hero, .hero { padding:24px 17px !important; border-radius:20px !important; }
  .hero h1 { font-size:clamp(28px,9.5vw,38px) !important; }
}
