/* Tailwaggers site styles. Colors and type follow the Tailwaggers brand book. */
:root {
  --cream: #f6eed7;
  --gold: #eab950;
  --gold-deep: #de9f3b;
  --teal: #2f9495;
  --teal-deep: #3d8a8c;
  --slate: #426066;
  --coral: #eb6646;
  --pine: #233533;
  --ground: #faf6ea;
  --surface: #ffffff;
  --ink: #2c4246;
  --ink-muted: #5a7175;
  --line: #e8dfc4;
  --teal-text: #267a7b;
  --coral-text: #b9472d;
  --success: #277565;

  --display: "Cubano", "Lilita One", "Arial Rounded MT Bold", Arial, sans-serif;
  --sans: "Bahnschrift", "Barlow Semi Condensed", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  --script: "Leckerli One", "Lobster", cursive;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 .4em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(30px, 4.6vw, 48px); color: var(--slate); }
h3 { font-size: 24px; color: var(--slate); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin: 0 0 10px;
}
.script { font-family: var(--script); font-weight: 400; }
.lead { font-size: 19px; color: var(--ink); max-width: 46ch; }
.muted { color: var(--ink-muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slate); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Hatch divider: the gold ////// from the print pieces */
.hatch {
  display: block;
  width: 84px; height: 12px;
  margin: 0 0 18px;
  background: repeating-linear-gradient(-60deg, var(--gold) 0 4px, transparent 4px 11px);
}
.center .hatch { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: .03em;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--slate); }
.btn-gold:hover { background: #f1c86b; color: var(--slate); }
.btn-slate { background: var(--slate); color: var(--cream); }
.btn-slate:hover { background: #36505a; color: var(--cream); }
.btn-ghost { border-color: currentColor; color: var(--cream); }
.btn-ghost:hover { background: rgba(246,238,215,.12); color: var(--cream); }
.btn-ghost-dark { border-color: var(--slate); color: var(--slate); }
.btn-ghost-dark:hover { background: var(--slate); color: var(--cream); }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--slate); color: var(--cream); font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar .contact { display: flex; gap: 20px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .02em; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(234,185,80,.25); }
.status.is-open .dot { background: #7fd3b2; box-shadow: 0 0 0 3px rgba(127,211,178,.25); }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand img { width: 128px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: .03em;
  color: var(--slate);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
}
.nav a:hover { background: rgba(66,96,102,.08); color: var(--slate); }
.nav a[aria-current="page"] { background: var(--slate); color: var(--cream); }
.nav .nav-call { background: var(--gold); color: var(--slate); margin-left: 8px; }
.nav .nav-call:hover { background: #f1c86b; }
.menu-btn { display: none; background: var(--slate); color: var(--cream); border: 0; border-radius: 999px; padding: 10px 18px; font-family: var(--display); font-size: 18px; cursor: pointer; }

@media (max-width: 900px) {
  .brand img { width: 104px; }
  .site-header .wrap { min-height: 72px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); display: none; padding: 8px var(--gutter) 20px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { font-size: 22px; padding: 12px 16px; }
  .nav .nav-call { margin: 8px 0 0; text-align: center; }
  .topbar .contact { display: none; }  /* call and directions live in the mobile bar */
}

/* Hero */
.hero {
  background: var(--teal) url(../img/pattern-teal.webp) center / 520px repeat;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 0; }
.hero-copy { padding-bottom: 64px; }
.hero .script { font-size: clamp(30px, 4.4vw, 46px); color: var(--gold); text-shadow: 3px 3px 0 var(--slate); display: block; margin-bottom: 6px; }
.hero h1 { color: var(--cream); text-shadow: 4px 4px 0 var(--slate); margin-bottom: 18px; }
.hero p { font-size: 20px; max-width: 34ch; margin-bottom: 28px; }
.hero-art { align-self: end; }
.hero-art img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 0 0 transparent); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-art img { max-width: 360px; }
}

/* Page hero for inner pages */
.page-hero { background: var(--slate) url(../img/pattern-slate.webp) center / 520px repeat; color: var(--cream); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: var(--cream); font-size: clamp(38px, 6vw, 64px); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { font-size: 19px; max-width: 52ch; margin: 0; }
.page-hero.teal { background-color: var(--teal); background-image: url(../img/pattern-teal.webp); }
.page-hero.teal h1 { text-shadow: 3px 3px 0 var(--slate); }

/* Service strip */
.strip { background: var(--slate); color: var(--cream); }
.strip ul { list-style: none; margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; max-width: var(--wrap); }
.strip li { font-family: var(--display); font-size: clamp(16px, 2.2vw, 22px); letter-spacing: .04em; display: flex; align-items: center; gap: 22px; }
.strip li + li::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eab950'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.2' cy='10.6' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.4' cy='6.4' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.6' cy='6.4' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.8' cy='10.6' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.cream-band { background: var(--cream); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease;
}
a.card:hover { transform: translateY(-4px); border-color: var(--teal); color: var(--ink); }
.card .icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 34px; height: 34px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-muted); margin-bottom: 18px; }
.card .more { margin-top: auto; font-family: var(--display); color: var(--teal-text); letter-spacing: .03em; }
.card .more::after { content: "\2192"; display: inline-block; margin-left: .4em; font-family: var(--sans); font-weight: 700; transition: transform .15s ease; }
a.card:hover .more::after { transform: translateX(4px); }
.i-teal { background: var(--teal); color: var(--cream); }
.i-gold { background: var(--gold); color: var(--slate); }
.i-slate { background: var(--slate); color: var(--gold); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split.flip > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.photo { border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6eed7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Deals */
.deals-band { background: var(--gold) url(../img/pattern-gold.webp) center / 520px repeat; }
.deals-band h2 { color: var(--slate); }
.deals-band .eyebrow { color: var(--slate); }
.deals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.deal {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  display: flex; flex-direction: column;
}
.deal .brand-name { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 6px; }
.deal h3 { font-size: 26px; margin-bottom: 10px; }
.deal p { font-size: 15px; color: var(--ink-muted); margin-bottom: 14px; }
.deal .valid { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--slate); border-top: 2px dashed var(--line); padding-top: 12px; }
.deal.ending .valid { color: var(--coral-text); }
.deals-empty { background: var(--cream); border-radius: var(--r-md); padding: 28px; text-align: center; }
.deals-foot { margin-top: 28px; }

/* Brands */
.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brand-chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--slate); }
.brand-search { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.brand-search input {
  flex: 1 1 260px; font: inherit; font-size: 18px; padding: 14px 20px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
}
.brand-search input:focus { outline: none; border-color: var(--teal); }
.brand-count { color: var(--ink-muted); font-weight: 600; }
.brand-list { columns: 4 200px; column-gap: 32px; }
.brand-letter { break-inside: avoid; margin-bottom: 22px; }
.brand-letter h3 { font-size: 28px; color: var(--teal); margin-bottom: 6px; border-bottom: 2px solid var(--line); padding-bottom: 4px; }
.brand-letter ul { list-style: none; margin: 0; padding: 0; }
.brand-letter li { padding: 3px 0; }
.brand-letter[hidden], .brand-letter li[hidden] { display: none; }

/* Reviews */
.rating { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 10px; margin-bottom: 18px; }
.rating .big { font-family: var(--display); font-size: 28px; color: var(--slate); background: var(--gold); border-radius: 999px; padding: 2px 14px; }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; margin: 0; }
.review blockquote { margin: 0 0 16px; font-size: 18px; line-height: 1.5; }
.review figcaption { font-weight: 600; color: var(--ink-muted); font-size: 15px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Visit / hours */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
.info-card + .info-card { margin-top: 20px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.hours tr:last-child td { border-bottom: 0; }
.hours tr.today td { color: var(--teal-text); font-weight: 700; }
.hours tr.holiday td { color: var(--coral-text); font-weight: 600; }
.hours tr.holiday td span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.hours tr.holiday.today td span { display: inline; }
.hours tr.today td:first-child::after { content: "Today"; margin-left: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--slate); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Big price callout */
.price-tag {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--gold); color: var(--slate);
  border-radius: var(--r-md); padding: 16px 24px; margin-bottom: 20px;
}
.price-tag .amt { font-family: var(--display); font-size: 52px; line-height: 1; }
.price-tag .per { font-weight: 600; font-size: 16px; line-height: 1.35; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--cream); font-family: var(--display); font-size: 22px; margin-bottom: 14px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { color: var(--ink-muted); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Note box */
.note { background: var(--cream); border-radius: var(--r-md); padding: 22px 24px; border: 1px solid var(--line); }
.note h3 { font-size: 20px; margin-bottom: 6px; }
.note p:last-child { margin-bottom: 0; }

/* Food types grid */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.type { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.type h3 { font-size: 21px; margin-bottom: 6px; color: var(--teal-text); }
.type p { margin: 0; color: var(--ink-muted); font-size: 16px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 130px; resize: vertical; }
.hp { display: none; }

/* CTA band */
.cta-band { background: var(--teal) url(../img/pattern-teal.webp) center / 520px repeat; color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); text-shadow: 3px 3px 0 var(--slate); }
.cta-band p { font-size: 19px; max-width: 48ch; margin: 0 auto 24px; }
.cta-band .actions { justify-content: center; }

/* Footer */
.footer-strip { height: 64px; background: var(--slate) url(../img/whitefish-strip.webp) center / auto 64px repeat-x; }
.site-footer { background: var(--pine); color: var(--cream); padding: 56px 0 28px; font-size: 16px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); margin: 0 0 12px; letter-spacing: .03em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-logo img { width: 150px; margin-bottom: 14px; }
.foot-hours td { padding: 2px 16px 2px 0; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(246,238,215,.1); display: grid; place-items: center; }
.social a:hover { background: var(--gold); color: var(--pine); }
.social svg { width: 20px; height: 20px; }
.foot-base { border-top: 1px solid rgba(246,238,215,.15); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #c8cfc6; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile action bar: call, directions and deals always one tap away on phones */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--slate); box-shadow: 0 -4px 16px rgba(35,53,51,.22); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; color: var(--cream); text-decoration: none; font-family: var(--display); font-size: 15px; letter-spacing: .04em; border-left: 1px solid rgba(246,238,215,.16); }
  .mobile-bar a:first-child { border-left: 0; background: var(--gold); color: var(--slate); }
  .mobile-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Brand logos, brand grid and brand pages ---------- */
.blogo {
  position: relative; flex: none;
  width: 64px; height: 64px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--tile, var(--teal)); color: var(--cream);
  font-family: var(--display); font-size: 24px; letter-spacing: .02em;
  overflow: hidden;
}
.blogo::before { content: attr(data-initials); }
.blogo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 10px; background: #fff;
}
.blogo.lg { width: 120px; height: 120px; border-radius: 24px; font-size: 44px; border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.blogo.lg img { padding: 16px; }

.brand-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip-btn {
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); color: var(--slate);
}
.chip-btn:hover { border-color: var(--teal); }
.chip-btn[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--cream); }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.bcard {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease;
  min-width: 0;
}
.bcard:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--ink); }
.bcard[hidden] { display: none; }
.bcard .bname { font-family: var(--display); font-size: 19px; line-height: 1.15; color: var(--slate); display: block; }
.bcard .bmeta { font-size: 14px; color: var(--ink-muted); display: block; margin-top: 2px; }
.bcard > span:last-child { min-width: 0; }
.brand-empty { padding: 32px; text-align: center; background: var(--cream); border-radius: var(--r-md); }

.crumb { font-weight: 600; font-size: 15px; margin-bottom: 18px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.crumb svg { width: 16px; height: 16px; transform: rotate(180deg); }
.brand-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.brand-hero .wrap { padding-top: 40px; padding-bottom: 48px; }
.brand-head { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.brand-head > div { flex: 1 1 320px; min-width: 0; }
.brand-head h1 { color: var(--slate); font-size: clamp(38px, 6vw, 60px); margin-bottom: 10px; text-wrap: balance; }
.brand-head .lead { margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: 14px; color: var(--slate); }
.tags li.pet { background: var(--slate); border-color: var(--slate); color: var(--cream); }
.brand-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.brand-body > * { min-width: 0; }
@media (max-width: 860px) { .brand-body { grid-template-columns: 1fr; } }
.lines { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lines li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 600; color: var(--slate); }
.brand-deals .deal { background: var(--gold); margin-bottom: 14px; }
.brand-deals .deal .valid { border-top-color: rgba(66,96,102,.25); }
.brand-deals .deal p { color: var(--ink); }
.stock-card h3 { font-size: 24px; }
.stock-card .btn { width: 100%; justify-content: center; margin: 6px 0 18px; }
.brand-deals:not([hidden]) { margin-bottom: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.badges li { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--slate); border-radius: 999px; padding: 5px 14px 5px 10px; font-weight: 700; font-size: 14px; }
.badges li::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23426066' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.brand-block { margin-bottom: 36px; }
.brand-block > p { max-width: 64ch; font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 0; }
.facts div { background: var(--cream); border-radius: var(--r-sm); padding: 12px 16px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--slate); }
.deal.upcoming { background: var(--surface); border: 2px dashed var(--line); }
.deal.upcoming .valid { color: var(--teal-text); }
.brand-deals .deal.upcoming { background: var(--surface); }

/* Frequent buyer */
.fb-chip { display: inline-block; margin-top: 6px; background: var(--gold); color: var(--slate); font-weight: 700; font-size: 12px; letter-spacing: .02em; padding: 2px 10px; border-radius: 999px; }
.fb-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.fb-block .eyebrow { margin-bottom: 4px; }
.fb-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.fb-list li { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.fb-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fb-list li > div:last-child { min-width: 0; }
.fb-list strong { color: var(--slate); font-size: 17px; }
.fb-list p { margin: 2px 0 0; font-size: 15px; color: var(--ink-muted); }
.fb-buy { flex: none; width: 92px; text-align: center; background: var(--slate); color: var(--cream); border-radius: var(--r-sm); padding: 8px 6px; line-height: 1.1; }
.fb-n { display: block; font-family: var(--display); font-size: 22px; color: var(--gold); }
.fb-get { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.fb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fb-brand { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; min-width: 0; }
.fb-brand[hidden] { display: none; }
.fb-brand > div:last-child { min-width: 0; }
.fb-brand h3 { font-size: 20px; margin: 4px 0 8px; }
.fb-brand h3 a { color: var(--slate); text-decoration: none; }
.fb-brand h3 a:hover { color: var(--teal-text); }
.fb-brand ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.fb-pill { display: inline-block; background: var(--gold); color: var(--slate); font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 999px; margin-right: 4px; }
.fb-brand .blogo { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
.brand-side { display: grid; gap: 20px; min-width: 0; }
.brand-side .fb-block { margin-bottom: 0; }
.brand-side .fb-block h2 { font-size: 26px !important; }
.wide-photo { aspect-ratio: 16 / 7; margin-bottom: 32px; max-width: 100%; }
@media (max-width: 600px) { .wide-photo { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.cream-band .faq-item { background: #fffdf6; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; font-size: 19px; color: var(--slate); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--slate); font-family: var(--display); font-size: 20px; line-height: 28px; text-align: center; }
.faq-item[open] summary::after { content: "\2212"; background: var(--teal); color: #fff; }
.faq-item summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: var(--r-md); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink); }

/* Checklists: keep bold lead-ins inline with their text */
.checks li { display: block; position: relative; padding-left: 34px; }
.checks li::before { position: absolute; left: 0; top: 2px; margin-top: 0; }

/* Deal pictures from Astro */
.deal.has-img { display: flex; flex-direction: column; }
.deal-img { margin: -4px -4px 16px; background: #fff; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.deal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Large screens: scale the whole layout up so it fills big monitors
   instead of sitting small in the middle. Phones and laptops are unchanged. */
@media (min-width: 1600px) { body { zoom: 1.12; } }
@media (min-width: 1800px) { body { zoom: 1.25; } }
@media (min-width: 2200px) { body { zoom: 1.45; } }
@media (min-width: 2800px) { body { zoom: 1.75; } }

/* Logos saved in the site already include their own background */
.blogo img.own, .blogo.lg img.own { padding: 0; background: transparent; }

/* Text message consent on the contact form */
.form .sms-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.form .sms-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.form .sms-fine { font-size: 13px; line-height: 1.45; color: var(--ink-muted); margin: -4px 0 4px; }
.legal h2 { font-size: 26px; margin: 32px 0 10px; }

.form .form-error { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: #fbe9e4; color: var(--coral-text); font-weight: 600; font-size: 15px; }

/* Deals page: compact rows grouped by brand */
a.brand-name { display: block; text-decoration: none; }
a.brand-name:hover { text-decoration: underline; }
.dgroups { columns: 2; column-gap: 20px; }
.dgroup { break-inside: avoid; background: var(--cream); border-radius: var(--r-md); padding: 6px 20px 8px; margin: 0 0 20px; }
.dgroup[hidden] { display: none; }
.dgroup header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 12px; border-bottom: 2px solid var(--line); }
.dgroup h3 { font-size: 24px; margin: 0; }
.dgroup h3 a { color: var(--slate); text-decoration: none; }
.dgroup h3 a:hover { color: var(--teal-text); }
.dgroup h3 a::after { content: " \203A"; color: var(--teal-text); }
.dcount { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.drow { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.drow[hidden] { display: none; }
.drow:last-child { border-bottom: 0; }
.drow-img { flex: none; width: 84px; height: 84px; background: #fff; border-radius: var(--r-sm); overflow: hidden; }
.drow-img img { width: 100%; height: 100%; object-fit: contain; }
.drow-body { min-width: 0; flex: 1; }
.drow h4 { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.15; letter-spacing: .01em; color: var(--slate); margin: 0 0 4px; }
.drow p { font-size: 14px; line-height: 1.4; color: var(--ink-muted); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.drow.open p { display: block; }
.drow .valid { font-size: 13px; font-weight: 600; color: var(--slate); }
.drow.ending .valid { color: var(--coral-text); }
.drow .brand-name { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 3px; }
.ending-wrap { margin-bottom: 48px; }
.ending-wrap[hidden] { display: none; }
.deals-ending { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 28px; background: var(--surface); border: 2px solid var(--coral); border-radius: var(--r-md); padding: 4px 20px; }
.deal-filters { align-items: center; }
.deal-filters .brand-count { margin-left: 4px; }
.chip-btn[hidden] { display: none; }
@media (max-width: 820px) { .dgroups { columns: 1; } }

/* Brands page: A to Z jump row, sale tags and a tighter phone layout */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: -6px 0 22px; }
.az-btn { font: inherit; font-family: var(--display); font-size: 16px; min-width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--teal-text); cursor: pointer; }
.az-btn:hover { background: var(--cream); }
.az-btn:disabled { color: #b9c2bf; cursor: default; background: transparent; }
.sale-chip { display: inline-block; margin: 6px 0 0 4px; background: var(--coral-text); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .02em; padding: 2px 10px; border-radius: 999px; }
.fb-chip + .sale-chip { margin-left: 4px; }
.bcard { scroll-margin-top: 150px; }
@media (max-width: 600px) {
  .brand-filters, .az { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .brand-filters::-webkit-scrollbar, .az::-webkit-scrollbar { display: none; }
  .brand-filters .chip-btn, .az-btn { flex: none; }
  .az { margin-top: -10px; }
  .az-btn { min-width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line); }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bcard { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .bcard .blogo { width: 48px; height: 48px; border-radius: 12px; font-size: 18px; }
  .bcard .bname { font-size: 16px; }
  .bcard .bmeta { font-size: 13px; }
  .fb-chip, .sale-chip { font-size: 11px; padding: 2px 8px; }
  .sale-chip, .fb-chip + .sale-chip { margin-left: 0; }
  .dgroup { padding: 4px 16px 6px; }
  .drow-img { width: 72px; height: 72px; }
}

/* Holiday rows in the footer hours (dark background, so gold instead of coral) */
.foot-hours tr.holiday td { color: var(--gold); font-weight: 600; padding-top: 6px; vertical-align: top; }
.foot-hours tr.holiday td span { display: block; font-size: 13px; font-weight: 400; opacity: .8; }
.foot-hours tr.holiday.today td span { display: inline; }

/* Category pages and links */
a.type.cat-tile { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.type.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(44,66,70,.10); }
a.type.cat-tile h3::after { content: " \203A"; }
.cat-links { font-size: 15px; color: var(--ink-muted); margin: 0 0 18px; line-height: 1.9; }
.cat-links a { font-weight: 600; }
.tags li a { color: inherit; text-decoration: none; }
.tags li a:hover { text-decoration: underline; }
