/* MundaApp · Shops — supermarket directory and the closed trade desk.
   Uses the app's own tokens so it does not look bolted on. */

.sm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4px 0 32px;
}

.sm-head { padding: 6px 0 10px; }
.sm-head h1 {
  font-family: var(--display, Georgia, serif);
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--ink, #14231c);
}

/* ------------------------------------------------------------------- hero
   The same construction as the Community Intelligence desk: a photograph of a
   real Zambian place, the flag strip on its top edge, the mark and the page
   name, then the sentence. Colour keeps its meaning — green for what grows,
   copper for the market. */
.sm-hero {
  position: relative; overflow: hidden;
  margin: 0 0 14px; border-radius: 22px;
  background: #082A1C; min-height: 300px;
  box-shadow: 0 22px 38px -30px rgba(6, 30, 20, .95), 0 2px 6px rgba(10, 30, 20, .10);
}
.sm-hero-photo { position: absolute; inset: 0; }
.sm-hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%;
  filter: saturate(1.04) contrast(1.02);
}
.sm-hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 26, 18, .30) 0%, rgba(4, 30, 20, .68) 46%, rgba(3, 22, 15, .95) 100%),
    linear-gradient(90deg, rgba(4, 26, 18, .55), transparent 68%);
}
.sm-flag { position: absolute; top: 0; left: 0; right: 0; height: 5px; display: flex; z-index: 3; }
.sm-flag i:nth-child(1) { flex: 0 0 58%; background: #198A00; }
.sm-flag i:nth-child(2) { flex: 0 0 14%; background: #DE2010; }
.sm-flag i:nth-child(3) { flex: 0 0 14%; background: #111; }
.sm-flag i:nth-child(4) { flex: 1 1 auto; background: #EF7D00; }

.sm-hero-in { position: relative; z-index: 2; padding: 22px 18px 44px; }
.sm-hero-top { display: flex; align-items: center; gap: 10px; }
.sm-hero-logo {
  width: 40px; height: 40px; border-radius: 12px; overflow: hidden; flex: 0 0 auto;
  background: #F7F1DF; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.sm-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.sm-hero-tx { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sm-hero-tx b {
  font: 600 16.5px/1.2 var(--display, Georgia, serif);
  letter-spacing: -.01em; color: #FFFDF6;
}
.sm-hero-tx span {
  font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 650; color: #F3C97C; margin-top: 3px;
}
.sm-hero-badge {
  margin-left: auto; flex: 0 0 auto;
  font: 700 10.5px/1 var(--display, Georgia, serif); letter-spacing: .1em;
  padding: 6px 8px; border-radius: 8px; color: #2A1500;
  background: linear-gradient(150deg, #F7C97C, #DFA03C 70%, #C08A2A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 14px -10px rgba(0, 0, 0, .9);
}
.sm-hero h1 {
  font-family: var(--display, Georgia, serif);
  font-size: 25px; line-height: 1.16; letter-spacing: -.022em;
  margin: 16px 0 9px; color: #FFFDF6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}
.sm-hero h1 em { font-style: italic; color: #F3C97C; }
.sm-hero p {
  margin: 0; font-size: 13px; line-height: 1.55;
  color: rgba(248, 252, 246, .88); max-width: 34em;
}
.sm-hero-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sm-pill {
  font-size: 10.5px; font-weight: 650; letter-spacing: .01em;
  padding: 5px 10px; border-radius: 999px; color: #FFFDF6;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sm-pill.ghost { background: rgba(255, 255, 255, .07); }
.sm-hero-cred {
  position: absolute; left: 18px; bottom: 15px; z-index: 2;
  font-size: 8.5px; letter-spacing: .01em; color: rgba(255, 253, 246, .55);
}
.sm-lede {
  margin: 0;
  color: var(--muted, #5d6b64);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- search */
.sm-toolbar { margin: 12px 0 8px; }
.sm-searchwrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-2, #f7f3ea);
  border: 1px solid var(--line, #e3ded1);
  border-radius: var(--r-pill, 999px);
  padding: 0 14px;
}
.sm-searchwrap svg { width: 18px; height: 18px; color: var(--muted, #5d6b64); flex: 0 0 auto; }
.sm-search {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 11px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink, #14231c);
  outline: none;
  min-width: 0;
}
.sm-search::-webkit-search-cancel-button { filter: grayscale(1); }

.sm-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}
.sm-chips::-webkit-scrollbar { display: none; }
.sm-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line, #e3ded1);
  background: var(--card, #fff);
  color: var(--ink-2, #33443b);
  border-radius: var(--r-pill, 999px);
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.sm-chip.on {
  background: var(--green-700, #0e5a3a);
  border-color: var(--green-700, #0e5a3a);
  color: #fff;
}

/* ------------------------------------------------------------ trade desk */
.sm-desk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  border-radius: var(--r-card, 14px);
  border: 1px solid var(--green-100, #d6e7dd);
  background: var(--green-50, #f0f7f2);
}
.sm-desk-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.sm-desk-main b { font-size: 14px; color: var(--green-800, #0b4a30); }
.sm-desk-main span { font-size: 12.5px; color: var(--muted, #5d6b64); }

/* --------------------------------------------------------------- buttons */
.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line, #e3ded1);
  background: var(--card, #fff);
  color: var(--ink, #14231c);
  border-radius: var(--r-pill, 999px);
  padding: 9px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  flex: 0 0 auto;
}
.sm-btn--go {
  background: var(--green-700, #0e5a3a);
  border-color: var(--green-700, #0e5a3a);
  color: #fff;
}
.sm-btn--go:hover { background: var(--green-800, #0b4a30); }
.sm-wide { width: 100%; margin: 4px 0 12px; }

/* ----------------------------------------------------------------- list */
.sm-list { display: flex; flex-direction: column; gap: 8px; }
.sm-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line, #e3ded1);
  border-radius: var(--r-card, 14px);
  background: var(--card, #fff);
  text-decoration: none;
  color: inherit;
}
.sm-shop:hover { border-color: var(--green-500, #2f8a5f); }
.sm-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display, Georgia, serif);
  font-size: 21px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(10, 60, 34, .10), 0 6px 12px -10px rgba(10, 30, 20, .9);
  overflow: hidden;
}
.sm-logo--shot { background: #EFE9DA; }
.sm-logo--shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%;
  display: block;
}
.sm-shop-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.sm-shop-name { font-size: 15px; font-weight: 700; color: var(--ink, #14231c); display: flex; align-items: center; gap: 8px; }
.sm-shop-meta { font-size: 12.5px; color: var(--muted, #5d6b64); }
.sm-shop-buys { font-size: 12.5px; color: var(--green-700, #0e5a3a); font-weight: 600; }
.sm-chev { color: var(--faint, #9aa7a0); display: flex; }
.sm-chev svg { width: 20px; height: 20px; }

.sm-tag {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7a5a12;
  background: var(--gold-soft, #f6ecd2);
  border-radius: 999px;
  padding: 2px 7px;
}

/* ---------------------------------------------------------------- store */
.sm-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted, #5d6b64);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0 10px;
}
.sm-back svg { width: 18px; height: 18px; }
.sm-store { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sm-store-main h1 { margin: 0; font-size: 22px; font-family: var(--display, Georgia, serif); display: flex; align-items: center; gap: 8px; }
.sm-store-towns { margin: 2px 0 0; color: var(--muted, #5d6b64); font-size: 13px; }

.sm-sec { margin: 18px 0 0; }
.sm-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sm-sec-head h2 { margin: 0; font-size: 15px; letter-spacing: .01em; }
.sm-sec-note { font-size: 12px; color: var(--muted, #5d6b64); }

.sm-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.sm-shelf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line, #e3ded1);
  border-radius: 10px;
  background: var(--card, #fff);
  font-size: 13px;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
button.sm-shelf-row { cursor: pointer; }
.sm-shelf-edit { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted, #5d6b64); }
.sm-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--green-600, #17734a); }
.sm-dot--low { background: var(--gold, #c58a1b); }
.sm-dot--out { background: var(--clay, #b4562f); }

.sm-buys { display: flex; flex-direction: column; gap: 6px; }
.sm-buy {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "crop tag" "meta meta";
  gap: 2px 8px;
  padding: 10px 12px;
  border: 1px solid var(--line, #e3ded1);
  border-radius: 12px;
  background: var(--card, #fff);
}
.sm-buy-crop { grid-area: crop; font-size: 14px; font-weight: 650; }
.sm-buy-meta { grid-area: meta; font-size: 12.5px; color: var(--muted, #5d6b64); }
.sm-buy .sm-tag { grid-area: tag; align-self: start; }

/* ----------------------------------------------------------------- lock */
.sm-lock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed var(--line, #e3ded1);
  border-radius: var(--r-card, 14px);
  background: var(--paper-2, #f7f3ea);
}
.sm-lock-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-100, #d6e7dd); color: var(--green-800, #0b4a30);
  flex: 0 0 auto;
}
.sm-lock-icon svg { width: 19px; height: 19px; }
.sm-lock-body { flex: 1 1 auto; min-width: 0; }
.sm-lock-body b { font-size: 14px; display: block; margin-bottom: 2px; }
.sm-lock-body p { margin: 0; font-size: 12.5px; color: var(--muted, #5d6b64); line-height: 1.45; }

/* ---------------------------------------------------------------- board */
.sm-tabs { display: flex; gap: 4px; margin: 6px 0 12px; border-bottom: 1px solid var(--line, #e3ded1); }
.sm-tab {
  border: 0;
  background: none;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted, #5d6b64);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.sm-tab.on { color: var(--green-800, #0b4a30); border-bottom-color: var(--green-700, #0e5a3a); }

.sm-reqs { display: flex; flex-direction: column; gap: 10px; }
.sm-req {
  border: 1px solid var(--line, #e3ded1);
  border-radius: var(--r-card, 14px);
  background: var(--card, #fff);
  padding: 13px;
}
.sm-req-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.sm-req-crop { font-size: 15px; font-weight: 700; }
.sm-req-crop em { font-style: normal; font-weight: 600; color: var(--green-700, #0e5a3a); }
.sm-req-meta { font-size: 12.5px; color: var(--muted, #5d6b64); margin-top: 3px; }
.sm-req-note { font-size: 13px; line-height: 1.45; margin: 8px 0 0; color: var(--ink-2, #33443b); }
.sm-req-actions { display: flex; gap: 8px; margin-top: 10px; }
.sm-ok {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--green-50, #f0f7f2);
  color: var(--green-800, #0b4a30);
  font-size: 12.5px;
  font-weight: 600;
}

.sm-offers { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sm-offer {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--paper-2, #f7f3ea);
}
.sm-offer-main { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-width: 0; }
.sm-offer-main b { font-size: 13.5px; }
.sm-offer-main span { font-size: 12px; color: var(--muted, #5d6b64); }
.sm-offer-note { font-style: italic; }

/* ----------------------------------------------------------------- forms */
.sm-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line, #e3ded1);
  border-radius: var(--r-card, 14px);
  background: var(--card, #fff);
}
.sm-form--join { margin-top: 4px; }
.sm-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2, #33443b);
  flex: 1 1 0;
  min-width: 0;
}
.sm-form input,
.sm-form select {
  font: inherit;
  font-size: 14px;
  padding: 10px 11px;
  border: 1px solid var(--line, #e3ded1);
  border-radius: 10px;
  background: var(--paper-2, #f7f3ea);
  color: var(--ink, #14231c);
  width: 100%;
  box-sizing: border-box;
}
.sm-form input:focus,
.sm-form select:focus { outline: 2px solid var(--green-500, #2f8a5f); outline-offset: 1px; }
.sm-form [hidden] { display: none !important; }
.sm-row2 { display: flex; gap: 10px; }
.sm-form-actions { display: flex; gap: 8px; justify-content: flex-end; }

.sm-pick { display: flex; gap: 8px; }
.sm-radio {
  flex: 1 1 0;
  flex-direction: row !important;
  align-items: center;
  gap: 9px !important;
  padding: 11px;
  border: 1px solid var(--line, #e3ded1);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500 !important;
}
.sm-radio input { width: auto !important; }
.sm-radio span { display: flex; flex-direction: column; gap: 1px; }
.sm-radio b { font-size: 13.5px; }
.sm-radio em { font-style: normal; font-size: 11.5px; color: var(--muted, #5d6b64); }
.sm-radio:has(input:checked) { border-color: var(--green-600, #17734a); background: var(--green-50, #f0f7f2); }

/* ----------------------------------------------------------------- notes */
.sm-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted, #5d6b64);
}
.sm-empty { color: var(--muted, #5d6b64); font-size: 13px; margin: 8px 0; }

/* The bar is fixed at five columns in the app's CSS and the Nearby desk adds a
   sixth. Adding Shops makes the count a moving target, so let the grid size
   itself from however many tabs are present. */
.tabbar {
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

@media (max-width: 360px) {
  .sm-shelf { grid-template-columns: 1fr; }
  .sm-row2 { flex-direction: column; }
  .sm-pick { flex-direction: column; }
}

/* --- visit us: depot and farm, each one tap from the guide ---------------- */
.sm-place {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line, #e7e1d6);
  border-radius: var(--r-card, 14px);
  background: var(--card, #fff);
  margin-bottom: 9px;
}
.sm-place--empty {
  border-style: dashed;
  background: transparent;
}
.sm-place-main { flex: 1; min-width: 0; }
.sm-place-main b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #14231c);
}
.sm-place-main span {
  display: block;
  font-size: 12px;
  color: var(--muted, #5d6b64);
  margin-top: 2px;
  line-height: 1.35;
}
.sm-btn--go {
  flex: none;
  white-space: nowrap;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 10px;
  background: var(--green-700, #0e5a3a);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.sm-btn--go:active { transform: translateY(1px); }
.sm-pin {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line, #e7e1d6);
  background: transparent;
  color: var(--muted, #5d6b64);
  cursor: pointer;
}
.sm-pin svg { width: 16px; height: 16px; }

/* --- shop photo: supplied by the shop, never lifted from elsewhere -------- */
.sm-cover {
  margin: 0 0 14px;
  border-radius: var(--r-card, 14px);
  overflow: hidden;
  background: var(--paper-2, #f4f1e8);
}
.sm-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}
.sm-cover figcaption {
  padding: 7px 12px;
  font-size: 11px;
  color: var(--muted, #5d6b64);
  background: var(--card, #fff);
  border-top: 1px solid var(--line-soft, #eeeae1);
}
.sm-photorow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.sm-btn--ghost {
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 9px;
  border: 1px solid var(--line, #e7e1d6);
  background: transparent;
  color: var(--ink, #14231c);
  cursor: pointer;
}

/* ================================================================= Shops v2
 * The directory is a shelf of shops, so the page opens with a title that
 * carries weight, one place to look, and the trade desk as a real card rather
 * than a tinted row. Colour keeps its meaning: green is the market's own
 * business, gold is a sample that the app supplied.
 */

.sm-head { padding: 2px 0 12px; }
.sm-head h1 { font-size: 27px; letter-spacing: -.028em; }
.sm-lede {
  font-size: 13px; line-height: 1.55; max-width: 46ch; color: var(--muted, #5d6b64);
}

.sm-toolbar { margin: 14px 0 9px; }
.sm-searchwrap {
  background: linear-gradient(180deg, #FFFDF6, #FFFDF9);
  border-color: #E7DFC9;
  box-shadow: 0 1px 2px rgba(23, 40, 30, .04);
}
.sm-search { font-size: 14.5px; }
.sm-chips { padding: 2px 0 13px; gap: 7px; }
.sm-chip {
  border-color: #E7DFC9; background: #FFFDF9; font-size: 12.5px; font-weight: 600;
  padding: 7px 13px;
}
.sm-chip.on {
  background: #0C6E42; border-color: #0C6E42;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* ------------------------------------------------------------- the desk
 * One card on the page earns the brand: it is the only place where money
 * changes hands between a shop and a producer.
 */
.sm-desk {
  position: relative; overflow: hidden;
  display: block; padding: 20px 15px 15px; border: 0;
  border-radius: 18px; margin: 2px 0 15px;
  background:
    radial-gradient(96% 120% at 100% 0, rgba(223, 160, 60, .24), transparent 56%),
    linear-gradient(158deg, #0C6E42, #0A4F30 70%, #083F27);
  box-shadow: 0 20px 34px -28px rgba(6, 30, 20, .95), 0 2px 6px rgba(10, 30, 20, .12);
}
.sm-desk:before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #198A00 0 58%, #DE2010 58% 72%, #111 72% 86%, #EF7D00 86% 100%);
}
.sm-desk-main { gap: 3px; }
.sm-desk-main b {
  font-family: var(--display, Georgia, serif); font-size: 18px; font-weight: 600;
  letter-spacing: -.015em; color: #FFFDF6;
}
.sm-desk-main span { font-size: 12px; line-height: 1.45; color: rgba(247, 240, 220, .82); }
.sm-desk .sm-btn--go {
  margin-top: 13px; background: #FFFDF6; border-color: #FFFDF6; color: #0B4029;
  font-size: 12.5px; padding: 9px 14px;
  box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .9);
}
.sm-desk .sm-btn--go:hover { background: #F7F1DF; }

/* ------------------------------------------------------------- the shops */
.sm-list { gap: 10px; }
.sm-shop {
  border-color: #E7DFC9; border-radius: 16px; padding: 12px 13px;
  background: linear-gradient(180deg, #FFFDF9, #FFFFFF);
  box-shadow: 0 1px 2px rgba(23, 40, 30, .05);
  transition: border-color .15s, transform .12s;
}
.sm-shop:active { transform: scale(.995); }
.sm-logo {
  width: 46px; height: 46px; border-radius: 14px; font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 16px -14px rgba(0, 0, 0, .8);
}
.sm-shop-name { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.sm-shop-meta { font-size: 11.5px; }
.sm-shop-buys {
  font-size: 11.5px; font-weight: 650; color: #0B5C39;
  display: flex; align-items: flex-start; gap: 5px;
}
.sm-shop-buys:before {
  content: ''; flex: none; width: 5px; height: 5px; margin-top: 5.5px;
  border-radius: 999px; background: #DFA03C;
}
.sm-tag { font-size: 8.5px; letter-spacing: .1em; padding: 2.5px 7px; }
.sm-chev svg { width: 18px; height: 18px; color: #9AA7A0; }

/* --------------------------------------------------- the plate and the cover
 * Every chain gets the same shape, so the list reads as one shelf: a real
 * photograph where we hold one, a struck monogram where we do not. Tapping a
 * shop opens on the very same mark, at full width, instead of a different one.
 */
.sm-logo {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .18));
  font-size: 22px;
  letter-spacing: -.02em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -14px 20px -16px rgba(0, 0, 0, .5),
              0 8px 14px -12px rgba(10, 30, 20, .9);
}
.sm-logo--shot { background-image: none; }

.sm-cover {
  margin: 10px 0 14px; border-radius: 18px; overflow: hidden;
  position: relative; background: #EFE9DA;
  box-shadow: 0 14px 26px -24px rgba(10, 30, 20, .9), 0 1px 2px rgba(10, 30, 20, .06);
}
.sm-cover img { display: block; width: 100%; height: 186px; object-fit: cover; object-position: 50% 42%; }
.sm-cover figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 8px; font-size: 9px; letter-spacing: .02em;
  color: #FFFDF6; background: linear-gradient(180deg, transparent, rgba(6, 26, 17, .78));
}
.sm-cover--plate {
  height: 132px; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(255, 255, 255, .26), transparent 60%),
    linear-gradient(150deg, var(--plate, #0E5A3A), rgba(0, 0, 0, .38));
}
.sm-cover--plate span {
  font-family: var(--display, Georgia, serif);
  font-size: 64px; line-height: 1; font-weight: 700;
  color: rgba(255, 253, 246, .95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
