
.find-shell {
  display: grid;
  grid-template-columns: minmax(320px, 34%) 1fr;
  height: calc(100vh - var(--find-nav-h));
  min-height: 460px;
  overflow: hidden;
}

:root { --find-nav-h: 64px; }

.find-shell .sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.find-shell .btn { padding: 11px 18px; font-size: 15px; }
.find-shell .find-map-open { padding: 14px 26px; font-size: 16px; }


.find-list-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--rule);
  background: var(--white);
}

.find-head { padding: 16px 18px 10px; border-bottom: 1px solid var(--rule); }
.find-head h1 { font-size: 21px; margin: 0 0 10px; }

.find-form { display: grid; gap: 8px; }
.find-form .find-row { display: flex; gap: 8px; }
.find-form input {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.find-form input[aria-invalid="true"] { border-color: var(--red-600); }
.find-form #find-zip { flex: 0 1 8.5em; }
.find-form button { flex: 0 0 auto; }

.find-chips-lead { font-size: 15px; margin: 0; padding: 12px 18px 0; }
.find-chips-lead[hidden] { display: none; }
.find-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px 0; }
.find-chips[hidden] { display: none; }
.mat-chip {
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) { .mat-chip:hover { border-color: var(--green-600); } }
.mat-chip:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; }
.find-chips .chip-group-label { flex-basis: 100%; font-size: 12.5px; font-weight: 700; color: var(--faint); margin-top: 4px; }
.find-chips .mat-order-note { flex-basis: 100%; margin: 8px 0 0; font-size: 12.5px; color: var(--faint); max-width: 60ch; }

.find-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px; border-bottom: 1px solid var(--rule); }
.find-filters .chip {
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.find-filters .chip[aria-pressed="true"] { background: var(--green-50); border-color: var(--green-600); }
.find-filters .chip[aria-pressed="true"]::before { content: "\2713\00a0"; }
.find-filters .chip:disabled { opacity: 0.5; cursor: default; }
.find-filters .chip:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; }
.find-clear { background: none; border: 0; color: var(--green-600); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 10px; min-height: 44px; display: inline-flex; align-items: center; }

.find-summary { padding: 10px 18px 0; margin: 0; font-size: 14px; color: var(--faint); font-weight: 600; }
.find-said { padding: 8px 18px; margin: 0; font-size: 14px; color: var(--ink); }
.find-said a, .fc-pick { color: var(--green-600); }
.fc-pick { background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; min-height: 44px; padding: 0 6px; display: inline-flex; align-items: center; }

.find-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 24px; }
.find-cards { list-style: none; margin: 0; padding: 0; }


.fc-card {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  outline-offset: -2px;
  transition: background 120ms ease, box-shadow 120ms ease;
}
.fc-card.on, .fc-card:focus-visible { background: var(--green-50); box-shadow: inset 3px 0 0 var(--green-600); }
.fc-card:focus-visible { outline: 2px solid var(--green-600); }

.fc-name { margin: 0 0 2px; font-size: 16px; }
.fc-name a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; margin: 0 -6px; }
.fc-name a:hover, .fc-name a:focus-visible { text-decoration: underline; }
.fc-where { margin: 0 0 6px; font-size: 13.5px; color: var(--faint); font-weight: 600; }
.fc-miles { margin-left: 8px; color: var(--green-600); }

.fc-match { display: block; font-size: 13.5px; margin-bottom: 6px; }
.fc-match-coarse { color: var(--faint); }

.fc-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fc-listed { font-size: 17px; font-weight: 700; }
.fc-conv { font-size: 14px; color: var(--faint); font-weight: 700; }
.fc-conv-note, .fc-product, .fc-stamp, .fc-note { flex-basis: 100%; font-size: 12.5px; color: var(--faint); }
.fc-product { font-weight: 600; color: var(--ink); }
.fc-price-none .fc-callfor { font-size: 15px; font-weight: 700; }
.fc-tel { font-size: 15px; font-weight: 700; color: var(--green-600); display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin: 0 -8px; }

.fc-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--green-600);
  color: var(--green-600);
}

.fc-delivery { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; line-height: 1.45; }
.fc-delivery li { margin: 0 0 2px; }
.fc-delivery .fc-dk { color: var(--faint); }
.fc-delivery .fc-dv { color: var(--ink); }

.fc-flags { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; font-size: 12.5px; color: var(--faint); }
.fc-flags li::before { content: "\00b7\00a0"; }

.hm-step { border-bottom: 1px solid var(--rule); padding: 12px 18px; background: var(--green-50); }
.hm-step-open { width: 100%; justify-content: space-between; }
.hm-step-open::after { content: "\25be"; margin-left: 8px; }
.hm-step-open[aria-expanded="true"]::after { content: "\25b4"; }
.hm-step-body { margin-top: 12px; }
.hm-step-body .hm { max-width: none; }
.hm-step-body .hm-dims { flex-wrap: wrap; }

.fc-cart { margin: 10px 0 0; }
.fc-cart .cart-add {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--green-600);
  border-radius: 8px;
  background: var(--green-600);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.fc-cart .cart-add:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fc-cart .cart-added { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); font-weight: 600; }

.find-more { display: block; margin: 16px auto; }
.find-empty { padding: 18px; }
.find-empty h2 { font-size: 16px; margin: 0 0 6px; }
.find-empty ul { margin: 6px 0 14px; padding-left: 20px; }
.find-empty p { font-size: 14px; color: var(--faint); max-width: 46ch; }
.price-example { margin-top: 22px; }
.find-empty .price-example > p { margin: 0 0 10px; }
.px-card { border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; margin: 10px 0 12px; max-width: 46ch; }
.find-empty .px-card p { margin: 0; }
.find-empty .px-card .px-what, .find-empty .px-card .px-yard { color: var(--ink); }
.find-empty .px-card .px-price { font-size: 20px; font-weight: 700; color: var(--ink); }
.px-product { display: block; }
.find-empty .px-card .px-product { font-size: 13px; color: var(--faint); }
.px-card a { display: inline-flex; align-items: center; min-height: 44px; }


.find-map-col { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.find-map-col .map-panel { flex: 1 1 auto; min-height: 0; margin: 0; display: flex; }
.find-map-col .map-panel .inner { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; padding: 14px 16px; max-width: none; }
.find-map-col .map-panel .inner > .btn { align-self: flex-start; }
.find-map-col .map-canvas { flex: 1 1 auto; min-height: 240px; height: auto; }

.find-area {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.find-map-open, .find-map-close { display: none; }

.find-sheet { display: none; }


@media (max-width: 860px) {
  .find-shell { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .find-list-col { border-right: 0; }
  .find-scroll { overflow: visible; }

  .find-map-col {
    position: fixed;
    inset: var(--find-nav-h) 0 0 0;
    background: var(--white);
    z-index: 40;
    transform: translateY(101%);
    transition: transform 160ms ease;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .find-shell.map-open .find-map-col { transform: none; }
  .find-shell.map-open .find-list-col { display: none; }

  .find-sheet {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 60%;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -10px 28px rgba(20, 24, 26, 0.22);
    z-index: 45;
    animation: find-sheet-up 140ms ease;
  }
  .find-sheet[hidden] { display: none; }
  .find-sheet .fc-card { border-bottom: 0; padding-right: 52px; }
  .find-sheet-x {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--faint);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }
  @keyframes find-sheet-up { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

  .find-map-open, .find-map-close { display: inline-block; }
  .find-map-open { display: block; width: max-content; margin: 10px 18px 0; }
  .find-scroll { padding-bottom: 24px; }
  .find-map-close { margin-bottom: 10px; }
  .find-form .find-row { flex-wrap: wrap; }
  .find-form #find-zip { flex: 1 1 8.5em; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-card, .find-map-col { transition: none; }
  .find-sheet { animation: none; }
}

.find-ticket {
  position: absolute; z-index: 30; right: 18px; bottom: 18px; width: min(360px, calc(100% - 36px));
  background: var(--ticket, #fbf8f1); color: var(--ink);
  box-shadow: 0 18px 40px -14px rgba(20, 24, 26, 0.45), 0 2px 0 rgba(20, 24, 26, 0.06);
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px;
}
.find-ticket.left { right: auto; left: 18px; }
.find-ticket::before, .find-ticket::after {
  content: ""; display: block; height: 10px;
  background: radial-gradient(circle at 7px -2px, transparent 6px, var(--ticket, #fbf8f1) 6.5px) 0 0 / 14px 10px repeat-x;
}
.find-ticket::before { transform: rotate(180deg); }
.find-ticket-x {
  position: absolute; top: 10px; right: 8px; min-width: 44px; min-height: 44px; border: 0; background: none;
  font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer;
}
.find-ticket .tk { padding: 4px 18px 14px; outline: none; }
.find-ticket .tk-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 40px 0 0; padding-bottom: 8px; border-bottom: 1.5px dashed var(--ticket-edge, #e2dac8); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.find-ticket .tk-name { font-family: var(--font-display); font-size: 21px; margin: 10px 0 2px; line-height: 1.1; }
.find-ticket .tk-name a { color: var(--ink); text-decoration: none; }
.find-ticket .tk-name a:hover { text-decoration: underline; }
.find-ticket .tk-where, .find-ticket .tk-match, .find-ticket .tk-note { font-family: var(--font-body); color: var(--muted); font-size: 13px; margin: 0; }
.find-ticket .tk-match { margin-top: 6px; }
.find-ticket .tk-line { display: flex; gap: 8px; align-items: baseline; margin: 12px 0 2px; font-size: 14px; }
.find-ticket .tk-dots { flex: 1; border-bottom: 2px dotted var(--ticket-edge, #e2dac8); transform: translateY(-4px); }
.find-ticket .tk-line b { font-size: 16px; white-space: nowrap; }
.find-ticket .tk-conv { font-size: 12px; color: var(--muted); margin: 0; }
.find-ticket .tk-dl { display: grid; grid-template-columns: 104px 1fr; gap: 4px 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1.5px dashed var(--ticket-edge, #e2dac8); font-size: 12.5px; }
.find-ticket .tk-dl dt { color: var(--muted); }
.find-ticket .tk-dl dd { margin: 0; font-family: var(--font-body); }
.find-ticket .tk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.find-ticket .tk-acts .fc-cart { margin: 0; }
.find-ticket .tk-page { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .find-ticket.printing .tk { animation: find-ticket-print 0.55s steps(9, end) both; }
  @keyframes find-ticket-print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (max-width: 880px) { .find-ticket { display: none; } }
