/* Service detail page.
 *
 * Everything is prefixed .svc- so nothing here can restyle the catalogue or
 * the vendor page, both of which load base.css's .card and .btn. The tier
 * picker keeps its .tp- classes because tier-picker.js and the booking tests
 * find it by them.
 *
 * Breakpoints, widest first:
 *   >= 1080  two columns, sticky booking card, photo list beside the stage
 *   720-1079 one column, photo strip under the stage
 *   <  720   full-bleed stage, fixed bottom bar
 *   <  400   the bar drops its Inquiry button
 */
.svc {
  --svc-accent: #FF385C;
  --svc-accent-hover: #E8304F;
  --svc-accent-dark: #C81E3C;
  --svc-tint: #FFF0F3;
  --svc-brand: #B8283F;
  --svc-ink: #1C1B1F;
  --svc-muted: #6F6A6E;
  --svc-subtle: #8A8589;
  --svc-line: #ECE9EA;
  --svc-line-soft: #EFEDEE;
  --svc-gutter: clamp(16px, 4vw, 40px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--svc-gutter);
  color: var(--svc-ink);
}
.svc *, .svc-bar *, .svc-lb * { box-sizing: border-box; }

/* ── Breadcrumb and title ─────────────────────────────────────────────── */
.svc-crumbs {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 0 12px; font-size: 13px; color: var(--svc-subtle);
}
/* Flex children are blockified, so these are not "a link inside a sentence"
   and get no exemption from the 44px floor. The padding is the hit area; the
   negative margin keeps the row the height the text alone would make it. */
.svc-crumbs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; margin: -12px 0;
  color: var(--svc-muted); text-decoration: none;
}
.svc-crumbs a:hover { color: var(--svc-ink); text-decoration: underline; }
/* One line, cut with an ellipsis: the full title is the H1 directly below,
   and a 120-character name wrapped here pushed that H1 off a phone screen. */
.svc-crumbs-here { color: var(--svc-ink); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-crumbs a, .svc-crumbs > span[aria-hidden] { flex: none; }

.svc-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-bottom: 20px;
}
.svc-head-text { min-width: 0; flex: 1 1 320px; }
.svc-title {
  margin: 0; font-size: clamp(26px, 4vw, 40px); line-height: 1.1;
  font-weight: 800; letter-spacing: -0.03em; text-wrap: pretty;
  /* A title is never truncated, so one long unbroken word has to be allowed
     to break or it sets the page's width on a phone. */
  overflow-wrap: anywhere;
}
.svc-meta {
  display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap;
  margin: 10px 0 0; font-size: 14px; color: var(--svc-muted);
}
.svc-pill {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: var(--svc-tint); color: var(--svc-accent-dark); font-weight: 700; font-size: 12px;
}
.svc-meta-by { min-width: 0; overflow-wrap: anywhere; }
.svc-meta-by a { font-weight: 700; color: var(--svc-accent-hover); text-decoration: none; }
.svc-meta-by a:hover { text-decoration: underline; }
.svc-meta-place { display: inline-flex; align-items: center; gap: 4px; }

.svc-head-actions { display: flex; gap: 4px; align-items: center; }
.svc-save-form { margin: 0; display: contents; }
.svc-link-btn, .svc-save--link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px; color: var(--svc-ink); text-decoration: underline;
}
.svc-link-btn:hover, .svc-save--link:hover { background: #F6F4F5; }
.svc-save svg { fill: none; stroke: currentColor; flex: none; }
.svc-save.is-saved svg { fill: var(--svc-accent); stroke: var(--svc-accent); }

/* ── Gallery ──────────────────────────────────────────────────────────── */
.svc-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.svc-stage {
  position: relative; min-width: 0; overflow: hidden; border-radius: 22px;
  background: var(--svc-ink); box-shadow: 0 18px 50px rgba(28, 27, 31, 0.18);
  height: clamp(380px, 58vw, 520px);
  /* A phone on its side is 390px tall: without a ceiling the stage is taller
     than the screen and the photo can never be seen whole. */
  max-height: max(240px, calc(100vh - 120px));
}
.svc-stage-blur {
  position: absolute; inset: -60px; background-size: cover; background-position: center;
  filter: blur(36px) saturate(1.3) brightness(0.5);
}
.svc-stage-img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: contain; transition: opacity 0.3s ease;
}
.svc-stage-img.is-swapping { opacity: 0; }
/* The whole photo is the fullscreen trigger. A transparent button over the
   image rather than a click handler on the <img>, so it is reachable by
   keyboard and announced as a control. */
.svc-stage-open {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0;
  background: transparent; cursor: zoom-in;
}
.svc-stage-open:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.svc-stage-shade { position: absolute; left: 0; right: 0; pointer-events: none; }
.svc-stage-shade--top { top: 0; height: 120px; background: linear-gradient(to bottom, rgba(14,12,14,0.55), rgba(14,12,14,0)); }
.svc-stage-shade--bottom { bottom: 0; height: 150px; background: linear-gradient(to top, rgba(14,12,14,0.72), rgba(14,12,14,0)); }

.svc-progress {
  position: absolute; left: clamp(14px, 2vw, 22px); right: clamp(14px, 2vw, 22px); top: 0;
  display: flex; gap: 6px;
}
/* 44px of hit area around a 4px bar: the bar is the design, the box is what a
   thumb can actually land on. */
.svc-seg { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.svc-seg span { display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); transition: background 0.3s; }
.svc-seg.is-past span { background: rgba(255,255,255,0.95); }
.svc-seg.is-on span { background: var(--svc-accent); }
.svc-seg:focus-visible span { outline: 2px solid #fff; outline-offset: 2px; }

.svc-stage-tags {
  position: absolute; left: clamp(14px, 2vw, 24px); top: 46px;
  display: flex; align-items: center; gap: 8px; pointer-events: none;
}
.svc-tag {
  padding: 5px 11px; border-radius: 999px; background: rgba(28,27,31,0.55);
  color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.svc-tag--solid { background: var(--svc-accent-dark); font-weight: 800; letter-spacing: 0.04em; }

.svc-stage-foot {
  position: absolute; left: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 22px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; pointer-events: none;
}
.svc-stage-caption { min-width: 0; color: #fff; }
.svc-stage-title { font-size: clamp(17px, 2vw, 24px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.svc-stage-hint { font-size: 13px; opacity: 0.9; margin-top: 4px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.svc-stage-arrows { display: flex; gap: 8px; flex: none; pointer-events: auto; }
.svc-arrow {
  width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,0.45); background: rgba(28,27,31,0.45);
}
.svc-arrow:hover { background: #fff; color: var(--svc-ink); }
.svc-arrow--next { border: 0; background: #fff; color: var(--svc-ink); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.svc-arrow--next:hover { background: var(--svc-accent-dark); color: #fff; }
.svc-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Two classes, so the taller stage heights in the media queries below do not
   turn an apology for having no photos into the biggest thing on the page. */
.svc-stage.svc-stage--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: clamp(220px, 34vw, 340px); background: #F6F4F5; color: var(--svc-subtle); box-shadow: none;
  border: 1px dashed #D9D5D7; text-align: center; padding: 20px;
}
.svc-stage--empty p { margin: 0; font-size: 14px; font-weight: 600; }
/* A photo that 404s is swapped for this by the script. */
.svc-stage.is-broken .svc-stage-img, .svc-stage.is-broken .svc-stage-blur { visibility: hidden; }
.svc-stage.is-broken { background: #2A282C; }

/* The photo list: a horizontal strip by default, a column beside the stage on
   desktop. One list in the DOM, laid out twice, so a keyboard user does not
   tab through the same photos two times. */
.svc-shots { min-width: 0; }
.svc-shots-head { display: none; }
.svc-shots-list {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 4px; scroll-snap-type: x proximity;
}
.svc-shots-list::-webkit-scrollbar { display: none; }
.svc-shot {
  flex: 0 0 clamp(120px, 30vw, 180px); min-width: 0; padding: 0; border: 0; background: transparent;
  display: flex; flex-direction: column; gap: 8px; text-align: left; cursor: pointer;
  scroll-snap-align: start; font: inherit; color: inherit;
}
.svc-shot-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #F3F1F2; }
.svc-shot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.7; transition: opacity 0.2s; }
.svc-shot:hover .svc-shot-thumb img, .svc-shot.is-on .svc-shot-thumb img { opacity: 1; }
.svc-shot.is-on .svc-shot-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--svc-accent); }
.svc-shot:focus-visible { outline: 2px solid var(--svc-ink); outline-offset: 3px; border-radius: 14px; }
.svc-shot-text { display: block; padding: 0 2px; min-width: 0; }
.svc-shot-num { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--svc-muted); }
.svc-shot.is-on .svc-shot-num { color: var(--svc-accent-dark); }
.svc-shot-label { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Body ─────────────────────────────────────────────────────────────── */
.svc-body {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px); padding: clamp(24px, 4vw, 40px) 0 64px; align-items: start;
}
.svc-main { min-width: 0; display: flex; flex-direction: column; }

.svc-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--svc-line-soft);
}
.svc-fact { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--svc-line-soft); border-radius: 14px; min-width: 0; }
.svc-fact > div { min-width: 0; }
.svc-fact-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--svc-tint); color: var(--svc-accent-hover); display: grid; place-items: center; flex: none; }
.svc-fact-label { font-size: 12px; color: var(--svc-muted); }
.svc-fact-value { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }

.svc-section { padding: 28px 0; border-bottom: 1px solid var(--svc-line-soft); min-width: 0; }
.svc-section--last, .svc-main > .svc-section:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-section h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.svc-prose { margin: 0; font-size: 16px; line-height: 1.7; color: #4A4549; max-width: 62ch; white-space: pre-line; overflow-wrap: anywhere; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--svc-line); color: var(--svc-ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.svc-chip:hover { border-color: var(--svc-accent); color: var(--svc-accent-dark); }
.svc-includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px 24px; }
.svc-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #4A4549; min-width: 0; }
.svc-includes li span { min-width: 0; overflow-wrap: anywhere; }
.svc-includes svg { flex: none; margin-top: 2px; color: #1C7A43; }

.svc-vendor {
  display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap;
  padding: 20px; border: 1px solid var(--svc-line-soft); border-radius: 18px; background: #FCFBFB;
}
.svc-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--svc-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.svc-avatar--sm { width: 40px; height: 40px; font-size: 14px; }
.svc-vendor-text { flex: 1 1 200px; min-width: 0; }
.svc-vendor-name { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.svc-vendor-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: 14px; color: var(--svc-muted); }
.svc-vendor-lines > span { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.svc-vendor-lines > span > span { min-width: 0; overflow-wrap: anywhere; }
.svc-vendor-lines svg { flex: none; margin-top: 3px; }
.svc-vendor-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.svc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; text-align: center;
}
.svc-btn--outline-dark { border-color: var(--svc-ink); color: var(--svc-ink); background: #fff; }
.svc-btn--outline-dark:hover { background: #F6F4F5; color: var(--svc-ink); }
.svc-btn--dark { background: var(--svc-ink); color: #fff; }
.svc-btn--dark:hover { background: #000; color: #fff; }
/* The card's two full-width buttons are the site's own .btn.btn-block, sized
   up - not a second full-width convention (test_button_markup counts them).
   White on #FF385C is 3.5:1, which passes only for large bold text, so the
   fill is the darker coral and a 16px label clears 4.5:1. The bright coral is
   kept for prices, which are large. */
.svc-card .btn-block { min-height: 52px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.svc-card .svc-book { background: #E11D48; color: #fff; box-shadow: 0 6px 18px rgba(255, 56, 92, 0.28); }
.svc-card .svc-book:hover { background: var(--svc-accent-dark); color: #fff; transform: none; }
.svc-card .svc-inquiry { border: 1.5px solid #E11D48; color: var(--svc-accent-dark); background: #fff; }
.svc-card .svc-inquiry:hover { background: var(--svc-tint); color: var(--svc-accent-dark); transform: none; }
.svc-card .svc-book.is-off, .svc-bar-book.is-off { background: #E7E4E5; color: #5F5A5E; box-shadow: none; cursor: not-allowed; }
.svc-btn:focus-visible, .svc-card .btn:focus-visible, .svc-save:focus-visible, .svc-link-btn:focus-visible, .svc-chip:focus-visible,
.svc-card-link:focus-visible, .svc-shots-all:focus-visible, .svc-card-vendor-view:focus-visible {
  outline: 3px solid var(--svc-ink); outline-offset: 2px;
}

.svc-reviews { display: flex; flex-direction: column; gap: 12px; }
.svc-review { padding: 16px 18px; border: 1px solid var(--svc-line-soft); border-radius: 16px; min-width: 0; }
/* A long username ("partner_9968056c99614c2e8135") used to set this card's
   minimum width and push the whole page sideways on a phone. */
.svc-review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.svc-review-head h3 { margin: 0; font-size: 15px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.svc-stars { color: #B7791F; white-space: nowrap; letter-spacing: 1px; }
.svc-review .user-text { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #4A4549; }
.svc-review-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.svc-review-photos img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; }
.svc-review-reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--svc-accent); background: #FAF8F9; border-radius: 0 10px 10px 0; font-size: 14px; overflow-wrap: anywhere; }
.svc-review-date { margin: 8px 0 0; font-size: 12px; color: var(--svc-muted); }

/* minmax's second value is a floor, not a preference: a bare 220px lays a
   card out at 220px inside whatever a 280px phone leaves. */
.svc-similar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.svc-card-link { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--svc-line); border-radius: 16px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
.svc-card-link:hover { box-shadow: 0 10px 28px rgba(28,27,31,0.12); transform: translateY(-2px); color: inherit; }
.svc-card-photo { display: block; aspect-ratio: 4 / 3; background: #F3F1F2; }
.svc-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; min-width: 0; }
.svc-card-type { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--svc-accent-dark); }
.svc-card-name { font-size: 15px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.svc-card-vendor { font-size: 13px; color: var(--svc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-card-price { margin-top: 4px; font-size: 16px; font-weight: 800; }
.svc-card-price small { font-size: 12px; font-weight: 600; color: var(--svc-muted); }

/* ── Booking card ─────────────────────────────────────────────────────── */
.svc-card {
  min-width: 0; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--svc-line);
  border-radius: 22px; background: #fff; box-shadow: 0 12px 40px rgba(28,27,31,0.08);
}
.svc-price-label { font-size: 13px; color: var(--svc-muted); font-weight: 600; }
.svc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.svc-price-from { font-size: 14px; font-weight: 600; color: var(--svc-muted); }
.svc-price-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--svc-accent); line-height: 1.1; }
.svc-price-amount--text { font-size: 24px; color: var(--svc-ink); }
.svc-price-unit { font-size: 14px; color: var(--svc-muted); }
.svc-price-note { margin: 8px 0 0; font-size: 13px; color: var(--svc-muted); line-height: 1.5; }
.svc-stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 5px 11px; border-radius: 999px; background: #EEF8F1; color: #1C7A43; font-size: 12px; font-weight: 700; }
.svc-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #22A05A; }
.svc-stock--out { background: #F1EFF0; color: #5F5A5E; }
.svc-card .tp { margin: 18px 0 0; border-radius: 16px; border-color: var(--svc-line); }
.svc-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.svc-save-form--row { display: block; }
.svc-save--row {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px;
  border: 0; border-radius: 14px; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 15px; color: var(--svc-ink); text-decoration: none;
}
.svc-save--row:hover { background: #F6F4F5; color: var(--svc-ink); }
.svc-card-vendor-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--svc-line-soft); }
.svc-card-vendor-text { flex: 1; min-width: 0; }
.svc-card-vendor-name { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-card-vendor-phone { font-size: 13px; color: var(--svc-muted); }
.svc-card-vendor-view { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--svc-accent-dark); text-decoration: none; border-radius: 10px; }
.svc-card-vendor-view:hover { background: var(--svc-tint); }

/* ── Group-size picker (markup in _tier_picker.html) ──────────────────── */
.tp { border: 1px solid #e3e3e3; border-radius: 12px; padding: 0.9rem; margin-bottom: 1rem; background: #fff; }
.tp-head { margin-bottom: 0.75rem; }
.tp-eyebrow { display: block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--svc-accent-dark); }
.tp-head h3 { font-size: 1rem; margin: 0.15rem 0 0.2rem; }
.tp-head p { font-size: 0.78rem; color: var(--svc-muted); margin: 0; line-height: 1.45; }
.tp-options { display: flex; flex-direction: column; gap: 0.5rem; }
.tp-opt { position: relative; display: block; border: 1.5px solid #E4E4E4; border-radius: 12px; padding: 0.65rem 0.75rem; cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; background: #fff; min-height: 44px; }
.tp-opt:hover { border-color: #BDBDBD; }
.tp-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.tp-opt:focus-within { outline: 2px solid var(--svc-ink); outline-offset: 2px; }
.tp-opt.is-selected { border-color: var(--svc-accent); background: #FFF6F8; box-shadow: 0 0 0 2px rgba(255,56,92,0.12); }
.tp-opt.is-applied { border-color: #1F7A3D; background: #F3FAF5; }
.tp-opt.is-applied::after { content: 'APPLIED'; position: absolute; right: 0.6rem; bottom: 0.5rem; font-size: 0.58rem; font-weight: 800; color: #1F7A3D; letter-spacing: 0.05em; }
.tp-opt-body { display: block; }
.tp-opt-name { display: block; font-size: 0.85rem; font-weight: 700; color: #222; overflow-wrap: anywhere; }
.tp-opt-rate { display: block; font-size: 1.05rem; font-weight: 800; color: var(--svc-accent-dark); margin-top: 0.1rem; }
.tp-opt-rate small { font-size: 0.7rem; font-weight: 600; color: var(--svc-muted); }
.tp-opt-sub { display: block; font-size: 0.72rem; color: var(--svc-muted); margin-top: 0.1rem; }
.tp-save { position: absolute; top: -8px; right: 8px; background: #1F7A3D; color: #fff; font-size: 0.6rem; font-weight: 800; padding: 2px 7px; border-radius: 50px; letter-spacing: 0.04em; }
.tp-guests { margin-top: 0.85rem; }
.tp-guests > label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--svc-muted); margin-bottom: 0.3rem; }
.tp-guests-row { display: flex; gap: 0.35rem; }
/* 16px and no smaller: iOS zooms the whole page into any input below it, and
   the customer then has to pinch back out to see the total. */
.tp-guests-row input { flex: 1; min-width: 0; min-height: 44px; text-align: center; padding: 0.55rem; border: 1.5px solid #DDD; border-radius: 10px; font-size: 16px; font-weight: 700; font-family: inherit; color: #222; -moz-appearance: textfield; }
.tp-guests-row input::-webkit-outer-spin-button, .tp-guests-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tp-guests-row input:focus { outline: none; border-color: var(--svc-accent); box-shadow: 0 0 0 3px rgba(255,56,92,0.16); }
.tp-step { width: 44px; min-height: 44px; border: 1.5px solid #DDD; background: #fff; border-radius: 10px; font-size: 1.15rem; font-weight: 700; color: #222; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.tp-step:hover { border-color: var(--svc-accent); color: var(--svc-accent-dark); }
.tp-step:disabled { opacity: 0.4; cursor: not-allowed; border-color: #DDD; color: #222; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tp-chip { min-height: 44px; padding: 0 14px; border: 1.5px solid #E4E4E4; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: #222; cursor: pointer; }
.tp-chip:hover { border-color: #BDBDBD; }
.tp-chip.is-on { border-color: var(--svc-accent); background: var(--svc-tint); color: var(--svc-accent-dark); }
.tp-minimum { font-size: 0.78rem; color: #6B4C0B; background: #FFF8E8; border: 1px solid #E2B857; border-radius: 10px; padding: 0.55rem 0.65rem; margin: 0.6rem 0 0; line-height: 1.5; }
.tp-hint { font-size: 0.78rem; color: #8A4B00; background: #FFF6E5; border: 1px solid #F4D9A6; border-radius: 10px; padding: 0.5rem 0.6rem; margin: 0.5rem 0 0; line-height: 1.45; }
.tp-hint[hidden] { display: none; }
.tp-total { margin-top: 0.85rem; padding: 0.75rem 0.85rem; border-radius: 12px; background: #FAF8F9; }
.tp-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 0.78rem; color: var(--svc-muted); }
.tp-total-row.big { margin-top: 0.3rem; font-size: 0.9rem; color: #222; font-weight: 600; }
.tp-total-row.big strong { font-size: 1.45rem; color: var(--svc-accent); font-weight: 800; letter-spacing: -0.02em; }
.tp-fine { font-size: 0.7rem; color: var(--svc-muted); margin: 0.4rem 0 0; }

/* ── Phone bar, toast, fullscreen viewer ──────────────────────────────── */
.svc-bar { display: none; }
.svc-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1300;
  padding: 12px 18px; border-radius: 12px; background: var(--svc-ink, #1C1B1F); color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.25); max-width: calc(100vw - 32px);
}

/* Above the nav (999) and the assistant launcher (1200): it is modal. */
.svc-lb { position: fixed; inset: 0; z-index: 2100; background: rgba(14,12,14,0.95); display: flex; flex-direction: column; }
.svc-lb-top { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 3vw, 32px); color: #fff; }
.svc-lb-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255,255,255,0.12); color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.svc-lb-close:hover { background: rgba(255,255,255,0.2); }
.svc-lb-count { font-size: 14px; font-weight: 700; }
.svc-lb-spacer { width: 90px; }
.svc-lb-mid { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 clamp(8px, 3vw, 32px); }
.svc-lb-arrow { flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.svc-lb-arrow:hover { background: rgba(255,255,255,0.24); }
.svc-lb-img { max-width: min(1100px, 100%); max-height: 100%; min-width: 0; object-fit: contain; border-radius: 12px; display: block; }
.svc-lb-thumbs { display: flex; gap: 8px; padding: 16px; overflow-x: auto; scrollbar-width: none; }
.svc-lb-thumbs::-webkit-scrollbar { display: none; }
/* auto margins, not justify-content:center - centring an overflowing flex
   row puts its first items past the left edge where no scroll can reach. */
.svc-lb-thumb:first-child { margin-left: auto; }
.svc-lb-thumb:last-child { margin-right: auto; }
.svc-lb-thumb { flex: none; width: 72px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: 0.55; background: #222; }
.svc-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-lb-thumb.is-on { border-color: var(--svc-accent, #FF385C); opacity: 1; }
.svc-lb button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
body.svc-lb-open { overflow: hidden; }

/* ── Desktop ──────────────────────────────────────────────────────────── */
@media (min-width: 1080px) {
  .svc-gallery:not(.svc-gallery--single):not(.svc-gallery--empty) { grid-template-columns: minmax(0, 1fr) 320px; align-items: stretch; }
  .svc-stage { height: clamp(440px, 40vw, 560px); }
  .svc-shots { display: flex; flex-direction: column; height: clamp(440px, 40vw, 560px); max-height: max(240px, calc(100vh - 120px)); border: 1px solid var(--svc-line-soft); border-radius: 24px; background: #fff; overflow: hidden; }
  .svc-shots-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 10px 18px; }
  .svc-shots-title { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
  .svc-shots-sub { font-size: 12px; color: var(--svc-muted); margin-top: 2px; }
  .svc-shots-all { min-height: 44px; padding: 0 14px; border: 1px solid var(--svc-line); border-radius: 999px; background: #fff; font: inherit; font-size: 12px; font-weight: 700; color: var(--svc-ink); cursor: pointer; }
  .svc-shots-all:hover { border-color: var(--svc-accent); color: var(--svc-accent-dark); }
  .svc-shots-list { flex: 1; min-height: 0; flex-direction: column; gap: 4px; overflow-x: hidden; overflow-y: auto; padding: 0 10px 10px; scroll-snap-type: none; }
  .svc-shot { flex: none; flex-direction: row; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 16px; }
  .svc-shot:hover { background: #FFF6F8; }
  .svc-shot.is-on { background: var(--svc-tint); }
  .svc-shot-thumb { flex: none; width: 84px; height: 62px; aspect-ratio: auto; border-radius: 12px; }
  .svc-shot-text { flex: 1; padding: 0; }
  .svc-shot-label { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

  .svc-body { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); }
  .svc-main { grid-column: 1; grid-row: 1; }
  /* The header is fixed and --nav-height tall, so that is where "top" is. */
  .svc-card { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--nav-height, 150px) + 16px); }
  /* A calculator card can be taller than a laptop screen. Sticky would then
     pin its top and put the Book button permanently below the fold. */
  .svc--tiered .svc-card { position: static; }
}
@media (min-width: 1080px) and (min-height: 1100px) {
  .svc--tiered .svc-card { position: sticky; }
}

/* ── Phone ────────────────────────────────────────────────────────────── */
@media (max-width: 719.98px) {
  .svc-head-actions { display: none; }
  .svc-gallery { margin: 0 calc(-1 * var(--svc-gutter)); }
  .svc-stage { height: min(78vw, 460px); border-radius: 0; box-shadow: none; }
  .svc-stage-img { object-fit: cover; }
  .svc-stage-blur { display: none; }
  .svc-arrow { width: 44px; height: 44px; }
  .svc-shots-list { padding: 4px var(--svc-gutter) 2px; }
  .svc-gallery--empty { margin: 0; }
  .svc-stage--empty { border-radius: 18px; }

  /* A flat price has nothing to operate, so on a phone the bar carries it and
     the card would only repeat the same three buttons further down. */
  .svc--flat .svc-card { display: none; }
  .svc-body { padding-bottom: 28px; }
  /* Two to a row on a phone: one 328px card per screen made seven similar
     listings a seven-screen scroll to the footer. */
  .svc-similar { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 12px; }

  .svc-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--svc-line, #ECE9EA); box-shadow: 0 -6px 20px rgba(28,27,31,0.06);
    color: #1C1B1F;
  }
  .svc-bar-price { flex: 1; min-width: 0; }
  .svc-bar-amount { font-size: 19px; font-weight: 800; color: #E11D48; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .svc-bar-amount--text { font-size: 15px; color: #1C1B1F; white-space: normal; }
  .svc-bar-sub { font-size: 12px; font-weight: 600; color: #1C7A43; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .svc-bar-sub--muted { color: #6F6A6E; }
  .svc-bar .svc-save-form { display: block; flex: none; }
  .svc-save--icon { width: 48px; height: 48px; padding: 0; border: 1px solid #ECE9EA; border-radius: 14px; background: #fff; display: grid; place-items: center; cursor: pointer; color: #1C1B1F; flex: none; }
  .svc-bar-inquiry { display: inline-flex; align-items: center; height: 48px; padding: 0 14px; border: 1.5px solid #E11D48; border-radius: 14px; background: #fff; color: #C81E3C; font-weight: 700; font-size: 14px; text-decoration: none; flex: none; }
  .svc-bar-book { display: inline-flex; align-items: center; height: 48px; padding: 0 clamp(14px, 4vw, 20px); border-radius: 14px; background: #E11D48; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none; flex: none; }
  .svc-bar-book:hover { color: #fff; }

  /* Room for the bar under the footer, and the assistant launcher lifted
     clear of it - otherwise the two sit on top of each other and the last
     line of the footer can never be scrolled into view. */
  body:has(.svc-bar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.svc-bar) #planveta-assistant { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .svc-toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .svc-lb-arrow { width: 44px; height: 44px; }
  .svc-lb-mid { gap: 6px; }
}
@media (max-width: 399.98px) {
  /* Price, heart, Inquiry and Book do not fit across 360px without the price
     being cut off. Inquiry is the one with another way in: the vendor card. */
  .svc-bar-inquiry { display: none; }
  /* ...unless there is nothing to book, where Inquiry is the only action. */
  .svc-bar--no-book .svc-bar-inquiry { display: inline-flex; }
  .svc-bar--no-book .svc-bar-book { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-stage-img, .svc-card-link, .svc-seg span, .svc-shot-thumb img, .tp-opt { transition: none; }
  .svc-card-link:hover { transform: none; }
}
