/* =========================================================
   BLLEY — GATEWAY SHOPS TAB STYLESHEET (UI-010)

   Compiled asset — do not edit directly. The locked package's bytes follow
   this banner unchanged, and an automated test asserts they still do.
   ========================================================= */

/* =========================================================
   BLLEY UI-010 — Shops tab for blley.com (LOCKED, BLLEY-111)
   Built on the locked UI-009 tokens; this file adds only the Shops tab
   pieces. The production gateway ships it verbatim.
   ========================================================= */
/* Module colours — soft tints, one per shop section */
:root{
  --mod-grocery:#127A56;  --mod-grocery-bg:#E7F5EE;
  --mod-food:#C2410C;     --mod-food-bg:#FFF1E7;
  --mod-pharmacy:#0E7490; --mod-pharmacy-bg:#E6F6FA;
  --mod-shopping:#6D28D9; --mod-shopping-bg:#F2ECFF;
}

/* Location pill sits where the currency pill sits on Property */
.locbtn{gap:7px;max-width:100%}
.locbtn svg{width:14px;height:14px;color:var(--brand-600)}
.locbtn span{font-weight:600;color:var(--ink-500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.locbtn span b{color:var(--ink-900);font-weight:700}

/* Module tiles — one row, as many columns as modules are switched on */
.modtiles{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:10px;margin-top:10px}
.modtile{
  min-width:0;display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 14px;border:1px solid var(--line);
  border-radius:var(--r-md);background:#fff;transition:.18s var(--ease)
}
.modtile:hover,.modtile.is-on{border-color:var(--brand-600);box-shadow:var(--e1)}
.modtile.is-on{background:var(--brand-50)}
.modtile-ic{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.modtile-ic svg{width:22px;height:22px}
.modtile-txt{display:flex;flex-direction:column;min-width:0}
.modtile-txt b{font-family:var(--font-ui);font-size:15.5px;font-weight:800;color:var(--ink-900);letter-spacing:-.01em}
.modtile-txt small{font-size:12.5px;color:var(--ink-400);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.modtile-go{margin-left:auto;color:var(--ink-400);display:flex}
.modtile-go svg{width:16px;height:16px}
.modtile:hover .modtile-go{color:var(--brand-600)}

.mod-grocery{background:var(--mod-grocery-bg);color:var(--mod-grocery)}
.mod-food{background:var(--mod-food-bg);color:var(--mod-food)}
.mod-pharmacy{background:var(--mod-pharmacy-bg);color:var(--mod-pharmacy)}
.mod-shopping{background:var(--mod-shopping-bg);color:var(--mod-shopping)}

/* Store cards reuse the locked .card; only the media tint and name are new */
.storecard .card-media{aspect-ratio:16/9}
.mod-bg-grocery{background:var(--mod-grocery-bg)}
.mod-bg-food{background:var(--mod-food-bg)}
.mod-bg-pharmacy{background:var(--mod-pharmacy-bg)}
.mod-bg-shopping{background:var(--mod-shopping-bg)}
.mod-bg-grocery.is-fallback::after{color:var(--mod-grocery)}
.mod-bg-food.is-fallback::after{color:var(--mod-food)}
.mod-bg-pharmacy.is-fallback::after{color:var(--mod-pharmacy)}
.mod-bg-shopping.is-fallback::after{color:var(--mod-shopping)}
.store-name{font-family:var(--font-ui);font-size:16.5px;font-weight:800;color:var(--ink-900);letter-spacing:-.015em;line-height:1.3}

@media (max-width:1000px){
  .modtiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .modtiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .modtile-txt small{font-size:11.5px}
  .modtile{min-height:60px;padding:10px;gap:9px}
  .modtile-ic{width:36px;height:36px}
  .modtile-go{display:none}
  .locbtn span{max-width:200px}
}

/* Store media: the section icon instead of repeating the store name */
.store-ic{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.store-ic svg{width:44px;height:44px;opacity:.75}
.mod-bg-grocery .store-ic{color:var(--mod-grocery)}
.mod-bg-food .store-ic{color:var(--mod-food)}
.mod-bg-pharmacy .store-ic{color:var(--mod-pharmacy)}
.mod-bg-shopping .store-ic{color:var(--mod-shopping)}

/* Production: tile counts as classes (the gateway sets no inline layout) */
.modtiles--1{--n:1}.modtiles--2{--n:2}.modtiles--3{--n:3}.modtiles--4{--n:4}
@media (max-width:1000px){.modtiles--1{grid-template-columns:minmax(0,1fr)}}

/* Shops tab: the panel note and the continuation band */
.shops-note{font-size:13.5px;color:var(--ink-400)}
@media (max-width:720px){
  #countrySeg,.country-seg{width:auto}
  #countrySeg button,.country-seg a{flex:0 0 auto;padding:8px 18px}
}

/* Production: the country row is links (the gateway ships no script).
   Same metrics as the locked `.seg button` and `.seg--intent` selected state. */
.country-seg a{
  display:inline-flex;align-items:center;font-family:var(--font-ui);font-size:13.5px;font-weight:700;color:var(--ink-500);
  padding:8px 16px;border-radius:var(--r-pill);min-height:38px;white-space:nowrap;transition:.16s
}
.country-seg a[aria-current="page"]{background:var(--brand-600);color:#fff}
.country-seg a:hover:not([aria-current="page"]){color:var(--ink-900)}
