/* Smiffy's Pet Supplies' preview: the site's look. The colours are this one block: change one here and nowhere else.
   Fonts from this site only (assets/fonts, Quicksand, OFL); no script, nothing from other sites (docs/styling.md).
   Text 4.5:1 or more on its background; amber is for marks and fills, never for text on cream. */
:root {
  --teal: #1a4f68;          /* the shop's main colour: headings, buttons, the footer */
  --teal-deep: #0f3245;     /* buttons when pressed, the footer's edge */
  --amber: #e0a43a;         /* marks: the paw, the labels' dot, the top bar */
  --amber-soft: #fbe7bf;    /* the top bar's background */
  --cream: #fdf8ef;         /* the page */
  --card: #ffffff;
  --soft: #f4ece0;          /* every other section */
  --ink: #1f2b31;           /* text */
  --muted: #4d5a61;         /* secondary text */
  --line: #e3d7c5;
  --gap-line: #8a6a2f;      /* the dashed edge of a box to fill in */
  --gap-bg: #fffaf0;
  --radius: 14px;
  color-scheme: light;
}
@font-face { font-family: "Quicksand"; font-weight: 500; font-style: normal; font-display: swap;
             src: url("/assets/fonts/quicksand-medium.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 700; font-style: normal; font-display: swap;
             src: url("/assets/fonts/quicksand-bold.woff2") format("woff2"); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 500 17px/1.6 "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
       background: var(--cream); overflow-wrap: break-word; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; color: var(--teal); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the preview bar */
.preview { margin: 0; padding: 8px 16px; text-align: center; font-size: 14px; line-height: 1.4; background: var(--amber-soft);
           color: var(--ink); border-bottom: 2px solid var(--amber); }

/* the header */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 10px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); font-weight: 700; font-size: 26px; }
.paw-bg { fill: var(--amber); }
.paw-in { fill: var(--teal); }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.nav a { display: inline-block; padding: 8px 10px; text-decoration: none; font-weight: 700; color: var(--ink); border-radius: 999px; }
.nav a:hover { background: var(--soft); }

/* the first screen */
.hero { padding: 28px 0 32px; }
.hero-in { display: grid; gap: 20px; }
h1 { font-size: 34px; margin: 0 0 10px; }
.lead { font-size: 19px; margin: 0 0 18px; color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn { display: inline-block; padding: 12px 20px; min-height: 48px; border-radius: 999px; background: var(--teal); color: #fff;
       text-decoration: none; font-weight: 700; border: 2px solid var(--teal); }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.alt { background: transparent; color: var(--teal); }
.btn.alt:hover { background: var(--card); }

/* the sections */
.band { padding: 32px 0; }
.band.soft { background: var(--soft); }
.label { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--amber); }
h2 { font-size: 27px; margin: 0 0 18px; }
h3 { font-size: 20px; margin: 0 0 4px; }
.note { margin: 18px 0 0; font-size: 18px; }
.meta { margin: 0 0 12px; color: var(--muted); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiles li { padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
            border-top: 5px solid var(--teal); }
.tiles strong { display: block; font-size: 18px; color: var(--teal); }
.tiles span { display: block; font-size: 15px; color: var(--muted); }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.services li { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.prices { border-collapse: collapse; width: 100%; }
.prices td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; font-weight: 700; }

/* a box to fill in: dashed, with a pencil */
.gap { margin: 12px 0 0; padding: 14px 16px; border: 2px dashed var(--gap-line); border-radius: var(--radius); background: var(--gap-bg); }
.gap p { margin: 0; }
.gap-t { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; color: var(--ink); }
.gap-h { margin-top: 4px; font-size: 14px; color: var(--muted); }
.gap.photo { display: grid; place-content: center; text-align: center; min-height: 200px; margin: 0; }
.gap.photo .gap-t { justify-content: center; }
.gap.small { padding: 10px 12px; }
.pen { flex: none; margin-top: 3px; fill: none; stroke: var(--gap-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gaps .gap:first-child { margin-top: 0; }

.find { display: grid; gap: 12px; }
.find .gap { margin: 0; }
.hours { padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.hours table { border-collapse: collapse; width: 100%; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.cell-gap { display: inline-block; min-width: 120px; padding: 2px 8px; border: 2px dashed var(--gap-line); border-radius: 8px;
            background: var(--gap-bg); text-align: center; line-height: 1; }
.cell-gap .pen { margin: 0; }

/* the footer */
.foot { background: var(--teal); color: #fff; padding: 26px 0 30px; border-top: 4px solid var(--amber); }
.foot p { margin: 0 0 8px; }
.foot a { color: #fff; font-weight: 700; }
.foot-name { font-size: 19px; font-weight: 700; }
.foot .small { font-size: 14px; color: #e8eef1; }

@media (min-width: 760px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .hero { padding: 48px 0; }
  .hero-in { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 36px; }
  .gap.photo { min-height: 300px; }
  .band { padding: 48px 0; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .gaps .gap { margin: 0; }
  .find { grid-template-columns: 1fr 1fr; }
}

/* the shop's own details */
.points { margin: 0 0 16px; padding-left: 22px; }
.points li { margin: 2px 0; }
.points li::marker { color: var(--amber); }
.card { padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card p { margin: 6px 0 0; }
.addr { font-weight: 700; }
