/* Studio Mogi – scrollversion. Färger från loggan och Bellebook-temat. */
:root {
  --purple: #5b21b6;
  --purple-deep: #4c1d95;
  --purple-tint: #efe8fa;
  --coral: #ef4438;
  --coral-btn: #d9362b;
  --coral-btn-hover: #c22e24;
  --coral-tint: #fde9e7;
  --blue: #2563eb;
  --blue-tint: #e6eefd;
  --lilac: #a78bda;
  --lilac-tint: #f3eefb;
  --ink: #1e1035;
  --muted: #5e5873;
  --line: #e7e1f2;
  --tint: #f6f3fb;
  --white: #ffffff;
  --header-h: 68px;
  --radius: 20px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 1px 2px rgba(30, 16, 53, 0.04), 0 8px 24px rgba(30, 16, 53, 0.06);
  --shadow-lg: 0 2px 4px rgba(30, 16, 53, 0.05), 0 24px 48px rgba(30, 16, 53, 0.14);
  --font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Det som Bellebooks del eller sidan döljer ska alltid vara dolt, även knappar med egen display. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
.rm { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Scrollmätare ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--coral); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 8px 18px; font-size: 15px; }
.btn--lg { padding: 14px 28px; font-size: 17px; }
.btn--block { display: flex; width: 100%; padding: 14px 20px; font-size: 17px; }
.btn--coral { background: var(--coral-btn); color: var(--white); }
.btn--coral:hover { background: var(--coral-btn-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

/* ---------- Topprad ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--purple); }

/* ================================================================
   HERO – står still, bågen växer upp och "öppnar" sidan
   ================================================================ */
.hero { position: relative; height: 220vh; background: var(--tint); }
.hero__sticky {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.96) 0%, rgba(37, 99, 235, 0.86) 40%, rgba(37, 99, 235, 0) 62%),
    url("assets/hero.jpg") right bottom / cover no-repeat;
  transform-origin: 66% 90%;
  transform: scale(calc(1 + var(--p, 0) * 0.22));
  will-change: transform;
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-bottom: 40px;
  transform: translateY(calc(var(--p, 0) * -160px));
  opacity: calc(1 - var(--p, 0) * 2.4);
  will-change: transform, opacity;
}
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 700; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(0.1s + var(--i) * 0.12s);
}
.intro {
  opacity: 0; transform: translateY(18px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.35s + var(--d) * 0.12s);
}
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); max-width: 34ch; color: rgba(255, 255, 255, 0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero :focus-visible { outline-color: var(--white); }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px; padding: 6px 14px;
  font-size: 14px; font-weight: 500; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fecaca; }
.status.is-open::before { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }

.hero__hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transform: translateX(-50%);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  opacity: calc(1 - var(--p, 0) * 6);
}
.hero__hint i { width: 2px; height: 34px; background: rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; border-radius: 2px; }
.hero__hint i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--white); animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Bågen – "dörren" in till salongen. JS styr --ty och --ps. */
.portal {
  position: absolute; left: 50%; bottom: 0; z-index: 3;
  width: 44vmax; height: 52vmax; margin-left: -22vmax;
  background: var(--tint);
  border: 2.2vmax solid var(--coral); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform-origin: 50% 100%;
  transform: translateY(var(--ty, 100%)) scale(var(--ps, 0.45));
  will-change: transform;
}

/* ================================================================
   TJÄNSTER – horisontell scroll på dator, staplade kort på mobil
   ================================================================ */
.services {
  position: relative;
  background: var(--tint);
  transition: background-color 0.6s ease;
}
.services[data-tone="1"] { background: #fdf1ef; }
.services[data-tone="2"] { background: #eef3fe; }
.services[data-tone="3"] { background: #f6f1fd; }

.services__sticky { padding: 72px 0; }
.services__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 36px;
}
.services__head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.services__head p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.services__count { display: none; font-family: var(--font-head); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; flex-direction: column; align-items: flex-end; gap: 10px; }
.services__count b { color: var(--ink); font-size: 28px; font-weight: 600; }
.services__bar { display: block; width: 160px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.services__bar span { display: block; height: 100%; background: var(--purple); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

.track { display: grid; gap: 16px; padding: 0 20px; max-width: 1120px; margin: 0 auto; }

/* Fastnålad horisontell variant (sätts av JS på breda skärmar) */
.services.is-pinned .services__sticky {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  padding: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.services.is-pinned .services__head { margin-bottom: clamp(20px, 4vh, 40px); }
.services.is-pinned .services__count { display: flex; }
.services.is-pinned .track {
  --edge: max(20px, calc((100vw - 1120px) / 2 + 20px));
  position: relative;
  display: flex; gap: 28px;
  width: max-content; max-width: none; margin: 0;
  padding: 12px var(--edge) 56px;
  will-change: transform;
}

/* ---------- Tjänstekort ---------- */
.svc, .summary__card, .details__visual { --tone: var(--purple); --tone-tint: var(--purple-tint); --tone-ink: var(--purple); }
.svc { flex: none; }
.tone-1 { --tone: var(--coral); --tone-tint: var(--coral-tint); --tone-ink: var(--coral-btn-hover); }
.tone-2 { --tone: var(--blue); --tone-tint: var(--blue-tint); --tone-ink: #1d40c8; }
.tone-3 { --tone: var(--lilac); --tone-tint: var(--lilac-tint); --tone-ink: #6d39be; }
.is-pinned .svc { width: clamp(270px, 24vw, 330px); will-change: transform; }

.svc__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.35s var(--ease-out);
}
.svc__link:focus-visible { outline-offset: 4px; border-radius: 28px; }
.svc.is-active .svc__link,
.svc__link:hover { box-shadow: var(--shadow-lg); }

.svc__panel {
  position: relative;
  height: clamp(170px, 30vh, 260px);
  background: var(--tone-tint);
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: 28px;
  overflow: hidden;
}
.svc__num {
  position: absolute; top: 16px; left: 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--tone-ink);
}
.svc__arch {
  width: 60%; height: 88%;
  background: var(--tone);
  border-radius: 999px 999px 0 0;
  display: grid; place-items: center;
  color: var(--white);
  transform-origin: 50% 100%;
  transform: scaleY(0.92);
  transition: transform 0.7s var(--ease-out);
}
.svc.is-active .svc__arch,
.svc__link:hover .svc__arch { transform: scaleY(1.04); }
.svc__arch .ic { width: 46%; height: auto; margin-top: 12%; overflow: visible; }

.svc__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 20px 22px 22px; }
.svc__name { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.2; }
.svc__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.svc__meta svg { flex: none; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.svc__price { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.svc__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--purple); color: var(--white);
  font-weight: 600; font-size: 15px;
  transition: background-color 0.2s ease, gap 0.2s ease;
}
.svc__link:hover .svc__cta, .svc__link:focus-visible .svc__cta { background: var(--coral-btn); gap: 10px; }

/* Korten glider in när de kommer in i bild */
.js .svc__link { opacity: 0; transform: translateY(48px); }
.js .is-pinned .svc__link { transform: translateX(120px) rotate(4deg); }
.js .svc.is-in .svc__link {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 1s var(--ease-out), box-shadow 0.3s ease;
}
.js .svc.is-in .svc__link:hover { transform: translateY(-6px); }

/* ---------- Animerade ikoner (går bara när kortet syns) ---------- */
.ic, .ic * { animation-play-state: paused !important; }
.svc.is-live .ic, .svc.is-live .ic * { animation-play-state: running !important; }

/* Sax som klipper */
.ic--scissors .blade { transform-box: view-box; transform-origin: 12px 12px; }
.ic--scissors .blade--a { animation: snipA 1.8s ease-in-out infinite; }
.ic--scissors .blade--b { animation: snipB 1.8s ease-in-out infinite; }
@keyframes snipA {
  0%, 45%, 100% { transform: rotate(10deg); }
  12%, 32% { transform: rotate(-26deg); }
  22% { transform: rotate(10deg); }
}
@keyframes snipB {
  0%, 45%, 100% { transform: rotate(-10deg); }
  12%, 32% { transform: rotate(26deg); }
  22% { transform: rotate(-10deg); }
}

/* Föning – luften strömmar */
.ic--styling path { stroke-dasharray: 62 38; animation: flow 2.4s linear infinite; }
.ic--styling path:nth-child(2) { animation-duration: 3.1s; }
.ic--styling path:nth-child(3) { animation-duration: 1.9s; }
@keyframes flow { to { stroke-dashoffset: -100; } }

/* Färg – droppen gungar och fylls */
.ic--color { animation: bob 3.2s ease-in-out infinite; }
.ic--color .fill { fill: currentColor; opacity: 0.45; transform-box: view-box; animation: fillUp 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6%); } }
@keyframes fillUp { 0%, 100% { transform: translateY(17px); } 50% { transform: translateY(7px); } }

/* Gnistor – balayage */
.ic--sparkle .spark { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-in-out infinite; }
.ic--sparkle .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.ic--sparkle .t2 { animation-delay: 1.3s; }
@keyframes pulse { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(0.8) rotate(22deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.3); } 40%, 60% { opacity: 1; transform: scale(1); } }

/* ================================================================
   RULLANDE TEXT
   ================================================================ */
.marquee { overflow: hidden; padding: clamp(40px, 7vw, 88px) 0; background: var(--white); }
.marquee__row {
  display: flex; align-items: center; gap: 0.35em;
  width: max-content; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(52px, 9vw, 132px); line-height: 1.08;
  color: var(--purple);
  will-change: transform;
}
.marquee__row--outline { color: transparent; -webkit-text-stroke: 2px var(--coral); }
.marquee__row--outline .mq-arch { border-color: var(--coral); }
.mq-arch {
  display: inline-block; width: 0.5em; height: 0.58em;
  border: 0.12em solid var(--coral); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.marquee__row:not(.marquee__row--outline) .mq-arch { border-color: var(--coral); }
.marquee__row--outline .mq-arch { border-color: var(--purple); }

/* ================================================================
   SEKTIONER
   ================================================================ */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 36px; }
.section__head h2 { font-size: clamp(30px, 4vw, 48px); }
.section__head p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 56ch; }

.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.8s ease, transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ---------- Teamet ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.person__arch {
  display: block; width: 100%;
  padding: 10px 10px 0;
  border-radius: 999px 999px 18px 18px;
  background: var(--purple);
  overflow: hidden;
}
.person--1 .person__arch { background: var(--coral); }
.person--2 .person__arch { background: var(--blue); }
.person--3 .person__arch { background: var(--lilac); }
.person__arch img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 70%;
  border-radius: 999px 999px 10px 10px;
  transition: transform 0.6s var(--ease-out);
}
.person:hover .person__arch img { transform: scale(1.04); }
.person__name { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.person__cta { margin-top: 2px; color: var(--purple); font-weight: 600; font-size: 15px; }
.person:hover .person__cta { text-decoration: underline; text-underline-offset: 3px; }

.js .person__arch {
  clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px);
  transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1);
  transition-delay: calc(var(--i) * 0.12s);
}
.js .person.is-in .person__arch { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
.js .person__arch img { transform: translateY(18%) scale(1.15); }
.js .person.is-in .person__arch img {
  transform: none;
  transition: transform 1.3s var(--ease-out) calc(var(--i) * 0.12s);
}
.js .person.is-in:hover .person__arch img { transform: scale(1.04); transition-delay: 0s; transition-duration: 0.6s; }
.js .person__name, .js .person__title { opacity: 0; transform: translateY(12px); }
.js .person.is-in .person__name,
.js .person.is-in .person__title {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
  transition-delay: calc(0.5s + var(--i) * 0.12s);
}

/* ---------- Info ---------- */
.info { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; margin-bottom: 14px; }
.card address { font-style: normal; margin-bottom: 12px; }
.card p + .link { display: inline-block; margin-top: 14px; }
.link { color: var(--purple); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 400; border-bottom: 1px dashed var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 600; color: var(--purple); }
.today-tag {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  font-size: 12px; font-weight: 600; border-radius: 999px;
  background: var(--purple-tint); color: var(--purple);
}
.contact li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.contact a { font-weight: 500; text-decoration: none; color: var(--ink); }
.contact a:hover { color: var(--purple); }
.contact + .small { margin-top: 14px; }

/* ---------- CTA – bågen reser sig ---------- */
.cta {
  position: relative; overflow: hidden;
  min-height: min(760px, 88vh);
  display: flex; align-items: flex-end; justify-content: center;
  background: var(--purple); color: var(--white); text-align: center;
}
.cta__arch {
  position: absolute; left: 50%; bottom: 0;
  width: min(740px, 94vw); height: min(600px, 78vh);
  background: var(--purple-deep);
  border: clamp(28px, 4vw, 56px) solid var(--coral); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform-origin: 50% 100%;
  transform: translateX(-50%) translateY(calc((1 - var(--cp, 1)) * 55%)) scale(calc(0.7 + var(--cp, 1) * 0.3));
  will-change: transform;
}
.cta__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-bottom: clamp(64px, 12vh, 120px);
}
.cta h2 { font-size: clamp(34px, 5vw, 64px); }
.cta p { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-bottom: 12px; }
.cta :focus-visible { outline-color: var(--white); }

/* ---------- Footer ---------- */
.footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer img { height: 36px; width: auto; }
.footer a { color: var(--purple); }

/* ================================================================
   BOKNINGSFLÖDET – steg 1–3 och bokningsraden
   ================================================================ */
.step-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral-btn);
}
.step-eyebrow::before {
  content: ""; width: 12px; height: 14px;
  border: 3px solid currentColor; border-bottom: 0; border-radius: 999px 999px 0 0;
}
h2[tabindex="-1"]:focus { outline: none; }

.step { padding: clamp(72px, 10vw, 120px) 0; }
.step--2 { background: var(--white); }
.step--3 { background: var(--tint); min-height: 80vh; }
.wrap--mid { max-width: 880px; }

/* Valt tjänstekort */
.svc.is-selected .svc__link { box-shadow: 0 0 0 3px var(--tone), var(--shadow-lg); }
.svc.is-selected .svc__cta { background: var(--ink); }
.svc__next {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: 13px; font-weight: 500; color: #15803d;
}
.svc__next::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

.pick__check, .svc__check {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: var(--purple);
  box-shadow: 0 4px 12px rgba(30, 16, 53, 0.18);
  transform: scale(0); opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}
.svc__check { right: 16px; top: 14px; }
.pick__check { right: 16px; bottom: 16px; }
.svc.is-selected .svc__check,
.person.is-selected .pick__check { transform: scale(1); opacity: 1; }

/* Frisörkorten är knappar */
button.person {
  appearance: none; -webkit-appearance: none;
  width: 100%; margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; cursor: pointer;
}
.person:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 24px; }
.person__arch { position: relative; transition: background-color 0.25s ease; }
.person.is-selected .person__arch { background: var(--ink); }
.person.is-selected .person__name { color: var(--purple); }
.person__title { margin-top: 2px; color: var(--muted); font-size: 14px; }
.person__any, .person__initial {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 10px 10px;
}
.person__any { background: var(--coral-tint); color: var(--coral-btn); }
.person__any .ic { width: 40%; height: auto; overflow: visible; }
.person__initial { background: var(--tint); color: var(--purple); font-family: var(--font-head); font-size: 64px; font-weight: 700; }
.person.is-live .ic, .person.is-live .ic *,
.summary .ic, .summary .ic * { animation-play-state: running !important; }

/* Steg 3 */
.summary__empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 32px; border-radius: 28px;
  background: var(--white); border: 2px dashed var(--lilac);
  color: var(--muted); font-size: 17px;
}
.summary__card {
  display: grid; grid-template-columns: minmax(180px, 240px) 1fr;
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  animation: fadeUp 0.6s var(--ease-out) both;
}
.summary__visual {
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: 36px; min-height: 240px;
  background: var(--tone-tint);
}
.summary__visual .svc__arch { width: 66%; height: 84%; transform: none; }
.summary__body { padding: 28px 32px 30px; }
.summary__list { display: grid; gap: 12px; margin: 0 0 22px; }
.summary__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.summary__list dt { color: var(--muted); font-size: 14px; }
.summary__list dd { margin: 0; font-weight: 600; text-align: right; }
.summary__change { margin-left: 8px; font-weight: 500; font-size: 14px; color: var(--purple); }
.summary__actions { display: flex; flex-direction: column; gap: 10px; }
.summary__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.slot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: #ecfdf3; color: #166534;
}
.slot__label { font-size: 14px; font-weight: 500; }
.slot__time { font-family: var(--font-head); font-weight: 600; font-size: 22px; }

.btn--wide { width: 100%; }
.btn--outline { border-color: var(--purple); color: var(--purple); background: transparent; padding: 12px 22px; font-size: 16px; }
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--block-sm { width: 100%; margin-top: 16px; }

/* Nästa lediga tid i heron */
.next-slot {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink);
  font-size: 14px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(14, 30, 90, 0.25);
}
.next-slot[hidden] { display: none; }
.next-slot b { font-weight: 600; }
.next-slot:hover { background: var(--white); }
.next-slot__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }

/* Kontakta oss */
.nav a[data-contact-flow] { color: var(--purple); font-weight: 600; }
.icon-btn {
  display: none; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple-tint); color: var(--purple);
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Bokningsraden */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 18px; z-index: 70;
  width: min(680px, calc(100% - 32px)); margin: 0 auto;
  animation: barIn 0.45s var(--ease-out);
}
.bookbar[hidden] { display: none; }
.bookbar__inner {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 12px 40px rgba(30, 16, 53, 0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.bookbar__steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bookbar__steps li {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: 12px; font-weight: 600; background: var(--tint); color: var(--muted);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.bookbar__steps li.is-done { background: var(--purple); color: var(--white); }
.bookbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.bookbar__text b, .bookbar__text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar__text b { font-weight: 600; }
.bookbar__text span { font-size: 13px; color: var(--muted); }
html.has-bookbar body { padding-bottom: 96px; }
@keyframes barIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ================================================================
   RESPONSIVT
   ================================================================ */
@media (max-width: 960px) {
  .info { grid-template-columns: 1fr 1fr; }
  .info .card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .brand img { height: 38px; }

  .hero { height: 200vh; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(37, 99, 235, 0.97) 0%, rgba(37, 99, 235, 0.9) 58%, rgba(37, 99, 235, 0.3) 100%),
      url("assets/hero.jpg") 72% bottom / cover no-repeat;
  }
  .hero__content { justify-content: flex-start; padding-top: 40px; }

  .services__sticky { padding: 56px 0; }
  .services__head { margin-bottom: 24px; }
  .track { padding: 0 16px; gap: 14px; }

  .svc__link { flex-direction: row; border-radius: 22px; }
  .svc__panel { width: 104px; height: auto; flex: none; padding-top: 30px; }
  .svc__num { top: 10px; left: 12px; font-size: 12px; }
  .svc__arch { width: 72%; height: 80%; }
  .svc__body { padding: 16px; }
  .svc__name { font-size: 17px; }
  .svc__foot { padding-top: 12px; }
  .svc__price { font-size: 16px; }
  .svc__cta { padding: 7px 14px; font-size: 14px; }

  .info { grid-template-columns: 1fr; }
  .team { gap: 16px; }
  .person__name { font-size: 18px; }
  .person__cta { font-size: 14px; }
  .marquee__row--outline { -webkit-text-stroke-width: 1.5px; }

  .icon-btn { display: grid; margin-left: auto; }
  .topbar .btn { margin-left: 8px; }

  .summary__card { grid-template-columns: 1fr; }
  .summary__visual { min-height: 0; height: 150px; padding-top: 24px; }
  .summary__visual .svc__arch { width: 34%; height: 100%; }
  .summary__body { padding: 22px 20px 24px; }
  .summary__empty { padding: 24px; }

  .bookbar { bottom: 0; width: 100%; }
  .bookbar__inner {
    border-radius: 0; border-width: 1px 0 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(30, 16, 53, 0.08);
  }
  .bookbar__steps { display: none; }
  html.has-bookbar body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
}

/* ================================================================
   MINSKAD RÖRELSE – allt syns direkt, inget rör sig
   ================================================================ */
.rm .hero { height: auto; }
.rm .hero__sticky { position: relative; top: 0; height: min(640px, 80vh); }
.rm .portal, .rm .hero__hint { display: none; }
.rm .hero__bg, .rm .hero__content { transform: none; opacity: 1; }
.rm .hero h1 .line > span, .rm .intro { animation: none; transform: none; opacity: 1; }
.rm .svc__link, .rm [data-reveal], .rm .person__name, .rm .person__title, .rm .person__arch img { opacity: 1 !important; transform: none !important; transition: none !important; }
.rm .person__arch { clip-path: none !important; transition: none !important; }
.rm .ic, .rm .ic * { animation: none !important; }
.rm .marquee__row { transform: none !important; }
.rm .cta__arch { transform: translateX(-50%); }
.rm .bookbar, .rm .summary__card { animation: none; }
.rm .svc__check, .rm .pick__check { transition: none; }

/* ================================================================
   BOKNINGSRUTAN – steg 3 (tider) och steg 4 (uppgifter)
   Bellebooks del (booking-box.js) lämnar över; det här är bara designen.
   ================================================================ */
.picker {
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: 24px; box-shadow: var(--shadow-lg);
}
.picker__context { margin: 0 0 18px; color: var(--muted); }
.picker__context b { color: var(--ink); font-weight: 600; }
.picker__context a, .picker__day a { color: var(--purple); font-weight: 600; }
.week { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.week__nav {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid #8b82a3; background: var(--white); color: var(--ink); cursor: pointer;
}
.week__nav:hover:not(:disabled) { background: var(--purple-tint); }
.week__nav:disabled { opacity: 0.35; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day {
  appearance: none; -webkit-appearance: none;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  min-height: 100px; padding: 16px 4px 10px;
  border: 1.5px solid var(--line); border-radius: 999px 999px 14px 14px;
  background: var(--white); color: var(--ink); font: inherit; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  animation: dayIn 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.day__wd { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.day__num { font-family: var(--font-head); font-size: 24px; font-weight: 600; line-height: 1.15; }
.day__month { font-size: 12px; color: var(--muted); }
.day__count { margin-top: 4px; font-size: 11px; font-weight: 600; color: #15803d; }
.day:hover:not(:disabled) { border-color: var(--purple); transform: translateY(-2px); }
.day:disabled { cursor: default; background: #faf9fc; }
.day:disabled .day__num { color: #8b82a3; }
.day:disabled .day__count { color: var(--muted); font-weight: 500; }
.day.is-selected { background: var(--purple); border-color: var(--purple); color: var(--white); }
.day.is-selected .day__wd, .day.is-selected .day__month, .day.is-selected .day__count { color: rgba(255, 255, 255, 0.9); }
.day--skeleton, .time--skeleton {
  border: 0; animation: shimmer 1.2s linear infinite;
  background: linear-gradient(90deg, var(--tint) 0%, #ebe4f6 50%, var(--tint) 100%); background-size: 200% 100%;
}
.day--skeleton { display: block; min-height: 100px; border-radius: 999px 999px 14px 14px; }
.picker__day { margin: 24px 0 12px; font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.time {
  appearance: none; -webkit-appearance: none;
  min-height: 48px; border-radius: 999px;
  border: 1.5px solid var(--purple); background: var(--white); color: var(--purple);
  font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  animation: timeIn 0.45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 28ms);
}
.time:hover { background: var(--purple-tint); }
.time.is-selected { background: var(--purple); color: var(--white); transform: scale(1.05); }
.time--skeleton { display: block; min-height: 48px; border-radius: 999px; }
@keyframes dayIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes timeIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }

.step--4 { background: var(--white); }
.details { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.details__summary {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--tint); border-radius: 28px; overflow: hidden;
}
.details__visual {
  display: flex; align-items: flex-end; justify-content: center;
  height: 150px; padding-top: 24px; background: var(--tone-tint);
}
.details__visual .svc__arch { width: 32%; height: 100%; transform: none; }
.details__summary .summary__list { margin: 0; padding: 20px 22px 10px; }
.details__summary .summary__list div:last-child { border-bottom: 0; }
.details__missing { color: var(--coral-btn); }
.details__empty { margin: 0; padding: 22px; }
.details__empty a { color: var(--purple); font-weight: 600; }
.details__form {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px; border-radius: 28px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .confirm__label { margin: 0; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #8b82a3; border-radius: 14px;
  transition: border-color 0.15s ease;
}
.field input:hover, .field textarea:hover { border-color: var(--purple); }
.field textarea { min-height: 96px; resize: vertical; }
.confirm { display: flex; flex-direction: column; gap: 8px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; align-self: flex-start; background: var(--tint); border-radius: 999px; }
.segmented__item { position: relative; cursor: pointer; }
.segmented__item input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented__item span {
  display: grid; place-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.segmented__item input:checked + span { background: var(--white); color: var(--purple); box-shadow: var(--shadow); }
.segmented__item input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--purple); }
.legal { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.legal p { margin: 0; }
.legal p:empty, .box-status:empty { display: none; }
.legal a { color: var(--purple); }
.submit { margin-top: 2px; }
.box-status { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--tint); font-size: 14px; }
.reserve { margin: 0; font-size: 14px; text-align: center; }
.reserve a { color: var(--purple); }

@media (max-width: 760px) {
  .picker { padding: 18px 14px; border-radius: 22px; }
  .week { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; }
  .week__nav { width: 40px; height: 44px; }
  .days {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none;
  }
  .days::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: start; min-height: 92px; }
  .times { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .details { grid-template-columns: 1fr; gap: 18px; }
  .details__summary { position: static; }
  .details__visual { height: 120px; }
  .fields { grid-template-columns: 1fr; }
  .details__form { padding: 20px 16px; border-radius: 22px; }
}

.rm .day, .rm .time { animation: none; transition: none; }
.rm .day--skeleton, .rm .time--skeleton { animation: none; }

/* ================================================================
   KONTAKTA OSS – Bellebooks flöde i en panel i sidans design
   ================================================================ */
html.sheet-open { overflow: hidden; }
html.sheet-open .bookbar { display: none; }
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sheet[hidden] { display: none; }
.sheet__backdrop {
  position: absolute; inset: 0; background: rgba(30, 16, 53, 0.55);
  opacity: 0; transition: opacity 0.35s ease;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel {
  position: relative; display: flex; flex-direction: column;
  width: min(820px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  background: var(--tint); border-radius: 32px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(30, 16, 53, 0.35);
  opacity: 0; transform: translateY(48px) scale(0.98);
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
}
.sheet.is-open .sheet__panel { opacity: 1; transform: none; }
.sheet__head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; background: var(--white); border-bottom: 1px solid var(--line);
}
.sheet__arch {
  flex: none; width: 40px; height: 46px;
  border: 8px solid var(--coral); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.sheet__titles { flex: 1; min-width: 0; }
.sheet__head h2 { font-size: clamp(22px, 3vw, 28px); }
.sheet__head h2:focus { outline: none; }
.sheet__desc { margin-top: 2px; color: var(--muted); font-size: 15px; }
.sheet__close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); cursor: pointer;
}
.sheet__close:hover { background: var(--purple-tint); }
.sheet__body { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 28px; }

.cflow { display: flex; flex-direction: column; gap: 16px; }
.cflow__steps { display: flex; flex-direction: column; gap: 16px; }
.cflow__top { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border-radius: 20px; }
.cflow__top[hidden] { display: none; }
.cflow__top img, .cflow__initials { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.cflow__initials { display: grid; place-items: center; background: var(--purple-tint); color: var(--purple); font-weight: 700; }
.cflow__strong { font-weight: 600; }
.cflow__muted { font-size: 13px; color: var(--muted); }
.cflow__price ul, .cflow__price p { margin: 0; padding: 0; list-style: none; }
[data-bellebook-price]:empty { display: none; }
.cflow__price p { font-weight: 600; }

.cstep {
  margin: 0; padding: 20px 22px 22px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow);
}
.cstep[hidden] { display: none; }
.cstep > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; }
.cstep > legend + * { clear: both; }
.cstep__eyebrow {
  display: block; margin-bottom: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-btn);
}
.cstep__title { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.cstep__help { margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.cstep__text { margin: 0 0 10px; }
.cstep__open { margin: 10px 0 0; font-size: 13px; color: var(--coral-btn); }
.cstep__open:empty { display: none; }
.cstep .field + .field, .cstep .cq + .field, .cstep .field + .cq, .cstep .cq + .cq { margin-top: 14px; }
.cstep.is-appearing, .cexit.is-appearing { animation: stepIn 0.55s var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

:where(.copt) { --tone: var(--purple); --tone-tint: var(--purple-tint); --tone-ink: var(--purple); }
.copts { display: grid; gap: 10px; }
.copts--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.copt {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 18px;
  background: var(--white); cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.copt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.copt__tile {
  flex: none; display: grid; place-items: center; width: 40px; height: 46px;
  border-radius: 999px 999px 8px 8px;
  background: var(--tone-tint); color: var(--tone-ink);
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}
.copt__tile svg { width: 22px; height: 22px; }
.copt__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.copt__label { font-weight: 600; }
.copt__desc { font-size: 13px; color: var(--muted); }
.copt:hover { border-color: var(--tone); transform: translateY(-1px); }
.copt:has(input:checked) { border-color: var(--tone); background: #fcfaff; box-shadow: 0 0 0 1.5px var(--tone); }
.copt:has(input:checked) .copt__tile { background: var(--tone); color: var(--white); transform: scaleY(1.06); }
.copt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.cq { display: flex; flex-direction: column; gap: 8px; }
.cq__label { margin: 0; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid #8b82a3; border-radius: 999px; font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover span { border-color: var(--purple); }
.chip input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.cstep select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid #8b82a3; border-radius: 14px;
}

.cexit {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 14px; padding: 20px; border-radius: 20px; background: var(--coral-tint);
}
.cexit[hidden] { display: none; }
.cexit h3 { font-size: 18px; }
.cexit p { margin: 0; }
.cexit__strong { font-weight: 600; }
.cexit__muted { font-size: 13px; color: var(--muted); }
.cexit__muted:empty { display: none; }
[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.cflow__details[hidden] { display: none; }

@media (min-width: 761px) {
  .sheet__panel { max-height: calc(100vh - 64px); }
}
@media (max-width: 760px) {
  .sheet { padding: 0; align-items: flex-end; }
  .sheet__panel {
    width: 100%; max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px);
    border-radius: 26px 26px 0 0; transform: translateY(100%); opacity: 1;
  }
  .sheet__head { padding: 16px; }
  .sheet__body { padding: 16px 14px calc(24px + env(safe-area-inset-bottom)); }
  .copts--cards { grid-template-columns: 1fr; }
  .cstep { padding: 18px 16px; border-radius: 20px; }
}
.rm .sheet__panel, .rm .sheet__backdrop { transition: none; }
.rm .cstep.is-appearing, .rm .cexit.is-appearing { animation: none; }

/* Demotext ovanför bokningsknappen */
.demo-notice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: #fff7e6; border: 1.5px solid #f2b544; color: #5c3b00;
  font-size: 15px; line-height: 1.45;
}
.demo-notice svg { flex: none; margin-top: 1px; color: #b7791f; }
.demo-notice p { margin: 0; }
.demo-notice strong { font-weight: 700; }

/* Antal: plus/minus */
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper input {
  width: 88px; min-height: 52px; text-align: center; font: inherit; font-size: 22px; font-weight: 600;
  font-family: var(--font-head); color: var(--ink); background: var(--white);
  border: 1.5px solid #8b82a3; border-radius: 16px; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--purple); background: var(--white); color: var(--purple);
  font-size: 26px; line-height: 1; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.stepper__btn:hover { background: var(--purple); color: var(--white); }
.stepper__unit { color: var(--muted); font-weight: 500; }
.cstep input[type="date"] {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid #8b82a3; border-radius: 14px;
}

/* Fält bredvid varandra (Från/Till, Dag 1–3) ska ligga i linje */
.cstep .fields > .field + .field { margin-top: 0; }
.cstep .cq__label + .fields { margin-top: 10px; }
.cstep .fields { align-items: start; }
