/* Public booking page. Mobile first — most customers arrive from a text message. */

:root {
  --ink: #0C2036;
  --body: #445A72;
  --muted: #7C8FA5;
  --line: #E2E8F0;
  --ground: #F5F7FA;
  --surface: #FFFFFF;
  --accent: #FF6B1A;
  --accent-ink: #FFFFFF;
  --navy: #082B4C;
  --good: #0E7C5A;
  --good-bg: #E8F5F0;
  --bad: #B4341F;
  --bad-bg: #FDEDEA;
  --radius: 12px;
  --tap: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- top bar ---------- */

.topbar {
  background: var(--navy);
  color: #fff;
  padding: 10px 0 14px;
  padding-top: calc(10px + env(safe-area-inset-top));
}

.topbar .back {
  display: inline-block;
  color: #A9C6E2;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  min-height: 32px;
}

.topbar .back:hover { color: #fff; }

.shopname {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shopname strong { font-size: 18px; letter-spacing: -.01em; }

.shopidentity, .shopactions { display: flex; align-items: center; gap: 9px; min-width: 0; }
.shopidentity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.shop-logo {
  width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain;
  border-radius: 9px; background: #fff; padding: 3px;
}

.account-link, .customer-signout button {
  color: #D8E6F3; background: none; border: 0; padding: 6px 0;
  font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; white-space: nowrap;
}

.customer-signout { margin: 0; }

.callus {
  color: #A9C6E2;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}

/* ---------- type ---------- */

h1 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 22px 0 16px;
  text-wrap: balance;
}

h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin: 0 0 10px;
}

.crumb {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}

.crumb + h1 { margin-top: 6px; }

.empty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--muted);
}

.account-note {
  display: flex; flex-direction: column; gap: 2px; margin: -4px 0 14px;
  padding: 12px 14px; border: 1px solid #CFE0EF; border-radius: 10px;
  background: #EDF5FC; color: var(--body); font-size: 14px;
}

.account-note strong { color: var(--ink); }

/* ---------- cards ---------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.card:active { background: #F2F6FA; }
.card:hover { border-color: #C6D3E0; }

.card-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.card-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.card-sub { font-size: 14px; color: var(--body); }
.card-meta { font-size: 13px; color: var(--muted); }
.card-category { font-size: 13px; font-weight: 600; color: var(--accent); }

.card-side { display: flex; align-items: center; gap: 10px; }

.card-logo {
  width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px;
}

.price {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chev { color: #B6C4D3; font-size: 22px; line-height: 1; }

.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
}

.avatar-photo { display: block; object-fit: cover; }

/* ---------- favorites and provider profiles ---------- */

.favorite-row { margin: 8px 0 0; }
.favorite-row form, .provider-profile-actions form, .provider-result-actions form { margin: 0; }

.favorite-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--body);
  font: inherit; font-size: 14px; font-weight: 650; cursor: pointer;
}

.favorite-button span { color: var(--accent); font-size: 20px; line-height: 1; }
.favorite-button.is-favorite { border-color: #FFC6A5; background: #FFF4EC; color: #A8430B; }
.favorite-button--small { min-height: 34px; padding: 4px 10px; font-size: 13px; }
.favorite-button--small span { font-size: 17px; }
.favorite-login { color: var(--accent); font-size: 14px; }

.provider-result {
  overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.provider-result .card { border: 0; border-radius: 0; }
.provider-result-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 14px; border-top: 1px solid var(--line); font-size: 13px;
}
.provider-result-actions > a { color: var(--accent); font-weight: 650; text-decoration: none; }

.provider-hero { display: flex; align-items: center; gap: 18px; margin: 24px 0 12px; }
.provider-profile-photo {
  width: 104px; height: 104px; flex: 0 0 104px; border-radius: 50%;
  object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.provider-profile-placeholder {
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-size: 38px; font-weight: 700;
}
.provider-identity { min-width: 0; }
.provider-identity .shop-category { margin: 0 0 2px; }
.provider-identity h1 { margin: 0 0 3px; }
.provider-headline, .provider-rating { margin: 0; font-size: 14px; }
.provider-headline { color: var(--body); }
.provider-rating { color: var(--muted); margin-top: 4px; }
.provider-rating strong { color: var(--ink); }
.provider-profile-actions { margin: 0 0 20px; }
.provider-about { margin: 0 0 20px; }
.provider-about .sec { margin-top: 0; }
.provider-about p { margin: 0; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.social-links a {
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--navy); font-size: 13px;
  font-weight: 650; text-decoration: none;
}
.provider-services { margin-bottom: 24px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 26px; }
.portfolio-grid figure {
  overflow: hidden; margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.portfolio-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.portfolio-grid figcaption { padding: 8px 10px; color: var(--body); font-size: 12px; }

.account-shortcuts { display: grid; gap: 8px; margin: 14px 0 16px; }
.account-shortcuts a {
  display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
  color: var(--navy); font-size: 14px; font-weight: 650; text-decoration: none;
}

@media (max-width: 420px) {
  .provider-profile-photo { width: 84px; height: 84px; flex-basis: 84px; }
  .provider-identity h1 { font-size: 22px; }
}

/* ---------- slot picker ---------- */

.day { margin: 24px 0; }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.slot {
  display: grid;
  place-items: center;
  min-height: var(--tap);
  padding: 0 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.slot:hover { border-color: var(--accent); color: var(--accent); }
.slot:active { background: #FFF3EC; }

/* ---------- chosen slot ---------- */

.chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.chosen-when { color: var(--body); font-size: 14px; }
.chosen-when strong { font-size: 20px; color: var(--ink); }
.chosen-change { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px; }

/* ---------- forms ---------- */

.form { display: flex; flex-direction: column; gap: 14px; margin: 0 0 12px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.label { font-size: 14px; font-weight: 600; color: var(--ink); }
.label em { font-style: normal; font-weight: 400; color: var(--muted); }

input[type="text"], input[type="tel"], textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

textarea { min-height: 76px; resize: vertical; }

input:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.error { font-size: 13px; color: var(--bad); }

button.primary, a.primary {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button.primary:active { background: #E85F13; }

button.secondary, a.secondary {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: var(--tap);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--bad);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.appointment-actions { display: grid; gap: 10px; margin-top: 18px; }
.appointment-actions .form { margin: 0; }
.calendar-action { margin: 14px 0 0; }
.calendar-action a.secondary { color: var(--navy); font-weight: 650; }
.appointment-next-actions { display: grid; gap: 12px; margin-top: 18px; text-align: center; }
.appointment-next-actions a.secondary { color: var(--ink); }
.text-link { color: var(--accent); font-size: 14px; }
.reschedule-old { color: var(--muted); font-size: 14px; }

.fineprint { font-size: 13px; color: var(--muted); text-align: center; margin: 2px 0 0; }

/* ---------- confirmation ---------- */

.ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--good);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin: 22px 0 14px;
}

.ticket--off { border-top-color: var(--muted); }

.ticket-status {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--good);
}

.ticket--off .ticket-status { color: var(--muted); }

.ticket-when { margin: 0 0 10px; font-size: 15px; color: var(--body); }
.ticket-when strong { display: inline-block; font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.ticket-what { margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.ticket-who { margin: 0; font-size: 14px; color: var(--muted); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 18px;
}

.panel p { margin: 0 0 4px; font-size: 15px; }

/* :not(.primary) matters — this rule sits after a.primary at equal specificity,
   so without it the sign-in button renders orange text on an orange fill. */
.panel a:not(.primary) { color: var(--accent); }

/* ---------- flashes ---------- */

.flash {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 16px 0 0;
  font-size: 15px;
}

.flash--error { background: var(--bad-bg); color: var(--bad); }
.flash--success { background: var(--good-bg); color: var(--good); }

/* ---------- footer ---------- */

.foot {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.foot p { margin: 0 0 4px; }
.foot .by { font-size: 12px; opacity: .75; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- app selector ---------- */

.portal-page { min-height: 100vh; }

.portal-hero {
  background: var(--navy);
  color: #fff;
  padding: calc(48px + env(safe-area-inset-top)) 0 66px;
}

.portal-hero .brand-lockup { margin-bottom: 28px; }
.portal-kicker {
  margin: 0 0 8px;
  color: #FFB98F;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.portal-hero h1 {
  max-width: 430px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.portal-shell { margin-top: -34px; }
.portal-options { display: grid; gap: 14px; }
.portal-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(8,43,76,.08);
  color: inherit;
  text-decoration: none;
}
.portal-option:hover { border-color: #B9C9D8; transform: translateY(-1px); }
.portal-option:focus-visible { outline: 3px solid rgba(255,107,26,.3); outline-offset: 3px; }
.portal-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}
.portal-option--professional .portal-icon { background: var(--navy); }
.portal-option-copy { display: grid; gap: 7px; }
.portal-option-copy strong { color: var(--ink); font-size: 19px; }
.portal-option-copy > span { color: var(--body); font-size: 14px; }
.portal-option-copy em { color: var(--accent); font-size: 14px; font-style: normal; font-weight: 750; }
.portal-option--professional .portal-option-copy em { color: var(--navy); }
.portal-note { margin: 20px 12px 0; color: var(--muted); font-size: 13px; text-align: center; }
.portal-foot { margin-top: 34px; }

@media (min-width: 760px) {
  .portal-page .shell { max-width: 820px; }
  .portal-options { grid-template-columns: 1fr 1fr; }
}

/* ---------- marketing home ---------- */

.marketing-page { background: #fff; color: var(--body); }
.marketing-page h1, .marketing-page h2, .marketing-page h3 { color: var(--ink); }
.marketing-shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.marketing-nav {
  position: absolute; z-index: 5; top: 0; left: 0; width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.14); color: #fff;
}
.marketing-nav__inner { min-height: 78px; display: flex; align-items: center; gap: 36px; }
.marketing-logo { display: inline-flex; margin-right: auto; }
.marketing-logo img { display: block; width: 164px; height: auto; }
.marketing-links { display: none; align-items: center; gap: 28px; }
.marketing-links a, .nav-link { color: #D8E6F3; font-size: 14px; font-weight: 650; text-decoration: none; }
.marketing-links a:hover, .nav-link:hover { color: #fff; }
.marketing-nav__actions { display: flex; align-items: center; gap: 16px; }
.nav-link { display: none; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; font-size: 13px;
  font-weight: 750; text-decoration: none;
}

.marketing-hero {
  min-height: 720px; padding: 142px 0 74px; overflow: hidden;
  background:
    radial-gradient(circle at 82% 40%, rgba(255,107,26,.2), transparent 27%),
    linear-gradient(135deg, #061F38 0%, var(--navy) 54%, #0B385E 100%);
  color: #fff;
}
.marketing-hero__grid { display: grid; gap: 56px; align-items: center; }
.marketing-hero__copy { position: relative; z-index: 2; max-width: 670px; }
.marketing-kicker, .section-kicker {
  margin: 0 0 13px; color: var(--accent); font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.marketing-hero .marketing-kicker { color: #FFB98F; }
.marketing-hero h1 {
  margin: 0; max-width: 720px; color: #fff; font-size: clamp(44px, 8vw, 74px);
  line-height: .99; letter-spacing: -.055em;
}
.marketing-lede { max-width: 620px; margin: 26px 0 0; color: #C5D8E9; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.marketing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.marketing-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 780; text-decoration: none;
}
.marketing-button--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(255,107,26,.24); }
.marketing-button--primary:hover { background: #E85B10; }
.marketing-button--light { border-color: rgba(255,255,255,.34); color: #fff; }
.marketing-button--light:hover { background: rgba(255,255,255,.08); }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: #AFC9DE; font-size: 12px; }
.hero-assurances li::before { content: "✓"; margin-right: 7px; color: #FFB98F; font-weight: 800; }

.hero-product { position: relative; min-height: 530px; display: grid; place-items: center; }
.phone {
  position: relative; width: min(315px, 82vw); min-height: 600px; padding: 17px 18px 24px;
  border: 8px solid #071B2D; border-radius: 42px; background: #F6F8FB; color: var(--body);
  box-shadow: 0 38px 80px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.55);
  transform: rotate(3deg);
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 23px; border-radius: 20px; background: #071B2D; transform: translateX(-50%); }
.phone-bar { display: flex; justify-content: space-between; padding: 1px 5px 24px; color: var(--ink); font-size: 10px; font-weight: 750; }
.phone-brand { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.phone-brand img { width: 116px; }
.phone-brand span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.phone-eyebrow { margin: 22px 0 10px; color: var(--ink); font-size: 18px; font-weight: 800; }
.phone-search { padding: 12px; border: 1px solid #D9E2EB; border-radius: 11px; background: #fff; color: #8799AB; font-size: 11px; }
.phone-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0 16px; }
.phone-categories span { padding: 10px 6px; border-radius: 9px; background: #EAF0F6; color: #36506A; font-size: 10px; font-weight: 700; text-align: center; }
.phone-categories span:nth-child(2) { background: #FFF0E7; color: #B64B13; }
.phone-card { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.phone-card__image { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #fff; font-weight: 800; }
.phone-card__image--navy { background: var(--navy); }
.phone-card > span:nth-child(2) { display: grid; flex: 1; }
.phone-card strong { color: var(--ink); font-size: 11px; }
.phone-card small { color: var(--muted); font-size: 9px; }
.phone-card b { color: var(--accent); font-size: 20px; }
.phone-card--soft { background: #EAF7F2; border-color: #D4EDE4; }
.phone-check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--good); color: #fff; font-size: 14px; font-weight: 800; }
.phone-home { position: absolute; bottom: 9px; left: 50%; width: 90px; height: 4px; border-radius: 5px; background: #071B2D; transform: translateX(-50%); }
.hero-orbit { position: absolute; padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(8,43,76,.88); box-shadow: 0 12px 28px rgba(0,0,0,.2); color: #fff; font-size: 11px; font-weight: 750; backdrop-filter: blur(8px); }
.hero-orbit--one { top: 90px; left: -6px; }
.hero-orbit--two { right: -3px; bottom: 80px; color: #FFE4D5; }

.services-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--navy); }
.service-photo-card { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.service-photo-card::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgba(4,25,44,.88)); pointer-events: none; }
.service-photo-card img { display: block; width: 100%; height: clamp(280px, 32vw, 460px); object-fit: cover; transition: transform .5s ease; }
.service-photo-card figcaption { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; color: #fff; font-size: clamp(13px, 1.5vw, 18px); font-weight: 800; letter-spacing: -.01em; }
@media (hover: hover) { .service-photo-card:hover img { transform: scale(1.025); } }

.marketing-section { padding: 88px 0; }
.marketing-section h2 { max-width: 800px; margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.section-intro { max-width: 720px; margin: 20px 0 0; font-size: 18px; line-height: 1.65; }
.feature-grid { display: grid; gap: 14px; margin-top: 42px; }
.feature-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(8,43,76,.055); }
.feature-card--accent { background: #FFF4ED; border-color: #FFD9C4; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 30px; border-radius: 13px; background: #EAF0F6; color: var(--navy); font-size: 22px; font-weight: 850; }
.feature-card--accent .feature-icon { background: var(--accent); color: #fff; }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.65; }

.product-section { background: #F3F6F9; }
.section-heading-row { display: grid; gap: 18px; align-items: end; }
.section-heading-row > p { max-width: 440px; margin: 0; line-height: 1.65; }
.product-previews { display: grid; gap: 18px; margin-top: 42px; }
.product-preview { min-height: 570px; display: grid; gap: 32px; align-items: center; overflow: hidden; padding: 32px 26px 0; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.product-preview--navy { background: var(--navy); border-color: var(--navy); }
.product-preview__copy { align-self: start; max-width: 500px; }
.product-preview__copy h3 { margin: 10px 0 12px; font-size: clamp(27px, 4vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.product-preview__copy p { margin: 0; font-size: 15px; line-height: 1.65; }
.product-preview__copy a, .text-link { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--accent); font-weight: 780; text-decoration: none; }
.product-preview--navy h3 { color: #fff; }
.product-preview--navy .product-preview__copy p { color: #B9CEE2; }
.product-preview--navy .product-preview__copy a { color: #FFB98F; }
.app-label { color: #A9C6E2; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-label--orange { color: var(--accent); }
.mini-screen { align-self: end; width: min(100%, 440px); margin: 0 auto -8px; padding: 24px; border-radius: 24px 24px 0 0; background: #F8FAFC; box-shadow: 0 0 0 8px #17283A, 0 24px 50px rgba(8,43,76,.18); }
.mini-screen__top { display: flex; justify-content: space-between; margin-bottom: 24px; color: var(--ink); }
.mini-screen__top span { color: var(--muted); font-size: 12px; }
.appointment-date { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--navy); color: #fff; }
.appointment-date b { padding-right: 12px; border-right: 1px solid rgba(255,255,255,.25); font-size: 38px; line-height: 1; }
.appointment-date span { font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.appointment-date small { color: #B9CEE2; font-weight: 500; letter-spacing: 0; }
.appointment-details { display: grid; gap: 4px; padding: 20px 0 12px; }
.appointment-details strong { color: var(--ink); }
.appointment-details span { color: var(--muted); font-size: 12px; }
.appointment-status { width: fit-content; padding: 5px 10px; border-radius: 999px; background: var(--good-bg); color: var(--good); font-size: 11px; font-weight: 750; }
.mini-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.mini-actions span { padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); font-size: 10px; font-weight: 750; text-align: center; }
.mini-screen--professional { background: #fff; box-shadow: 0 0 0 8px #031525, 0 24px 50px rgba(0,0,0,.24); }
.schedule-row { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; margin: 8px 0; padding: 13px; border-left: 3px solid #9AAFC2; border-radius: 7px; background: #F0F4F8; }
.schedule-row--next { border-color: var(--accent); background: #FFF2E9; }
.schedule-row time { color: var(--navy); font-size: 11px; font-weight: 800; }
.schedule-row > span { display: grid; }
.schedule-row strong { color: var(--ink); font-size: 12px; }
.schedule-row small { color: var(--muted); font-size: 10px; }

.industries-section { background: #fff; }
.industries-grid { display: grid; gap: 40px; align-items: center; }
.industries-grid > div > p:not(.section-kicker) { max-width: 560px; font-size: 17px; line-height: 1.7; }
.industry-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.industry-list li { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #F8FAFC; color: var(--ink); font-size: 13px; font-weight: 700; }
.industry-list li::before { content: "•"; margin-right: 8px; color: var(--accent); }

.steps-section { background: var(--navy); }
.steps-section h2 { color: #fff; }
.steps-section .section-kicker { color: #FFB98F; }
.steps-grid { display: grid; gap: 24px; margin: 42px 0 0; padding: 0; list-style: none; }
.steps-grid li { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.steps-grid li > span { color: #FFB98F; font-size: 12px; font-weight: 800; }
.steps-grid h3 { margin: 18px 0 8px; color: #fff; font-size: 24px; }
.steps-grid p { margin: 0; color: #B9CEE2; font-size: 14px; line-height: 1.65; }

.stories-section { background: #FFF4ED; }
.stories-card { display: grid; gap: 24px; align-items: center; }
.stories-card > div:last-child { padding: 24px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.58); }
.stories-card > div:last-child p { margin: 0; font-size: 17px; line-height: 1.7; }
.stories-card .stories-note { margin-top: 12px !important; color: #826351; font-size: 12px !important; }

.portal-section { background: #F3F6F9; }
.portal-options--marketing { margin-top: 36px; }
.portal-options--marketing .portal-option { min-height: 210px; }
.portal-option--business .portal-icon { background: var(--good); }
.portal-option--business .portal-option-copy em { color: var(--good); }

.marketing-footer { padding: 62px 0 26px; background: #041C31; color: #AFC9DE; }
.marketing-footer__grid { display: grid; gap: 34px; }
.marketing-footer__grid > div { display: grid; align-content: start; justify-items: start; gap: 9px; }
.marketing-footer img { width: 158px; }
.marketing-footer p { margin: 4px 0 0; font-size: 13px; }
.marketing-footer strong { margin-bottom: 4px; color: #fff; font-size: 13px; }
.marketing-footer a, .marketing-footer span { color: #AFC9DE; font-size: 12px; text-decoration: none; }
.marketing-footer a:hover { color: #fff; }
.marketing-copyright { max-width: 1180px; margin: 42px auto 0 !important; padding: 20px 24px 0; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }

@media (min-width: 620px) {
  .nav-link { display: inline-flex; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .marketing-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 820px) {
  .marketing-links { display: flex; }
  .marketing-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); }
  .marketing-hero__copy { padding-bottom: 20px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .section-heading-row { grid-template-columns: 1.6fr .8fr; }
  .product-previews { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .stories-card { grid-template-columns: 1fr 1fr; }
  .portal-options--marketing { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 819px) {
  .marketing-hero { padding-top: 128px; }
  .hero-product { min-height: 470px; }
  .phone { min-height: 540px; transform: rotate(1deg) scale(.88); }
  .hero-orbit--one { left: 5%; }
  .hero-orbit--two { right: 4%; }
}

@media (max-width: 520px) {
  .marketing-shell { padding-right: 18px; padding-left: 18px; }
  .marketing-logo img { width: 140px; }
  .marketing-nav__inner { min-height: 68px; }
  .marketing-nav__actions { gap: 9px; }
  .nav-cta { min-height: 38px; padding: 0 13px; font-size: 11px; }
  .marketing-hero h1 { font-size: 44px; }
  .marketing-actions { display: grid; }
  .marketing-button { width: 100%; }
  .hero-product { margin: -30px 0; }
  .services-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-photo-card img { height: 235px; }
  .service-photo-card figcaption { right: 14px; bottom: 14px; left: 14px; }
  .marketing-section { padding: 66px 0; }
  .feature-card { min-height: 0; }
  .industry-list { grid-template-columns: 1fr; }
}

/* ---------- customer landing ---------- */

.hero {
  background: var(--navy);
  color: #fff;
  padding: calc(44px + env(safe-area-inset-top)) 0 40px;
}

.hero .brand-lockup { margin: 0 0 18px; }
.hero .app-pill { margin-bottom: 12px; }

.customer-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.customer-hero-top .brand-lockup { margin: 0; }
.customer-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(255,255,255,.12);
  color: #fff; font-size: 16px; font-weight: 800; text-decoration: none;
}
.customer-eyebrow { margin: 28px 0 5px; color: #FFB98F; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.hero h1 {
  color: #fff;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.lede {
  color: #B9CEE2;
  font-size: 16px;
  max-width: 34ch;
  margin: 0;
}

.customer-hero-search {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  min-height: 56px; margin-top: 19px; overflow: hidden; border-radius: 15px; background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.customer-hero-search > span { padding-left: 16px; color: var(--muted); font-size: 25px; line-height: 1; }
.customer-hero-search input[type="search"] {
  width: 100%; min-width: 0; min-height: 56px; padding: 12px 10px; border: 0; outline: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 16px;
}
.customer-hero-search button {
  align-self: stretch; padding: 0 15px; border: 0; background: var(--accent); color: #fff;
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
}
.customer-location-summary { margin: 13px 0 0; color: #B9CEE2; font-size: 13px; }

h2.sec {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 30px 0 12px;
}

.category-intro, .category-results-heading p {
  margin: -4px 0 16px;
  color: var(--muted);
}

.location-search {
  margin: 24px 0 18px; padding: 18px; border: 1px solid var(--line);
  border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #f5f8fb 100%);
  box-shadow: 0 4px 16px rgba(8, 43, 76, .06);
}
.location-search h2 { margin: 0 0 4px; color: var(--navy); font-size: 20px; }
.location-search > div > p, .location-status { margin: 0; color: var(--muted); font-size: 13px; }
.location-search form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.location-search label span { display: block; margin: 0 0 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.location-search select {
  width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); font: inherit;
}
.location-apply, .near-me-button {
  min-height: 44px; padding: 10px 12px; border-radius: 10px; font: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.location-apply { border: 1px solid var(--navy); background: var(--navy); color: #fff; }
.near-me-button { border: 1px solid var(--accent); background: #fff; color: var(--accent); }
.near-me-button:disabled { cursor: wait; opacity: .65; }
.location-status { margin-top: 10px; }
.view-switcher { display: inline-flex; margin: 4px 0 12px; padding: 3px; border-radius: 10px; background: #e8eef4; }
.view-switcher button { padding: 7px 17px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.view-switcher button.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(8, 43, 76, .12); }
.business-map { width: 100%; height: min(62vh, 480px); margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; z-index: 0; }
.card-distance, .service-mode { display: block; margin-top: 4px; color: var(--accent); font-size: 12px; font-weight: 700; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.category-carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88px; gap: 13px; overflow-x: auto;
  margin: 0 -16px; padding: 2px 16px 12px; scroll-snap-type: x proximity; scrollbar-width: none;
}
.category-carousel::-webkit-scrollbar { display: none; }
.category-shortcut {
  display: grid; grid-template-rows: 66px auto; justify-items: center; gap: 8px; scroll-snap-align: start;
  color: var(--body); font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
}
.category-shortcut__icon {
  display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid var(--line);
  overflow: hidden; border-radius: 50%; background: #E7EDF4; color: var(--navy);
  box-shadow: 0 6px 18px rgba(8,43,76,.12); font-size: 25px; font-weight: 800;
}
.category-shortcut__icon img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.category-shortcut.is-preferred .category-shortcut__icon { border: 2px solid var(--accent); box-shadow: 0 0 0 3px #FFF1E8; }
.category-shortcut:hover .category-shortcut__icon { transform: translateY(-2px); }
.category-shortcut:hover .category-shortcut__icon img { transform: scale(1.06); }

.discovery-section { margin: 30px 0 4px; }
.discovery-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 13px; }
.discovery-heading h2 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: -.02em; text-transform: none; }
.discovery-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.discovery-cards { display: grid; gap: 11px; }
.discovery-card {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 13px;
  min-height: 90px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: 0 5px 16px rgba(8,43,76,.05); color: inherit; text-decoration: none;
}
.discovery-card__visual { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 13px; background: var(--navy); color: #fff; font-size: 25px; font-weight: 800; }
.discovery-card__visual img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.discovery-card__body { display: grid; min-width: 0; }
.discovery-card__body strong { overflow: hidden; color: var(--ink); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.discovery-card__body > span { color: var(--body); font-size: 13px; }
.discovery-card__body small { margin-top: 4px; color: var(--accent); font-size: 12px; font-weight: 700; }
.discovery-card__arrow { color: #A9B7C5; font-size: 25px; }

.discovery-kicker {
  margin: 0 0 3px !important; color: var(--accent) !important; font-size: 10px !important;
  font-weight: 850; letter-spacing: .11em; text-transform: uppercase;
}
.carousel-buttons { display: flex; flex: 0 0 auto; gap: 7px; }
.carousel-buttons button {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  font: inherit; font-size: 23px; line-height: 1; cursor: pointer;
}
.carousel-buttons button:hover, .carousel-buttons button:focus-visible { border-color: var(--accent); color: var(--accent); }
.market-carousel, .offer-carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(252px, 82%); gap: 13px;
  overflow-x: auto; margin: 0 -16px; padding: 2px 16px 14px;
  scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.market-carousel::-webkit-scrollbar, .offer-carousel::-webkit-scrollbar { display: none; }
.promoted-business-card { position: relative; min-width: 0; }
.promoted-business-card__label {
  position: absolute; z-index: 4; top: 10px; left: 10px; padding: 5px 9px;
  border-radius: 999px; background: rgba(8,43,76,.94); color: #fff;
  font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase;
}
.promoted-business-card .market-card { height: 100%; }
.market-card {
  display: grid; grid-template-rows: 1fr auto; overflow: hidden; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 7px 22px rgba(8,43,76,.08);
}
.market-card__main { display: grid; grid-template-rows: 128px auto; color: inherit; text-decoration: none; }
.market-card__photo { position: relative; display: block; overflow: hidden; background: #E7EDF4; }
.market-card__photo > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.market-card:hover .market-card__photo > img:first-child { transform: scale(1.035); }
.market-card__category {
  position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--navy); font-size: 10px; font-weight: 850;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.market-card__logo {
  position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; padding: 3px;
  border: 2px solid #fff; border-radius: 12px; background: #fff; object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.market-card__body { display: grid; align-content: start; min-width: 0; padding: 13px 14px 11px; }
.market-card__body strong { overflow: hidden; color: var(--ink); font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.market-card__body > span { display: -webkit-box; min-height: 35px; margin-top: 5px; overflow: hidden; color: var(--body); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.market-card__body small { margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 650; }
.market-card__body em { margin-top: 4px; color: var(--good); font-size: 11px; font-style: normal; font-weight: 800; }
.market-card__actions { display: flex; border-top: 1px solid var(--line); }
.market-card__actions a { flex: 1; padding: 10px 8px; color: var(--navy); font-size: 11px; font-weight: 800; text-align: center; text-decoration: none; }
.market-card__actions a + a { border-left: 1px solid var(--line); color: var(--accent); }
.category-business-row { margin-top: 19px; }
.category-business-row__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.category-business-row__heading h3 { margin: 0; color: var(--ink); font-size: 15px; }
.category-business-row__heading .carousel-buttons button { width: 30px; height: 30px; font-size: 20px; }

.discovery-section--offers {
  margin-right: -4px; margin-left: -4px; padding: 19px 4px 7px; border-radius: 20px;
  background: linear-gradient(145deg, #FFF8F2, #FFF0E4);
}
.discovery-section--offers .discovery-heading { padding: 0 12px; }
.offer-carousel { grid-auto-columns: minmax(270px, 88%); }
.offer-card {
  overflow: hidden; scroll-snap-align: start; border: 1px solid #F2D1BB; border-radius: 18px;
  background: #fff; box-shadow: 0 8px 22px rgba(146,67,24,.10);
}
.offer-card > a:first-child { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 166px; color: inherit; text-decoration: none; }
.offer-card__photo { overflow: hidden; background: #E7EDF4; }
.offer-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__body { display: grid; align-content: center; padding: 13px; }
.offer-card__category { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.offer-card__body strong { margin-top: 4px; color: var(--ink); font-size: 16px; line-height: 1.2; }
.offer-card__body > span:not(.offer-card__category) { margin-top: 3px; color: var(--body); font-size: 12px; font-weight: 700; }
.offer-card__body small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.offer-card__body b { margin-top: 7px; color: var(--good); font-size: 13px; }
.offer-card__body em { margin-top: 3px; color: var(--muted); font-size: 10px; font-style: normal; }
.offer-card__directions { display: block; padding: 10px; border-top: 1px solid var(--line); color: var(--accent); font-size: 11px; font-weight: 800; text-align: center; text-decoration: none; }

.customer-bottom-nav {
  position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; max-width: 560px; min-height: 66px; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 28px rgba(8,43,76,.08);
  backdrop-filter: blur(14px);
}
.has-customer-nav { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
.customer-bottom-nav a { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--muted); font-size: 10px; font-weight: 750; text-decoration: none; }
.customer-bottom-nav a > span { font-size: 22px; line-height: 1; }
.customer-bottom-nav a.is-active { color: var(--accent); }

.interest-onboarding { position: fixed; z-index: 1000; inset: 0; display: grid; align-items: end; padding-top: max(24px, env(safe-area-inset-top)); background: rgba(3,18,31,.68); backdrop-filter: blur(6px); }
.interest-onboarding__card { width: 100%; max-width: 560px; max-height: 92vh; margin: 0 auto; padding: 25px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -20px 60px rgba(0,0,0,.24); }
.interest-onboarding__mark { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 16px; border-radius: 13px; background: var(--navy); color: #fff; font-size: 22px; font-weight: 850; }
.interest-onboarding__step { margin: 0 0 4px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.interest-onboarding__card h2 { margin: 0; color: var(--ink); font-size: 25px; letter-spacing: -.025em; text-transform: none; }
.interest-onboarding__card > p { margin: 9px 0 18px; color: var(--body); font-size: 14px; }
.interest-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
.interest-options label { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 56px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #F8FAFC; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.interest-options input { position: absolute; opacity: 0; pointer-events: none; }
.interest-option-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #E7EDF4; color: var(--navy); font-size: 16px; }
.interest-option-icon { overflow: hidden; }
.interest-option-icon img { width: 100%; height: 100%; object-fit: cover; }
.interest-options label:has(input:checked) { border-color: var(--accent); background: #FFF3EA; box-shadow: inset 0 0 0 1px var(--accent); }
.interest-options label:has(input:checked) .interest-option-icon { box-shadow: 0 0 0 2px var(--accent); }
.interest-skip { display: block; width: 100%; min-height: 44px; margin-top: 5px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

.category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 7px rgba(8, 43, 76, .04);
}

.category-card:hover, .category-card:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.category-back {
  display: inline-block;
  margin: 26px 0 2px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.category-results-heading h2.sec {
  margin-top: 14px;
}

.store-field { margin: 0 0 18px; }
.store-field label { display: block; margin-bottom: 6px; font-weight: 600; }
.store-field select, .store-field textarea { width: 100%; max-width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--surface); color: var(--ink); }
.store-field .fineprint { margin-top: 7px; text-align: left; }
.store-field--working-days > label { margin-bottom: 10px; }
.workday-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.workday-options li { margin: 0; }
.workday-options label { display: flex; align-items: center; gap: 9px; min-height: 46px; margin: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #F8FAFC; cursor: pointer; }
.workday-options input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.workday-options label:has(input:checked) { border-color: var(--accent); background: #FFF2E9; color: var(--navy); }
.social-handle-input { display: flex; align-items: stretch; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.social-handle-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,26,.12); }
.social-handle-input span { display: flex; align-items: center; padding: 0 0 0 12px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.social-handle-input input[type="text"] { min-width: 0; border: 0; border-radius: 0; box-shadow: none; outline: 0; }
@media (min-width: 540px) { .workday-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-search { margin: 0 0 14px; }
.shop-search-control {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  min-height: 52px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface);
}
.shop-search-icon { padding-left: 14px; color: var(--muted); font-size: 24px; line-height: 1; }
.shop-search input[type="search"] {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 10px;
  border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 16px;
}
.shop-search button {
  align-self: stretch; padding: 0 16px; border: 0; background: var(--navy);
  color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.shop-search-clear { display: inline-block; margin: 7px 2px 0; color: var(--accent); font-size: 13px; }
.shop-search input[type="search"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 430px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-card { min-height: 72px; padding: 12px; font-size: 13px; }
  .location-search form { grid-template-columns: 1fr; }
}

@media (min-width: 700px) {
  .market-carousel { grid-auto-columns: minmax(270px, 42%); }
  .offer-carousel { grid-auto-columns: minmax(310px, 48%); }
}

.shop-category {
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.shop-directions { margin: 12px 0 0; }
.shop-directions a, .directions-link { color: var(--accent); font-weight: 650; }
.shop-directions { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-directions a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; }

.panel p { margin: 0 0 12px; }
.panel p:last-child { margin-bottom: 0; }

.account-heading { margin-top: 18px !important; }
.account-appointments { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.account-appointments li { border-bottom: 1px solid var(--line); }
.account-appointments a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; color: var(--ink); text-decoration: none;
}
.account-appointments a > span:first-child { min-width: 0; }
.account-appointments strong, .account-appointments small { display: block; }
.account-appointments small { color: var(--muted); font-size: 12px; font-weight: 400; }
.account-appointments .appointment-status { margin-top: 3px; color: var(--good); font-weight: 700; }
.account-appointments .appointment-status--cancelled,
.account-appointments .appointment-status--no_show { color: var(--bad); }
.account-appointments .appointment-status--pending { color: var(--accent); }
.appointment-date { flex: 0 0 auto; text-align: right; font-size: 14px; font-weight: 600; }

.midpage { padding-top: 72px; max-width: 420px; }
.midpage h1 { margin-bottom: 10px; }
.midpage p { margin: 0 0 18px; }

.foot a { color: var(--muted); }

/* ---------- public legal pages ---------- */

.legal-page { padding-top: 10px; }
.legal-page h1 { margin-bottom: 4px; }
.legal-updated { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.legal-page section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; margin: 0 0 12px;
}
.legal-page section h2 {
  color: var(--ink); font-size: 17px; letter-spacing: 0;
  text-transform: none; margin: 0 0 8px;
}
.legal-page section p { margin: 0 0 10px; }
.legal-page section p:last-child, .legal-page section ul:last-child { margin-bottom: 0; }
.legal-page section ul { margin: 0 0 10px; padding-left: 20px; }
.legal-page a { color: var(--accent); }

/* ---------- ratings ---------- */

.shop-rating {
  display: flex; align-items: baseline; gap: 8px;
  margin: 18px 0 0; font-size: 15px; color: var(--muted);
}

.shop-rating strong { font-size: 19px; color: var(--ink); }

.reviews { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.review {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}

.review-stars { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.review-stars span { font-weight: 400; color: var(--muted); font-size: 14px; }
.review-text { margin: 0 0 6px; font-size: 15px; color: var(--body); }
.review-by { margin: 0; font-size: 13px; color: var(--muted); }

.review-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; margin-top: 18px;
}

.review-panel h2 {
  font-size: 17px; text-transform: none; letter-spacing: 0;
  color: var(--ink); margin: 0 0 4px;
}

.review-intro { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

.rating-field { border: 0; margin: 0 0 16px; padding: 0; }
.rating-field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0 0 8px; }
.rating-choices { display: flex; gap: 6px; flex-wrap: wrap; }

.rating-choice {
  display: flex; align-items: center; gap: 4px;
  min-height: var(--tap); padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer; font-size: 15px;
}

.rating-choice:has(input:checked) {
  border-color: var(--accent); background: #FFF4EC; color: #C2510C; font-weight: 600;
}

.rating-choice:hover { border-color: #C6D3E0; }
.rating-choice input { margin: 0; accent-color: var(--accent); }
.rating-choice span[aria-hidden="true"] { color: var(--accent); }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--ground); border-radius: 10px; padding: 12px 14px;
}

.consent input { margin-top: 3px; flex: 0 0 auto; }
.consent strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.consent em { font-style: normal; font-size: 13px; color: var(--muted); }

a.skip { color: var(--muted); font-size: 14px; text-decoration: underline; }
