/* Nekoya website styles: friendly and warm. Brand colours: #3c2a24 (dark brown), #ffffff (white), #f8f3ec (cream).
   Built for phones first; the wider layouts are at the end of each part. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown: #3c2a24;
  --cream: #f8f3ec;
  --white: #ffffff;
  --soft: #6e5c53;   /* quieter brown for secondary text */
  --line: #e2d5c7;   /* borders */
  --sand: #efe4d7;   /* tinted panels */
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --curve: 1.6rem;   /* how far each band's curved top rises */
  /* What sits on the current background; brown bands and white panels set their own. */
  --ink: var(--brown);
  --paper: var(--white);
  --quiet: var(--soft);
  --rule: var(--line);
}

/* On brown */
.site-header, .band-brown, .site-footer {
  --ink: var(--cream);
  --paper: var(--brown);
  --quiet: var(--sand);
  --rule: var(--soft);
  color: var(--white);
}
/* A light panel on any band */
.card, .panel, .ask, .accordion {
  --ink: var(--brown);
  --paper: var(--white);
  --quiet: var(--soft);
  --rule: var(--line);
  color: var(--brown);
}

* { box-sizing: border-box; }

/* Links to a part of a page, and keyboard focus, stop clear of the menu bar (4 rem high) */
html { scroll-padding-top: 4.5rem; }
/* Below the footer of a page shorter than the screen: the footer's brown, not the page's cream */
html { background: var(--brown); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
figure { margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.18; }
h1 { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.01em; }
h2 { margin-bottom: 1rem; font-size: 1.6rem; font-weight: 800; }  /* 16 px above what follows, at every width */
h3 { font-size: 1.15rem; font-weight: 700; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Bands: each one's curved top overlaps the band before it */
section {
  position: relative;
  margin-top: calc(var(--curve) * -1);
  padding: calc(var(--curve) + 2.25rem) 0 var(--curve);
  border-radius: 58% 42% 0 0 / var(--curve) var(--curve) 0 0;
  background: var(--cream);
}
/* The space below a band's content is a margin, so the last item's own bottom margin merges into it */
section > .wrap { margin-bottom: 2.5rem; }
section:nth-of-type(even) { border-top-left-radius: 42% var(--curve); border-top-right-radius: 58% var(--curve); }
.section-white { background: var(--white); }
.band-brown { background: var(--brown); }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { max-width: 38em; font-size: 1.06rem; font-weight: 500; }
.muted { color: var(--quiet); }

/* Header and menu */
.site-header { padding-bottom: var(--curve); background: var(--brown); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 3.5rem;
  padding-top: 1rem;
  padding-bottom: 0.9rem;
}
/* The logo (images/logo.png: the wordmark alone, on the header's own brown); 38 px tall (305 wide), so it
   still fits beside the menu at 820 px with a scrollbar (40 px did not), and on a 360 px phone */
.brand { display: inline-flex; align-items: center; color: var(--white); line-height: 1.1; text-decoration: none; }
.brand-logo { width: auto; height: 38px; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); }
.site-nav .nav-book { padding: 0 1.1rem; background: var(--cream); color: var(--brown); font-weight: 700; }
.site-nav .nav-book:hover { background: var(--sand); }
.site-nav .nav-book[aria-current="page"] { background: var(--cream); box-shadow: 0 0 0 2px var(--brown), 0 0 0 4px var(--cream); }

/* The menu bar (js/site.js): once the header has scrolled away, its own row is pinned to the top of the
   screen, slim and straight-edged, with the logo smaller; hidden until the visitor scrolls up or tabs in */
.site-header.bar .header-inner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
  padding: 0.625rem max(16px, calc(50% - 544px));  /* lined up with .wrap */
  background: var(--brown);
  box-shadow: inset 0 -2px var(--cream), 0 0.2rem 0.8rem rgba(60, 42, 36, 0.3);  /* a thin light line inside its foot, so its height stays */
  transform: translateY(calc(-100% - 1.2rem));  /* out of sight, shadow too */
}
.site-header.bar-shown .header-inner { transform: none; }
.site-header.bar .brand-logo { height: 26px; }  /* about 209 px wide */
@media (prefers-reduced-motion: no-preference) {
  .site-header.bar-slide .header-inner { transition: transform 0.25s ease; }
}
/* Too narrow for the logo beside the menu (about 610 px with it): the menu alone, on one row on smaller phones too */
@media (max-width: 639px) {
  .site-header.bar .header-inner { justify-content: center; }
  .site-header.bar .brand { display: none; }
}
@media (max-width: 389px) {
  .site-header.bar .site-nav a { padding: 0 0.45rem; }
  .site-header.bar .site-nav .nav-book { padding: 0 0.8rem; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0.2rem 0 var(--rule);
  color: var(--paper);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--paper); color: var(--ink); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--paper); }
button.button { font-family: inherit; font-size: inherit; cursor: pointer; }
button.button:disabled { opacity: 0.7; cursor: wait; }

/* Text beside a photo (stacked on phones) */
.split { display: grid; gap: 2rem; align-items: center; }
.split > * { min-width: 0; }
.split .photo { max-width: 32rem; margin-left: auto; margin-right: auto; }
.photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 1.75rem; object-fit: cover; }
.photo-square { aspect-ratio: 1; }
.photo-landscape { aspect-ratio: 4 / 3; object-position: center bottom; }
figcaption { margin-top: 0.7rem; color: var(--quiet); font-size: 0.92rem; font-weight: 500; line-height: 1.45; text-align: center; }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.card { border-radius: 1.9rem; background: var(--white); }
.section-white .card { background: var(--cream); }
.card-body { padding: 1.35rem 1.4rem; }
.card-body > :last-child { margin-bottom: 0; }
.card-photo { width: calc(100% - 1rem); margin: 0.5rem 0.5rem 0; aspect-ratio: 3 / 2; border-radius: 1.45rem; object-fit: cover; }
.card ul { margin: 0 0 1em; }
.card ul:not(.price-list, .tags) { padding-left: 1.2em; }
.card ul:not(.price-list, .tags) li + li { margin-top: 0.3em; }  /* space between items only, so none trails the last one */
.more { display: inline-block; padding: 0.5rem 0; font-weight: 700; text-decoration-thickness: 2px; }

/* Rooms. Each price has a regular part and introductory (intro) parts. As written only the regular price
   shows, on one line: the intro parts and the price's first row take no space, so all below moves up.
   html.intro-on shows them, the regular price struck through above the intro rate, and the prices area
   grows once. The hidden words "was" and "now" are in intro parts, so screen readers hear them only then. */
html:not(.intro-on) .intro { display: none; }  /* stronger than .intro-note's display */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intro-note { display: inline-block; margin: 0 0 1rem; padding: 0.3rem 1rem; border-radius: 1.25rem; background: var(--cream); color: var(--brown); font-weight: 500; }
/* relative: the hidden words stay inside their card, so they never widen the page */
.room-price { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 0.4rem; align-items: baseline; margin-bottom: 0.75rem; }
html.intro-on .room-price { grid-template-rows: 1.75rem auto; }
.room-price .regular, .room-price .intro { grid-area: 2 / 1; }
.room-price .unit { grid-area: 2 / 2; font-weight: 500; }
.room-price .price { font-size: 1.75rem; font-weight: 800; line-height: 1.3; }
html.intro-on .room-price .regular { grid-area: 1 / 1 / 2 / 3; color: var(--quiet); text-decoration: line-through; }
html.intro-on .room-price .regular .price { font-size: 1.05rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.tags li { padding: 0.1rem 0.75rem; border-radius: 999px; background: var(--sand); font-size: 0.83rem; font-weight: 600; }
.card ul.room-facts { margin: 0; color: var(--quiet); font-size: 0.94rem; }
/* The four room cards share one set of rows (photo, name, price, tags, list), so each list starts level with
   the others' at every width, the extra space below the tags (CHECKLIST 130) */
@supports (grid-template-rows: subgrid) {
  .cards.carousel { row-gap: 0; }  /* it has one row of cards only */
  .carousel > .card { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
  .carousel .card-body { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-items: start; }
}

/* Prices */
.price { font-weight: 800; white-space: nowrap; }
.extra-cat { margin: 1.75rem 0 0; font-size: 1.08rem; font-weight: 500; }
.price-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.price-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 1rem;
  padding: 0.8rem 0;
  border-bottom: 2px dotted var(--rule);
}
.card .price-list li:last-child, .accordion .price-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.price-list .cost { margin-left: auto; text-align: right; }
.price-list .note { flex-basis: 100%; color: var(--quiet); font-size: 0.95rem; }
.big-price .price { font-size: 1.75rem; }

/* Grooming passes: the saving, and the price per visit under each pass price */
.save { display: inline-block; margin-bottom: 0.5rem; padding: 0.15rem 0.85rem; border-radius: 999px; background: var(--sand); font-weight: 600; }
.per-visit { display: block; color: var(--quiet); font-size: 0.95rem; font-weight: 500; }
.per-visit .price { font-size: inherit; font-weight: 700; }

/* "Ask us" lines: a plain tinted note */
.ask {
  max-width: 44rem;
  margin: 1.75rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--sand);
  font-size: 1.04rem;
  font-weight: 600;
}
.small-print { margin-top: 1.5rem; color: var(--quiet); font-size: 0.9rem; }

/* Accordions (<details>): a light panel each, opened and closed by its title row */
.accordion { max-width: 52rem; margin: 0 0 0.75rem; border-radius: 1.5rem; background: var(--white); }
.section-white .accordion { background: var(--cream); }
.accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.25rem;
  border-radius: 1.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after {  /* a chevron, pointing down when closed and up when open */
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin: -0.3rem 0.2rem 0 0;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
}
.accordion[open] > summary::after { margin-top: 0.3rem; transform: rotate(-135deg); }
.accordion > summary:focus-visible { outline-offset: -3px; }
.accordion-body { padding: 0.25rem 1.25rem 1.35rem; }
.accordion-body > :last-child { margin-bottom: 0; }
.accordion-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.accordion-body ul.price-list { padding-left: 0; }
.accordion-body li + li, .accordion-body li > ul { margin-top: 0.35em; }
.accordion-body h3 { margin: 1.25rem 0 0.5rem; font-size: 1.02rem; }
.accordion-body > h3:first-child { margin-top: 0; }
.ttk > p, .ttk-title, .hours { max-width: 52rem; }
.hours { margin-top: 1.75rem; }
.ttk-title { margin-top: 2.5rem; }
.agree { font-style: italic; font-weight: 600; }

/* The Standard (hotel.html, grooming.html): the user's pictures in white frames, each a link to its own
   file to see it full size; the hotel's two side by side from 640 px, and space before Things to Know */
.standard { display: grid; gap: 1.25rem; max-width: 34rem; margin: 0 0 3.25rem; }
.standard-pair { max-width: none; }
.standard a { display: block; padding: 0.5rem; border-radius: 1.9rem; background: var(--white); }
.standard img { border-radius: 1.45rem; }
.standard figcaption { grid-column: 1 / -1; margin-top: -0.4rem; }

/* What's included (hotel.html): an icon in a round tint above each group */
.included-icon { width: 3.25rem; height: 3.25rem; margin-bottom: 0.9rem; padding: 0.75rem; border-radius: 50%; background: var(--sand); }
/* Cards side by side share one set of rows (icon, heading, list), so each list starts level with the others'
   in its row of cards, the extra space below the shorter headings (CHECKLIST 133). No gap inside a card;
   the grid's own gap stays between rows of cards. */
@supports (grid-template-rows: subgrid) {
  .included { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
}

/* Portfolio (grooming.html): each cat's before and after photos side by side and equal in size (all 17:16),
   each captioned below; one cat per row below 820 px, so the photos are not small, two from 820 px (CHECKLIST 134) */
.portfolio { display: grid; gap: 1.75rem 2rem; margin: 0; padding: 0; list-style: none; }
.portfolio li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.portfolio img { width: 100%; border-radius: 1.05rem; }

/* Contact details and other label-and-value lists */
.contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
.contact dt, .contact dd { margin: 0; padding: 0.55rem 0; border-top: 2px dotted var(--rule); }
.contact dt:first-child, .contact dt:first-child + dd { border-top: 0; }
.contact dt { padding-right: 1.1rem; font-weight: 700; }
.contact dd { overflow-wrap: anywhere; }

.card .room-photo { aspect-ratio: 4 / 5; }

/* Photo grid */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.1rem; }
.gallery > * { min-width: 0; }
.gallery .photo { border-radius: 1.05rem; }

/* A row of links (social pages), each with its icon */
.link-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.link-row a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.95rem 0 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}
.link-row a:hover { background: var(--sand); }

/* Footer: one line, its curved top overlapping the last band */
.site-footer {
  position: relative;
  margin-top: calc(var(--curve) * -1);
  padding: calc(var(--curve) + 1.5rem) 0 2rem;
  border-radius: 42% 58% 0 0 / var(--curve) var(--curve) 0 0;
  background: var(--brown);
  font-size: 0.95rem;
  text-align: center;
}
.site-footer p { margin: 0; }
.site-footer span { display: inline-block; }  /* on phones, two lines that keep clear of the buttons below */
@media (max-width: 639px) {
  .site-footer .wrap { padding: 0 4.75rem; }
}

/* WhatsApp and back to the top: always in the bottom right corner */
.float-buttons { position: fixed; right: 16px; bottom: 16px; z-index: 9; display: flex; flex-direction: column; gap: 0.75rem; }
.float-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  box-shadow: 0 0.2rem 0.7rem rgba(60, 42, 36, 0.35);
}
.float-whatsapp { background: #1e8f4e; }  /* WhatsApp green, dark enough for the white sign */
.float-top { background: var(--brown); box-shadow: 0 0 0 2px var(--cream), 0 0.2rem 0.7rem rgba(60, 42, 36, 0.35); }

/* Booking page (book.html) */
.booking { max-width: 820px; }
.booking [hidden] { display: none !important; }
.panel {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.2rem;
  border: 0;
  border-radius: 1.75rem;
  background: var(--white);
}
.panel > p:last-child { margin-bottom: 0; }
.booking fieldset.field { min-width: 0; margin: 0 0 1.2rem; padding: 0; border: 0; }
.booking legend {
  float: left;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
fieldset.panel > legend { line-height: 1.18; }
.booking legend + * { clear: both; }
.booking .field legend { margin-bottom: 0.4rem; font-size: 1rem; font-weight: 700; }
.booking .panel h2, .privacy-text h2 { margin-bottom: 0.5em; font-size: 1.25rem; }
.field { margin-bottom: 1.2rem; }
.panel > .field:last-child { margin-bottom: 0; }
.field > label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
.booking input[type="text"], .booking input[type="tel"], .booking input[type="email"], .booking select, .booking textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.85rem;
  border: 2px solid var(--soft);
  border-radius: 0.95rem;
  background: var(--white);
  color: var(--brown);
  font: inherit;
}
.booking textarea { display: block; }
.booking select option:disabled { color: var(--soft); }
/* The contact name and phone while they follow the pass holder's (CHECKLIST 126): greyed, as they are read-only */
.booking input[readonly] { border-color: var(--line); background: var(--sand); color: var(--soft); }
.field-pair { display: grid; gap: 0 1rem; }
.field-pair > * { min-width: 0; }
.choice-row { display: grid; gap: 0.75rem; }
.choice, .slot {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--line);
  border-radius: 1.15rem;
  background: var(--cream);
  cursor: pointer;
}
.slot { align-items: center; min-height: 3.1rem; font-weight: 600; }
.choice input, .slot input, .checks input, .consent input, .tick input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--brown); }
.slot input { margin-top: 0; }
/* Chosen: filled brown; free: cream; taken: grey, dashed and crossed out */
.choice:has(input:checked), .slot:has(input:checked) { --ink: var(--cream); border-color: var(--brown); background: var(--brown); color: var(--white); }
.choice input:checked, .slot input:checked { accent-color: var(--cream); }
.choice:has(input:focus-visible), .slot:has(input:focus-visible) { outline: 3px solid var(--brown); outline-offset: 2px; }
.choice:hover, .slot:not(.slot-taken):hover { border-color: var(--brown); }
.slots { display: grid; gap: 0.5rem; }
.slot-taken { border-style: dashed; border-color: #9a8d85; background: #ece7e2; color: var(--soft); font-weight: 450; text-decoration: line-through; cursor: not-allowed; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr)); gap: 0.5rem 0.75rem; }
.checks label { display: flex; gap: 0.6rem; align-items: center; min-height: 2.9rem; padding: 0.3rem 0.8rem; border: 2px solid var(--line); border-radius: 1rem; background: var(--cream); cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--brown); background: var(--sand); font-weight: 600; }
.checks input { margin-top: 0; }
.field-error { margin: 0.5rem 0 0; padding: 0.45rem 0.8rem; border: 2px solid #a1281c; border-radius: 0.9rem; background: var(--white); color: #a1281c; font-weight: 600; line-height: 1.4; }
.field-error:empty { display: none; }
/* A cat's age (CHECKLIST 109): a short number box, then years or months; the hotel's rows each under "Cat 1", ... */
.age-row { display: flex; gap: 0.6rem; align-items: center; }
.booking .age-row input { flex: none; width: 4.5rem; text-align: center; }
.booking .age-row select { flex: none; width: auto; }
.age-row label { min-width: 3.4rem; font-weight: 700; }
.age-row + .age-row { margin-top: 0.5rem; }
.demo-note { margin: 0 0 1.25rem; padding: 0.95rem 1.15rem; border: 2px dashed #a07c1f; border-radius: 1.25rem; background: #fff4c2; }
/* The privacy notices' pop-up: its text scrolls inside it, the Close button stays in view, the page behind stays still */
.privacy-dialog {
  width: 46rem;
  max-width: calc(100% - 1.5rem);
  max-height: calc(100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.75rem;
  background: var(--white);
  color: var(--brown);
}
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog::backdrop { background: rgba(60, 42, 36, 0.6); }
html:has(.privacy-dialog[open]) { overflow: hidden; }
.privacy-text { min-height: 0; padding: 1.35rem 1.2rem; overflow-y: auto; overscroll-behavior: contain; }
.privacy-text:focus-visible { outline-offset: -3px; }
.privacy-text > div + div { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px dotted var(--line); }
.privacy-text p:last-child { margin-bottom: 0; }
.dialog-actions { display: flex; justify-content: flex-end; margin: 0; padding: 0.9rem 1.2rem; border-top: 2px solid var(--line); }
.consent, .booking .tick { display: flex; gap: 0.7rem; align-items: flex-start; min-height: 2.75rem; margin-bottom: 1rem; font-weight: 600; cursor: pointer; }
.booking .tick { margin-bottom: 0; align-items: center; }
.booking .field > .tick { margin-bottom: 0; }
.hint { margin: 0.35rem 0 0.5rem; font-size: 0.95rem; }
.robot-check { margin: 1rem 0; }
#send-button { width: 100%; }
.estimate { background: var(--sand); }
.estimate .hint { margin-bottom: 0; }
.confirmation { border: 2px solid var(--brown); }
.confirmation h3 { margin-top: 1.5rem; }
.booking-number strong { font-size: 1.5rem; font-weight: 800; }
.confirmation:focus, .confirmation:focus-visible { outline: none; }
/* The summary's labels wrap within at most 45% of its width, so a long label such as "Reaction during earlier
   grooming" leaves room for its value on a phone. */
.summary { margin-bottom: 1.5rem; grid-template-columns: fit-content(45%) minmax(0, 1fr); }
.summary dd { white-space: pre-wrap; }
/* Screens under 390 px (CHECKLIST 118): less side padding on the panels and right of the full-width menus, so
   the longest names, "Haircut & grooming, short hair" and "Standard Window (up to 3 cats)", show whole at 16 px.
   The browser draws the menu's arrow at a set place from its border, so the arrow stays where it was. */
@media (max-width: 389.98px) {
  .panel { padding-inline: 0.75rem; }
  .booking .field > select { padding-right: 0.35rem; }
}

/* Wider screens */
@media (min-width: 640px) {
  .cards-2, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  /* What We Offer (index.html): each card's "Explore" link at its foot, so the two are level (CHECKLIST 129) */
  .card:has(.more) { display: flex; flex-direction: column; }
  .card:has(.more) > .card-body { flex-grow: 1; display: flex; flex-direction: column; }
  .card-body > .more { align-self: flex-start; margin-top: auto; }
  .standard-pair { grid-template-columns: 1fr 1fr; }
  .choice-row, .field-pair, .slots { grid-template-columns: 1fr 1fr; }
  .panel, .privacy-text { padding: 1.6rem 1.75rem; }
  .dialog-actions { padding: 1rem 1.75rem; }
  #send-button { width: auto; }
}
/* Booking page, 640-720 px (CHECKLIST 122): the hotel's date and time pairs one under the other, as on phones;
   side by side, the closed Check-out menu cut its longest name, "Wed 30 Dec 2026 (181 nights)" */
@media (min-width: 640px) and (max-width: 720px) {
  .field-pair { grid-template-columns: none; }
}
@media (min-width: 820px) {
  :root { --curve: 2.75rem; }
  section { padding: calc(var(--curve) + 3rem) 0 var(--curve); }
  section > .wrap { margin-bottom: 3.25rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.05rem; }
  .header-inner { justify-content: space-between; }
  .site-nav a { font-size: 1rem; padding: 0 1rem; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
  .split-photo-first { grid-template-columns: 0.9fr 1.1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .gallery .photo { border-radius: 1.5rem; }
  .portfolio { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Room cards (hotel.html) below 1000 px: one row that scrolls sideways out to the screen's edges and stops
   at each card, the next card peeking in; equal heights, a scrollbar for the mouse, arrow keys once focused */
@media (max-width: 999.98px) {
  .cards.carousel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    margin: 0 -16px;
    padding: 0 16px 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-color: var(--ink) var(--rule);
  }
  .carousel > .card { scroll-snap-align: start; }
  .carousel:focus-visible { outline-offset: -3px; }
}
@media (min-width: 640px) and (max-width: 999.98px) {
  .cards.carousel { grid-auto-columns: 44%; }  /* two and a peek */
}
@media (min-width: 820px) and (max-width: 999.98px) {
  .cards.carousel { grid-auto-columns: 30%; }  /* three and a peek, so a card fits a narrow laptop window */
}
