body .home-category-sidebar .home-category-group{display:block;box-sizing:border-box;padding:11px 0;border-bottom:1px solid #e5e9e3}
body .home-category-sidebar .home-category-group>a.home-category-main{display:block;margin:0 0 5px;padding:0;color:#283c30;font-size:14px;font-weight:700;line-height:1.45;text-decoration:none}
body .home-category-sidebar .home-category-group>a:not(.home-category-main){display:block;box-sizing:border-box;margin:0;padding:4px 8px 4px 13px;border-radius:6px;color:#174f98;font-size:13px;font-weight:400;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
body .home-category-sidebar .home-category-group>a:not(.home-category-main):hover{background:#f7f4e8;color:#183b70}
body .home-category-sidebar .home-category-branch{margin:0}
body .home-category-sidebar .home-category-branch>summary{padding:4px 0;color:#5d6b62;font-size:12px;line-height:1.4}
body .home-category-sidebar .home-category-branch>div{padding:2px 0 5px 9px}
body .home-category-sidebar .home-category-branch>div>a{display:block;box-sizing:border-box;margin:0;padding:4px 8px;border-radius:6px;color:#174f98;font-size:12px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
body .home-category-sidebar .home-category-branch>div>a:hover{background:#f7f4e8}
@media(max-width:700px){body .home-category-sidebar .home-category-group{padding:9px 0}body .home-category-sidebar .home-category-group>a:not(.home-category-main){padding-top:5px;padding-bottom:5px}}
body .home-category-sidebar .home-category-group:has(> a.home-category-main[href="/category/phones"]),body .home-category-sidebar .home-category-group:has(> a.home-category-main[href="/category/appliances"]),body .home-category-sidebar .home-category-group:has(> a.home-category-main[href="/category/refurbished"]){display:none}
.home-category-sidebar .home-category-branch>summary{color:#174f98!important}

/* Admin-configurable category icon badges */
body .home-category-sidebar .home-category-group > a.home-category-main{display:flex!important;align-items:center;gap:8px;min-height:34px}
body .home-category-sidebar .home-category-group > a.home-category-main::before{content:none!important;display:none!important}
.home-category-icon{display:inline-grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;background:#f7f1cf;color:#75620a;font-size:15px;line-height:1}
.home-category-label{min-width:0}

/* Dark, readable subcategory links */
body .home-category-sidebar .home-category-branch>div a{display:block;color:#263a31!important;font-size:13px!important;font-weight:500;line-height:1.45;padding:5px 8px;border-radius:6px;text-decoration:none}
body .home-category-sidebar .home-category-branch>div a:hover{background:#f7f4e8;color:#1f332a!important}
/* Match every homepage category sublink, including flat groups without branch wrappers. */
body .home-category-sidebar .home-category-group>a:not(.home-category-main){display:block;color:#263a31!important;font-size:13px!important;font-weight:500;line-height:1.45;padding:5px 8px;border-radius:6px;text-decoration:none}
body .home-category-sidebar .home-category-group>a:not(.home-category-main):hover{background:#f7f4e8;color:#1f332a!important}
/* Shared palette for all homepage category subcategories. */
body .home-category-group>a:not(.home-category-main){display:block;color:#263a31!important;font-size:13px!important;font-weight:500!important;line-height:1.45;padding:5px 8px;border-radius:6px;text-decoration:none}
body .home-category-group>a:not(.home-category-main):hover{background:#f7f4e8;color:#1f332a!important}
body .home-category-group .home-category-branch>summary{color:#263a31!important;font-size:13px!important;font-weight:500!important}

/* Polished mobile category filter */
@media (max-width:760px){
  .category-tool-filter{margin:0 0 14px!important}
  .category-tool-filter .category-filter-panel{display:block!important;padding:14px!important;border:1px solid #e2e7e1!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(31,51,42,.07)!important}
  .category-filter-panel .category-mobile-filter-drawer{display:block!important;border:0!important;margin:0!important;padding:0!important;background:transparent!important}
  .category-filter-panel .category-mobile-filter-drawer>summary{display:flex!important;align-items:center;justify-content:space-between;min-height:42px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #edf0eb;color:#263a31;font-size:16px;font-weight:700;list-style:none}
  .category-filter-panel .category-mobile-filter-drawer>summary::-webkit-details-marker,.category-filter-panel .category-filter-advanced>summary::-webkit-details-marker{display:none}
  .category-filter-panel .category-filter-quick{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin:0 0 12px!important}
  .category-filter-panel label{display:grid!important;gap:6px!important;min-width:0;color:#405247!important;font-size:12px!important;font-weight:600!important;line-height:1.35}
  .category-filter-panel input:not([type=hidden]),.category-filter-panel select{box-sizing:border-box;width:100%!important;min-width:0!important;min-height:44px!important;padding:10px 12px!important;border:1px solid #dce3dc!important;border-radius:10px!important;background:#fff!important;color:#263a31!important;font:500 14px/1.3 inherit!important;box-shadow:inset 0 1px 2px rgba(31,51,42,.025)!important}
  .category-filter-panel input::placeholder{color:#9aa49d!important}
  .category-filter-panel .filter-range{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:10px!important;border:1px solid #e7ebe6!important;border-radius:12px!important;background:#f9faf8!important}
  .category-filter-panel .filter-range legend{grid-column:1/-1;padding:0 3px;color:#263a31!important;font-size:13px!important;font-weight:700!important}
  .category-filter-panel .filter-range label{gap:5px!important;font-size:11px!important;font-weight:500!important}
  .category-filter-panel .category-filter-advanced{display:grid!important;gap:11px!important;margin:0!important;padding:0!important;border:0!important}
  .category-filter-panel .category-filter-advanced>label{margin:0!important}
  .category-filter-panel .map-filter-details{margin:0!important;padding:10px!important;border:1px solid #e5eae3!important;border-radius:12px!important;background:#f8faf7!important}
  .category-filter-panel .map-filter-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:28px;color:#263a31;font-size:13px;font-weight:650;list-style:none}
  .category-filter-panel .map-filter-details>summary:after{content:'+';color:#8b7a18;font-size:18px;font-weight:500}
  .category-filter-panel .map-filter-details[open]>summary:after{content:'−'}
  .category-filter-panel .map-filter-details .map-canvas{height:180px!important;margin:10px 0!important;border-radius:10px!important;overflow:hidden}
  .category-filter-panel .category-filter-submit{width:100%!important;min-height:48px!important;margin:12px 0 0!important;border:0!important;border-radius:11px!important;background:#294436!important;color:#fff!important;font-size:14px!important;font-weight:700!important;box-shadow:0 4px 10px rgba(41,68,54,.16)!important}
}
@media (max-width:760px){.category-filter-panel input:not([type=hidden]),.category-filter-panel select{font-size:14px!important;font-weight:500!important;line-height:1.3!important;font-family:inherit!important}}

/* Desktop category filter panel */
@media (min-width:761px){
  .category-tool-filter{align-self:start}
  .category-tool-filter>h2{margin:0 0 12px!important;padding:0 0 11px!important;border-bottom:1px solid #edf0eb!important;color:#263a31!important;font-size:16px!important;font-weight:750!important;letter-spacing:-.01em}
  .category-tool-filter .category-filter-panel{padding:14px!important;border:1px solid #e2e7e1!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 20px rgba(31,51,42,.055)!important}
  .category-filter-panel .category-mobile-filter-drawer>summary{display:none!important}
  .category-filter-panel .category-filter-quick{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;margin:0 0 12px!important}
  .category-filter-panel label{display:grid!important;gap:6px!important;min-width:0;color:#405247!important;font-size:12px!important;font-weight:600!important;line-height:1.35}
  .category-filter-panel input:not([type=hidden]),.category-filter-panel select{box-sizing:border-box;width:100%!important;min-width:0!important;min-height:40px!important;padding:9px 11px!important;border:1px solid #dce3dc!important;border-radius:9px!important;background:#fff!important;color:#263a31!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.3!important;box-shadow:none!important;transition:border-color .16s ease,box-shadow .16s ease}
  .category-filter-panel input:focus,.category-filter-panel select:focus{border-color:#c7a900!important;outline:0!important;box-shadow:0 0 0 3px rgba(230,193,0,.14)!important}
  .category-filter-panel input::placeholder{color:#9aa49d!important}
  .category-filter-panel .filter-range{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:9px!important;border:1px solid #e7ebe6!important;border-radius:10px!important;background:#f9faf8!important}
  .category-filter-panel .filter-range legend{grid-column:1/-1;padding:0 3px;color:#263a31!important;font-size:12px!important;font-weight:700!important}
  .category-filter-panel .filter-range label{gap:4px!important;color:#7b877e!important;font-size:10px!important;font-weight:500!important}
  .category-filter-panel .category-filter-advanced{display:grid!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important}
  .category-filter-panel .category-filter-advanced>label{margin:0!important}
  .category-filter-panel .map-filter-details{min-height:0!important;margin:0!important;padding:8px 10px!important;border:1px solid #e5eae3!important;border-radius:10px!important;background:#f8faf7!important}
  .category-filter-panel .map-filter-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:24px;color:#405247;font-size:12px;font-weight:650;list-style:none;cursor:pointer}
  .category-filter-panel .map-filter-details>summary:after{content:'+';color:#8b7a18;font-size:16px;font-weight:500}
  .category-filter-panel .map-filter-details[open]>summary:after{content:'−'}
  .category-filter-panel .map-filter-details .map-canvas{height:170px!important;margin:10px 0!important;border-radius:9px!important;overflow:hidden}
  .category-filter-panel .category-filter-submit{width:100%!important;min-height:43px!important;margin:12px 0 0!important;border:0!important;border-radius:9px!important;background:#294436!important;color:#fff!important;font-size:13px!important;font-weight:700!important;box-shadow:0 3px 9px rgba(41,68,54,.14)!important;transition:background .16s ease,transform .16s ease}
  .category-filter-panel .category-filter-submit:hover{background:#203a2d!important;transform:translateY(-1px)}
}
