/* Matches thebigwave.com (Shopify theme, read 2026-10-23): Inter body text at 14px,
   Barlow Condensed 600 uppercase headings, black on white, square corners,
   red #A42325 primary buttons 52px tall, light grey #E6E6E6 rules. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #000000;
  --muted: rgba(0, 0, 0, 0.65);
  --rule: #e6e6e6;
  --red: #a42325;
  --red-dark: #861b1d;
  --lime: #cddd00;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: #ffffff; }

/* Phones may enlarge text inside an iframe (the page's viewport setting does not reach it). */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  color: var(--ink);
  font: 400 14px/1.4 var(--body);
  -webkit-font-smoothing: antialiased;
}

/* Standalone (the private preview): the page's own width and gutters.
   Inside the website's iframe the Shopify page supplies both. */
.finder { max-width: 672px; margin: 0 auto; padding: 40px 16px 48px; }
html.in-frame .finder { max-width: none; padding: 0 0 8px; }
/* On thebigwave.com the page's own heading ("Where to buy") sits above the frame. */
html.in-frame .intro h1 { display: none; }
html.in-frame .intro p { margin-top: 0; }
html.in-frame .search { margin-top: 20px; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.intro h1 { font-size: 48px; }
.intro p { margin: 16px 0 0; }

.search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 32px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.field input,
.field select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font: 400 16px var(--body);
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--ink);
  border-radius: 0;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  font: 600 16px/1 var(--head);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #ffffff;
  background: var(--red);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

button:hover, .button:hover { background: var(--red-dark); }
button:focus-visible, .button:focus-visible, .directions:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.message { min-height: 20px; margin: 16px 0 0; color: var(--muted); }
.message.warn { color: var(--red); font-weight: 700; }

.list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.list:empty { display: none; }

.store { padding: 20px 0; border-bottom: 1px solid var(--rule); }

.top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.name { font-size: 24px; }
.dist { flex: none; font: 600 20px/1 var(--head); text-transform: uppercase; }

.addr { margin: 6px 0 0; color: var(--muted); }

.meta { margin: 12px 0 0; }

.pill {
  display: inline-block;
  padding: 4px 8px;
  font: 600 14px/1 var(--head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pill.regular { background: var(--lime); color: var(--ink); }
.pill.call { background: #ffffff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.products { margin: 10px 0 0; }

.directions {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.direct { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.direct h2 { font-size: 32px; }
.direct p { margin: 12px 0 0; }
.direct .button { margin-top: 20px; }
.direct .fineprint { margin-top: 24px; font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
  .finder { padding-top: 24px; }
  .intro h1 { font-size: 36px; }
  .search { grid-template-columns: 1fr; }
  .search button { width: 100%; }
  .direct .button { width: 100%; }
  .name { font-size: 22px; }
}
