/* Result tables only; main campaign styles remain owned by the page designer. */
.cg-store-finder__table tbody tr:nth-child(even) { background: #f4f2ef; }
.cg-store-finder__table { max-width: 100%; table-layout: fixed; }
.cg-store-finder__table .cg-store-finder__name { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-size: 1.25rem; font-weight: 800; }
.cg-store-name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-width: 0; max-width: 100%; }
.cg-store-name__text { min-width: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.cg-store-finder__name .cg-store-name a { display: inline-flex; flex: 0 0 auto; align-items: center; width: auto; min-height: 44px; padding: 0; font-size: .75rem; white-space: nowrap; }
.cg-pay-pill { display: inline-block; box-sizing: border-box; max-width: 100%; padding: .3rem .45rem; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.cg-pay-pill--yes { background: #0a0506; color: #fff; }
.cg-pay-pill--no { background: #e8e8e8; color: #444; }
@container onesta-cg-store-finder (inline-size < 900px) {
  :is(.cg-store-finder, .cg-store-list) .cg-store-finder__table { display: block; width: 100%; }
  :is(.cg-store-finder, .cg-store-list) .cg-store-finder__table tbody { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); }
  :is(.cg-store-finder, .cg-store-list) .cg-store-finder__table tr { display: grid; width: 100%; max-width: 100%; box-sizing: border-box; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :is(.cg-store-finder, .cg-store-list) .cg-store-finder__table :is(th, td) { display: block; min-width: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
  .cg-store-finder__table .cg-pay-pill { white-space: normal; overflow-wrap: anywhere; }
}
/* Same named container and 900px catalog threshold as the main stylesheet. */
@container onesta-cg-store-finder (inline-size >= 900px) {
  .cg-store-finder__table { border-collapse: separate; border-spacing: 0; }
  /* Keep headings in their table instead of floating over unrelated rows. */
  :is(.cg-store-finder__table, .cg-store-list__table) thead { position: static; top: auto; z-index: auto; overflow: visible; }
  .cg-store-finder__table thead th { background: var(--cg-ivory, #fbf6ef); border-bottom: 1px solid #b8a69b; box-shadow: 0 1px 0 #b8a69b; }
  .cg-store-finder__table thead th:first-child { width: 34%; }
  .cg-store-finder__table thead th:nth-child(2) { width: 19%; }
  .cg-store-finder__table thead th:nth-child(3) { width: 11%; }
  .cg-store-finder__table .cg-pay-pill { font-size: .8rem; }
}
