/* Little Jaunts: warm, calm, mobile-first. Forest green, cream, warm yellow. */
/* Fonts, as on Little Days (self-hosted, SIL Open Font Licence, see /fonts) */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(/fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500 600; font-display: swap; src: url(/fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700 800; font-display: swap; src: url(/fonts/dm-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800 900; font-display: swap; src: url(/fonts/manrope-latin-800-normal.woff2) format('woff2'); }
:root {
  --forest: #2E5A43;
  --forest-dark: #1F3F2F;
  --forest-soft: #E3ECE4;
  --cream: #FBF6EA;
  --cream-2: #F3EBD8;
  --card: #FFFDF8;
  --yellow: #F2C14E;
  --yellow-soft: #FBEBC0;
  --ink: #2A2A26;
  --muted: #625F55;
  --line: #E2D8C3;
  --low: #3F7D58;
  --medium: #A36B12;
  --high: #A63D2F;
  --sun: #F2C14E;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 42, 38, .06), 0 4px 14px rgba(42, 42, 38, .05);
  --serif: Manrope, "DM Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
a { color: var(--forest); text-underline-offset: 2px; }
a:hover { color: var(--forest-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--forest-dark); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .875rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--forest); color: var(--cream); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.strapline { margin: 0; font-family: var(--serif); font-style: italic; color: var(--yellow); font-size: 1rem; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand-mark { width: 50px; height: 50px; flex: none; display: block; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; }
.brand small { display: block; font-size: .8rem; opacity: .85; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; order: 3; width: 100%; margin: 4px 0 2px -10px; }
.site-nav a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { background: rgba(255,255,255,.1); color: var(--cream); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (min-width: 760px) { .site-nav { width: auto; margin: 0 -10px 0 0; } }

/* Family panel */
.family {
  margin: 20px 0 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
}
.family p { margin: 0; color: var(--muted); }
@media (min-width: 640px) {
  .family { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Buttons and chips */
.btn {
  font: inherit; font-weight: 600;
  border: 1px solid var(--forest); color: var(--forest); background: var(--card);
  border-radius: 999px; padding: 10px 18px; cursor: pointer; min-height: 44px;
}
.btn:hover { background: var(--forest-soft); }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-dark); }
.btn-small { padding: 6px 14px; min-height: 36px; font-size: .9rem; }
.btn-link { border: 0; background: none; text-decoration: underline; padding-left: 0; padding-right: 0; font-weight: 500; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  font: inherit; font-size: .9rem; white-space: nowrap;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; min-height: 38px;
}
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }

/* Tabs */
.tabs { display: flex; gap: 4px; margin: 16px 0 10px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tabs button {
  font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0;
  padding: 10px 14px; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--forest-dark); border-bottom-color: var(--yellow); }

.filters { display: grid; gap: 4px; margin-bottom: 8px; }
.drive-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .9rem; }
.drive-row select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.toggle { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.status { color: var(--muted); margin: 8px 0 16px; }

/* Listing groups and cards */
.day-heading {
  position: sticky; top: 0; z-index: 1;
  background: var(--cream); padding: 10px 0 6px; margin: 18px 0 8px;
  font-size: 1.15rem; border-bottom: 1px solid var(--line);
}
.cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.card.featured { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow-soft), var(--shadow); }
.card h3 { margin: 0; font-size: 1.12rem; }
.card .where { margin: 0; color: var(--muted); font-size: .92rem; }
.card .when { margin: 0; font-weight: 600; color: var(--forest-dark); }
.card .summary { margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-size: .8rem; line-height: 1.2; padding: 4px 9px; border-radius: 999px;
  background: var(--cream-2); color: var(--ink);
}
.badge.free { background: var(--forest-soft); color: var(--forest-dark); font-weight: 600; }
.badge.sensory { background: var(--yellow-soft); color: #6A4A00; font-weight: 600; }
.badge.sold { background: #F4DCD6; color: #7A2B20; font-weight: 600; }
.badge.drive { background: #EEF0EA; }
.badge.estimate { font-style: italic; }
.badge.featured-label { background: var(--yellow); color: var(--ink); font-weight: 600; }
.badge.match { background: #E8E1F0; color: #3E2F57; }

.expander { border-top: 1px dashed var(--line); padding-top: 8px; font-size: .88rem; }
.expander summary { cursor: pointer; font-weight: 600; color: var(--forest); list-style: none; }
.expander summary::-webkit-details-marker { display: none; }
.expander summary::before { content: "▸ "; }
.expander[open] summary::before { content: "▾ "; }
.sensory h4 { margin: 10px 0 4px; font-size: .85rem; font-family: var(--sans); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.sensory ul { margin: 0; padding-left: 18px; }
.ratings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 0; }
.ratings div { display: flex; justify-content: space-between; gap: 8px; }
.ratings dt { color: var(--muted); }
.ratings dd { margin: 0; font-weight: 600; }
.lvl-low { color: var(--low); }
.lvl-medium { color: var(--medium); }
.lvl-high { color: var(--high); }
.lvl-unknown { color: var(--muted); font-weight: 400; }

.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: .82rem; color: var(--muted); margin-top: auto; }
.card-foot a { font-weight: 600; font-size: .92rem; }

/* Cinema */
.cinema-venue { margin-top: 18px; }
.cinema-venue h3 { margin: 0 0 4px; }
.film { padding: 10px 0; border-top: 1px solid var(--line); }
.film:first-of-type { border-top: 0; }
.film h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.05rem; color: var(--forest-dark); }
.times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.time { font-size: .88rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.time.sensory { border-color: var(--yellow); background: var(--yellow-soft); }

.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; text-align: center; color: var(--muted); }
.note { margin: 28px 0; padding: 14px 16px; border-left: 4px solid var(--yellow); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; }

.site-footer { background: var(--forest-dark); color: var(--cream); margin-top: 32px; }
.site-footer a { color: var(--cream); }
.footer-inner { padding: 18px 16px 28px; }
.site-footer .small { color: #CFE0D2; }

/* Dialog */
dialog {
  border: 0; border-radius: var(--radius); padding: 0; width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px); background: var(--card); color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
dialog::backdrop { background: rgba(31, 63, 47, .45); }
dialog form { padding: 18px 18px 14px; overflow-y: auto; max-height: calc(100vh - 24px); }
dialog h2 { margin: 0 0 4px; padding-right: 52px; }
/* Always-visible close button, stays in the top right while the panel scrolls */
.dialog-close {
  position: sticky; top: 0; float: right; z-index: 2; margin: -6px -6px 0 0;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--forest);
  background: var(--card); color: var(--forest-dark); font: 700 1.7rem/1 var(--sans); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.dialog-close:hover { background: var(--forest); color: var(--cream); }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; padding: 10px 12px 12px; }
legend { font-weight: 700; padding: 0 6px; color: var(--forest-dark); }
.check-grid { display: grid; grid-template-columns: 1fr; gap: 6px 12px; }
@media (min-width: 480px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid label, .radio-row label { display: flex; gap: 8px; align-items: center; min-height: 32px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--forest); }
#postcode, .kid select, .form-grid input, .form-grid textarea {
  font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%;
}
#postcode { max-width: 12ch; text-transform: uppercase; display: block; margin: 4px 0; }
.kid { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.kid select { width: auto; }
.field-error { color: var(--high); font-size: .88rem; margin: 4px 0; }
.radio-row { display: grid; gap: 4px; margin-top: 8px; }
.dialog-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Simple content pages */
.page { max-width: 720px; padding-top: 12px; padding-bottom: 24px; }
.page h1 { margin-top: 18px; }
.form-grid { display: grid; gap: 12px; }
.form-grid label { display: grid; gap: 4px; font-weight: 600; }
.form-grid label span { font-weight: 400; color: var(--muted); font-size: .88rem; }

/* Today / Tomorrow / This weekend: the main way in */
.when { margin: 20px 0 4px; }
.when h1 { font-size: 1.6rem; margin: 0; }
.today-date { margin: 2px 0 12px; font-size: 1.05rem; font-weight: 600; color: var(--forest); }
.when-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .when-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.when-btn {
  font: inherit; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; min-height: 84px; box-shadow: var(--shadow);
}
.when-btn:hover { border-color: var(--forest); }
.when-label { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--forest-dark); }
.when-date { font-size: .85rem; color: var(--muted); }
.when-count { font-size: .85rem; font-weight: 600; color: var(--forest); margin-top: auto; }
.when-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); }
.when-btn[aria-pressed="true"] .when-label,
.when-btn[aria-pressed="true"] .when-date { color: var(--cream); }
.when-btn[aria-pressed="true"] .when-count { color: var(--yellow); }
.family h2 { font-size: 1.2rem; margin: 0 0 4px; }
.row-label { align-self: center; font-size: .9rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.price-help { margin: 0 0 6px; }
.badge.unclear { background: #F1E6CF; color: #6A4A00; font-style: italic; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-row input {
  font: inherit; width: 100%; padding: 10px 14px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink);
}
.search-row input:focus { border-color: var(--forest); }
.badge.worth { background: var(--yellow-soft); color: #6A4A00; font-weight: 600; }
.stale { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; background: #F4DCD6; color: #7A2B20; font-size: .92rem; }

/* Good picks */
.picks { margin: 4px 0 8px; padding: 14px 16px; background: var(--forest-soft); border-radius: var(--radius); }
.picks h2 { margin: 0; font-size: 1.2rem; }
.picks .small { margin: 2px 0 10px; }
.pick-list { display: grid; gap: 8px; }
@media (min-width: 640px) { .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick {
  font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.pick:hover { border-color: var(--forest); }
.pick strong { font-family: var(--serif); color: var(--forest-dark); font-size: 1.02rem; }
.pick-when { font-weight: 600; color: var(--forest); font-size: .9rem; }
.pick-where { color: var(--muted); font-size: .88rem; }
.card.flash { box-shadow: 0 0 0 3px var(--yellow), var(--shadow); transition: box-shadow .3s; }
.card[data-ev] { scroll-margin-top: 56px; }

/* Venue photos (only ones with a licence record) */
.photo { margin: 0 -16px 2px; }
.photo img { display: block; width: 100%; height: 180px; object-fit: cover; background: var(--cream-2); }
.photo figcaption { font-size: .72rem; color: var(--muted); padding: 3px 16px 0; }
.photo figcaption a { color: inherit; }

/* Card layout (after Little Days): kind + drive, photo, title, date, tags */
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kind {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--forest); color: var(--cream); padding: 3px 9px; border-radius: 999px;
}
.drive-top { font-size: .85rem; font-weight: 700; color: var(--forest-dark); }
.drive-top.estimate { font-weight: 600; font-style: italic; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .8rem; line-height: 1.2; padding: 5px 10px; border-radius: 8px;
  background: var(--cream-2); color: var(--ink); border: 1px solid var(--line);
}
.tag.free { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 800; letter-spacing: .04em; }
.tag.price { font-weight: 600; }
.tag.sensory { background: var(--yellow-soft); border-color: var(--yellow); color: #6A4A00; font-weight: 600; }
.tag.sold { background: #F4DCD6; border-color: #E8BDB3; color: #7A2B20; font-weight: 600; }
.tag.worth { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 700; }
.tag.featured-label { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.tag.match { background: #E8E1F0; border-color: #D6CBE3; color: #3E2F57; }
.tag.unclear { background: #F1E6CF; color: #6A4A00; font-style: italic; }
.card-foot { flex-direction: column; align-items: stretch; }
.cta {
  display: block; text-align: center; text-decoration: none; font-weight: 700;
  background: var(--forest); color: var(--cream) !important; border-radius: 999px; padding: 8px 14px; min-height: 40px;
  font-size: .9rem; line-height: 1.2; display: flex; align-items: center; justify-content: center; white-space: nowrap;
}
.cta:hover { background: var(--forest-dark); }
.card .opening { margin: 0; }

/* ---- Little Days look: pastel colour-coded tags, plain category label ---- */
.card { background: #fff; border-radius: 17px; padding: 20px; }
.card-top { padding-bottom: 12px; border-bottom: 1px solid #EDF0EB; margin-bottom: 4px; }
.kind { background: none; color: var(--forest-dark); padding: 0; border-radius: 0; font-size: .72rem; letter-spacing: .06em; }
.drive-top { font-size: .9rem; }
.photo { margin: 0 -20px 2px; }
.photo figcaption { padding: 3px 20px 0; }
.card .when { color: #76541A; }
.tag { font-size: .82rem; padding: 5px 8px; border-radius: 5px; border: 0; background: #F0F3ED; color: var(--ink); font-weight: 500; letter-spacing: 0; }
.tag.free { background: #DEF2E6; color: #195238; font-weight: 700; letter-spacing: 0; }
.tag.price { background: #F0F3ED; font-weight: 600; }
.tag.unclear { background: #FBF0DA; color: #76541A; font-style: italic; }
.tag.sensory { background: #E6EEFA; color: #23446E; font-weight: 600; }
.tag.worth { background: #FFF1C9; color: #76541A; font-weight: 700; }
.tag.sold { background: #FBE3DC; color: #7A2B20; font-weight: 600; }
.tag.match { background: #EFE8F7; color: #4A3766; }
.tag.booking { background: #E3F1F3; color: #1D4F57; }
.tag.featured-label { background: #F8C94E; color: var(--ink); font-weight: 700; }

/* Search & filters, folded away like Little Days */
.refine { margin: 4px 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.refine > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--forest-dark); list-style: none; }
.refine > summary::-webkit-details-marker { display: none; }
.refine > summary::before { content: "▸ "; }
.refine[open] > summary::before { content: "▾ "; }
.refine-count { font-weight: 600; color: #76541A; }
.refine .filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 8px; margin: 0; }
.refine .search { flex: 1 1 100%; }
.refine .filter-item { flex: 1 1 150px; }
@media (max-width: 579px) { .refine .filter-date { flex-basis: 100%; } }
.refine label { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.refine input[type="search"], .refine select {
  font: inherit; width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #CDD8CF; border-radius: 9px; background: #fff; color: var(--ink);
}
.refine .price-help { padding: 0 16px; margin: 0 0 8px; }
.refine-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 0 16px 14px; font-size: .9rem; }
.refine-foot .toggle { display: inline-flex; margin: 0; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---- Little Days sizes and layout, in Little Jaunts colours ---- */
.wrap { max-width: 1240px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
h1, h2, h3 { font-weight: 800; }
.when h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -1.5px; line-height: 1.15; }
.today-date { font-size: .82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #76541A; margin-top: 8px; }
.brand strong { font-weight: 800; letter-spacing: -.8px; font-size: 1.5rem; }
.strapline { font-family: var(--sans); font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.when-label { font-weight: 800; letter-spacing: -.4px; }
.day-heading { font-size: 1.6rem; letter-spacing: -.8px; padding: 12px 0 8px; margin: 30px 0 16px; }
.cards { gap: 18px; }
@media (min-width: 580px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 950px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { padding: 23px; border-radius: 17px; border-color: #D9E0DA; box-shadow: none; gap: 0; }
@media (max-width: 580px) { .card { padding: 21px; } }
.card-top { padding-bottom: 18px; margin-bottom: 16px; }
.kind { font-size: 11px; letter-spacing: .5px; }
.drive-top { font-size: 14px; }
.photo { margin: 0 0 17px; }
.photo img { height: 150px; border-radius: 9px; }
.photo figcaption { padding: 5px 0 0; font-size: 11px; }
.card h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 6px; }
.card .where { font-size: 14px; margin: 0 0 6px; }
.card .when { font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.card .tags { margin-bottom: 12px; }
.tag { font-size: 13px; }
.card .summary { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.card .small { margin: 0 0 8px; }
.card .expander { margin: 6px 0; }
.card-foot { margin-top: auto; padding-top: 14px; gap: 8px; }
.card-foot span { font-size: 12px; }

/* Good picks: full cards with the reasons, first one highlighted */
.picks { background: none; padding: 0; margin: 10px 0 8px; }
.picks .day-heading { margin: 24px 0 0; }
.picks .small { margin: 8px 0 14px; }

/* Back to top: appears once you've scrolled down */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest); color: var(--cream); box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--forest-dark); color: var(--cream); }
.to-top svg { width: 24px; height: 24px; }
.why { background: #F7F5E8; border-left: 3px solid var(--yellow); padding: 12px; margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.why b { display: block; font-size: 12px; letter-spacing: .2px; margin-bottom: 4px; }
.why ul { margin: 0; padding-left: 18px; }
.card.top-pick { background: var(--forest); border-color: var(--forest); color: #fff; }
.card.top-pick h3, .card.top-pick .kind, .card.top-pick .drive-top { color: #fff; }
.card.top-pick .where, .card.top-pick .when, .card.top-pick .photo figcaption, .card.top-pick .card-foot span { color: #E1E9DF; }
.card.top-pick .photo figcaption a { color: #E1E9DF; }
.card.top-pick .card-top { border-color: #FFFFFF2D; }
.card.top-pick .tag { background: #FFFFFF1F; color: #fff; }
.card.top-pick .tag.free { background: #DEF2E6; color: #195238; }
.card.top-pick .why { background: #FFFFFF14; color: #fff; }
.card.top-pick .expander summary { color: var(--yellow); }
.card.top-pick .expander { color: #fff; border-color: #FFFFFF2D; }
.card.top-pick .expander .small, .card.top-pick .ratings dt, .card.top-pick .detail-note, .card.top-pick .detail-line.unknown { color: #E1E9DF; }
.card.top-pick .expander a { color: var(--yellow); }
.card.top-pick .cta { background: var(--yellow); color: var(--ink) !important; }

/* Filters: always open on bigger screens, as on Little Days */
@media (min-width: 700px) { .refine > summary { display: none; } .refine .filters { padding-top: 16px; } }
.card.top-pick .ratings dd { color: #fff; }
/* Sensory and details text on the green top-pick card */
.card.top-pick .sensory h4 { color: #fff; }
.card.top-pick .ratings dd.lvl-low { color: #A8E6BD; }
.card.top-pick .ratings dd.lvl-medium { color: var(--yellow); }
.card.top-pick .ratings dd.lvl-high { color: #FFB4A3; }
.card.top-pick .ratings dd.lvl-unknown { color: #E1E9DF; }

/* Sensory "Our estimate": tiles with an icon and a three-step meter */
.estimate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
.est-tile {
  display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  padding: 9px 10px; border-radius: 10px; background: #F0F3ED; --lvl: var(--muted);
}
.est-tile .icon { grid-row: 1 / 3; width: 26px; height: 26px; fill: none; stroke: var(--lvl); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.est-label { font-size: 12px; color: var(--muted); line-height: 1.25; }
.est-value { display: flex; align-items: center; gap: 7px; }
.est-value b { font-size: 14px; color: var(--lvl); }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 12px; height: 7px; border-radius: 3px; background: #D9DED5; }
.meter i.on { background: var(--lvl); }
.est-tile.lvl-low { --lvl: var(--low); background: #E4F2E9; }
.est-tile.lvl-medium { --lvl: var(--medium); background: #FCF0D9; }
.est-tile.lvl-high { --lvl: var(--high); background: #FBE3DC; }
.est-tile.fact { --lvl: var(--forest); }
.est-tile.lvl-unknown .est-value b { font-weight: 400; color: var(--muted); }
.card.top-pick .est-tile { background: #FFFFFF14; }
.card.top-pick .est-tile.lvl-low { --lvl: #A8E6BD; }
.card.top-pick .est-tile.lvl-medium { --lvl: var(--yellow); }
.card.top-pick .est-tile.lvl-high { --lvl: #FFB4A3; }
.card.top-pick .est-tile.fact { --lvl: #fff; }
.card.top-pick .est-label { color: #E1E9DF; }
.card.top-pick .meter i { background: #FFFFFF33; }
.card.top-pick .meter i.on { background: var(--lvl); }

/* Expanders laid out as on Little Days: plain summary, "Label: value" lines */
.card .expander { margin: 15px 0 0; padding-top: 0; border-top: 0; font-size: 14px; line-height: 1.6; }
.card .expander + .expander { margin-top: 4px; }
.card .expander summary { color: var(--ink); padding: 7px 0; }
.card .expander summary::before { display: inline-block; width: 1em; color: var(--forest); }
.detail-line { margin: 8px 0; }
.detail-line b { font-weight: 700; }
.detail-line.unknown { color: var(--muted); }
.detail-line a { font-weight: 600; white-space: nowrap; }
.detail-dates { margin: -4px 0 8px; padding-left: 20px; }
.detail-dates li { margin: 2px 0; }
.detail-note { font-size: 12px; color: var(--muted); margin: 12px 0 4px; }
.card.top-pick .expander summary { color: #fff; }
.card.top-pick .expander summary::before { color: var(--yellow); }

/* Icons beside the card kind and the drive time */
.card-top .kind, .card-top .drive-top { display: inline-flex; align-items: center; gap: 6px; }
.card-top .icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card-top .kind .icon { width: 18px; height: 18px; color: var(--forest); }
.card-top .drive-top .icon { width: 19px; height: 19px; color: var(--forest); }
.card.top-pick .card-top .icon { color: var(--yellow); }

/* Expanders: a clear chevron on the right that turns when opened */
.card .expander summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.card .expander summary::before { content: none; }
.card .expander summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest);
  transform: translateY(-3px) rotate(45deg); transition: transform .15s;
}
.card .expander[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.card .expander summary:hover::after { border-color: var(--forest-dark); }
.card.top-pick .expander summary::after { border-color: var(--yellow); }
.card .expander + .expander { border-top: 1px solid #EDF0EB; }
.card .practical { border-top: 1px solid #EDF0EB; }
.card-top .drive-top .icon { width: 22px; height: 22px; }
.card-top .icon path[d$="h.01"] { stroke-width: 2.8; }
.card-top .icon path[d^="M12 8l3 2.2"] { fill: currentColor; }

/* Sharing: plain links, no share widgets or tracking */
.foot-actions { display: flex; gap: 8px; align-items: stretch; }
.foot-actions .cta { flex: 1; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none; cursor: pointer;
  font: 700 .92rem var(--sans); color: var(--forest-dark); background: var(--card);
  border: 1.5px solid var(--forest); border-radius: 999px; padding: 6px 12px; min-height: 40px; font-size: .9rem;
}
.share-btn:hover { background: var(--forest-soft); }
.share-btn .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-btn.share-small { min-height: 32px; padding: 3px 10px; font-size: .85rem; border-width: 1px; vertical-align: middle; }
.share-btn.share-small .icon { width: 15px; height: 15px; }
.card.top-pick .share-btn { background: transparent; color: #fff; border-color: #fff; }
.card.top-pick .share-btn:hover { background: #FFFFFF1F; }
.share-panel { padding: 18px 18px 14px; overflow-y: auto; max-height: calc(100vh - 24px); }
.share-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 16px; }
.share-opt {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px;
  border: 2px solid var(--forest); color: var(--forest-dark); font-weight: 700; text-decoration: none; background: var(--card);
}
.share-opt:hover { background: var(--forest-soft); }
.share-opt.whatsapp { background: #1F7A4A; border-color: #1F7A4A; color: #fff; }
.share-opt.whatsapp:hover { background: #17603A; }
.share-copy-row { display: flex; gap: 8px; margin-top: 4px; }
.share-copy-row input { flex: 1; min-width: 0; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
#share-copied { min-height: 1.2em; color: var(--forest); font-weight: 600; }
@media (max-width: 380px) { .share-options { grid-template-columns: 1fr; } }

/* A card someone shared with you, shown at the top */
.shared { margin: 16px 0 8px; padding: 14px; border: 2px solid var(--yellow); border-radius: var(--radius); background: var(--yellow-soft); }
.shared-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.shared-head h2 { margin: 0; font-size: 1.3rem; }
.shared-head .dialog-close { position: static; float: none; margin: 0; flex: none; }
.shared .cards { margin-bottom: 12px; grid-template-columns: minmax(0, 620px); }
.shared-note { margin: 0 0 8px; }
.card-foot > span { text-align: center; }
@media (max-width: 360px) { .cta { white-space: normal; } .share-btn { padding: 6px 10px; } }

/* Buy us a coffee: in the main menu on every page */
.site-nav a.nav-coffee { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--forest-dark); }
.site-nav a.nav-coffee:hover { background: #F6D27A; color: var(--forest-dark); }
.nav-coffee svg { flex: none; }
/* Phones: a small pill in the top-right corner, so the menu stays on one line */
@media (max-width: 759px) {
  .header-inner { position: relative; }
  .site-nav a.nav-coffee { position: absolute; top: 14px; right: 16px; max-width: 7.4em; gap: 4px; font-size: .68rem; line-height: 1.1; padding: 4px 8px; border-radius: 6px; }
  .nav-coffee svg { width: 14px; height: 14px; }
}

/* About page: one screen on desktop, stacked on phones */
.about { max-width: 1240px; display: grid; gap: 16px; }
.about h1 { margin: 12px 0 8px; }
.about p, .about ul { margin: 0 0 8px; }
.about ul { padding-left: 20px; }
.about li { margin-bottom: 4px; }
.about-card h2, .about-coffee h2 { font-size: 1.15rem; margin: 0 0 8px; }
.about-card p + h2 { margin-top: 14px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.about-contact { font-weight: 600; }
.about-coffee { background: var(--yellow-soft); border: 2px solid var(--yellow); border-radius: var(--radius); padding: 16px 18px; margin-top: 16px; }
.btn-coffee { display: inline-flex; align-items: center; text-decoration: none; background: var(--yellow); border-color: #C99A2E; color: var(--forest-dark); font-weight: 800; }
.btn-coffee:hover { background: #F6D27A; color: var(--forest-dark); }
.about + .site-footer .small { font-size: .75rem; margin: 6px 0 0; }

/* Desktop: roomy, and spread down the screen so a large monitor shows it all without scrolling */
@media (min-width: 1000px) {
  body.about-page { min-height: 100vh; display: flex; flex-direction: column; }
  body.about-page .about { flex: 1; }
  .about { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; align-content: space-evenly; padding-top: 8px; padding-bottom: 8px; }
  .about-intro { grid-column: 1 / -1; }
  .about h1 { margin: 0 0 12px; font-size: 2.2rem; }
  .about-intro > p { max-width: 66rem; font-size: 1.05rem; line-height: 1.58; margin-bottom: 8px; }
  .about-coffee { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px; margin-top: 32px; padding: 14px 28px; }
  .about-coffee h2 { margin: 0; font-size: 1.2rem; }
  .about-coffee p { margin: 0; line-height: 1.55; }
  .about-card { padding: 20px 26px; }
  .about .about-card p, .about .about-card li { font-size: .95rem; line-height: 1.52; }
  .about li { margin-bottom: 6px; }
  .about-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
  .about-card p + h2 { margin-top: 18px; }
  .about + .site-footer { margin-top: 0; }
  .about + .site-footer .footer-inner { padding: 14px 32px 16px; }
  .about + .site-footer p { margin: 0; }
}


/* Parking tag: a small "P" sign before the label */
.tag.parking, .badge.parking { display: inline-flex; align-items: center; gap: 4px; background: #E9EEF6; color: #2A3F5F; }
.tag.parking-free, .badge.parking-free { background: #DEF2E6; color: #195238; }
.tag.parking .icon, .badge.parking .icon { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
