/* Cutie Care customer theme. Presentation only; existing state classes, hidden
   controls, forms, IDs and payment-provider content remain owned by each page. */
:root {
  --red: #c41e3a;
  --red-dark: #a31730;
  --cream: #fcfaf9;
  --beige: #f6eeeb;
  --border: #ece5e3;
  --dark: #292628;
  --dark-deep: #292628;
  --deep: #292628;
  --brown: #292628;
  --brown-deep: #1d1a1c;
  --gold: #b11b35;
  --warm-gray: #706367;
  --gray: #706367;
  --muted: #706367;
  --line: #ece5e3;
  --white: #fff;
  --brun: #292628;
  --guld: #b11b35;
  --sand: #f6eeeb;
  --papper: #fcfaf9;
  --text: #292628;
  --dov: #706367;
  --linje: #ece5e3;
  --serif: 'DM Sans', sans-serif;
  --sans: 'DM Sans', sans-serif;
  --cc-shadow: 0 4px 24px #63394007;
}
.customer-page {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.12px;
}
.customer-page :is(h1,h2,h3,h4,.brand,.side-brand,.belopp,.date .dnum) { font-family: var(--sans); }
.customer-page :is(button,input,select,textarea) { font-family: var(--sans); }
.customer-page h1 { font-weight: 500; letter-spacing: -.9px; line-height: 1.2; }
.customer-page :is(h2,h3,h4) { font-weight: 500; }
.customer-page :is(button,a,input,textarea,select) { -webkit-tap-highlight-color: transparent; }
.customer-page :is(button,a,input,textarea,select,summary):focus-visible { outline: 3px solid #c41e3a; outline-offset: 4px; }
.customer-page a { color: var(--red); text-underline-offset: 3px; }
.customer-page :is(.brand,.side-brand) { font-size: 17px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.customer-page :is(.brand b,.side-brand span) { color: var(--red); font-weight: 600; }
.customer-page .eyebrow { color: var(--red); font-size: 10px; font-weight: 500; letter-spacing: 1.5px; }
.customer-page :is(.btn,.pay,.knapp,.betala,.primary,.button) {
  background: var(--red);
  border-radius: 15px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 500;
  color: white;
  box-shadow: none;
}
.customer-page :is(.btn.ghost,.btn-ghost,.knapp--lugn,.secondary) { background: white; color: var(--red); border: 1px solid var(--border); box-shadow: none; }
.customer-page :is(.btn,.pay,.knapp,.betala,.primary):disabled { background: #eadfe1; color: #76686c; opacity: 1; box-shadow: none; cursor: default; }
.customer-page :is(.field input,.field textarea,input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea) {
  font-size: 16px;
  color: var(--dark);
  min-height: 52px;
  border-color: var(--border);
  border-radius: 13px;
  background: white;
}
.customer-page :is(input,textarea,select):focus { border-color: var(--red); box-shadow: 0 0 0 3px #c41e3a10; }
.customer-page :is(.field label,label) { font-weight: 500; }
.customer-page :is(.field input,.field textarea)::placeholder { color: var(--muted); font-size: 14px; }
.customer-page :is(.card,.panel,.summary,.transfer-summary) { border: 1px solid var(--border); border-radius: 22px; background: white; box-shadow: var(--cc-shadow); }
.customer-page :is(.card h2,.panel h2) { font-weight: 500; }
.customer-page :is(.back,.cancel) { min-height: 44px; }

/* Booking keeps all five steps and the current sticky continue action. */
.page-booking .app { max-width: 1120px; }
.page-booking header,.page-giftcard header {
  padding: calc(12px + env(safe-area-inset-top)) 22px 12px;
  gap: 12px;
  background: #fcfaf9f5;
  border-bottom: 0;
}
.page-booking header .back,.page-giftcard header .back { width: 44px; height: 44px; border-radius: 14px; background: white; border-color: var(--border); }
.page-booking #accountLink { background: white; border-radius: 14px; border-color: var(--border); padding: 0 12px; gap: 7px; }
.page-booking #accountLink .acc-tx { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.page-booking .progress { top: calc(68px + env(safe-area-inset-top)); background: #fcfaf9f5; padding: 0 22px 12px; gap: 6px; }
.page-booking .progress .seg { height: 3px; }
.page-booking .progress .seg.done { background: var(--red); }
.page-booking main { width: 100%; max-width: 960px; margin: 0 auto; padding: 23px 22px calc(140px + env(safe-area-inset-bottom)); }
.page-booking.install-open main { padding-bottom: calc(260px + env(safe-area-inset-bottom)); }
.page-booking h1.title { font-size: 29px; font-weight: 500; margin: 7px 0 24px; letter-spacing: -.9px; }
.page-booking .hero { min-height: 216px; border-radius: 25px; margin-bottom: 30px; box-shadow: none; background-image: url('/img/cat-spa.jpg'); }
.page-booking .hero:after { background: linear-gradient(90deg,#22191bd9,#22191b55); }
.page-booking .hero-in { padding: 26px; }
.page-booking .hero-in .k { font-size: 10px; letter-spacing: 2px; font-weight: 500; }
.page-booking .hero-in h2 { font-size: 30px; font-weight: 500; letter-spacing: -.9px; margin: 10px 0; }
.page-booking .hero-in p { font-size: 13px; max-width: 31ch; line-height: 1.65; }
.page-booking .salons { gap: 12px; }
.page-booking .salon { padding: 9px; gap: 15px; border-radius: 21px; min-height: 108px; box-shadow: var(--cc-shadow); }
.page-booking .salon .pin { width: 86px; height: 90px; border-radius: 14px; }
.page-booking .salon h3 { font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 5px; }
.page-booking .salon p { font-size: 12px; }
.page-booking .salon.sel,.page-booking .svc.sel { box-shadow: 0 0 0 1px var(--red); border-color: var(--red); }
.page-booking .giftlink { background: var(--red); color: white; border: 0; border-radius: 21px; padding: 22px 18px; margin-top: 22px; box-shadow: none; }
.page-booking .giftlink .gl-ic { width: 44px; height: 48px; background: #ffffff17; color: white; }
.page-booking .giftlink .gl-tx b { font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.page-booking .giftlink .gl-tx small { color: #ffebee; font-size: 12px; }
.page-booking .giftlink .gl-ar { color: white; }
.page-booking .cats { gap: 14px; }
.page-booking .chip,.page-booking .phase-cats .chip { aspect-ratio: 1.12; border-radius: 20px; box-shadow: var(--cc-shadow); }
.page-booking .chip:after { background: none; }
.page-booking .chip span,.page-booking .phase-cats .chip span { width: 100%; min-height: 48px; padding: 13px; background: white; color: var(--dark); font-size: 14px; font-weight: 500; line-height: 1.3; text-align: left; }
.page-booking .svc-mode { background: #f3eae9; border-radius: 15px; padding: 5px; }
.page-booking .svc-mode .sm { min-height: 46px; font-size: 13px; font-weight: 500; border-radius: 11px; }
.page-booking .svc { border-radius: 21px; padding: 16px; gap: 14px; box-shadow: var(--cc-shadow); }
.page-booking .svc .thumb { width: 70px; height: 82px; border-radius: 15px; }
.page-booking .svc h4 { font-size: 16px; font-weight: 500; line-height: 1.4; }
.page-booking .svc .opt { border-radius: 11px; border-color: var(--border); background: #fdf8f6; padding: 9px 12px; }
.page-booking .svc .opt.sel { background: var(--red); color: white; border-color: var(--red); }
.page-booking .svc .lasmer { min-height: 44px; margin-bottom: 0; font-weight: 500; }
.page-booking .svc .beskrivning { color: var(--muted); }
.page-booking .svc-back { min-height: 44px; color: var(--red); font-size: 13px; font-weight: 500; }
.page-booking .cal { padding: 16px 12px; border-radius: 22px; box-shadow: var(--cc-shadow); }
.page-booking .cal-title { font-weight: 500; font-size: 16px; }
.page-booking .cal-nav { width: 44px; height: 44px; border-color: var(--border); border-radius: 13px; }
.page-booking .cal-cell { aspect-ratio: auto; min-height: 44px; font-size: 14px; background: #fcf6f4; }
.page-booking .cal-cell.empty,.page-booking .cal-cell:disabled { background: none; }
.page-booking .cal-cell:disabled { color: #9b8e92; }
.page-booking .cal-cell.sel { background: var(--red); color: white; }
.page-booking .cal-cell.today:not(.sel) { border-color: var(--red); box-shadow: none; }
.page-booking .sub-head { font-size: 15px; font-weight: 500; }
.page-booking .therapists { margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
.page-booking :is(.ther,.tpick) { border-radius: 18px; box-shadow: var(--cc-shadow); }
.page-booking .ther.sel { box-shadow: none; }
.page-booking .ther .av { color: var(--red); font-weight: 500; }
.page-booking .ther.sel .av { color: white; }
.page-booking .ther .nm { font-weight: 500; }
.page-booking .time { min-height: 48px; font-size: 14px; }
.page-booking .field { margin-bottom: 20px; }
.page-booking .field label { font-size: 13px; font-weight: 500; }
.page-booking label[data-pay] { background: white; border-color: var(--border) !important; padding: 16px !important; }
.page-booking label[data-pay]:has(input:checked) { background: #fff5f6; border-color: var(--red) !important; }
.page-booking label[data-pay] b { font-weight: 500; font-size: 15px; }
.page-booking label[data-pay] input { width: 18px; height: 18px; flex-shrink: 0; }
.page-booking .consent { font-size: 13px; padding: 16px; line-height: 1.7; border-radius: 16px; }
.page-booking .summary { padding: 24px; }
.page-booking .summary .row { padding: 13px 0; font-size: 14px; }
.page-booking .summary .row .v { font-weight: 500; overflow-wrap: anywhere; }
.page-booking .summary .total { color: var(--red); font-size: 23px; }
.page-booking .deposit { background: var(--beige); border: 0; border-radius: 18px; padding: 22px; }
.page-booking .deposit-head { font-weight: 500; }
.page-booking .cta-bar { max-width: 960px; padding: 12px 22px calc(16px + env(safe-area-inset-bottom)); background: #fcfaf9f2; backdrop-filter: blur(18px); border-top: 1px solid var(--border); }
.page-booking .cta-bar .btn { max-width: 520px; margin: auto; }
.page-booking .sheet { background: #29262880; }
.page-booking .sheet-in { border-radius: 26px 26px 0 0; padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); }
.page-booking .confirm h1 { font-size: 29px; font-weight: 500; }

/* Mitt Cutie: preserve OTP, view switching, the sidebar and the mobile nav. */
.page-account .top { background: #fcfaf9f5; border-bottom: 1px solid var(--border); padding: calc(12px + env(safe-area-inset-top)) 22px 12px; }
.page-account .top h1 { font-size: 18px; font-weight: 500; letter-spacing: -.4px; }
.page-account .top a { color: var(--red); border-radius: 13px; padding: 12px 15px; font-weight: 500; }
.page-account .wrap { max-width: 640px; padding: 26px 22px calc(110px + env(safe-area-inset-bottom)); }
.page-account .card { padding: 24px; margin-bottom: 18px; }
.page-account .card h2 { font-size: 19px; font-weight: 500; margin-bottom: 16px; }
.page-account :is([data-view="hem"],[data-view="historik"])>.card { background: none; border: 0; padding: 0; box-shadow: none; }
.page-account #login { margin-top: 10px; }
.page-account #login .card { padding: 0 24px 28px; overflow: hidden; }
.page-account #login .card:before { content: ''; display: block; height: 160px; margin: 0 -24px 25px; background: url('/img/cat-spa.jpg') center 55% / cover; }
.page-account #login h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.7px; margin-bottom: 12px; }
.page-account #login label { margin-top: 24px; }
.page-account .hint { font-size: 13px; line-height: 1.7; }
.page-account .greet { padding: 5px 2px 26px; }
.page-account .greet h2 { font-size: 30px; font-weight: 500; letter-spacing: -.9px; }
.page-account .greet p { font-size: 14px; }
.page-account .bk { padding: 20px; border-radius: 18px; margin-bottom: 14px; gap: 14px; }
.page-account .bk>div { min-width: 0; }
.page-account .bk b { font-size: 17px; line-height: 1.4; font-weight: 500; margin-bottom: 7px; }
.page-account .bk .meta { font-size: 13px; line-height: 1.7; }
.page-account .bk>a { color: var(--red); min-height: 44px; display: flex; align-items: center; font-weight: 500; }
.page-account .badge { display: inline-block; border-radius: 7px; padding: 4px 9px; margin-top: 4px; }
.page-account .toggle { min-height: 62px; gap: 14px; }
.page-account .toggle input:checked { background: var(--red); }
.page-account .toggle input:focus { box-shadow: none; }
.page-account .code-input { letter-spacing: 8px; }
.page-account .bottomnav { padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); border-top-color: var(--border); background: #fffffff2; backdrop-filter: blur(18px); }
.page-account .bnav-item { min-height: 50px; font-weight: 500; font-size: 11px; gap: 5px; }
.page-account .bnav-item.is-active { color: var(--red); }
.page-account .side { border-color: var(--border); }
.page-account .snav-item { font-weight: 500; min-height: 48px; border-radius: 13px; }
.page-account .snav-item.is-active { background: #fbecef; color: var(--red); }

/* Gift purchase and kiosk handoff share the theme, not the form visibility. */
.page-giftcard .app { max-width: 620px; }
.page-giftcard main { padding: 24px 22px calc(60px + env(safe-area-inset-bottom)); }
.page-giftcard .hero { background: var(--red); border-radius: 24px; padding: 30px 26px; }
.page-giftcard .hero:after { background: none; border: 1px solid #ffffff30; width: 200px; height: 200px; right: -90px; top: -95px; pointer-events: none; }
.page-giftcard .hero h1 { font-size: 30px; font-weight: 500; letter-spacing: -.8px; line-height: 1.18; margin: 10px 0 12px; }
.page-giftcard .hero .ey { font-size: 10px; font-weight: 500; letter-spacing: 1.6px; }
.page-giftcard .hero p { font-size: 14px; line-height: 1.7; }
.page-giftcard h2 { font-size: 18px; font-weight: 500; margin: 28px 0 15px; }
.page-giftcard .amt { font-size: 16px; font-weight: 500; border-radius: 13px; min-height: 56px; }
.page-giftcard .amt.sel { background: var(--red); color: white; border-color: var(--red); box-shadow: none; }
.page-giftcard .amt.sel small { color: #ffebee; }
.page-giftcard .field { margin-bottom: 17px; }
.page-giftcard .field label { font-size: 13px; }
.page-giftcard .pay { border: 0; }
.page-giftcard .transfer-summary .transfer-amount { font-size: 32px; font-weight: 500; }
.page-giftcard #card-element { min-height: 52px; border-color: var(--border); }
.page-giftcard #card-element.StripeElement--focus { border-color: var(--red); box-shadow: 0 0 0 3px #c41e3a10; }

/* Standalone wellness must scroll normally, outside the fixed salon kiosk. */
html:has(body.page-wellness) { height: auto; overflow: auto; }
body.page-wellness { height: auto; min-height: 100dvh; overflow: visible; }
.page-wellness main { display: block; flex: none; height: auto; overflow: visible; width: 100%; padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important; }
.page-wellness .page-head { text-align: left; margin: 30px 0 25px; }
.page-wellness .page-head h1 { font-size: 34px; font-weight: 500; }
.page-wellness .page-head p { margin-left: 0; }
.page-wellness .panel { padding: 25px; }
.page-wellness .panel p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.page-wellness :is(.primary,.secondary) { min-height: 52px; margin-top: 18px; text-decoration: none; border-radius: 15px; font-size: 14px; }
.page-wellness .back { color: var(--red); font-size: 14px; }
.page-wellness .review-row { gap: 18px; }
.page-wellness .review-row dd { overflow-wrap: anywhere; }

/* The remaining customer pages share the same typography and surfaces. */
.page-manage .wrap,.page-support .wrap,.page-review .wrap { max-width: 640px; padding: calc(30px + env(safe-area-inset-top)) 22px 70px; }
.page-manage h1,.page-support h1,.page-review h1 { font-size: 30px; font-weight: 500; }
.page-manage .card { padding: 24px; }
.page-manage .date.sel { background: var(--red); border-color: var(--red); }
.page-manage .row .v { overflow-wrap: anywhere; }
.page-support .card { padding: 26px; box-shadow: var(--cc-shadow); }
.page-support .card h2 { font-size: 21px; }
.page-support .knapp { font-family: var(--sans); }
.page-review .card { box-shadow: var(--cc-shadow); }
.page-review .card .body { padding: 28px 24px; }
.page-pay .top,.page-invoice .top { background: var(--cream); border-bottom: 1px solid var(--border); padding: calc(22px + env(safe-area-inset-top)) max(22px,calc((100vw - 596px)/2)) 20px; }
.page-pay .top h1,.page-invoice .top h1 { font-size: 22px; font-weight: 500; }
.page-pay .wrap,.page-invoice .wrap { max-width: 640px; padding: 26px 22px 60px; }
.page-pay .card { padding: 6px; }
.page-invoice .belopp { font-weight: 500; color: var(--red); }
.page-invoice button.betala { background: var(--red); border-radius: 15px; }
.page-legal header { background: var(--cream); color: var(--dark); padding: calc(35px + env(safe-area-inset-top)) 22px 28px; border-bottom: 1px solid var(--border); }
.page-legal header p { color: var(--red); font-size: 10px; }
.page-legal header h1 { font-size: 34px; font-weight: 500; letter-spacing: -.9px; margin-top: 12px; }
.page-legal h2 { font-size: 23px; font-weight: 500; letter-spacing: -.4px; }
.page-rights :is(section,article) { border-color: var(--border); border-radius: 22px; padding: 25px; }
.page-rights :is(button,.button) { background: var(--red); color: white; border-radius: 14px; min-height: 52px; }
.page-rights button.secondary { background: white; color: var(--red); border-color: var(--border); }
.page-rights :is(h1,h2) { font-weight: 500; }
.page-rights h1 { font-size: 32px; }
.page-rights main { overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .page-account .shell { grid-template-columns: 240px minmax(0,1fr); max-width: 1320px; margin: auto; }
  .page-account .shell:has(.side[style*="hidden"]) { display: block; }
  .page-account .side[style*="hidden"] { display: none; }
  .page-account .side { padding: 35px 20px; }
  .page-account .wrap { max-width: 960px; margin: 0 auto; padding: 45px 40px 70px; }
  .page-account #login { margin: 25px auto; }
  .page-account .greet h2 { font-size: 36px; }
  .page-account .greet { padding-bottom: 32px; }
}
@media (min-width: 920px) {
  .page-booking header { padding-left: 40px; padding-right: 40px; }
  .page-booking .progress { padding-left: 40px; padding-right: 40px; }
  .page-booking main { padding: 32px 40px calc(145px + env(safe-area-inset-bottom)); }
  .page-booking .hero { min-height: 280px; }
  .page-booking .hero-in { padding: 36px; }
  .page-booking .hero-in h2 { font-size: 40px; }
  .page-booking .hero-in p { font-size: 15px; max-width: 38ch; }
  .page-booking h1.title { font-size: 36px; margin-bottom: 28px; }
  .page-booking .salons { gap: 16px; }
  .page-booking .cats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
  .page-booking .chip,.page-booking .phase-cats .chip { aspect-ratio: 1.25; }
  .page-booking .chip span,.page-booking .phase-cats .chip span { font-size: 16px; padding: 16px; }
  .page-booking .cal { padding: 22px 15px; }
  .page-booking .cal-cell { min-height: 48px; }
  .page-booking .therapists { margin: 0; padding: 0; }
  .page-booking .step[data-step="2"] #dates { grid-row: 3 / span 2; }
  .page-booking .step[data-step="3"].active { display: block; max-width: 640px; margin-inline: auto; }
  .page-booking .step[data-step="4"]>.muted { margin-top: 20px; }
  .page-booking .step[data-step="4"] .deposit { align-self: start; }
  .page-booking .giftlink { padding: 24px; }
  .page-booking .giftlink .gl-tx b { font-size: 20px; }
  .page-booking .sheet-in { margin: auto; border-radius: 26px; }
}
@media (max-width: 379px) {
  .page-booking header { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .page-booking header .brand { font-size: 15px; letter-spacing: 1.5px; }
  .page-booking #accountLink { width: 44px; padding: 0; }
  .page-booking #accountLink .acc-tx { display: none; }
  .page-booking main,.page-giftcard main,.page-account .wrap { padding-left: 16px; padding-right: 16px; }
  .page-booking .hero-in { padding: 22px; }
  .page-booking .hero-in h2 { font-size: 27px; }
  .page-booking .salon { gap: 11px; }
  .page-booking .salon .pin { width: 69px; height: 84px; }
  .page-booking .salon h3 { font-size: 15px; }
  .page-booking .svc { padding: 13px; gap: 10px; }
  .page-booking .svc .thumb { width: 50px; height: 64px; }
  .page-booking .svc .opt { padding: 8px; font-size: 12px; }
  .page-booking .cal { padding: 15px 6px; }
  .page-booking .cal-grid { gap: 2px; }
  .page-booking .cal-cell { min-width: 0; font-size: 13px; }
  .page-booking .therapists { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .page-account .card { padding: 18px; }
  .page-account .bk { padding: 16px; flex-wrap: wrap; }
  .page-account .bk b { font-size: 16px; }
  .page-giftcard .two { grid-template-columns: 1fr; }
  .page-review .card .body { padding: 24px 16px; }
  .page-review .stars { gap: 5px; }
  .page-review .star { width: 42px; height: 44px; }
  .page-rights :is(section,article) { padding: 20px; }
}
@media (max-width: 599px) {
  .page-account .bk { flex-direction: column; align-items: stretch; gap: 6px; }
  .page-account .bk>a { align-self: flex-end; }
}
@media (hover: hover) {
  .customer-page :is(.btn,.pay,.knapp,.primary):hover:not(:disabled) { background: var(--red-dark); box-shadow: none; }
  .customer-page :is(.btn.ghost,.btn-ghost,.knapp--lugn,.secondary):hover:not(:disabled) { background: #fff3f4; }
  .page-booking :is(.salon,.svc,.ther):hover { border-color: #d8b4bb; box-shadow: var(--cc-shadow); transform: none; }
  .page-booking .chip:hover:after { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-page,.customer-page *,.customer-page *:before,.customer-page *:after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
