/* MITONGA V2 - Reproduction of the supplied "After" (right-hand screen).
   Text and controls are live HTML; the 3 editorial photographic crops are from the user reference.
   All non-home pages continue to use the common Mitonga components. */
:root{
  --bg:#fafafa;--panel:#fff;--txt:#181918;--muted:#777b79;
  --line:#ededed;--accent:#ed6b2b;--accent-on:#fff;--green:#e9f3e7;
  --soft:#f5f5f4;--shadow:0 10px 28px rgba(0,0,0,.035);
  --radius:16px;--navheight:70px;color-scheme:light;
}
html[data-theme="dark"]{
  --bg:#000;--panel:#080808;--txt:#fff;--muted:#aaa;
  --line:#222;--soft:#111;--green:#161c16;--shadow:none;color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--txt);font-size:14px;margin:0}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
.site-shell{max-width:1200px;margin:0 auto;padding-left:22px;padding-right:22px}
.topbar{position:sticky;top:0;z-index:1020;background:var(--panel);border-bottom:1px solid var(--line)}
.topbar-inside{min-height:69px;max-width:1200px;margin:0 auto;padding:9px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.topbar-left,.toolbar{display:flex;align-items:center;gap:12px}
.topbar-left{min-width:0}.brand{font-size:23px;line-height:1.15;letter-spacing:-.9px;font-weight:850;white-space:nowrap}
.brand span{color:var(--accent)}
.desktop-links{display:flex;gap:26px;margin-left:32px;font-size:13px;font-weight:650;white-space:nowrap}
.toolbar{margin-left:auto}.icon-btn,.avatar-btn{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;min-height:36px;border:0;border-radius:50%;color:var(--txt);background:var(--soft);cursor:pointer;position:relative}
.avatar-btn{width:35px;height:35px;border:2px solid #f1f1f1;background:#e7e4df;color:#4d4947}
.icon-btn:hover,.avatar-btn:hover{color:var(--accent)}
.notification-dot{position:absolute;top:-2px;right:-2px;min-width:14px;height:14px;padding:0 2px;border-radius:10px;background:var(--accent);color:#fff;font-size:9px;display:grid;place-items:center}
.head-search{width:30%;max-width:350px}
.head-search form,.search-wrap{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--panel);padding:4px 8px 4px 16px;min-height:48px;border-radius:13px}
.head-search input,.search-wrap input{flex:1;min-width:0;font-size:12px;background:transparent!important;min-height:34px!important;outline:0!important;box-shadow:none!important;border:0!important;color:var(--txt)!important}
.search-submit{height:34px;width:34px;display:grid;place-items:center;background:transparent;color:var(--txt);border:0;border-left:1px solid var(--line);border-radius:0;cursor:pointer}
input,select,textarea{background:var(--panel)!important;color:var(--txt)!important;border-color:var(--line)!important;border-radius:12px!important;min-height:44px}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px rgba(237,107,43,.2)!important;outline:0!important}
.form-label{color:var(--muted);font-size:12px;font-weight:750;margin-bottom:7px}
.form-control::placeholder{color:#93989a!important}.form-check-input{min-height:auto}
.app-content{padding-top:24px;padding-bottom:96px;min-height:70vh}
.page-title{font-size:26px;font-weight:850;letter-spacing:-.7px;margin:4px 0 20px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:20px;margin-bottom:17px}
.panel h3{font-size:16px;font-weight:760}.muted{color:var(--muted)!important}.tiny{font-size:11px}
.btn-soft,.pill-outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--soft);color:var(--txt);border:1px solid var(--line);padding:10px 15px;border-radius:12px;min-height:42px;font-weight:680;font-size:12px}
.btn-primary-custom,.cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--accent);color:white!important;border:0;border-radius:13px;padding:11px 18px;min-height:43px;font-weight:740;font-size:12px;cursor:pointer}
.cta{border-radius:999px}.cta:hover,.btn-primary-custom:hover{filter:brightness(.95)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:27px 0 15px}
.section-head h2{margin:0;font-size:19px;font-weight:820;letter-spacing:-.4px}
.section-head a{color:var(--muted);font-size:11px;white-space:nowrap}.section-head a:hover{color:var(--accent)}
.section-head a i{font-size:9px;margin-left:3px}
.hero{position:relative;overflow:hidden;background:#191c1a;height:420px;color:white;border-radius:22px;isolation:isolate}
.hero-photo{position:absolute;top:0;right:0;height:100%;width:56%;object-fit:cover;object-position:center top;opacity:.94;z-index:-1}
.hero-copy{width:53%;padding:85px 0 20px 50px;position:relative;z-index:1}
.hero-eyebrow{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;color:#d3d3d3}
.hero h1{font-weight:880;letter-spacing:-1.3px;font-size:53px;line-height:1.04;margin:5px 0 12px}
.hero h1 span{display:block}.hero p{max-width:215px;font-size:12px;line-height:1.45;color:#e5e5e5;margin:0}
.hero .cta{margin-top:20px}.hero-dots{position:absolute;display:flex;gap:5px;left:50%;transform:translateX(-50%);bottom:9px}
.hero-dots b,.hero-dots i{width:13px;height:5px;background:#e9682d;border-radius:20px;display:block}.hero-dots i{width:7px;background:#777}
.home-search{position:relative;z-index:1;max-width:840px;margin:-23px auto 0;padding:0 18px}
.home-search .search-wrap{min-height:57px;padding:5px 8px 5px 18px;box-shadow:0 8px 18px rgba(0,0,0,.04);border:0;border-radius:15px}
.home-search .search-wrap>i{color:#1b1c1b}
.home-search input{font-size:13px}
.home-body{background:var(--panel);border-radius:17px;padding:0 28px 30px}
.home-section{margin-bottom:16px}
.home-section .section-head{margin-top:24px}
.category-scroll{display:flex;gap:18px;overflow:auto;scrollbar-width:none;padding:2px 0 6px}
.category-scroll::-webkit-scrollbar{display:none}
.category-bubble{flex:0 0 calc((100% - 54px)/4);min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;line-height:1.23;text-align:center;font-size:12px;font-weight:550}
.category-icon{display:grid;place-items:center;width:62px;height:62px;flex:none;border-radius:50%;background:#e8f3fb;color:#263942;font-size:23px}
.category-bubble:nth-child(4n+2) .category-icon{background:#ffefec;color:#463436}
.category-bubble:nth-child(4n+3) .category-icon{background:#e9f0f1;color:#253c3f}
.category-bubble:nth-child(4n+4) .category-icon{background:#fff0df;color:#513e30}
html[data-theme="dark"] .category-icon{background:#1e1e1e!important;color:#f7f7f7!important}
.trending-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.trend-card{display:block;position:relative;overflow:hidden;aspect-ratio:1.13;background:#454845;color:#fff;border-radius:13px}
.trend-card:hover{color:#fff;transform:translateY(-2px)}
.trend-card img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 23%;inset:0}
.trend-caption{position:absolute;inset:auto 0 0;min-height:58px;padding:23px 12px 10px;display:flex;align-items:flex-end;justify-content:space-between;gap:4px;background:linear-gradient(0deg,rgba(0,0,0,.95),rgba(0,0,0,0))}
.trend-caption strong{display:block;font-size:14px;font-weight:700;line-height:1.25}
.trend-caption small{display:block;font-size:10px;line-height:1.25;color:#e0e0e0;margin-top:3px}
.trend-arrow{width:24px;height:24px;flex-shrink:0;background:#fff;color:#171717;display:grid;place-items:center;border-radius:50%;font-size:12px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.product-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;position:relative;min-width:0}
.product-card:hover{box-shadow:var(--shadow)}
.product-visual{aspect-ratio:1/1.1;position:relative;overflow:hidden;background:var(--soft)}
.product-visual img{width:100%;height:100%;object-fit:cover}
.badge-promo{position:absolute;left:8px;top:8px;background:var(--accent);color:white;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:700}
.wishlist-form{position:absolute;top:8px;right:8px;z-index:2}
.fav{width:33px;height:33px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#383838;display:grid;place-items:center;cursor:pointer}
.fav.liked{color:#e76a30}
.product-meta{padding:12px}.product-meta small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
.product-meta h3{font-size:13px;line-height:1.36;min-height:32px;font-weight:730;margin:0 0 8px}
.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px}
.product-price{font-size:13px;font-weight:850}.circle-add{width:29px;height:29px;border-radius:50%;background:#1e211f;color:white;display:grid;place-items:center;font-size:12px}
.product-bottom del{font-size:10px;color:var(--muted)}
.store-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px;border-radius:17px;background:var(--green);margin-top:28px}
.store-banner h2{font-weight:800;font-size:19px}.store-banner p{margin:0;color:var(--muted)}
.empty{text-align:center;padding:42px 16px;color:var(--muted)}.empty i{font-size:30px;display:block;margin-bottom:12px}
.table{color:var(--txt)!important;font-size:13px}.table>:not(caption)>*>*{background:transparent!important;color:var(--txt)!important;border-bottom-color:var(--line)}
.table-responsive{border-radius:10px}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stat-box{padding:17px;background:var(--panel);border:1px solid var(--line);border-radius:14px}.stat-box small{color:var(--muted)}.stat-box strong{font-size:23px;display:block}
.form-surface{max-width:560px;margin:auto}.form-surface .panel{padding:24px}
.product-detail-image{width:100%;aspect-ratio:1;object-fit:cover;border-radius:16px;background:var(--soft)}
.filter-sidebar{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;max-height:65vh;overflow:auto}
.row-gap{display:flex;gap:12px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:var(--soft);padding:5px 10px;font-size:11px;font-weight:660}.chip-orange{color:var(--accent)}
.pos-row{padding:11px;border-bottom:1px solid var(--line);cursor:pointer}.pos-results{max-height:350px;overflow:auto}
.notice{background:var(--soft);border-radius:10px;padding:12px;font-size:12px;color:var(--muted)}
.nav-drawer{position:fixed;inset:0 auto 0 0;z-index:1110;width:min(340px,91vw);overflow:auto;padding:20px;background:var(--panel);border-right:1px solid var(--line);transform:translateX(-104%);transition:transform .22s}
.nav-drawer.open{transform:translateX(0)}.nav-drawer a{display:flex;align-items:center;gap:13px;padding:13px 5px;border-bottom:1px solid var(--line);font-weight:670}.nav-drawer a i{color:var(--accent);width:17px}
.drawer-backdrop{display:none;position:fixed;inset:0;background:#0009;z-index:1100}.drawer-backdrop.open{display:block}
.footer-note{font-size:11px;color:var(--muted);text-align:center;padding-top:12px;padding-bottom:25px}
.bottom-nav{display:none}.warehouse-map{width:100%;min-height:380px;border-radius:14px;background:var(--soft)}
@media (max-width:1000px){.desktop-links{display:none}.head-search{width:38%}}
@media (max-width:767px){
  .site-shell{padding-left:15px;padding-right:15px}
  .app-content{padding-top:16px;padding-bottom:115px}
  .topbar-inside{min-height:61px;padding:8px 17px}
  .brand{font-size:21px}
  .head-search{display:none}
  .toolbar{gap:8px}
  .theme-header{display:none}
  .icon-btn{width:34px;height:34px;min-height:34px;background:var(--soft)}
  .drawer-toggle{width:29px;height:34px;background:transparent}
  .avatar-btn{width:33px;height:33px}
  /* The user-supplied right-hand phone has a dark full-bleed header and hero. */
  body.page-home{background:var(--panel)}
  .page-home .topbar{position:absolute;top:0;left:0;right:0;border:0;background:transparent;color:white}
  .page-home .topbar-inside{min-height:76px;padding-top:20px;padding-left:20px;padding-right:20px}
  .page-home .brand{color:white;font-size:20px}.page-home .brand span{color:#fff}
  .page-home .toolbar{gap:9px}
  .page-home .notification-header,.page-home .cart-header{color:white;background:transparent}
  .page-home .avatar-btn{background:#dad0c8;color:#252525;border-color:#9b918b}
  .page-home .drawer-toggle{display:none}
  .page-home .app-content{padding:0 0 102px;max-width:none}
  .page-home .hero{border-radius:0;height:311px;max-height:none;width:100%;background:#181b19}
  .page-home .hero-photo{width:54%;height:100%;opacity:.91;object-position:40% top}
  .page-home .hero-copy{padding:119px 0 0 21px;width:56%}
  .page-home .hero-eyebrow{font-size:9px;font-weight:600;letter-spacing:.2px}
  .page-home .hero h1{font-size:clamp(27px,8vw,37px);line-height:1.04;letter-spacing:-.7px;margin:3px 0 6px;max-width:200px}
  .page-home .hero p{font-size:9px;line-height:1.38;max-width:157px;color:#eee}
  .page-home .hero .cta{margin-top:10px;font-size:10px;padding:8px 14px;min-height:33px;gap:13px}
  .page-home .hero .cta i{font-size:9px}
  .page-home .hero-dots{bottom:7px}
  .page-home .home-body{padding:0 14px 10px;border-radius:15px 15px 0 0;margin:-15px 0 0;position:relative;background:var(--panel)}
  .page-home .home-search{margin:0 -14px 0;padding:0 10px;transform:translateY(0)}
  .page-home .home-search .search-wrap{border:1px solid var(--line);min-height:49px;border-radius:12px;box-shadow:none;padding:4px 6px 4px 15px;gap:10px}
  .page-home .home-search input{font-size:11px}
  .page-home .home-search .search-wrap>i{font-size:13px;color:var(--txt)}
  .page-home .home-search .search-submit{height:27px;width:31px;border-left:1px solid var(--line);font-size:14px}
  .page-home .home-section .section-head{margin:22px 0 12px}
  .page-home .section-head h2{font-size:17px;letter-spacing:-.4px}
  .page-home .section-head a{font-size:10px;color:var(--muted)}
  .page-home .category-scroll{justify-content:space-between;gap:6px;padding:0 0 8px;overflow:visible}
  .page-home .category-bubble{flex:1 1 0;min-width:0;font-size:10px;gap:6px}
  .page-home .category-icon{width:42px;height:42px;font-size:18px}
  .page-home .trending-grid{gap:9px}
  .page-home .trend-card{aspect-ratio:1.04;border-radius:11px}
  .page-home .trend-caption{min-height:56px;padding:18px 9px 8px}
  .page-home .trend-caption strong{font-size:11px}
  .page-home .trend-caption small{font-size:8px;margin-top:3px}
  .page-home .trend-arrow{width:21px;height:21px;font-size:10px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-meta{padding:10px}.product-meta h3{font-size:12px}.product-price{font-size:12px}
  .store-banner{padding:15px;flex-wrap:wrap}.store-banner h2{font-size:17px}
  .bottom-nav{position:fixed;z-index:1040;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:68px;padding:5px 7px max(5px,env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(0,0,0,.025)}
  .bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--txt);font-size:9px;font-weight:500;min-width:0}
  .bottom-nav a i{font-size:19px;color:var(--txt)}
  .bottom-nav a.current,.bottom-nav a.current i{color:var(--accent)}
  .footer-note{display:none}
  .warehouse-map{min-height:260px}
}
@media (max-width:360px){
  .page-home .hero{height:293px}.page-home .hero-copy{padding-top:117px}
  .page-home .hero h1{font-size:27px}
  .page-home .home-body{padding-left:11px;padding-right:11px}
  .page-home .home-search{margin-left:-11px;margin-right:-11px}
  .page-home .category-icon{width:39px;height:39px}
  .page-home .trend-caption strong{font-size:10px}
}
@media (min-width:768px){
 .topbar .drawer-toggle{display:none}
 .home-layout{max-width:1156px;margin:auto}
 .home-section .category-scroll{max-width:760px}
}
html[data-theme="dark"] .home-body{background:#000}
html[data-theme="dark"] .home-search .search-wrap{background:#111;border-color:#292929}
html[data-theme="dark"] .home-search .search-wrap>i{color:#f5f5f5}
html[data-theme="dark"] .avatar-btn{border-color:#404040;background:#292929;color:white}
html[data-theme="dark"] .form-check-input{background:var(--soft)!important}
@media print{
 .topbar,.bottom-nav,.footer-note,.no-print{display:none!important}
 body,html,main{background:white!important;color:black!important}
 .app-content{padding:0!important}.panel{border:0!important;box-shadow:none!important}
}

/* Catalogue filters: functional, compact, mobile-first */
.catalog-filter{padding:14px 16px}
.catalog-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;align-items:end}
.catalog-filter-grid .catalog-search{grid-column:span 2}
.catalog-filter-grid .catalog-flags{display:flex;align-items:center;gap:16px;grid-column:span 3;min-height:42px}
.catalog-filter-grid .form-check{font-size:12px;display:flex;align-items:center;gap:7px;margin:0}
.catalog-filter-grid .form-check-input{margin:0;flex:none}
.catalog-filter-grid .btn-primary-custom,.catalog-filter-grid .btn-soft{min-height:44px}
@media(max-width:767px){
 .catalog-filter{padding:13px}
 .catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .catalog-filter-grid .catalog-search{grid-column:span 2}
 .catalog-filter-grid .catalog-flags{grid-column:span 2;flex-wrap:wrap}
 .catalog-filter-grid>*:nth-child(5){grid-column:span 2}
}
html[data-theme="dark"] body.page-home{background:#000}
.warehouse-map-empty{display:grid;place-items:center;text-align:center;padding:15px;color:var(--muted)}

/* MITONGA V3: faithfully follow the supplied LEFT (Before) mobile layout, not the right version. */
:root{--accent:#a3d13f;--reference-lime:#a4c850;--reference-black:#121512}
html[data-theme="dark"]{--panel:#000;--bg:#000;--accent:#afe044;--line:#242424}
.left-reference-home{max-width:1160px;margin:auto}
.reference-search{margin:0 0 15px}
.reference-search .search-wrap{border:0;background:var(--soft);min-height:47px;border-radius:13px;box-shadow:none}
.reference-search .search-submit{color:var(--txt)}
.lady-hero{height:285px;position:relative;display:flex;align-items:center;overflow:hidden;isolation:isolate;border-radius:20px;background:var(--reference-lime);color:#161a13}
.lady-hero-copy{position:relative;z-index:2;width:60%;padding:25px 0 25px 38px}
.limited-pill{display:inline-flex;background:#151713;color:#fff;border-radius:100px;padding:6px 12px;font-size:11px;font-weight:700;margin-bottom:14px}
.lady-hero h1{font-size:clamp(26px,3vw,43px);line-height:1.1;letter-spacing:-.8px;font-weight:850;margin:0;max-width:410px}
.lady-hero h1 span{display:block}
.lady-hero-image{position:absolute;right:0;bottom:0;width:52%;height:100%;object-fit:cover;object-position:center top;z-index:1;mix-blend-mode:normal}
.reference-shop{margin-top:18px;display:inline-flex;align-items:center;gap:10px;background:#151813;color:#fff!important;border-radius:999px;min-height:43px;padding:6px 8px 6px 20px;font-size:14px;font-weight:750}
.reference-shop span{background:#fff;color:#161a13;border-radius:50%;display:grid;place-items:center;width:29px;height:29px;font-size:13px}
.reference-pager{display:flex;align-items:center;justify-content:center;gap:5px;margin:-7px 0 12px;position:relative;z-index:5}
.reference-pager span{width:5px;height:5px;background:#d1d8c6;border-radius:10px}.reference-pager b{width:20px;height:7px;background:var(--reference-lime);border-radius:20px;border:2px solid var(--panel)}
.reference-cat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.reference-cat-tile{display:flex;align-items:center;justify-content:space-between;position:relative;background:var(--soft);border-radius:9px;min-height:87px;padding:13px;overflow:hidden;font-size:14px;font-weight:730;line-height:1.2}
.reference-cat-tile span{max-width:57%;z-index:1}.reference-cat-tile img{position:absolute;right:0;bottom:0;width:47%;height:100%;object-fit:cover;object-position:center 20%;mix-blend-mode:normal}
html[data-theme="dark"] .reference-cat-tile img{mix-blend-mode:normal;opacity:.85}
.reference-arrivals .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.editorial-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.editorial-product{position:relative;overflow:hidden;border-radius:14px;background:var(--soft);display:flex;flex-direction:column;padding-bottom:12px}
.editorial-product>img{width:100%;aspect-ratio:1.02;object-fit:cover;object-position:center 15%}
.editorial-product>span{position:absolute;right:10px;top:10px;border-radius:50%;width:32px;height:32px;background:#fffe;display:grid;place-items:center;color:#555}
.editorial-product strong{padding:10px 12px 2px;font-size:13px}.editorial-product small{padding:0 12px;color:var(--muted)}
.mtg-carousel-section{margin:29px 0 24px}
.carousel-buttons{display:flex;gap:7px}.carousel-buttons button{background:var(--soft);border:1px solid var(--line);color:var(--txt);border-radius:50%;width:33px;height:33px;cursor:pointer}
.mtg-slide-track{display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 1px 12px}.mtg-slide-track::-webkit-scrollbar{display:none}
.mtg-slide{scroll-snap-align:start;flex:0 0 clamp(210px,31%,350px);min-height:165px;padding:23px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;border-radius:15px;background:#e6f2d3;color:#172316}.mtg-slide i{font-size:24px}.mtg-slide strong{font-size:19px}.mtg-slide small{font-size:12px}.mtg-slide em{margin-top:auto;font-size:11px;font-weight:750;font-style:normal}
.mtg-slide.offer-delivery{background:#fce8df;color:#27211c}.mtg-slide.offer-deals{background:#e1e9ff;color:#18243d}
.shop-scroll{display:flex;overflow:auto;gap:12px;scroll-snap-type:x mandatory;padding:5px 0 11px;scrollbar-width:none}.shop-scroll::-webkit-scrollbar{display:none}
.mini-shop{scroll-snap-align:start;min-width:175px;flex:0 0 190px;padding:17px 15px;border:1px solid var(--line);border-radius:15px;display:flex;flex-direction:column;gap:8px;background:var(--panel)}
.mini-shop-icon{background:var(--soft);width:40px;height:40px;border-radius:12px;display:grid;place-items:center}.mini-shop strong{font-size:13px}.mini-shop small{font-size:11px;color:var(--muted)}
html[data-theme="dark"] .lady-hero{background:#a4c850}html[data-theme="dark"] .reference-shop{background:#080908}html[data-theme="dark"] .limited-pill{background:#080908}
@media(max-width:767px){
 body.page-home{background:var(--panel)!important}
 .page-home .topbar{position:relative!important;background:var(--panel)!important;border:0!important;color:var(--txt)!important}
 .page-home .topbar-inside{height:109px!important;min-height:109px!important;align-items:flex-start!important;padding:33px 26px 12px!important}
 .page-home .topbar .brand,.page-home .topbar .notification-header,.page-home .topbar .avatar-btn{display:none!important}
 .page-home .topbar .drawer-toggle{display:grid!important;background:var(--panel)!important;border:1px solid #ebebeb!important;box-shadow:0 5px 15px rgba(0,0,0,.045);border-radius:10px;width:39px;height:39px}
 .page-home .topbar .cart-header{background:var(--panel)!important;color:var(--txt)!important;border:1px solid #eee!important;box-shadow:0 4px 14px rgba(0,0,0,.045);width:39px;height:39px;border-radius:10px}
 .page-home .app-content{padding:0 15px 108px!important;max-width:680px!important}
 .page-home .reference-search{margin:0 0 13px}
 .page-home .reference-search .search-wrap{height:42px;min-height:42px;border-radius:10px;padding:0 8px 0 13px;background:var(--soft)}
 .page-home .reference-search input{font-size:11px}.page-home .reference-search .search-submit{height:23px;width:28px;border-left:0}
 .page-home .lady-hero{height:170px;border-radius:13px}
 .page-home .lady-hero-copy{width:60%;padding:10px 0 10px 13px}
 .page-home .limited-pill{padding:4px 9px;font-size:9px;margin:0 0 9px}
 .page-home .lady-hero h1{font-size:clamp(16px,4.8vw,24px);letter-spacing:-.45px;line-height:1.12;max-width:230px}
 .page-home .lady-hero-image{width:52%;object-position:50% 10%;mix-blend-mode:normal}
 .page-home .reference-shop{margin-top:11px;min-height:31px;padding:3px 4px 3px 13px;gap:8px;font-size:10px}
 .page-home .reference-shop span{width:23px;height:23px;font-size:10px}
 .page-home .reference-pager{margin:-7px 0 9px}
 .page-home .section-head{margin:17px 0 11px!important}
 .page-home .section-head h2{font-size:14px!important;font-weight:780;letter-spacing:-.2px}
 .page-home .section-head a{font-size:10px;color:#9abc53}
 .page-home .reference-cat-row{gap:7px}
 .page-home .reference-cat-tile{min-height:54px;border-radius:7px;padding:7px;font-size:9px;line-height:1.3}
 .page-home .reference-cat-tile img{width:48%}
 .page-home .reference-arrivals .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .page-home .editorial-products{gap:9px}
 .page-home .editorial-product{border-radius:11px}.page-home .editorial-product>img{aspect-ratio:.98;object-position:center top}
 .page-home .editorial-product strong{font-size:11px}.page-home .editorial-product small{font-size:9px}
 .page-home .bottom-nav{background:var(--panel)}
 .bottom-nav a.current{color:#151713!important}.bottom-nav a.current i{color:#151713!important}
 .bottom-nav a.current{background:#e6f4cd;border-radius:28px;min-height:54px;margin:auto 0}
 .bottom-nav a{gap:3px!important;font-size:10px!important}.bottom-nav a i{font-size:19px!important}
 .page-home .store-banner{margin-bottom:22px}
}
@media(max-width:355px){.page-home .lady-hero{height:149px}.page-home .lady-hero h1{font-size:16px}.page-home .reference-cat-tile{font-size:8px;padding:5px}.page-home .app-content{padding-left:11px!important;padding-right:11px!important}}
@media(min-width:768px){.page-home .left-reference-home{padding-top:20px}.reference-search{display:none}.lady-hero-image{width:43%}.reference-categories .reference-cat-row{max-width:750px}}

/* Consistent high-contrast buttons in the screenshot's green/black palette */
.btn-primary-custom,.cta{background:#171a15;color:#fff!important}
html[data-theme="dark"] .btn-primary-custom,html[data-theme="dark"] .cta{background:#a4c850;color:#101510!important}
@media(max-width:767px){.bottom-nav a.current{background:#e5f4c9!important}}


/* MITONGA V4: Complete global header on all pages, including home. */
.page-home .topbar{position:sticky!important;top:0!important;left:auto!important;right:auto!important;background:var(--panel)!important;border-bottom:1px solid var(--line)!important;color:var(--txt)!important;z-index:1050!important}
.page-home .topbar-inside{min-height:65px!important;height:auto!important;align-items:center!important;padding:10px max(13px,env(safe-area-inset-left))!important;max-width:1200px!important}
.page-home .topbar .brand,.page-home .topbar .notification-header,.page-home .topbar .avatar-btn,.page-home .topbar .drawer-toggle{display:flex!important;color:var(--txt)!important}
.page-home .topbar .brand{font-size:clamp(17px,3vw,23px)!important;font-weight:850!important;color:var(--txt)!important}
.page-home .topbar .brand span{color:var(--accent)!important}
.page-home .topbar .toolbar{display:flex!important;gap:5px!important}
.page-home .topbar .cart-header,.page-home .topbar .notification-header,.page-home .topbar .avatar-btn{background:var(--soft)!important;border:1px solid var(--line)!important;color:var(--txt)!important;width:37px!important;height:37px!important;border-radius:12px!important;display:flex!important;align-items:center;justify-content:center}
.page-home .topbar .drawer-toggle{border:1px solid var(--line)!important;width:37px!important;height:37px!important;border-radius:12px!important;display:flex!important;align-items:center;justify-content:center}
.topbar .drawer-toggle{display:flex!important}
.page-home .head-search{display:none}
.page-home .app-content{padding-top:14px!important}
@media(min-width:768px){.page-home .topbar-inside{padding:12px 23px!important}.page-home .head-search{display:block}.page-home .reference-search{display:block}.page-home .left-reference-home{max-width:1120px;padding:8px 0}.page-home .app-content{max-width:1200px!important;padding:16px 26px 90px!important}.page-home .lady-hero{height:clamp(240px,30vw,405px)!important}.page-home .lady-hero-copy{padding:clamp(22px,4vw,64px)!important}.page-home .lady-hero h1{font-size:clamp(24px,3.7vw,48px)!important;max-width:455px!important}.page-home .lady-hero-image{width:52%!important}.page-home .reference-cat-tile{min-height:118px!important}}
@media(max-width:520px){.page-home .topbar-inside{gap:4px!important;padding:10px 12px!important}.page-home .topbar-left{gap:7px!important}.page-home .toolbar{gap:4px!important}.page-home .theme-header{display:none!important}.page-home .desktop-links{display:none!important}.page-home .topbar .notification-header,.page-home .topbar .cart-header,.page-home .topbar .avatar-btn,.page-home .topbar .drawer-toggle{width:33px!important;height:35px!important;min-width:33px!important}.page-home .topbar .brand{font-size:18px!important}}
@media(max-width:355px){.page-home .topbar .brand{font-size:16px!important}.page-home .topbar .avatar-btn{display:none!important}}
/* Media and richer editorial/profile/store sections */
.editorial-visual{position:relative;overflow:hidden;border-radius:17px;min-height:190px;background:var(--soft);display:block;color:#fff!important}
.editorial-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.editorial-visual:hover>img{transform:scale(1.04)}
.editorial-visual:after{content:'';position:absolute;inset:32% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.76))}
.editorial-copy{position:absolute;z-index:1;bottom:14px;left:15px;right:15px}.editorial-copy strong{font-size:16px}.editorial-copy small{display:block;color:#eaeaea}
.editorial-rail{display:grid;grid-auto-columns:minmax(155px,1fr);grid-auto-flow:column;overflow-x:auto;gap:11px;scroll-snap-type:x mandatory;padding:4px 0 9px}.editorial-rail>*{scroll-snap-align:start}.editorial-rail .editorial-visual{min-height:205px}
.editorial-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editorial-mosaic .editorial-visual:first-child{grid-row:span 2}.editorial-mosaic .editorial-visual{min-height:155px}
.profile-hero,.store-hero{position:relative;overflow:hidden;border-radius:22px;background:var(--soft);margin-bottom:15px}.profile-cover,.store-cover{width:100%;height:clamp(190px,29vw,315px);object-fit:cover;display:block}.profile-summary,.store-summary{position:relative;margin:-42px 16px 15px;background:var(--panel);border:1px solid var(--line);padding:18px;border-radius:18px}.profile-avatar,.store-avatar{height:83px;width:83px;border:4px solid var(--panel);background:var(--soft);object-fit:cover;border-radius:24px;margin-top:-54px}.profile-avatar{border-radius:50%}.profile-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-action-grid a{border:1px solid var(--line);padding:14px 12px;border-radius:15px;display:flex;flex-direction:column;gap:6px;background:var(--panel)}.profile-action-grid i{color:var(--accent);font-size:21px}.profile-quickstats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-quickstats .stat-box{min-width:0}.store-identity{display:flex;gap:17px;align-items:start}.store-identity .store-avatar{flex-shrink:0}.store-photo-card{min-height:220px}.store-review{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.store-review small{color:var(--muted)}
.media-manager-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:15px}.media-manager-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}.media-manager-card>img{width:100%;height:160px;object-fit:cover;background:var(--soft)}.media-manager-body{padding:14px}.media-manager-card .tiny{overflow-wrap:anywhere}.media-manager-card .actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.media-manager-card input[type=file]{font-size:12px}.empty-note{color:var(--muted);font-size:13px}
@media(min-width:850px){.editorial-rail{grid-auto-columns:minmax(220px,1fr)}.profile-quickstats{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-summary,.store-summary{margin:-50px 30px 25px;padding:24px}}
@media(max-width:460px){.profile-summary,.store-summary{margin-left:10px;margin-right:10px}.store-identity{gap:10px}.store-avatar{width:68px;height:68px}}

[data-media-card][hidden]{display:none!important}
.page-home .mtg-slide[style*='background-image'] strong,.page-home .mtg-slide[style*='background-image'] small,.page-home .mtg-slide[style*='background-image'] em,.page-home .mtg-slide[style*='background-image'] i{color:white!important}


/* Mitonga V5: full-width desktops and recognizable official app identity. */
.brand{display:inline-flex!important;align-items:center;gap:8px;letter-spacing:-.45px!important;font-weight:850!important}
.brand-logo{display:block;flex-shrink:0;object-fit:contain;width:38px;height:38px;border-radius:10px}
.brand-name{font-size:21px;color:var(--txt)!important;letter-spacing:-.65px;text-transform:lowercase}
.nav-drawer .brand-name{font-size:22px}
.pwa-install-header[hidden],[data-pwa-install][hidden]{display:none!important}
.pwa-toast{position:fixed;z-index:1800;left:50%;bottom:calc(85px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:min(440px,calc(100vw - 28px));padding:14px 18px;border-radius:14px;background:#222c1e;color:#fff;box-shadow:0 12px 32px #0005;text-align:center;line-height:1.4}
.pwa-toast[hidden]{display:none!important}
.app-hub-intro{display:flex;align-items:center;gap:20px}.app-hub-intro img{flex:0 0 auto;object-fit:contain}
.app-tool-actions{display:flex;gap:10px;flex-wrap:wrap}
.app-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.app-shortcut{background:var(--panel);border:1px solid var(--line);border-radius:17px;display:flex;align-items:center;gap:12px;padding:14px;min-width:0;transition:background .2s,transform .2s}
.app-shortcut:hover{color:var(--txt);background:var(--soft);transform:translateY(-2px)}
.app-shortcut-icon{height:43px;width:43px;border-radius:13px;display:grid;place-items:center;background:#e6f4cc;color:#25321f;flex:none;font-size:19px}
.app-shortcut strong{font-size:13px;min-width:0;overflow-wrap:anywhere}.app-shortcut .shortcut-arrow{margin-left:auto;font-size:11px;color:var(--muted)}
[data-pwa-connection].offline{background:#feeac5;color:#65461b}
@media(max-width:767px){
 .topbar .brand-logo{width:33px;height:33px}.topbar .brand-name{font-size:16px}
 .page-home .topbar .brand-name{font-size:16px!important}
 .page-home .topbar .brand{gap:4px!important}
 .app-hub-intro{gap:12px}.app-hub-intro img{width:68px;height:68px}
 .app-shortcut{padding:10px;gap:8px}.app-shortcut-icon{width:38px;height:38px}
 .app-tool-actions>*{flex:1 1 calc(50% - 6px)}
 .pwa-install-header:not([hidden]){display:grid!important}
}
@media(min-width:768px){
 .site-shell{max-width:none!important;width:100%;padding-left:clamp(22px,3vw,72px)!important;padding-right:clamp(22px,3vw,72px)!important}
 .topbar-inside,.page-home .topbar-inside{max-width:none!important;width:100%;padding-left:clamp(22px,3vw,72px)!important;padding-right:clamp(22px,3vw,72px)!important}
 .page-home .app-content{max-width:none!important;width:100%!important;padding:20px clamp(22px,3vw,72px) 100px!important}
 .page-home .left-reference-home,.left-reference-home{max-width:none!important;width:100%!important}
 .head-search{width:clamp(210px,26%,520px)!important;max-width:520px!important}
 .product-grid,.reference-arrivals .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .reference-categories .reference-cat-row{max-width:none!important}
 .reference-cat-tile{min-height:clamp(90px,10vw,185px)!important}
 .app-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .panel{min-width:0}
 .table-responsive{max-width:100%}
}
@media(min-width:1200px){
 .product-grid,.reference-arrivals .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .page-home .lady-hero{height:clamp(350px,28vw,530px)!important}
 .page-home .lady-hero h1{font-size:clamp(39px,3.9vw,68px)!important;max-width:720px!important}
 .page-home .lady-hero-copy{padding:clamp(45px,5vw,105px)!important}
 .page-home .reference-cat-tile{font-size:clamp(14px,1.3vw,19px)}
 .editorial-rail{grid-auto-columns:minmax(260px,1fr)}
 .app-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1680px){
 .product-grid,.reference-arrivals .product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 .lady-hero-image{width:45%!important}
 .panel{padding:clamp(20px,1.4vw,30px)}
}
@media(max-width:390px){
 .page-home .topbar-inside{gap:2px!important;padding:10px 8px!important}
 .page-home .topbar .brand-logo{width:29px;height:29px}
 .page-home .topbar .brand-name{font-size:14px!important}
 .page-home .topbar .notification-header,.page-home .topbar .cart-header,.page-home .topbar .avatar-btn,.page-home .topbar .drawer-toggle{width:31px!important;min-width:31px!important;height:34px!important}
}
@media(prefers-reduced-motion:reduce){.app-shortcut{transition:none}.app-shortcut:hover{transform:none}}

.page-home .topbar .brand-name{color:var(--txt)!important}
@media(min-width:768px) and (max-width:1270px){
 .desktop-links{display:none!important}
 .topbar-inside{gap:12px!important}
 .head-search{flex:1;min-width:130px;max-width:450px!important;width:auto!important}
}

/* Warehouse location editor / public explorer – responsive, high-density desktop */
.mtg-geo-shell{width:100%;max-width:none;margin-inline:auto;padding-bottom:2rem}
.mtg-geo-toolbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;margin-bottom:14px}
.mtg-geo-search{flex:1 1 330px;display:flex;gap:8px;align-items:stretch}
.mtg-geo-search input{flex:1;min-width:0}
.mtg-geo-toolbar .btn-soft{white-space:normal}
.mtg-geo-status{flex-basis:100%;margin:0}
.mtg-city-results{position:absolute;z-index:510;top:calc(100% - 2px);left:14px;right:14px;max-height:250px;overflow-y:auto;padding:7px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 12px 35px #0002}
.mtg-city-result{display:block;width:100%;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:var(--txt);text-align:start;cursor:pointer}
.mtg-city-result:hover,.mtg-city-result:focus{background:var(--soft)}
.mtg-geo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,370px);align-items:start;gap:14px}
.mtg-geo-map-panel{padding:10px;min-width:0;position:sticky;top:78px}
.mtg-geo-map{height:clamp(430px,70vh,850px);width:100%;background:var(--soft);border-radius:15px;z-index:1;overflow:hidden}
.mtg-map-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 5px 2px;color:var(--muted);font-size:12px}
.mtg-geo-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.mtg-warehouse-editor h2,.mtg-warehouse-list h2{font-weight:800;font-size:17px}
.mtg-warehouse-item{padding:14px 0;border-bottom:1px solid var(--line)}.mtg-warehouse-item:last-child{border-bottom:0}
.mtg-warehouse-item h3{font-size:15px;font-weight:800;margin:0}.mtg-warehouse-item p{margin:8px 0}
.mtg-drafts{display:grid;gap:10px;max-height:500px;overflow-y:auto}.mtg-draft{border:1px solid var(--line);border-radius:13px;padding:12px;background:var(--soft)}
.mtg-draft .form-label{margin-top:8px}.mtg-draft-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mtg-map-popup{display:grid;gap:7px}.mtg-map-popup button{cursor:pointer}
[data-theme="dark"] .mtg-city-results{background:#080808}
@media(max-width:1000px){.mtg-geo-layout{grid-template-columns:1fr}.mtg-geo-map-panel{position:static}.mtg-geo-map{height:clamp(330px,56vh,640px)}}
@media(max-width:520px){.mtg-geo-toolbar{padding:10px}.mtg-geo-search{flex-basis:100%}.mtg-geo-toolbar>.btn-soft{flex:1 1 40%}.mtg-geo-map{height:370px}.mtg-geo-map-panel{padding:7px}.mtg-draft-grid{grid-template-columns:1fr}}

/* Mitonga V5.3 — Family Food map workflow adapted to multiple warehouses. */
.mtg-map-header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:5px 9px 12px;font-size:.83rem;font-weight:700;color:var(--muted)}
.mtg-location-picker{border:1px solid var(--line);background:var(--soft);border-radius:18px;padding:14px;margin:12px 0}
.mtg-location-badge{display:flex;align-items:center;gap:9px;font-weight:700;font-size:.87rem;color:var(--muted);margin-bottom:10px}
.mtg-location-badge.ready{color:#297a2b}
.mtg-location-readout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mtg-location-readout>div{background:var(--card, var(--surface, #fff));border:1px solid var(--line);border-radius:12px;padding:10px;min-width:0}
.mtg-location-readout small,.mtg-location-readout strong{display:block}
.mtg-location-readout small{color:var(--muted);font-size:.75rem}
.mtg-location-readout strong{font-size:clamp(.78rem,1.3vw,.96rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mtg-editor-subhead{font-size:.97rem;font-weight:800;margin:18px 0 10px}
.mtg-route-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.mtg-mode{border:1px solid var(--line);background:var(--soft);color:inherit;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:11px 5px;font-size:.82rem;min-width:0}
.mtg-mode.active{background:#eaf5ca;color:#22390b;border-color:#8dba3b;box-shadow:inset 0 0 0 1px #8dba3b}
.mtg-mode i{font-size:1.2rem}.mtg-mode:disabled{opacity:.5;cursor:not-allowed}
.mtg-route-panel h2{font-size:1.05rem}
.mtg-map-branded{background:transparent;border:0}
.mtg-map-pin{display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 5px 7px rgba(0,0,0,.24))}
.mtg-map-pin img{width:42px;height:42px;object-fit:contain;border-radius:13px;background:#faffed;border:2px solid #91b73f}
.mtg-map-pin:after{content:"";border:8px solid transparent;border-top-color:#91b73f;margin-top:0}
.mtg-map-pin .mtg-pin-label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff;border:1px solid #d8d8d8;color:#203017;border-radius:7px;padding:2px 6px;font-size:10px;font-weight:800;position:absolute;top:59px}
.mtg-map-user-dot{background:transparent;border:0}.mtg-map-user-dot>span{display:block;width:20px;height:20px;border-radius:100%;background:#2788e7;border:4px solid white;box-shadow:0 0 0 5px #2788e73b,0 4px 8px #0003}
.mtg-map-edit-pin{background:transparent;border:0}.mtg-map-edit-pin>span{display:block;width:26px;height:26px;background:#e89a12;border:4px solid white;border-radius:50%;box-shadow:0 1px 12px #0005}
.mtg-map-selected-pin{background:transparent;border:0}.mtg-map-selected-pin>span{display:block;width:28px;height:28px;background:#78ae18;border:4px solid white;border-radius:50%;box-shadow:0 1px 12px #0005}
.mtg-geo-map .leaflet-control-layers{border-radius:12px;overflow:hidden;box-shadow:0 6px 14px rgba(0,0,0,.1)}
@media(max-width:520px){.mtg-map-header{font-size:.72rem}.mtg-location-readout strong{font-size:.78rem}}
[data-theme="dark"] .mtg-location-badge.ready{color:#b3ec60}
[data-theme="dark"] .mtg-mode.active{background:#253c0b;color:#dcffa2;border-color:#8bad39}
