/* Round 7 — screen-specific mobile corrections from visual review */
:root{--r7-x:10px;--r7-gold:#f3d46b;--r7-text:#f8f0d8;--r7-muted:#b8ad91;--r7-line:rgba(212,175,55,.20)}

/* Header: one identity + no more than two contextual actions */
.topbar{min-height:60px!important;padding:7px var(--r7-x)!important;gap:8px!important}
.brandMark,.compactHomeBtn{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:13px!important}
#pageTitle{font-size:22px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#topicons{gap:6px!important;margin-left:auto!important}
#topicons .iconbtn{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:13px!important}
#btnChat.hidden,#btnSearch.hidden,#btnSort.hidden{display:none!important}
.searchbar{display:none!important}

/* Hub: compact status strip and balanced icon grid */
#viewMain{gap:10px!important}
#viewMain .hubTop{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
#viewMain .hubTile{min-height:72px!important;padding:10px 11px!important;border-radius:15px!important;box-shadow:none!important}
#viewMain .hubTileK{font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
#viewMain .hubTileS:first-of-type{font-size:14px!important;margin-top:3px!important}
#viewMain .hubTileS{font-size:11px!important;margin-top:2px!important;padding-right:38px!important}
#viewMain .hubTile:first-child::after,#viewMain .hubTileGraphic{width:36px!important;height:36px!important;right:9px!important;top:18px!important;border-radius:11px!important}
.hubModulesHead{margin:2px 1px 0!important}
.hubModulesHead .sectionTitle{font-size:18px!important}
.hubModuleGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.hubModuleTile{min-height:64px!important;padding:4px 2px!important;gap:3px!important;border-radius:13px!important;box-shadow:none!important}
.hubModuleIcon{width:38px!important;height:38px!important;border:0!important;background:transparent!important;padding:0!important}
.hubModuleIcon img{width:38px!important;height:38px!important;display:block!important;object-fit:contain!important}
.hubModuleTile>span:last-child{font-size:9px!important;line-height:1.05!important;color:var(--r7-text)!important}

/* Shop: no duplicated navigation, labels or oversized category cards */
#viewCategories .shopSectionHead{margin:1px 0 8px!important}
#viewCategories .shopSectionHead strong{font-size:18px!important}
#viewCategories .shopSectionHead span{display:none!important}
#viewCategories .gridCat,#viewSubcats .gridCat{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
#viewCategories .tile,#viewSubcats .tile{min-height:62px!important;padding:4px 3px!important;border-radius:13px!important;box-shadow:none!important}
#viewCategories .tile .img,#viewSubcats .tile .img{height:36px!important;padding:0!important;border-radius:9px!important}
#viewCategories .tile .img .imgReal,#viewSubcats .tile .img .imgReal{object-fit:contain!important;padding:0!important}
#viewCategories .tile .label,#viewSubcats .tile .label{margin-top:4px!important;font-size:9px!important;line-height:1.05!important;color:var(--r7-text)!important}
.shopProductGrid,.gridProd{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.shopProductCard{min-height:0!important;padding:7px!important;border-radius:15px!important;box-shadow:none!important}
.shopProductImage{aspect-ratio:1/1!important;height:auto!important;border-radius:11px!important}
.shopProductImage .imgReal{padding:5px!important;object-fit:contain!important}
.shopProductTitle{font-size:12px!important;line-height:1.15!important;min-height:2.3em!important;color:var(--r7-text)!important}
.shopProductMeta{font-size:10px!important;line-height:1.15!important;color:var(--r7-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.shopProductBottom{margin-top:7px!important;gap:5px!important}
.shopProductBottom>strong{font-size:13px!important;color:var(--r7-gold)!important}
.shopSaveBtn{width:32px!important;height:32px!important;top:7px!important;right:7px!important;border-radius:9px!important}
.shopCartBtn{min-width:36px!important;height:34px!important;padding:0 8px!important;border-radius:10px!important}
.shopCartBtn span{display:none!important}

/* Services: category-first, compact cards, no repeated framing */
#moduleSectionTitle{font-size:0!important;height:0!important;margin:0!important;overflow:hidden!important}
.serviceCategoryGrid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
.serviceCategoryTile{min-height:62px!important;padding:5px 2px!important;border-radius:13px!important;gap:3px!important;box-shadow:none!important}
.serviceCategoryTile span{width:32px!important;height:32px!important;border-radius:9px!important}
.serviceCategoryTile span svg{width:19px!important;height:19px!important}
.serviceCategoryTile strong{font-size:9px!important;color:var(--r7-text)!important}
.serviceProGrid{grid-template-columns:1fr!important;gap:7px!important}
.serviceProCard{min-height:88px!important;padding:10px!important;gap:9px!important;border-radius:15px!important;box-shadow:none!important}
.serviceProIcon{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:12px!important}
.serviceProIcon svg{width:23px!important;height:23px!important}
.serviceProTitle{font-size:14px!important;color:var(--r7-text)!important}
.serviceProMeta{font-size:11px!important;color:var(--r7-muted)!important;margin-top:3px!important}
.serviceProBottom{margin-top:8px!important}
.serviceBookBtn{min-height:34px!important;padding:0 10px!important;border-radius:10px!important}
.serviceSaveBtn{width:30px!important;height:30px!important;top:8px!important;right:8px!important;border-radius:9px!important}
.rcPageHead{margin:4px 1px 7px!important}
.rcPageHead h2{font-size:18px!important}
.rcTextAction{min-height:34px!important;padding:0 10px!important;border-radius:10px!important}
.rcCompactSearch{height:42px!important;margin-bottom:8px!important;border-radius:12px!important}

/* Bottom navigation: smaller active state and guaranteed content clearance */
.content{padding-bottom:92px!important}
.moduleBottomBar{left:8px!important;right:8px!important;bottom:calc(7px + env(safe-area-inset-bottom))!important;min-height:66px!important;padding:5px!important;border-radius:18px!important}
.moduleBottomBar button{min-height:50px!important;border-radius:12px!important;padding:4px 2px!important}
.moduleBottomBar button.active{box-shadow:none!important}
.moduleBottomBar img,.moduleBottomBar svg{width:21px!important;height:21px!important}
.moduleBottomBar span{font-size:9px!important}

@media(max-width:360px){
 :root{--r7-x:8px}
 #pageTitle{font-size:20px!important}
 .hubModuleIcon{width:35px!important;height:35px!important}
 .hubModuleIcon img{width:35px!important;height:35px!important}
 .serviceCategoryGrid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .serviceCategoryTile strong{font-size:8px!important}
}
