/* Zakka — shared design tokens & primitives
   Used across system / variant-a / variant-b / variant-mobile pages
   Loaded with absolute path so iframes at any depth resolve it. */

.store-v2-page {
  /* Brand palette (sampled from the new homepage screenshot) */
  --blue: #2B57FF;
  --blue-deep: #1A3FD9;
  --blue-soft: #E7EDFF;
  --pink: #FFD6DD;
  --pink-strong: #FFAFC0;
  --yellow: #FFEE6B;
  --lavender: #D9CCFF;
  --mint: #C9F3D8;

  --ink: #0A0A12;
  --ink-2: #2A2A35;
  --muted: #7E7E8A;
  --line: #E8E8E0;
  --line-2: #F2F2EC;
  --paper: #FAFAF5;
  --white: #ffffff;

  /* Type */
  --f-display: "Bagel Fat One", system-ui, sans-serif;
  --f-ui: "Onest", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radius */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
}

.store-v2-page,
.store-v2-page * {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.store-v2-page {
  background: transparent;
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.store-v2-page img { display: block; max-width: 100%; }
.store-v2-page a { color: inherit; text-decoration: none; }
.store-v2-page button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

@font-face {
  font-family: "Druk LCG Wide";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/upload/DRUKWIDELCG-BOLD.TTF") format("truetype");
}

@font-face {
  font-family: "Druk LCG";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/upload/DRUKLCG-BOLD.TTF") format("truetype");
}

@font-face {
  font-family: "Druk Cyr";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/upload/Druk%20Cyr%20Bold.otf") format("opentype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/local/templates/zakka-new-template/fonts/store-v2/2e677548-b0ff-418d-99e7-d17fe99a4e52.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/local/templates/zakka-new-template/fonts/store-v2/e4bbe4f1-1700-4649-9954-1ad074998473.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/local/templates/zakka-new-template/fonts/store-v2/1c852f6f-948a-435b-9b1a-ce63f0e234c9.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/local/templates/zakka-new-template/fonts/store-v2/23890532-dd61-4dcb-ad7d-0bce6bcae5ad.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────── HEADER (top utility bar + main bar) ─────────── */
.zk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.zk-top-left { display: flex; gap: 34px; align-items: center; }
.zk-top-left .city-pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted);
}
.zk-top-left .city-pill b {
  color: var(--blue); font-weight: 600;
  border-bottom: 1px dashed var(--blue);
}
.zk-top-left a { color: var(--ink-2); }

.zk-logo {
  font-family: var(--f-display);
  font-size: 42px;
  letter-spacing: 0.5px;
  color: var(--ink);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 0 0 0 transparent;
  position: relative;
  white-space: nowrap;
}
.zk-logo::before, .zk-logo::after {
  content: "✦"; font-family: var(--f-ui); font-size: 14px;
  position: absolute; top: 0; color: var(--ink);
  -webkit-text-stroke: 0;
}
.zk-logo::before { left: -26px; }
.zk-logo::after { right: -26px; }

.zk-top-right {
  display: flex; align-items: center; gap: 18px;
  color: var(--ink); font-weight: 500;
}
.tg-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; color: var(--blue);
}

.zk-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 64px 22px;
}
.zk-login {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px; color: var(--ink-2);
}
.zk-catalog {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: white;
  padding: 14px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
}
.zk-search {
  flex: 1; display: flex; align-items: center;
  background: white; border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 6px 0 22px; height: 50px;
  color: var(--muted);
}
.zk-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--ink);
}
.zk-search-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: white;
  display: inline-flex; align-items: center; justify-content: center;
}
.zk-iconlink {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 8px;
  color: var(--ink-2);
}
.zk-iconlink .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ─────────── PAGE FRAME ─────────── */
.zk-page {
  background: var(--white);
  font-family: var(--f-ui);
  color: var(--ink);
  min-height: 100%;
}

.common-content:has(.store-v2-page) > .title-page {
  display: none;
}

/* ─────────── PAGE HERO ─────────── */
.zk-hero {
  padding: 0 0 12px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 24px;
}
.zk-hero h1 {
  font-family: "Druk LCG Wide", var(--f-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 0.92;
  color: var(--blue);
  margin: 0 0 38px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.zk-hero h1 .star {
  font-family: var(--f-ui);
  font-size: 56px;
  color: var(--ink);
  display: inline-block;
  vertical-align: super;
  margin-left: 6px;
}
.zk-hero p {
  font-size: 18px; color: var(--ink-2); max-width: 460px;
  margin: 0;
}
.zk-stats {
  display: grid;
  grid-template-columns: repeat(2, 158px);
  gap: 14px;
  justify-self: end;
  align-self: end;
  margin-right: 26px;
}
.zk-stat {
  min-height: 68px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-family: "Druk LCG", var(--f-ui);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  display: inline-flex; align-items: baseline; justify-content: center; gap: 10px;
  border: 0;
  color: inherit;
}
.zk-stat b {
  font-family: "Druk LCG", var(--f-display);
  font-weight: 700;
  font-size: 42px; line-height: 1;
}
.store-v2-page .zk-stat-blue { background: var(--blue); color: white; }
.store-v2-page .zk-stat-pink { background: var(--pink); color: var(--ink); }
.store-v2-page .zk-stat-yellow { background: #f3f8a8; color: var(--ink); }
.zk-stat-map {
  grid-column: 1 / -1;
  justify-self: start;
  width: 238px;
  min-width: 238px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.zk-stat-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.zk-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.zk-stat-label {
  font-family: "Druk LCG", var(--f-ui);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.zk-stat-map:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* ─────────── DETECTED CITY BANNER ─────────── */
.zk-detected {
  margin: 26px 0 10px;
  background: var(--paper);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 22px;
  justify-content: space-between;
}
.zk-detected-l {
  display: flex; align-items: center; gap: 18px;
}
.zk-detected-l .glyph {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.zk-detected-meta {
  font-size: 13px; color: var(--muted); margin-bottom: 4px;
  text-transform: lowercase; letter-spacing: 0.02em;
}
.zk-detected-city {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--ink);
  line-height: 1;
}
.zk-detected-actions {
  display: flex; gap: 10px;
}
.zk-btn {
  padding: 14px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid transparent;
  transition: 0.18s;
}
.store-v2-page .zk-btn-primary,
.store-v2-page .zk-btn-primary:hover,
.store-v2-page .zk-btn-primary:focus {
  background: var(--blue);
  color: #fff !important;
}
.store-v2-page .zk-btn-primary:hover { background: var(--blue-deep); }
.zk-btn-ghost { background: white; color: var(--ink); border-color: var(--ink); }
.zk-btn-ghost:hover { background: var(--ink); color: white; }
.zk-btn-soft { background: var(--blue-soft); color: var(--blue); }

/* ─────────── CITY FILTER ─────────── */
.zk-alpha {
  margin: 36px 0 0;
  opacity: 1;
  transform: translateY(0);
}
.zk-alpha-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 18px;
}
.zk-alpha-head h2 {
  font-family: var(--f-display);
  font-size: 36px;
  margin: 0;
  color: var(--ink);
  text-transform: lowercase;
}
.zk-alpha-head .note {
  font-size: 13px; color: var(--muted);
}
.zk-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 12px;
  align-items: center;
}
.zk-city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #fff;
  color: #111827 !important;
  font-family: var(--f-ui);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.zk-city-pill:hover,
.zk-city-pill.active {
  background: #3D6EEE;
  border-color: #3D6EEE;
  color: #fff !important;
}
.zk-alpha-letters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.zk-letter {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--line-2);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.15s;
}
.zk-letter:hover { background: var(--blue-soft); color: var(--blue); }
.zk-letter.empty { opacity: 0.3; cursor: not-allowed; }
.zk-letter.empty:hover { background: var(--line-2); color: var(--ink-2); }

.zk-alpha-grid {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.zk-alpha-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  align-items: start;
}
.zk-alpha-row:first-child { border-top: 0; }
.zk-alpha-row .letter-big {
  font-family: var(--f-display);
  font-size: 38px;
  line-height: 1;
  color: var(--blue);
  text-transform: uppercase;
}
.zk-cities {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center;
}
.zk-city {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  transition: 0.15s;
}
.zk-city:hover { background: var(--blue-soft); color: var(--blue); }
.zk-city .count {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.zk-city.active {
  background: var(--blue); color: white;
}
.zk-city.active .count { color: rgba(255,255,255,0.7); }

/* ─────────── CITY DETAIL HEADER ─────────── */
.zk-detail-head {
  margin: 56px 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.zk-detail-head h2 {
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}
.zk-detail-head .meta {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.zk-detail-actions { display: flex; gap: 10px; }

/* ─────────── STORE CARD ─────────── */
.zk-card {
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  position: relative;
  transition: 0.18s;
}
.zk-card:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.zk-card.active {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 6px 6px 0 var(--blue);
  transform: translateY(-2px);
}
.zk-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.zk-card-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.zk-card-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  background: var(--mint); color: #0E6F30;
}
.zk-card-status.closed { background: #FFE0E0; color: #B8121F; }
.zk-card-status .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}

.zk-card h3 {
  font-family: var(--f-display);
  font-size: 28px;
  margin: 0;
  text-transform: lowercase;
  color: var(--ink);
  line-height: 1;
}
.zk-card .addr {
  font-size: 14px;
  color: var(--ink-2);
}
.zk-card .addr small {
  display: block; color: var(--muted); margin-top: 4px;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.zk-hours {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: grid; gap: 6px;
  font-size: 13px;
}
.zk-hours .row {
  display: flex; justify-content: space-between;
  color: var(--ink-2);
}
.zk-card-foot {
  display: flex; gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

/* ─────────── MAP ─────────── */
.zk-map {
  border-radius: var(--r-lg);
  border: 1.5px solid var(--ink);
  overflow: hidden;
  position: relative;
  background: #EFEFE6;
}
.zk-map .label {
  position: absolute; top: 14px; left: 14px;
  background: white; padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 1.5px solid var(--ink);
  z-index: 4;
}
.zk-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.zk-map-fallback {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(43,87,255,0.08), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(217,204,255,0.4), transparent 50%),
    linear-gradient(135deg, #F0EFEA, #E6E5DE);
  position: relative;
}
.zk-map-fallback svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.zk-pin {
  position: absolute;
  width: 38px; height: 48px;
  margin: -48px 0 0 -19px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: 0.18s;
}
.zk-pin svg { width: 100%; height: 100%; }
.zk-pin .num {
  position: absolute; top: 8px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
  color: white;
}
.zk-pin.active { transform: scale(1.15); }

/* ─────────── FOOTER (mini) ─────────── */
.zk-foot {
  margin: 80px 64px 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1fr;
  gap: 32px;
  font-size: 13px;
  color: var(--ink-2);
}
.zk-foot h4 {
  font-size: 13px; font-weight: 600;
  margin: 0 0 12px; color: var(--ink);
}
.zk-foot a { display: block; color: var(--muted); padding: 4px 0; }
.zk-foot .logo {
  font-family: var(--f-display);
  font-size: 36px;
  -webkit-text-stroke: 1.5px var(--ink);
  color: white;
}
.zk-foot .phone { font-weight: 600; color: var(--ink); margin-top: 14px; }
.zk-copyright {
  margin: 0 64px;
  padding: 20px 0 28px;
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--line-2);
}

/* ─────────── MOBILE OVERRIDES ─────────── */
.zk-mobile { width: 100%; height: 100%; }
.zk-mobile .zk-top { padding: 18px 20px 10px; font-size: 12px; }
.zk-mobile .zk-top-left { display: none; }
.zk-mobile .zk-bar { padding: 6px 20px 14px; }
.zk-mobile .zk-search { display: none; }
.zk-mobile .zk-iconlink span { display: none; }
.zk-mobile .zk-hero { padding: 18px 20px 4px; grid-template-columns: 1fr; }
.zk-mobile .zk-hero h1 { font-size: 56px; }
.zk-mobile .zk-stats { justify-self: start; }
.zk-mobile .zk-detected { margin: 16px 20px 6px; padding: 16px; border-radius: 22px; }
.zk-mobile .zk-detected-city { font-size: 22px; }
.zk-mobile .zk-detected-l .glyph { width: 40px; height: 40px; }
.zk-mobile .zk-alpha { margin: 24px 20px 0; }
.zk-mobile .zk-detail-head { margin: 28px 20px 0; flex-direction: column; align-items: flex-start; }
.zk-mobile .zk-detail-head h2 { font-size: 48px; }
.zk-mobile .zk-foot, .zk-mobile .zk-copyright { margin-left: 20px; margin-right: 20px; }
.zk-mobile .zk-foot { grid-template-columns: 1fr 1fr; }



  /* Variant-B specific — colourful tile grid, no permanent map */

  .b-detail {
    margin: 24px 0 0;
  }
  /* Each store is a coloured tile, similar to category tiles on homepage */
  .b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .b-tile {
    border-radius: var(--r-lg);
    border: 1.5px solid var(--ink);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    transition: 0.2s;
  }
  .b-tile > div:first-child {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 100%;
  }
  .b-tile:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 var(--ink);
  }
  .b-tile.bg-blue { background: var(--blue); color: white; }
  .b-tile.bg-blue h3 { color: white; }
  .b-tile.bg-blue .addr { color: rgba(255,255,255,0.85); }
  .b-tile.bg-blue .addr small { color: rgba(255,255,255,0.6); }
  .b-tile.bg-blue .zk-hours { border-top-color: rgba(255,255,255,0.25); }
  .b-tile.bg-blue .zk-hours .row { color: rgba(255,255,255,0.8); }
  .b-tile.bg-blue .zk-hours .row span:first-child { color: white; }
  .b-tile.bg-blue .zk-hours .row span:last-child { color: rgba(255,255,255,0.82); }
  .b-tile.bg-blue .b-meta,
  .b-tile.bg-blue .b-meta .status { color: white; }
  .b-tile.bg-blue .b-callout,
  .b-tile.bg-blue .b-callout:hover,
  .b-tile.bg-blue .b-callout:focus,
  .b-tile.bg-blue .b-callout:visited {
    background: #f3f8a8;
    border-color: var(--ink);
    color: var(--ink) !important;
  }
  .b-tile.bg-blue .b-ghost { color: white; border-color: white; }
  .b-tile.bg-blue .b-ghost:hover { background: white; color: var(--blue); }

  .b-tile.bg-pink { background: #fac4e6; }
  .b-tile.bg-yellow { background: var(--yellow); }
  .b-tile.bg-lime { background: #f3f8a8; }
  .b-tile.bg-lavender { background: var(--lavender); }
  .b-tile.bg-paper { background: var(--paper); }
  .b-tile.bg-black { background: var(--ink); color: white; }
  .b-tile.bg-black h3 { color: white; }
  .b-tile.bg-black .addr { color: rgba(255,255,255,0.85); }
  .b-tile.bg-black .addr small { color: rgba(255,255,255,0.6); }
  .b-tile.bg-black .zk-hours { border-top-color: rgba(255,255,255,0.25); }
  .b-tile.bg-black .zk-hours .row { color: rgba(255,255,255,0.8); }
  .b-tile.bg-black .zk-hours .row span:first-child { color: white; }
  .b-tile.bg-black .zk-hours .row span:last-child { color: rgba(255,255,255,0.82); }
  .b-tile.bg-black .b-meta { color: rgba(255,255,255,0.7); }
  .b-tile.bg-black .b-callout,
  .b-tile.bg-black .b-callout:hover,
  .b-tile.bg-black .b-callout:focus,
  .b-tile.bg-black .b-callout:visited {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink) !important;
  }
  .b-tile.bg-black .b-ghost { color: white; border-color: white; }
  .b-tile.bg-black .b-ghost:hover { background: white; color: var(--ink); }

  .b-tile .b-meta {
    font-family: var(--f-mono); font-size: 11px;
    line-height: 1.25;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted);
    display: flex; justify-content: flex-end;
    margin-bottom: 24px;
  }
  .b-tile .b-meta .status {
    color: #0E6F30;
  }
  .b-tile h3 {
    font-family: var(--f-display);
    font-size: 38px; line-height: 1.02;
    margin: 0 0 14px;
    text-wrap: balance;
  }
  .b-tile .addr {
    font-size: 14px; color: var(--ink-2); line-height: 1.45;
  }
  .b-tile .addr small {
    display: block; color: var(--muted); margin-top: 8px;
    font-family: var(--f-mono); font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase; letter-spacing: 0.04em;
  }
  .b-tile .zk-hours {
    border-top: 1px dashed rgba(10,10,18,0.2);
    margin-top: auto; padding-top: 18px;
    gap: 8px;
  }
  .b-tile .zk-hours .row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
  }
  .b-tile .zk-hours .row span:first-child {
    font-weight: 700;
    color: var(--ink);
    text-transform: lowercase;
  }
  .b-tile .zk-hours .row span:last-child {
    color: var(--ink-2);
  }
  .b-tile .b-foot {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 18px;
  }
  .b-callout, .b-ghost {
    padding: 12px 18px; border-radius: var(--r-pill);
    font-weight: 600; font-size: 13px;
    display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--ink);
    transition: 0.15s;
  }
  .store-v2-page .b-callout,
  .store-v2-page .b-callout:hover,
  .store-v2-page .b-callout:focus,
  .store-v2-page .b-callout:visited {
    background: var(--ink);
    color: #fff !important;
  }
  .store-v2-page .b-callout:hover {
    background: var(--blue);
    border-color: var(--blue);
  }
  .b-ghost { background: transparent; color: var(--ink); }
  .b-ghost:hover { background: var(--ink); color: white; }
  .b-tile.bg-paper { box-shadow: none; }

  /* Featured/flagship tile spans 2 cols and has hero treatment */
  .b-tile.featured {
    grid-column: span 2;
    background: var(--ink);
    color: white;
    flex-direction: row;
    align-items: stretch;
  }
  .b-tile.featured .text { flex: 1; display: flex; flex-direction: column; gap: 0; }
  .b-tile.featured h3 { color: white; font-size: 56px; line-height: 1; }
  .b-tile.featured .b-meta { color: rgba(255,255,255,0.6); }
  .b-tile.featured .addr { color: rgba(255,255,255,0.85); }
  .b-tile.featured .addr small { color: rgba(255,255,255,0.6); }
  .b-tile.featured .zk-hours { border-top-color: rgba(255,255,255,0.25); }
  .b-tile.featured .zk-hours .row { color: rgba(255,255,255,0.8); }
  .b-tile.featured .zk-hours .row span:first-child { color: white; }
  .b-tile.featured .zk-hours .row span:last-child { color: rgba(255,255,255,0.82); }
  .b-tile.featured .b-callout,
  .b-tile.featured .b-callout:hover,
  .b-tile.featured .b-callout:focus,
  .b-tile.featured .b-callout:visited {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink) !important;
  }
  .b-tile.featured .b-ghost { color: white; border-color: white; }
  .b-tile.featured .b-mini-map {
    flex: 0 0 280px;
    background: var(--paper);
    border-radius: var(--r-md);
    border: 1.5px solid white;
    position: relative;
    overflow: hidden;
    align-self: stretch;
  }
  .b-tile.featured .b-mini-map svg.roads {
    position: absolute; inset: 0; width: 100%; height: 100%;
  }
  .b-tile.featured .b-mini-map .badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--ink); color: white;
    padding: 6px 12px; border-radius: var(--r-pill);
    font-family: var(--f-mono); font-size: 10px;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  .b-tile.featured .b-mini-map .marker {
    position: absolute;
    width: 28px; height: 28px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-mono); font-size: 11px; font-weight: 700;
    color: var(--ink);
  }
  .b-tile.featured .b-mini-map .marker.dim { background: var(--blue); color: white; }

  /* Map overlay invitation card */
  .b-map-cta {
    background: var(--lavender);
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex; align-items: center; gap: 20px;
    margin: 16px 0;
  }
  .b-map-cta h3 {
    font-family: var(--f-display); font-size: 32px;
    margin: 0;
  }
  .b-map-cta p {
    margin: 4px 0 0; font-size: 14px; color: var(--ink-2);
  }
  .b-map-cta .left { flex: 1; }
  .b-map-cta .zk-btn-primary {
    font-family: "Druk LCG", var(--f-ui);
    font-weight: 700;
    text-transform: uppercase;
  }
  .b-map-cta .visual {
    width: 180px; height: 100px;
    background: var(--paper);
    border-radius: var(--r-md);
    border: 1.5px solid var(--ink);
    position: relative;
    overflow: hidden;
  }

  /* Pagination/filter row */
  .b-filters {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 24px;
    align-items: center;
  }
  .b-filter {
    padding: 10px 16px;
    border-radius: var(--r-pill);
    background: white;
    border: 1.5px solid var(--ink);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .b-filter.active {
    background: var(--ink); color: white;
  }
  .b-filter .num {
    font-family: var(--f-mono); font-size: 11px;
    opacity: 0.7;
  }

@media screen and (max-width: 991px) {
  .store-v2-page {
    margin: 0;
  }

  .store-v2-page .zk-hero,
  .store-v2-page .zk-detected,
  .store-v2-page .zk-alpha,
  .store-v2-page .zk-detail-head,
  .store-v2-page .b-detail {
    margin-left: 0;
    margin-right: 0;
  }

  .store-v2-page .zk-hero {
    padding: 18px 0 4px;
    grid-template-columns: 1fr;
  }

  .store-v2-page .zk-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 8.2vw, 48px);
    line-height: 0.95;
  }

  .store-v2-page .zk-hero h1 .star {
    font-size: 32px;
  }

  .store-v2-page .zk-hero p {
    font-size: 15px;
  }

  .store-v2-page .zk-stats {
    justify-self: start;
    margin-right: 0;
  }

  .store-v2-page .zk-stat {
    padding: 12px 16px;
  }

  .store-v2-page .zk-detected {
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .store-v2-page .zk-detected-city {
    font-size: 22px;
  }

  .store-v2-page .zk-detected-l .glyph {
    width: 40px;
    height: 40px;
  }

  .store-v2-page .zk-detected-actions,
  .store-v2-page .zk-detail-actions,
  .store-v2-page .b-map-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .store-v2-page .zk-btn {
    justify-content: center;
  }

  .store-v2-page .zk-alpha {
    margin-top: 24px;
  }

  .store-v2-page .zk-alpha-row {
    grid-template-columns: 52px 1fr;
  }

  .store-v2-page .zk-detail-head {
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .store-v2-page .zk-detail-head h2 {
    font-size: 48px;
  }

  .store-v2-page .b-detail {
    padding: 20px 0 0;
  }

  .store-v2-page .b-grid {
    grid-template-columns: 1fr;
  }

  .store-v2-page .b-tile.featured {
    grid-column: auto;
    flex-direction: column;
  }

  .store-v2-page .b-tile.featured .b-mini-map {
    flex-basis: 220px;
    width: 100%;
  }

  .store-v2-page .b-map-cta .visual {
    width: 100%;
  }
}

/* ─────────── MAP OVERLAY ─────────── */
body.store-v2-map-open {
  overflow: hidden;
}

.zk-map-overlay {
  --blue: #2B57FF;
  --blue-soft: #E7EDFF;
  --yellow: #FFEE6B;
  --ink: #0A0A12;
  --ink-2: #2A2A35;
  --muted: #7E7E8A;
  --line: #E8E8E0;
  --line-2: #F2F2EC;
  --paper: #FAFAF5;
  --f-display: "Bagel Fat One", system-ui, sans-serif;
  --f-ui: "Onest", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --r-pill: 999px;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 18, 0.92);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.zk-map-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.zk-map-shell {
  width: min(1440px, 100%);
  height: calc(100vh - 48px);
  height: calc(100dvh - 48px);
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
}

.zk-map-top {
  display: grid;
  grid-template-columns: auto auto minmax(72px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 24px 34px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.zk-map-back {
  justify-self: start;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
}

.zk-map-close {
  justify-self: end;
  width: 44px;
  height: 44px;
  margin-right: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.zk-map-title {
  text-align: left;
}

.zk-map-title h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 46px;
  line-height: 0.95;
  color: #fff;
}

.zk-map-title span {
  display: block;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zk-map-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  min-height: 0;
}

.zk-map-canvas-wrap {
  position: relative;
  min-height: 0;
  background: #e9edf4;
}

.zk-map-canvas {
  position: absolute;
  inset: 0;
}

.zk-map-loader {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1.5px solid var(--ink);
  font-weight: 700;
  color: var(--ink);
}

.zk-map-loader.is-hidden {
  display: none;
}

.zk-map-side {
  display: grid;
  grid-template-rows: 1fr;
  min-height: 0;
  border-left: 1.5px solid var(--ink);
  background: var(--paper);
}

.zk-map-list {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 22px;
}

.zk-map-item {
  width: 100%;
  display: block;
  margin: 0 0 10px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: 0.15s;
}

.zk-map-item:not(:disabled):hover,
.zk-map-item.active {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.zk-map-item:disabled {
  cursor: default;
  opacity: 0.55;
}

.zk-map-item .content,
.zk-map-item .top,
.zk-map-item .addr,
.zk-map-item .hours {
  display: block;
}

.zk-map-item .top {
  margin-bottom: 6px;
}

.zk-map-item .name {
  display: block;
  margin-right: 74px;
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

.zk-map-item .status {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: #C9F3D8;
  color: #0E6F30;
  font-size: 10px;
  font-weight: 700;
}

.zk-map-item .status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.zk-map-item .addr {
  clear: both;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-2);
}

.zk-map-item .addr small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zk-map-item .hours {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}

.zk-map-item .hours b {
  margin-left: 8px;
  font-family: var(--f-ui);
  color: var(--ink);
}

.zk-map-balloon {
  max-width: 280px;
  color: #0A0A12;
}

.zk-map-balloon h3 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1;
}

.zk-map-balloon .addr {
  font-size: 13px;
  line-height: 1.35;
}

.zk-map-balloon .phone {
  display: inline-flex;
  margin-top: 12px;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff !important;
  font-weight: 700;
}

@media screen and (max-width: 991px) {
  .zk-map-overlay {
    padding: 0;
  }

  .zk-map-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    border-radius: 0;
  }

  .zk-map-top {
    grid-template-columns: 1fr 44px;
  }

  .zk-map-back {
    display: none;
  }

  .zk-map-title {
    text-align: left;
  }

  .zk-map-title h2 {
    font-size: 30px;
  }

  .zk-map-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 48dvh) minmax(0, 1fr);
  }

  .zk-map-side {
    border-left: 0;
    border-top: 1.5px solid var(--ink);
  }
}
