:root{--discovery-green:#078648;--discovery-orange:#ff6500;--discovery-ink:#10271d}
.app-shop-rail{display:flex;overflow-x:auto;gap:12px;padding:2px 2px 10px;scroll-snap-type:x proximity}
.shop-discovery-card{flex:0 0 310px;max-width:310px;scroll-snap-align:start;border:1px solid #cbe9d8;border-radius:16px;background:#fff;padding:14px;box-shadow:0 7px 22px rgba(4,87,45,.06);color:var(--discovery-ink)}
.shop-discovery-top{display:flex;gap:11px;align-items:flex-start}.shop-discovery-logo{width:48px;height:48px;flex:0 0 48px;border-radius:12px;border:1px solid #d9ece1;object-fit:cover;background:#fff}.shop-discovery-logo--fallback{display:grid;place-items:center;background:var(--shop-accent,#12c25b);color:#fff;font-weight:800;font-size:1.1rem}.shop-discovery-identity{min-width:0}.shop-discovery-name{font-weight:800;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-discovery-verified{display:inline-grid;place-items:center;margin-left:4px;width:16px;height:16px;border-radius:50%;background:#0abc61;color:#fff;font-size:11px}.shop-discovery-category,.shop-discovery-location{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-discovery-category{margin-top:2px;color:#455c51;font-size:.74rem}.shop-discovery-location{margin-top:3px;color:#687c72;font-size:.72rem}.shop-discovery-thumbs{height:72px;margin:12px 0 11px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.shop-discovery-thumb{display:block;overflow:hidden;border-radius:9px;background:#eff6f2}.shop-discovery-thumb:empty:after{content:'Product';display:grid;place-items:center;height:100%;color:#91a49a;font-size:.68rem}.shop-discovery-thumb img{width:100%;height:100%;object-fit:cover}.shop-discovery-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;border-top:1px solid #e5f1ea;padding-top:10px}.shop-discovery-signals{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.shop-discovery-plan{color:var(--discovery-orange);font-size:.69rem;font-weight:800}.shop-discovery-status{font-size:.72rem;font-weight:750;color:#52665c}.shop-discovery-status--live{color:#dc2626}.shop-discovery-status--reel,.shop-discovery-status--new{color:var(--discovery-green)}.shop-discovery-visit{flex:none;color:var(--discovery-green);font-size:.76rem;font-weight:800;text-decoration:none}.shop-discovery-visit:hover{color:var(--discovery-orange)}
.shop-directory{max-width:1240px;margin:0 auto;padding:34px 24px 64px}.shop-directory-hero span{color:var(--discovery-orange);font-size:.72rem;font-weight:850;letter-spacing:.12em}.shop-directory-hero h1{margin:5px 0 5px;font-size:clamp(2rem,4vw,3.4rem);font-weight:850;letter-spacing:-.045em;color:var(--discovery-ink)}.shop-directory-hero p{margin:0;color:#50645a}.shop-directory-filters{margin:26px 0 16px;padding:18px 0;border-top:1px solid #dbe9e1;border-bottom:1px solid #dbe9e1;display:grid;grid-template-columns:2fr repeat(4,1fr) auto;gap:10px;align-items:end}.shop-directory-filters label span{display:block;margin:0 0 5px;font-size:.7rem;font-weight:800;color:#52665c}.shop-directory-filters input,.shop-directory-filters select{width:100%;height:44px;padding:0 11px;border:1px solid #cedfd5;border-radius:10px;background:#fff;color:#17281f}.shop-directory-filters button{height:44px;border:0;border-radius:10px;padding:0 20px;background:var(--discovery-orange);color:#fff;font-weight:800}.shop-directory-summary{margin:12px 0;color:#52665c}.shop-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.shop-directory-grid .shop-discovery-card{max-width:none}.shop-directory-pages{display:flex;justify-content:center;gap:22px;margin:28px 0}.shop-directory-pages a{color:var(--discovery-green);font-weight:750}.shop-directory-seller{margin-top:34px;padding:20px 0;border-top:2px solid var(--discovery-orange);display:flex;justify-content:space-between;gap:20px;align-items:center}.shop-directory-seller span{display:block;color:#52665c}.shop-directory-seller a{padding:11px 15px;border-radius:10px;background:#fff3e9;color:#bd4b00;font-weight:800;text-decoration:none}.shop-directory-empty{grid-column:1/-1;padding:60px 20px;text-align:center;background:#f5faf7;border-radius:16px}
@media(max-width:980px){.shop-directory-filters{grid-template-columns:repeat(2,1fr)}.shop-directory-search{grid-column:1/-1}.shop-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.shop-discovery-card{flex-basis:282px;max-width:282px}.shop-directory{padding:22px 14px 48px}.shop-directory-filters{grid-template-columns:1fr}.shop-directory-search{grid-column:auto}.shop-directory-grid{grid-template-columns:1fr}.shop-directory-grid .shop-discovery-card{max-width:none}.shop-directory-seller{align-items:flex-start;flex-direction:column}}

/* Full-width shop directory. This page uses its own discovery navigation and
   should never inherit the catalogue's fixed category sidebar. */
body.shop-directory-page{background:#f7fbf8;color:#102018;font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.shop-directory-page button,body.shop-directory-page input,body.shop-directory-page select,body.shop-directory-page textarea{font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.shop-directory-page #sidebarMenu{display:none!important}
body.shop-directory-page .container-fluid{padding-left:0!important;padding-right:0!important}
body.shop-directory-page .row.flex-nowrap{display:block;width:100%;margin:0}
body.shop-directory-page .main-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;flex:0 0 100%!important}
body.shop-directory-page .site-footer{margin-left:0!important;width:100%!important}

body.shop-directory-page .shop-directory{max-width:1240px;margin:0 auto;padding:48px 28px 72px}
body.shop-directory-page .shop-directory-hero{max-width:760px;padding:4px 0 30px}
body.shop-directory-page .shop-directory-kicker{display:block;margin:0 0 9px;color:#08783a;font-size:12px;font-weight:700;line-height:16px;letter-spacing:.12em;text-transform:uppercase}
body.shop-directory-page .shop-directory-hero h1{max-width:13ch;margin:0;color:#0b2b1b;font-family:"Poppins",sans-serif;font-size:clamp(38px,5vw,58px);font-weight:700;line-height:1.08;letter-spacing:-.04em}
body.shop-directory-page .shop-directory-hero h1 em{color:#ff6600;font-style:normal}
body.shop-directory-page .shop-directory-hero p{max-width:610px;margin:14px 0 0;color:#647168;font-size:16px;line-height:25px}

body.shop-directory-page .shop-directory-filters{position:relative;margin:0 0 18px;padding:22px 24px;border:1px solid #dce9e1;border-radius:16px;background:#fff;box-shadow:0 8px 32px rgba(11,43,27,.07);grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(130px,1fr)) auto;gap:12px}
body.shop-directory-page .shop-directory-filters label span{margin-bottom:7px;color:#456052;font-size:12px;font-weight:700;line-height:16px}
body.shop-directory-page .shop-directory-filters input,
body.shop-directory-page .shop-directory-filters select{height:48px;padding:0 13px;border:1px solid #cadfd2;border-radius:11px;color:#102018;background:#fff;font-size:14px;outline:none;transition:border-color 150ms ease,box-shadow 150ms ease}
body.shop-directory-page .shop-directory-filters input:focus,
body.shop-directory-page .shop-directory-filters select:focus{border-color:#12c25b;box-shadow:0 0 0 3px rgba(18,194,91,.12)}
body.shop-directory-page .shop-directory-filters button{height:48px;padding:0 21px;border-radius:11px;background:#ff6600;font-size:14px;transition:background 150ms ease,transform 150ms ease}
body.shop-directory-page .shop-directory-filters button:hover{background:#e85d00;transform:translateY(-1px)}
body.shop-directory-page .shop-directory-summary{margin:24px 0 12px;color:#647168;font-size:14px}
body.shop-directory-page .shop-directory-summary strong{color:#0b2b1b;font-family:"Poppins",sans-serif;font-size:18px}

body.shop-directory-page .shop-directory-grid{gap:18px}
body.shop-directory-page .shop-discovery-card{padding:16px;border-color:#dce9e1;border-radius:16px;box-shadow:0 5px 22px rgba(11,43,27,.055);transition:transform 160ms ease,border-color 160ms ease,box-shadow 160ms ease}
body.shop-directory-page .shop-discovery-card:hover{transform:translateY(-2px);border-color:#b7dfc7;box-shadow:0 12px 30px rgba(11,43,27,.09)}
body.shop-directory-page .shop-discovery-logo{width:52px;height:52px;flex-basis:52px;border-radius:13px}
body.shop-directory-page .shop-discovery-name{color:#102018;font-family:"Poppins",sans-serif;font-size:14px;font-weight:600}
body.shop-directory-page .shop-discovery-category{color:#456052;font-size:12px}
body.shop-directory-page .shop-discovery-location{color:#718079;font-size:12px}
body.shop-directory-page .shop-discovery-thumbs{height:92px;margin:15px 0 13px;gap:8px}
body.shop-directory-page .shop-discovery-thumb{border-radius:10px;background:#eef7f1}
body.shop-directory-page .shop-discovery-bottom{padding-top:12px;border-color:#e3eee7}
body.shop-directory-page .shop-discovery-plan{font-size:11px;letter-spacing:.02em}
body.shop-directory-page .shop-discovery-status{font-size:12px}
body.shop-directory-page .shop-discovery-visit{min-height:36px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid #bfe9cf;border-radius:9px;color:#08783a;background:#f5fcf8;font-size:12px}
body.shop-directory-page .shop-discovery-visit:hover{border-color:#ffb486;color:#c44f05;background:#fff8f3}
body.shop-directory-page .shop-directory-seller{margin-top:40px;padding:24px 0;border-top:1px solid #dce9e1}
body.shop-directory-page .shop-directory-seller strong{display:block;margin-bottom:4px;font-family:"Poppins",sans-serif;color:#0b2b1b}

@media(max-width:1100px){body.shop-directory-page .shop-directory-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-directory-search{grid-column:span 2}}
@media(max-width:820px){body.shop-directory-page .shop-directory{padding:34px 20px 64px}body.shop-directory-page .shop-directory-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-directory-search{grid-column:1/-1}body.shop-directory-page .shop-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.shop-directory-page .shop-directory{padding:25px 14px 104px}body.shop-directory-page .shop-directory-hero{padding-bottom:22px}body.shop-directory-page .shop-directory-hero h1{font-size:36px}body.shop-directory-page .shop-directory-hero p{font-size:14px;line-height:21px}body.shop-directory-page .shop-directory-filters{grid-template-columns:1fr;padding:18px 16px;gap:11px}.shop-directory-search{grid-column:auto}body.shop-directory-page .shop-directory-grid{grid-template-columns:1fr}body.shop-directory-page .shop-discovery-thumbs{height:104px}body.shop-directory-page .shop-directory-seller{align-items:flex-start;flex-direction:column}}

.shop-discovery-status:is(button,a){appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;font-size:.72rem;font-weight:800;text-decoration:none;cursor:pointer}.shop-discovery-status--reel:hover{color:var(--discovery-orange)}
.shop-reel-modal{position:fixed;inset:0;z-index:2147483000;display:none;place-items:center;color:#fff;isolation:isolate}.shop-reel-modal.is-open{display:grid}.shop-reel-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.86)}.shop-reel-modal__stage{position:relative;width:min(100vw,520px);height:100dvh;max-height:920px;overflow:hidden;background:#000}.shop-reel-modal video{display:block;width:100%;height:100%;object-fit:contain;background:#000}.shop-reel-modal__close,.shop-reel-modal__shop{position:absolute;z-index:2;top:max(14px,env(safe-area-inset-top));color:#fff;background:rgba(8,20,14,.76);backdrop-filter:blur(10px)}.shop-reel-modal__close{right:14px;width:46px;height:46px;border:0;border-radius:50%;font-size:28px;line-height:1}.shop-reel-modal__shop{left:14px;max-width:calc(100% - 88px);padding:11px 15px;border-radius:999px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:800}.shop-reel-modal__status{position:absolute;z-index:2;left:50%;top:50%;translate:-50% -50%;padding:10px 14px;border-radius:999px;background:rgba(0,0,0,.68);font-size:.85rem;font-weight:700;white-space:nowrap}.shop-reel-modal__status[hidden]{display:none}body.shop-reel-open{overflow:hidden}
.shop-reel-modal__counter{position:absolute;z-index:3;top:max(20px,calc(env(safe-area-inset-top) + 6px));left:50%;translate:-50% 0;padding:7px 12px;border-radius:999px;background:rgba(8,20,14,.76);font-size:.82rem;font-weight:800}.shop-reel-modal__counter[hidden],.shop-reel-modal__nav[hidden]{display:none}.shop-reel-modal__nav{position:absolute;z-index:3;top:50%;translate:0 -50%;width:48px;height:58px;border:0;border-radius:16px;background:rgba(8,20,14,.72);color:#fff;font-size:30px}.shop-reel-modal__nav--prev{left:12px}.shop-reel-modal__nav--next{right:12px}.shop-reel-modal__warm{display:none!important}
@media(max-width:699px){.shop-reel-modal__nav{top:auto;bottom:max(74px,calc(env(safe-area-inset-bottom) + 62px));width:48px;height:48px;border-radius:50%}}
@media(min-width:700px){.shop-reel-modal__stage{height:min(92dvh,920px);border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.48)}}

/* Instant marketplace filters */
body.shop-directory-page .shop-directory-filters{display:block;padding:20px 22px}
.shop-filter-search label>span,.shop-filter-label{display:block;margin:0 0 8px;color:#456052;font-size:12px;font-weight:700;line-height:16px}
.shop-search-control{position:relative;max-width:620px}.shop-search-control input{width:100%;height:48px;padding:0 44px 0 14px;border:1px solid #cadfd2;border-radius:12px;background:#fff;color:#102018;font:14px "Inter",sans-serif;outline:none}.shop-search-control input:focus{border-color:#12c25b;box-shadow:0 0 0 3px rgba(18,194,91,.12)}.shop-search-control>span{position:absolute;right:15px;top:50%;translate:0 -50%;color:#08783a;font-size:22px}
.shop-filter-group{margin-top:18px}.shop-filter-chips{display:flex;gap:8px;overflow-x:auto;padding:1px 1px 5px;scrollbar-width:thin}.shop-filter-chips button{flex:none;min-height:38px;padding:0 14px;border:1px solid #d3e4da;border-radius:999px;background:#fff;color:#456052;font:600 13px "Inter",sans-serif;cursor:pointer;transition:120ms ease}.shop-filter-chips button:hover{border-color:#91cdaa;color:#08783a}.shop-filter-chips button.is-active{border-color:#0b8b48;background:#eaf9f0;color:#08783a;box-shadow:inset 0 0 0 1px rgba(11,139,72,.08)}
.shop-filter-lower{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:start;margin-top:13px;padding-top:17px;border-top:1px solid #e3eee7}.shop-filter-group--compact{margin-top:0}
.shop-location-picker{position:relative}.shop-location-picker summary{height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 15px;border:1px solid #cadfd2;border-radius:12px;background:#fff;cursor:pointer;list-style:none}.shop-location-picker summary::-webkit-details-marker{display:none}.shop-location-picker summary small{display:block;color:#718079;font-size:11px;font-weight:600}.shop-location-picker summary strong{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102018;font-size:14px}.shop-location-picker summary b{color:#08783a;font-size:18px}.shop-location-picker[open] summary{border-color:#12c25b;box-shadow:0 0 0 3px rgba(18,194,91,.12)}
.shop-location-panel{position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:min(390px,calc(100vw - 40px));max-height:390px;overflow:auto;padding:10px;border:1px solid #dce9e1;border-radius:14px;background:#fff;box-shadow:0 20px 50px rgba(11,43,27,.16)}.shop-location-search{position:sticky;z-index:2;top:-10px;display:flex;align-items:center;gap:8px;padding:10px 8px;background:#fff;border-bottom:1px solid #e5eee8}.shop-location-search input{width:100%;height:38px;border:0;outline:0;color:#102018;font:14px "Inter",sans-serif}.shop-location-search span{color:#08783a;font-size:18px}.shop-location-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 10px;border:0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.shop-location-option:hover,.shop-location-option.is-active{background:#eef9f2}.shop-location-option span{color:#102018;font:600 13px "Inter",sans-serif}.shop-location-option small{flex:none;color:#718079;font:11px "Inter",sans-serif}.shop-location-empty{padding:16px 8px;color:#718079;font-size:13px;text-align:center}
.shop-location-view[hidden]{display:none!important}.shop-location-step{margin:7px 8px 5px;color:#718079;font-size:11px;line-height:16px}.shop-location-step strong{color:#102018}.shop-location-back{display:inline-flex;align-items:center;height:32px;margin:3px 4px 2px;padding:0 7px;border:0;background:transparent;color:#08783a;font:700 12px "Inter",sans-serif;cursor:pointer}.shop-location-back:hover{color:#ff6600}
.shop-filter-clear{margin-top:14px;padding:0;border:0;background:none;color:#c44f05;font:700 12px "Inter",sans-serif;cursor:pointer}
@media(max-width:980px){.shop-filter-lower{grid-template-columns:1fr}.shop-location-picker{max-width:440px}}
@media(max-width:620px){body.shop-directory-page .shop-directory-filters{padding:16px}.shop-filter-lower{gap:14px}.shop-filter-chips{margin-right:-16px;padding-right:16px}.shop-location-picker{max-width:none}.shop-location-picker summary strong{max-width:260px}.shop-location-panel{position:fixed;z-index:2147482000;left:12px;right:12px;top:auto;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;max-height:min(62vh,480px);border-radius:18px}.shop-location-option{padding:13px 10px}}

/* Guard these controls from the site's generic orange button treatment. */
.shop-filter-search,.shop-search-control{width:100%!important;max-width:none!important}
.shop-filter-search label{display:block!important;width:100%!important}
.shop-filter-chips{scrollbar-width:none!important}.shop-filter-chips::-webkit-scrollbar{display:none!important}
body.shop-directory-page .shop-filter-chips button{min-height:38px!important;padding:0 14px!important;border:1px solid #d3e4da!important;border-radius:999px!important;background:#fff!important;color:#456052!important;font:600 13px "Inter",sans-serif!important;box-shadow:none!important}
body.shop-directory-page .shop-filter-chips button:hover{border-color:#91cdaa!important;color:#08783a!important}
body.shop-directory-page .shop-filter-chips button.is-active{border-color:#0b8b48!important;background:#eaf9f0!important;color:#08783a!important;box-shadow:inset 0 0 0 1px rgba(11,139,72,.08)!important}
body.shop-directory-page .shop-location-option{display:flex!important;width:100%!important;padding:11px 10px!important;border:0!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
body.shop-directory-page .shop-location-option[hidden]{display:none!important}
body.shop-directory-page .shop-location-option:hover,body.shop-directory-page .shop-location-option.is-active{background:#eef9f2!important}
body.shop-directory-page .shop-location-back{height:32px!important;min-height:32px!important;padding:0 7px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#08783a!important;box-shadow:none!important;font:700 12px "Inter",sans-serif!important}

/* Compact, progressive shop filters */
body.shop-directory-page .shop-directory-filters{margin-bottom:18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.shop-filter-shell{position:relative}
.shop-filter-trigger{display:flex;min-height:64px;align-items:center;gap:12px;padding:10px 16px;border:1px solid #d6e7dd;border-radius:16px;background:#fff;box-shadow:0 7px 25px rgba(11,43,27,.065);cursor:pointer;list-style:none;transition:border-color 150ms ease,box-shadow 150ms ease}
.shop-filter-trigger::-webkit-details-marker{display:none}
.shop-filter-trigger:hover{border-color:#acd8bd;box-shadow:0 9px 28px rgba(11,43,27,.09)}
.shop-filter-trigger__icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:11px;background:#edf9f2;color:#078648;font-size:22px;font-weight:700}
.shop-filter-trigger__copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}
.shop-filter-trigger__copy strong{color:#102018;font:600 14px "Poppins",sans-serif}
.shop-filter-trigger__copy small{overflow:hidden;color:#6b7c73;font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}
.shop-filter-trigger__active{padding:5px 9px;border-radius:999px;background:#eaf9f0;color:#08783a;font-size:11px;font-weight:700}
.shop-filter-trigger__chevron{color:#08783a;font-size:19px;transition:transform 150ms ease}
.shop-filter-shell[open]>.shop-filter-trigger{border-color:#b9dcc7;border-radius:16px 16px 12px 12px}
.shop-filter-shell[open]>.shop-filter-trigger .shop-filter-trigger__chevron{transform:rotate(180deg)}
.shop-filter-drawer{margin-top:10px;padding:18px 20px;border:1px solid #dce9e1;border-radius:16px;background:#fff;box-shadow:0 10px 34px rgba(11,43,27,.075)}
.shop-filter-drawer__head{display:none}
.shop-filter-group{margin-top:14px}
.shop-filter-lower{gap:14px;margin-top:10px;padding-top:14px}
.shop-filter-chips{gap:6px;padding-bottom:3px}
body.shop-directory-page .shop-filter-chips button{min-height:32px!important;height:32px!important;padding:0 11px!important;font-size:12px!important}
.shop-location-picker summary{height:50px;padding:0 13px}
.shop-filter-clear{margin-top:11px}
.shop-filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #e3eee7}
.shop-filter-actions .shop-filter-clear{margin:0 auto 0 0}
body.shop-directory-page .shop-filter-submit{display:inline-flex!important;height:40px!important;min-height:40px!important;align-items:center;justify-content:center;gap:8px;padding:0 18px!important;border:0!important;border-radius:11px!important;background:#ff6600!important;color:#fff!important;box-shadow:0 6px 16px rgba(255,102,0,.2)!important;font:700 13px "Inter",sans-serif!important}
body.shop-directory-page .shop-filter-submit:hover{background:#e85d00!important}
body.shop-directory-page .shop-filter-submit svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

@media(max-width:620px){
  body.shop-directory-page .shop-directory-filters{margin-left:0;margin-right:0}
  .shop-filter-trigger{min-height:58px;padding:9px 12px;border-radius:14px}
  .shop-filter-trigger__icon{width:36px;height:36px;flex-basis:36px}
  .shop-filter-trigger__copy strong{font-size:13px}
  .shop-filter-trigger__copy small{max-width:58vw;font-size:11px}
  .shop-filter-trigger__active{display:none}
  .shop-filter-shell[open]::before{content:"";position:fixed;z-index:2147481990;inset:0;background:rgba(5,22,13,.48);backdrop-filter:blur(2px)}
  .shop-filter-shell[open]>.shop-filter-trigger{border-radius:14px}
  .shop-filter-drawer{position:fixed;z-index:2147481995;right:0;bottom:0;left:0;max-height:88dvh;margin:0;padding:16px 16px calc(20px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;border:0;border-radius:22px 22px 0 0;box-shadow:0 -18px 50px rgba(5,22,13,.2)}
  .shop-filter-drawer__head{position:sticky;z-index:5;top:-16px;display:flex;align-items:center;justify-content:space-between;margin:0 -4px 12px;padding:13px 4px 10px;background:#fff;border-bottom:1px solid #e6efe9}
  .shop-filter-drawer__head strong{color:#102018;font:600 16px "Poppins",sans-serif}
  body.shop-directory-page .shop-filter-drawer__head button{display:grid!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;place-items:center;border:1px solid #d9e7df!important;border-radius:50%!important;background:#f6faf7!important;color:#102018!important;box-shadow:none!important;font-size:24px!important;font-weight:500!important}
  .shop-search-control input{height:44px}
  .shop-filter-group{margin-top:13px}
  .shop-filter-lower{gap:13px;margin-top:10px;padding-top:13px}
  .shop-filter-lower>*{min-width:0;width:100%}
  .shop-filter-chips{margin-right:-16px;padding-right:16px}
  body.shop-directory-page .shop-filter-chips button{min-height:31px!important;height:31px!important;padding:0 10px!important;font-size:11.5px!important}
  .shop-location-panel{bottom:12px;max-height:74dvh}
  .shop-location-picker,.shop-location-picker summary{width:100%;min-width:0}
  .shop-filter-actions{position:sticky;z-index:4;bottom:calc(-20px - env(safe-area-inset-bottom));margin:14px -16px -20px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -8px 20px rgba(11,43,27,.06)}
  body.shop-directory-page .shop-filter-submit{height:44px!important;min-height:44px!important;flex:1;font-size:13px!important}
  body.shop-directory-page .shop-directory-summary{margin:18px 0 10px}
  body.shop-directory-page .shop-directory-grid{gap:10px}
  body.shop-directory-page .shop-discovery-card{padding:12px;border-color:#dfece4;border-radius:13px;box-shadow:none}
  body.shop-directory-page .shop-discovery-card:hover{transform:none;border-color:#dfece4;box-shadow:none}
  body.shop-directory-page .shop-discovery-top{gap:10px}
  body.shop-directory-page .shop-discovery-logo{width:44px;height:44px;flex-basis:44px;border-radius:11px}
  body.shop-directory-page .shop-discovery-name{display:-webkit-box;overflow:hidden;font-size:12.5px;line-height:17px;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  body.shop-directory-page .shop-discovery-category,body.shop-directory-page .shop-discovery-location{font-size:11px}
  body.shop-directory-page .shop-discovery-thumbs{height:82px;margin:11px 0 9px;gap:6px}
  body.shop-directory-page .shop-discovery-thumb{border-radius:8px}
  body.shop-directory-page .shop-discovery-bottom{padding-top:9px}
  body.shop-directory-page .shop-discovery-visit{min-height:34px;padding:0 10px}
}


/* Shared Akedi location picker ------------------------------------------------
   Shop Discovery and the product catalogue intentionally use the same visual
   component on desktop and mobile. */
.shop-location-step--all{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #e5eee8;
  color:#456052;
  font-weight:700;
}
.akedi-location-search-results[hidden]{display:none!important}
.akedi-location-search-results .shop-location-option small{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.catalogue-location-form{
  position:relative;
  width:min(360px,100%);
  margin:0;
}
.catalogue-location-form .shop-location-picker{
  width:100%;
}
.catalogue-location-form .shop-location-picker summary{
  width:100%;
  min-width:280px;
}
.catalogue-location-form .shop-location-panel{
  width:min(390px,calc(100vw - 40px));
}

/* A small visual pause between the popular group and the complete Uganda list. */
.akedi-location-district-view>.shop-location-step:first-child{
  margin-top:7px;
  color:#08783a;
  font-weight:700;
}

@media(max-width:620px){
  .catalogue-location-form{
    width:100%;
    max-width:none;
  }
  .catalogue-location-form .shop-location-picker,
  .catalogue-location-form .shop-location-picker summary{
    width:100%;
    min-width:0;
  }
  .catalogue-location-form .shop-location-panel{
    width:auto;
  }
}


/* Desktop filter rhythm: Location, Show me and Order sit on one clean line. */
@media(min-width:621px){
  body.shop-directory-page .shop-filter-lower{
    align-items:center;
  }

  body.shop-directory-page .shop-filter-lower .shop-filter-group--compact{
    min-height:50px;
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:0;
  }

  body.shop-directory-page .shop-filter-lower .shop-filter-group--compact .shop-filter-label{
    flex:0 0 auto;
    margin:0;
    white-space:nowrap;
  }

  body.shop-directory-page .shop-filter-lower .shop-filter-group--compact .shop-filter-chips{
    min-width:0;
    align-items:center;
    padding-top:0;
    padding-bottom:0;
  }
}


/* Seller/editor location shell ------------------------------------------------
   Reuses the same Akedi picker while the underlying Django selects stay
   available for validation and form submission. */
.seller-location-shell{
  position:relative;
  width:100%;
}
.seller-location-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
.seller-location-shell .shop-location-picker,
.seller-location-shell .shop-location-picker summary{
  width:100%;
  min-width:0;
}
.seller-location-shell .shop-location-picker summary{
  min-height:58px;
  height:auto;
}
.seller-location-shell .shop-location-picker summary strong{
  max-width:min(520px,70vw);
}
.seller-location-shell .shop-location-panel{
  width:min(430px,calc(100vw - 40px));
}
.seller-location-caption{
  margin:7px 2px 0;
  color:#6b7770;
  font-size:12px;
  line-height:1.45;
}
.seller-location-errors{
  margin-top:7px;
  color:#b42318;
  font-size:12px;
}
.seller-location-summary-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px 15px;
  border:1px solid #dce9e1;
  border-radius:14px;
  background:#f7fbf8;
}
.seller-location-summary-copy strong{
  display:block;
  color:#102018;
  font-size:14px;
  line-height:1.35;
}
.seller-location-summary-copy span{
  display:block;
  margin-top:4px;
  color:#718079;
  font-size:12px;
  line-height:1.4;
}
.seller-location-change{
  flex:0 0 auto;
  min-height:36px;
  padding:0 12px;
  border:1px solid #bcdccb;
  border-radius:10px;
  background:#fff;
  color:#08783a;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.seller-location-change:hover{
  border-color:#7fc79e;
  background:#eef9f2;
}
.seller-location-editor[hidden]{display:none!important}
.seller-location-editor{margin-top:10px}

@media(max-width:620px){
  .seller-location-shell .shop-location-panel{
    width:auto;
  }
  .seller-location-summary-card{
    align-items:stretch;
    flex-direction:column;
  }
  .seller-location-change{
    width:100%;
  }
}
