/* The customer side of Zibly (body.cx): the salon's booking steps, the appointment page and the customer's own account,
   from the owner's designs in design/redesign-2026-11-21/your-designs/desktop/customer.
   Women's look (wine, porcelain, blush, antique gold) by default; body.theme-men swaps the colours for navy, sand and
   brass. Pictures: static/cx/ (w-*.jpg and m-*.jpg), passed in from Python as --custom properties. */

@font-face{font-family:CxDisplay;src:url('/static/fonts/BodoniModa-Zibly-italic.woff2') format('woff2');font-display:swap}

body.cx{
  --cx-bar:#4b1127;--cx-bar-2:#3a0c1f;--cx-on-bar:#fff6f1;
  --cx-bg:#f7f2ef;--cx-bg-2:#fbf7f4;--cx-surface:#fffdfc;--cx-card:#fffaf8;
  --cx-ink:#2a1520;--cx-ink-2:#4a3440;--cx-muted:#7a6670;--cx-line:#ecdfdb;--cx-line-2:#f3e8e4;
  --cx-accent:#8c1a44;--cx-accent-2:#6b1530;--cx-accent-soft:#fbecea;--cx-accent-ring:rgba(140,26,68,.18);
  --cx-btn-a:#9b2050;--cx-btn-b:#651432;--cx-on-btn:#fff;
  --cx-price:#80152f;--cx-gold:#aa855e;--cx-gold-soft:#ead8c5;
  --cx-sum-a:#86294a;--cx-sum-b:#5e1730;--cx-sum-cta:#fff;--cx-sum-cta-ink:#7a1a3d;
  --cx-peach:#fdf0e1;--cx-peach-ink:#7a4b22;--cx-ok-bg:#e8f4ec;--cx-ok:#2d7550;--cx-info-bg:#f1f0f9;--cx-info:#4a4a86;
  --cx-shadow:0 20px 50px rgba(75,17,39,.08);--cx-shadow-sm:0 8px 22px rgba(75,17,39,.06);
  --cx-r:22px;--cx-r-sm:16px;
  background:linear-gradient(180deg,var(--cx-bg-2),var(--cx-bg) 420px) ;color:var(--cx-ink);overflow-x:clip}
body.cx.theme-men{
  --cx-bar:#0f2531;--cx-bar-2:#0a1b25;--cx-on-bar:#f7efe4;
  --cx-bg:#f3ece5;--cx-bg-2:#f8f3ed;--cx-surface:#fffdfa;--cx-card:#fbf6f0;
  --cx-ink:#16222b;--cx-ink-2:#33424d;--cx-muted:#66727a;--cx-line:#e4dbd1;--cx-line-2:#efe7de;
  --cx-accent:#1d3a50;--cx-accent-2:#122a3b;--cx-accent-soft:#eaeef0;--cx-accent-ring:rgba(29,58,80,.18);
  --cx-btn-a:#24465f;--cx-btn-b:#11293a;--cx-on-btn:#fff;
  --cx-price:#986a3c;--cx-gold:#a47343;--cx-gold-soft:#e5d3bd;
  --cx-sum-a:#132a38;--cx-sum-b:#0a1d28;--cx-sum-cta:linear-gradient(135deg,#c39a65,#9a6c3d);--cx-sum-cta-ink:#fff;
  --cx-peach:#f6ecdf;--cx-peach-ink:#6e4b26;
  --cx-shadow:0 20px 50px rgba(15,37,49,.09);--cx-shadow-sm:0 8px 22px rgba(15,37,49,.07)}
body.cx.reservation-page{background:linear-gradient(180deg,var(--cx-bg-2),var(--cx-bg) 420px);background-attachment:scroll}
body.cx *{box-sizing:border-box}
body.cx a{text-decoration:none}
body.cx :focus-visible{outline:2px solid var(--cx-gold);outline-offset:2px}
body.cx .made-with,body.cx .cx-made{display:flex;align-items:center;justify-content:center;gap:18px;margin:34px auto 6px;color:var(--cx-muted);font-size:14px}
body.cx .cx-made::before,body.cx .cx-made::after{content:"";width:min(200px,20vw);height:1px;background:var(--cx-line)}
body.cx .cx-made a{display:inline-flex;align-items:center;min-height:32px;padding-inline:4px;color:var(--cx-accent);font-weight:800}

/* ---- buttons and fields in this look ---------------------------------------------------------------------------- */
body.cx .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:14px;font-weight:800;font-size:14.5px;
  transition:background .18s,border-color .18s,color .18s,transform .14s,box-shadow .18s}
body.cx .btn-primary{background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));border:0;color:var(--cx-on-btn);box-shadow:0 10px 22px var(--cx-accent-ring)}
body.cx .btn-primary:hover{filter:brightness(1.06);transform:translateY(-1px)}
body.cx .btn-ghost{background:var(--cx-surface);border:1px solid var(--cx-line);color:var(--cx-ink)}
body.cx .btn-ghost:hover{border-color:var(--cx-gold-soft);background:var(--cx-card)}
body.cx .btn-soft{background:var(--cx-accent-soft);border:1px solid transparent;color:var(--cx-accent)}
body.cx .btn-lg{min-height:56px;font-size:16px;border-radius:16px}
body.cx .btn:active{transform:scale(.985)}
body.cx .field>.label,body.cx .field .label{font-size:14px;font-weight:800;color:var(--cx-ink)}
body.cx .input,body.cx .field input:not([type=checkbox]):not([type=radio]):not([type=file]),body.cx .field select,body.cx .field textarea{
  width:100%;min-height:52px;border:1px solid var(--cx-line);border-radius:14px;background:var(--cx-surface);color:var(--cx-ink);font-size:15px;
  transition:border-color .18s,box-shadow .18s}
body.cx .field textarea{padding-top:14px;min-height:96px}
body.cx .input:focus,body.cx .field input:focus,body.cx .field select:focus,body.cx .field textarea:focus{outline:none;border-color:var(--cx-accent);box-shadow:0 0 0 4px var(--cx-accent-ring)}
body.cx .cx-input{position:relative;display:block}
body.cx .cx-input>svg{position:absolute;right:16px;left:auto;top:16px;color:var(--cx-muted);pointer-events:none}
body.cx .cx-input>.input,body.cx .cx-input>input,body.cx .cx-input>textarea{padding-right:48px}
body.cx .cx-input>input[dir=ltr]{text-align:right}
body.cx .notice{border-radius:16px}
body.cx .cx-hint{margin:6px 0 0;font-size:13px;color:var(--cx-muted)}
body.cx .cx-privacy{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;font-size:12.5px;color:var(--cx-muted);text-align:center}
body.cx .cx-privacy a{color:var(--cx-accent);font-weight:800}

/* ---- shared pieces ----------------------------------------------------------------------------------------------- */
body.cx .cx-tile{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:15px;background:var(--cx-accent-soft);color:var(--cx-accent)}
body.cx .cx-head{display:flex;align-items:center;gap:14px}
body.cx .cx-head h1,body.cx .cx-head h2{margin:0;font-size:clamp(22px,2vw,28px);font-weight:900;line-height:1.45;color:var(--cx-ink);letter-spacing:-.3px}
body.cx .cx-head p{margin:2px 0 0;font-size:14px;color:var(--cx-muted)}
body.cx .cx-card{background:var(--cx-surface);border:1px solid var(--cx-line);border-radius:var(--cx-r);box-shadow:var(--cx-shadow);padding:28px}
body.cx .cx-intro h2{margin:0;font-size:clamp(24px,2.3vw,32px);font-weight:900;line-height:1.5;color:var(--cx-ink);letter-spacing:-.4px}
body.cx .cx-intro p{margin:4px 0 0;font-size:15.5px;color:var(--cx-muted)}
body.cx .cx-rules{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-top:22px;padding:16px 20px;
  border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-surface);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-rules h2{display:flex;align-items:center;gap:10px;margin:0;padding-inline-end:18px;border-inline-end:1px solid var(--cx-line);font-size:16px;font-weight:900;color:var(--cx-ink);white-space:nowrap}
body.cx .cx-rules h2 svg{color:var(--cx-gold)}
body.cx .cx-rules p{margin:0;font-size:13.5px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .cx-rules .cx-hold{display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;background:var(--cx-peach);color:var(--cx-peach-ink);font-size:12.5px;font-weight:700}
body.cx .cx-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.cx .cx-chip{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--cx-line);border-radius:16px;background:var(--cx-card)}
body.cx .cx-chip>svg{flex:none;color:var(--cx-gold)}
body.cx .cx-chip b{font-size:14.5px;font-weight:800;color:var(--cx-ink);overflow-wrap:anywhere}
body.cx .cx-checks{list-style:none;margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--cx-line);display:grid;gap:10px}
body.cx .cx-checks li{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:700;color:var(--cx-ink-2)}
body.cx .cx-checks svg{flex:none;width:22px;height:22px;padding:3px;border:1px solid var(--cx-gold-soft);border-radius:50%;color:var(--cx-gold)}
body.cx .cx-details{display:grid;margin:0}
body.cx .cx-details>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--cx-line-2)}
body.cx .cx-details>div:last-child{border-bottom:0}
body.cx .cx-details dt{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--cx-muted)}
body.cx .cx-details dt svg{color:var(--cx-ink-2)}
body.cx .cx-details dd{margin:0;font-size:14px;font-weight:800;color:var(--cx-ink);text-align:left;overflow-wrap:anywhere}

/* ---- the booking page: the dark bar ------------------------------------------------------------------------------ */
body.cx .cx-bar{position:relative;z-index:6;background:linear-gradient(100deg,var(--cx-bar),var(--cx-bar-2));color:var(--cx-on-bar)}
body.cx .cx-bar-in{max-width:1320px;height:66px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:24px}
body.cx .cx-brand{flex:none;font:italic 42px/1 CxDisplay,Georgia,serif;color:var(--cx-on-bar);letter-spacing:-.5px}
body.cx .cx-bar-info{display:flex;align-items:center;gap:16px;min-width:0;font-size:14px;font-weight:700;color:color-mix(in srgb,var(--cx-on-bar) 88%,transparent)}
body.cx .cx-bar-item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
body.cx .cx-bar-area{padding-inline-start:16px;border-inline-start:1px solid rgba(255,255,255,.22)}
body.cx .cx-open{display:inline-flex;align-items:center;gap:8px;margin:0;padding:6px 14px;border:1px solid rgba(150,210,165,.55);border-radius:99px;
  background:rgba(40,110,72,.28);color:#eaf7ee;font-size:13px;font-weight:800;white-space:nowrap}
body.cx .cx-open i{width:8px;height:8px;border-radius:50%;background:#5cc884;box-shadow:0 0 0 3px rgba(92,200,132,.25)}
body.cx .cx-open.later i{background:#e6b95c;box-shadow:0 0 0 3px rgba(230,185,92,.25)}
body.cx .cx-open.closed{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.08)}
body.cx .cx-open.closed i{background:#cdb5b5;box-shadow:none}
body.cx .cx-bar-acts{display:flex;align-items:center;gap:10px;margin-inline-start:auto}
body.cx .cx-bar .btn,body.cx .cx-bar .directions>summary{min-height:40px;padding:0 16px;border:1px solid rgba(255,255,255,.3);border-radius:99px;background:transparent;
  color:var(--cx-on-bar);font-size:13.5px;box-shadow:none}
body.cx .cx-bar .btn:hover,body.cx .cx-bar .directions>summary:hover{background:rgba(255,255,255,.09)}
body.cx .cx-bar .directions{position:relative}
body.cx .cx-bar .directions-apps{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:20}

/* ---- the booking page: the salon and the steps -------------------------------------------------------------------- */
body.cx .cx-book{max-width:1320px;margin:0 auto;padding:0 28px 32px}
body.cx .cx-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:300px;margin-inline:calc(50% - 50vw);
  padding:36px max(28px,calc(50vw - 632px)) 88px}
body.cx .cx-hero-art{position:absolute;inset:0;z-index:-2;background:var(--hero) left center/cover no-repeat;
  -webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent);mask-image:linear-gradient(to bottom,#000 72%,transparent)}
body.cx .cx-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to left,var(--cx-bg-2) 24%,color-mix(in srgb,var(--cx-bg-2) 70%,transparent) 48%,transparent 68%)}
body.cx .cx-hero::after{content:"";position:absolute;top:0;right:0;z-index:-1;width:min(300px,24vw);height:310px;background:var(--blossom) right top/contain no-repeat;mix-blend-mode:multiply;opacity:.95;
  -webkit-mask-image:radial-gradient(120% 100% at 100% 0,#000 55%,transparent 82%);mask-image:radial-gradient(120% 100% at 100% 0,#000 55%,transparent 82%)}
body.cx .cx-hero-id{display:flex;align-items:center;gap:22px;max-width:660px}
body.cx .cx-hero h1{margin:0;font-size:clamp(30px,3.2vw,48px);font-weight:900;line-height:1.35;color:var(--cx-ink);letter-spacing:-1px;text-wrap:balance}
body.cx .cx-hero p{margin:6px 0 0;font-size:clamp(15px,1.3vw,19px);line-height:1.8;color:var(--cx-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.cx .cx-emblem{position:relative;display:grid;place-items:center;flex:none;width:84px;height:84px;color:var(--cx-gold)}
body.cx .cx-emblem>.beauty-icon{position:absolute;inset:0;width:84px;height:84px}
body.cx .cx-emblem .rv-avatar{position:relative;width:50px;height:50px;border:0;border-radius:50%;background:transparent;color:var(--cx-accent);font-size:28px;font-weight:900;box-shadow:none}
body.cx .cx-emblem img.rv-avatar{object-fit:cover}
body.cx .cx-hero.is-compact{min-height:0;margin-inline:0;padding:30px 0 6px;justify-content:center}
body.cx .cx-hero.is-compact .cx-hero-id{max-width:none}
body.cx .cx-hero.is-compact h1{font-size:clamp(26px,2.4vw,36px)}
body.cx .cx-hero.is-compact::before,body.cx .cx-hero.is-compact::after{display:none}
body.cx .cx-steps{position:relative;z-index:3;max-width:900px;margin:-50px auto 34px;padding:8px 28px;border:1px solid var(--cx-line);border-radius:99px;
  background:color-mix(in srgb,var(--cx-surface) 92%,transparent);box-shadow:var(--cx-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.cx .is-step2 .cx-steps,body.cx .is-step3 .cx-steps{margin-top:18px}
body.cx .cx-steps ol{display:flex;align-items:center;margin:0;padding:0;list-style:none}
body.cx .cx-steps li{display:flex;align-items:center;flex:1;gap:12px;color:var(--cx-muted);font-size:16px;font-weight:800}
body.cx .cx-steps li:not(:last-child)::after{content:"";flex:1;height:1px;margin-inline:10px 4px;background:var(--cx-line)}
body.cx .cx-steps li:last-child{flex:0 0 auto}
body.cx .cx-steps li>a,body.cx .cx-steps li>span{display:flex;align-items:center;gap:12px;padding:6px 6px 10px;border-bottom:2px solid transparent;color:inherit;white-space:nowrap}
body.cx .cx-steps b{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--cx-accent-soft);color:var(--cx-ink-2);font-size:15px;font-weight:900}
body.cx .cx-steps li:not(.on):not(.done) b{background:var(--cx-accent-soft);color:var(--cx-ink-2)}  /* beats studio.css's peach circles (stageshow class-clash) */
body.cx .cx-steps .on{color:var(--cx-accent)}
body.cx .cx-steps .on>span{border-color:var(--cx-accent)}
body.cx .cx-steps .on b{background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff;box-shadow:0 6px 14px var(--cx-accent-ring)}
body.cx .cx-steps .done b{background:var(--cx-ok-bg);color:var(--cx-ok)}
body.cx .cx-steps a:hover{color:var(--cx-accent)}

/* ---- step 1: services and the summary card ------------------------------------------------------------------------ */
body.cx .cx-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:34px;align-items:start}
body.cx .cx-main{min-width:0}
body.cx .cx-aside{position:sticky;top:20px}
body.cx .cx-intro{margin:0 0 20px}
body.cx .cx-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
body.cx .rv-service{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr) auto;grid-template-areas:"pic name radio" "pic name price" "desc desc desc";
  align-items:start;gap:4px 16px;min-width:0;min-height:112px;padding:10px;border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-surface);
  box-shadow:0 1px 0 var(--cx-line-2);color:var(--cx-ink);transition:border-color .18s,background .18s,box-shadow .18s,transform .14s}
body.cx .rv-service:hover{border-color:var(--cx-gold-soft);box-shadow:var(--cx-shadow-sm)}
body.cx .rv-service.selected{border:2px solid var(--cx-accent);padding:9px;background:var(--cx-accent-soft);box-shadow:0 12px 26px var(--cx-accent-ring)}
body.cx .cx-svc-pic{grid-area:pic;align-self:stretch;display:block;height:92px;overflow:hidden;border-radius:13px;background:var(--cx-accent-soft)}
body.cx .cx-svc-pic img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
body.cx .rv-service:hover .cx-svc-pic img{transform:scale(1.04)}
body.cx .rv-service-name{grid-area:name;display:flex;flex-direction:column;gap:3px;padding-top:6px;min-width:0}
body.cx .rv-service-name b{font-size:16.5px;font-weight:900;line-height:1.5;color:var(--cx-ink)}
body.cx .rv-service-name small{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--cx-muted)}
body.cx .rv-service-name small svg{color:var(--cx-muted)}
body.cx .cx-svc-dep{font-size:12.5px!important}
body.cx .rv-radio{grid-area:radio;display:grid;place-items:center;width:24px;height:24px;margin:6px 2px 0 4px;border:1.5px solid color-mix(in srgb,var(--cx-muted) 60%,transparent);
  border-radius:50%;background:var(--cx-surface);color:#fff;transition:background .18s,border-color .18s}
body.cx .rv-service.selected .rv-radio{border-color:var(--cx-accent);background:var(--cx-accent)}
body.cx .cx-svc-price{grid-area:price;align-self:end;padding:0 4px 4px;font-size:16px;font-weight:900;color:var(--cx-price);white-space:nowrap}
body.cx .rv-service-desc{grid-area:desc;margin:4px 6px 2px;font-size:13px;line-height:1.8;color:var(--cx-muted)}
body.cx .cx-summary{position:relative;overflow:hidden;isolation:isolate;padding:26px 24px 24px;border:1px solid color-mix(in srgb,var(--cx-sum-a) 70%,#fff);border-radius:24px;
  background:linear-gradient(150deg,var(--cx-sum-a),var(--cx-sum-b));color:#fff;box-shadow:0 22px 44px var(--cx-accent-ring)}
body.cx .cx-summary::after{content:"";position:absolute;inset:auto -10% -40px -10%;z-index:-1;height:120px;border-radius:50% 50% 0 0/40% 40% 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.02))}
body.theme-men.cx .cx-summary::after{inset:auto auto 0 0;width:46%;height:52%;border-radius:0;background:var(--sum-art) center/cover no-repeat;opacity:.55;
  -webkit-mask-image:linear-gradient(to top right,#000 30%,transparent 80%);mask-image:linear-gradient(to top right,#000 30%,transparent 80%)}
body.cx .cx-summary h2{display:flex;align-items:center;gap:10px;margin:0;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.2);font-size:18px;font-weight:900;color:#fff}
body.cx .cx-summary h2 svg{color:var(--cx-gold-soft)}
body.cx .cx-sum-main{display:flex;align-items:center;gap:14px;padding:18px 0 6px}
body.cx .cx-sum-ic{display:grid;place-items:center;flex:none;width:52px;height:52px;border:1px solid rgba(255,255,255,.3);border-radius:16px;background:rgba(255,255,255,.08);color:#fff}
body.cx .cx-sum-ic .beauty-icon{width:34px;height:34px}
body.cx .cx-sum-main small{display:block;font-size:12.5px;color:rgba(255,255,255,.72)}
body.cx .cx-sum-main b{display:block;font-size:20px;font-weight:900;line-height:1.5}
body.cx .cx-summary dl{display:grid;margin:8px 0 18px}
body.cx .cx-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.14)}
body.cx .cx-summary dt{display:flex;align-items:center;gap:8px;font-size:13.5px;color:rgba(255,255,255,.8)}
body.cx .cx-summary dd{margin:0;font-size:14.5px;font-weight:800}
body.cx .cx-summary .btn{min-height:54px;border:0;border-radius:16px;background:var(--cx-sum-cta);color:var(--cx-sum-cta-ink);box-shadow:0 10px 24px rgba(0,0,0,.18)}
body.cx .rv-summary-hint{margin:10px 0 26px;font-size:14px;line-height:1.9;color:rgba(255,255,255,.85)}
body.cx .cx-summary .notice{margin-top:14px}

/* ---- the «about the salon» row ----------------------------------------------------------------------------------- */
body.cx .cx-about{margin-top:26px}
body.cx .cx-about>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:stretch;gap:14px}
body.cx .cx-about>summary::-webkit-details-marker{display:none}
body.cx .cx-about:not(.has-photos)>summary{grid-template-columns:minmax(0,1fr)}
body.cx .cx-about-txt{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:18px 22px 18px 60px;border:1px solid var(--cx-line);border-radius:18px;
  background:linear-gradient(120deg,var(--cx-accent-soft),var(--cx-surface));position:relative}
body.cx .cx-about-txt b{font-size:16px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-about-txt small{font-size:13px;color:var(--cx-muted)}
body.cx .cx-about-go{position:relative;z-index:1;grid-column:1;grid-row:1;align-self:center;justify-self:end;display:grid;place-items:center;width:36px;height:36px;margin-inline-end:16px;border-radius:50%;
  background:var(--cx-surface);color:var(--cx-ink);box-shadow:var(--cx-shadow-sm);transition:transform .25s}
body.cx .cx-about[open] .cx-about-go{transform:rotate(-90deg)}
body.cx .cx-about-strip{grid-column:2;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;min-height:96px}
body.cx .cx-about-strip img{width:100%;height:100%;min-height:96px;max-height:120px;object-fit:cover;border-radius:16px}
body.cx .cx-about-body{margin-top:14px;padding:22px;border:1px solid var(--cx-line);border-radius:20px;background:var(--cx-surface)}
body.cx .cx-about-body>p{margin:0 0 10px;line-height:1.9;color:var(--cx-ink-2)}

/* ---- steps 2 and 3: one card next to a tall photo ---------------------------------------------------------------- */
body.cx .cx-layout.is-photo{grid-template-columns:minmax(0,1fr) minmax(280px,36%);gap:28px}
body.cx .cx-side{position:sticky;top:20px;align-self:stretch;min-height:560px;max-height:min(780px,calc(100vh - 120px));overflow:hidden;border-radius:26px;background:var(--side) center/cover no-repeat,var(--cx-accent-soft);
  box-shadow:var(--cx-shadow)}
body.cx .cx-side.has-card{display:flex;align-items:flex-start;justify-content:center;padding:26px}
body.cx .cx-side-card{max-width:300px;padding:24px;border-radius:22px;background:color-mix(in srgb,var(--cx-surface) 86%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:var(--cx-shadow-sm);text-align:center}
body.cx .cx-side-card .cx-tile{margin:0 auto 12px}
body.cx .cx-side-card h2{margin:0 0 6px;font-size:21px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-side-card p{margin:0;font-size:13.5px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .cx-side-card .cx-checks{text-align:right}
body.cx .cx-when{display:grid;gap:0}
body.cx .cx-when>.cx-head{margin-bottom:18px}
body.cx .cx-row{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:start;gap:16px;padding:18px 0;border-top:1px solid var(--cx-line-2)}
body.cx .cx-row-label{display:flex;align-items:center;gap:10px;min-height:46px;font-size:15px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-row-label svg{color:var(--cx-gold)}
body.cx .staff-pick{display:flex;flex-wrap:wrap;gap:10px}
body.cx :is(.rv-staff, .cx-visit-options) .pill{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;border:1px solid var(--cx-line);border-radius:99px;background:var(--cx-surface);
  color:var(--cx-ink);font-size:14px;font-weight:800;transition:background .15s,border-color .15s,color .15s}
body.cx :is(.rv-staff, .cx-visit-options) .pill:hover{border-color:var(--cx-gold-soft)}
body.cx :is(.rv-staff, .cx-visit-options) .pill.on{border-color:transparent;background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff}
body.cx .rv-staff .pill.on svg{background:#fff;color:var(--cx-accent);border-radius:50%;padding:2px}
body.cx .rv-staff .staff-avatar{width:30px;height:30px;border-radius:50%;font-size:12px}
body.cx .cx-days{display:flex;align-items:center;gap:8px;min-width:0}
body.cx .days{display:flex;gap:10px;min-width:0;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:4px 2px 8px}
body.cx .days::-webkit-scrollbar{display:none}
body.cx .days .day{flex:0 0 74px;display:flex;flex-direction:column;align-items:center;gap:1px;padding:10px 4px;border:1px solid var(--cx-line);border-radius:16px;background:var(--cx-surface);
  color:var(--cx-ink);transition:background .15s,border-color .15s,color .15s}
body.cx .days .day span{font-size:12px;color:var(--cx-muted)}
body.cx .days .day b{font-size:20px;font-weight:900;line-height:1.4}
body.cx .days .day small{font-size:12px;color:var(--cx-muted)}
body.cx .days .day em{font-style:normal;font-size:11.5px;color:var(--cx-muted)}
body.cx .days .day:hover{border-color:var(--cx-gold-soft)}
body.cx .days .day.on{border-color:transparent;background:linear-gradient(160deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff;box-shadow:0 10px 20px var(--cx-accent-ring)}
body.cx .days .day.on span,body.cx .days .day.on small{color:rgba(255,255,255,.82)}
body.cx .days .day.off{opacity:.55}
body.cx .cx-days-btn{flex:none;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--cx-line);border-radius:50%;background:var(--cx-surface);color:var(--cx-ink);cursor:pointer}
body.cx .cx-days-btn:hover{border-color:var(--cx-gold-soft)}
body.cx .cx-slots{display:grid;gap:14px;min-width:0}
body.cx .rv-slot-row h3{margin:0 0 8px;font-size:13px;font-weight:800;color:var(--cx-muted)}
body.cx .slots{display:flex;flex-wrap:wrap;gap:10px}
body.cx .slots .slot{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:96px;min-height:46px;padding:0 16px;border:1px solid var(--cx-line);border-radius:99px;
  background:var(--cx-surface);color:var(--cx-ink);font-size:15px;font-weight:900;font-variant-numeric:tabular-nums;transition:background .15s,border-color .15s,color .15s}
body.cx .slots .slot:hover{border-color:var(--cx-accent);color:var(--cx-accent)}
body.cx .slots .slot.on{border-color:transparent;background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff}
body.cx .cx-wait{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid var(--cx-line-2);font-size:14.5px;font-weight:800;color:var(--cx-ink-2)}
body.cx .cx-wait .btn{border-radius:99px}
body.cx .cx-when .cx-rules{margin-top:6px;box-shadow:none;background:var(--cx-card)}
body.cx .cx-card-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
body.cx .cx-card-foot .btn{min-width:min(360px,100%);min-height:56px;border-radius:16px;font-size:16px}
body.cx .cx-back{display:inline-flex;align-items:center;gap:6px;font-size:14.5px;font-weight:800;color:var(--cx-ink-2)}
body.cx .cx-back:hover{color:var(--cx-accent)}
body.cx .cx-foot-hint{font-size:14px;color:var(--cx-muted)}
body.cx .rv-confirm .cx-card{display:grid;gap:22px}
body.cx .rv-confirm .cx-intro{margin:0}
body.cx .rv-phone-form{display:grid;gap:4px;padding-top:6px;border-top:1px solid var(--cx-line-2)}
body.cx .rv-phone-form .field>.label{padding-top:16px;font-size:20px;font-weight:900}
body.cx .rv-phone-form .cx-input input{min-height:58px;font-size:18px;letter-spacing:.5px}
body.cx .rv-phone-form .btn{margin-top:14px;min-height:58px;font-size:16.5px;border-radius:16px}
body.cx .cx-confirm{display:grid;gap:16px}
body.cx .cx-money{display:flex;flex-wrap:wrap;gap:10px;margin:0}
body.cx .cx-money>div{display:flex;align-items:baseline;gap:8px;padding:10px 14px;border-radius:12px;background:var(--cx-card);border:1px solid var(--cx-line-2)}
body.cx .cx-money dt{font-size:12.5px;color:var(--cx-muted)}
body.cx .cx-money dd{margin:0;font-size:14px;font-weight:900;color:var(--cx-price)}
body.cx .cx-form{gap:14px}
body.cx .cx-form-title{display:flex;align-items:center;gap:10px;margin:6px 0 2px;padding-top:16px;border-top:1px solid var(--cx-line-2);font-size:19px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-form-title svg{color:var(--cx-gold)}
body.cx .cx-form .notice{margin:4px 0 0}
body.cx .cx-form .btn-lg{margin-top:6px}

/* ---- older cards inside these pages (ui.card: extras, aftercare, reminders) ---------------------------------------- */
body.cx .card{margin:0;padding:22px;border:1px solid var(--cx-line);border-radius:22px;background:var(--cx-surface);box-shadow:var(--cx-shadow-sm)}
body.cx .card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
body.cx .card-title h2{margin:0;font-size:17px;font-weight:900;color:var(--cx-ink)}
body.cx .card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--cx-accent-soft);color:var(--cx-accent)}
body.cx .card-heading{display:flex;align-items:center;gap:12px}
body.cx .kv-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--cx-line-2);font-size:14px}
body.cx .kv-row:last-child{border-bottom:0}

/* ---- the appointment page (/a/<code>) ----------------------------------------------------------------------------- */
body.cx .cx-wrap{max-width:1320px;margin:0 auto;padding:0 28px 32px}
body.cx .cx-bar-salon{color:var(--cx-on-bar);font-weight:800}
body.cx .cx-bar-salon:hover{text-decoration:underline;text-underline-offset:5px}
body.cx .cx-steps.is-flat{margin:26px auto 24px}
body.cx .cx-appt-grid{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:26px;align-items:start;margin-top:26px}
body.cx .cx-steps.is-flat+.cx-appt-grid{margin-top:0}
body.cx .cx-appt-main{display:grid;gap:20px;min-width:0}
body.cx .cx-appt-side{display:grid;gap:16px;min-width:0}
body.cx .cx-side-card-sm{padding:22px}
body.cx .cx-side-card-sm .cx-head{margin-bottom:6px}
body.cx .cx-side-card-sm .cx-head h2{font-size:18px}
body.cx .cx-side-card-sm .cx-tile{width:40px;height:40px;border-radius:13px}
body.cx .cx-code{font-weight:900;letter-spacing:.5px}
body.cx .cx-copy{display:inline-grid;place-items:center;width:30px;height:30px;margin-inline-start:6px;border:1px solid var(--cx-line);border-radius:9px;background:var(--cx-surface);
  color:var(--cx-ink-2);cursor:pointer;vertical-align:middle}
body.cx .cx-copy:hover{border-color:var(--cx-gold-soft)}
body.cx .cx-addr{margin:6px 0 12px;font-size:14px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .cx-side-acts{display:grid;gap:10px}
body.cx .cx-side-acts .btn{min-height:50px;border-radius:99px}
body.cx .cx-side-acts .btn-danger{background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));border:0;color:#fff}
body.cx .cx-appt-side .cx-rules{grid-template-columns:minmax(0,1fr);margin:0}
body.cx .cx-appt-side .cx-rules h2{padding:0;border:0}
body.cx .cx-stage{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);min-height:260px;
  border:1px solid var(--cx-line);border-radius:26px;background:linear-gradient(120deg,var(--cx-surface),var(--cx-bg-2));box-shadow:var(--cx-shadow)}
body.cx .cx-stage-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:34px 36px}
body.cx .cx-stage h1{margin:4px 0 0;font-size:clamp(24px,2.4vw,34px);font-weight:900;line-height:1.4;color:var(--cx-ink);letter-spacing:-.5px;text-wrap:balance}
body.cx .cx-stage p{margin:0;font-size:15px;line-height:1.9;color:var(--cx-muted)}
body.cx .cx-stage-pic{background:var(--stage) center/cover no-repeat;-webkit-mask-image:linear-gradient(to left,transparent,#000 28%);mask-image:linear-gradient(to left,transparent,#000 28%)}
body.cx .cx-timer{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:10px 18px;border:1px solid var(--cx-line);border-radius:16px;background:var(--cx-surface);
  font-size:14px;font-weight:800;color:var(--cx-ink-2);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-timer svg{color:var(--cx-gold)}
body.cx .cx-timer .countdown{font-size:24px;font-weight:900;color:var(--cx-accent);font-variant-numeric:tabular-nums;letter-spacing:1px}
body.cx .cx-stage.is-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:440px}
body.cx .cx-stage.is-photo .cx-stage-copy{align-items:center;text-align:center;padding:44px 32px}
body.cx .cx-glass{display:grid;place-items:center;width:132px;height:132px;margin-bottom:8px;border:1px solid rgba(255,255,255,.8);border-radius:50%;
  background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.95),color-mix(in srgb,var(--cx-accent-soft) 70%,#fff));color:var(--cx-accent);
  box-shadow:0 24px 50px var(--cx-accent-ring),inset 0 0 0 10px rgba(255,255,255,.5)}
body.cx .cx-glass svg{width:56px;height:56px}
body.cx .st-confirmed .cx-glass{background:radial-gradient(circle at 35% 30%,#fff,var(--cx-accent-soft));color:var(--cx-accent)}
body.cx .cx-when-line{display:inline-flex!important;align-items:center;gap:8px;font-weight:800;color:var(--cx-ink-2)!important}
body.cx .cx-when-line svg{color:var(--cx-gold)}
body.cx .cx-stage.is-photo .btn{margin-top:10px;min-height:52px;border-radius:99px;padding:0 26px}
body.cx .cx-seal{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#e7c3b5,#b88573);color:#fff;
  box-shadow:0 12px 24px rgba(160,100,80,.25),inset 0 0 0 4px rgba(255,255,255,.35)}
body.theme-men.cx .cx-seal{background:linear-gradient(135deg,#d3b58b,#9a6c3d)}
body.cx .cx-stage-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
body.cx .cx-stage-acts .btn{min-height:50px;border-radius:99px;padding:0 22px}
body.cx .cx-stage.is-plain{grid-template-columns:minmax(0,1fr);min-height:0}
body.cx .cx-pay{display:grid;gap:16px}
body.cx .cx-pay .cx-head{margin-bottom:2px}
body.cx .cx-paygrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:14px}
body.cx .cx-paycard{display:grid;gap:10px;padding:18px 20px;border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-card)}
body.cx .cx-payrow{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--cx-muted)}
body.cx .cx-payrow.is-holder>span{display:inline-flex;align-items:center;gap:6px}
body.cx .cx-payrow b{color:var(--cx-ink)}
body.cx .cx-paycard .cardnum{font-size:clamp(20px,2vw,26px);font-weight:900;letter-spacing:2px;color:var(--cx-ink);text-align:center;font-variant-numeric:tabular-nums;
  padding:12px 10px;border:1px dashed var(--cx-line);border-radius:14px;background:var(--cx-surface)}
body.cx .holder-ok{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--cx-ok)}
body.cx .cx-payamount{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:18px;border-radius:18px;
  background:linear-gradient(160deg,var(--cx-accent-soft),color-mix(in srgb,var(--cx-accent-soft) 40%,var(--cx-surface)));border:1px solid var(--cx-line);text-align:center}
body.cx .cx-payamount>span{font-size:13px;font-weight:800;color:var(--cx-accent)}
body.cx .cx-payamount strong{font-size:clamp(26px,2.6vw,34px);font-weight:900;color:var(--cx-accent);line-height:1.3;font-variant-numeric:tabular-nums}
body.cx .cx-payamount strong small{font-size:14px;font-weight:800}
body.cx .cx-payamount>small{font-size:12px;color:var(--cx-muted)}
body.cx .cx-payamount .btn{margin-top:6px;min-height:36px}
body.cx .or{display:flex;align-items:center;gap:12px;color:var(--cx-muted);font-size:13px;font-weight:800}
body.cx .or::before,body.cx .or::after{content:"";flex:1;height:1px;background:var(--cx-line)}
body.cx .cx-sub{display:flex;align-items:center;gap:8px;margin:8px 0 0;padding-top:16px;border-top:1px solid var(--cx-line-2);font-size:17px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-sub svg{color:var(--cx-gold)}
body.cx .cx-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:190px;padding:26px;
  border:2px dashed color-mix(in srgb,var(--cx-accent) 30%,var(--cx-line));border-radius:20px;background:var(--cx-card);color:var(--cx-ink-2);text-align:center;
  font-size:15px;font-weight:800;cursor:pointer;transition:background .2s,border-color .2s}
body.cx .cx-drop:hover,body.cx .cx-drop:focus-within{border-color:var(--cx-accent);background:var(--cx-accent-soft)}
body.cx .cx-drop>small{font-size:12.5px;font-weight:600;color:var(--cx-muted)}
body.cx .cx-drop-ic{display:grid;place-items:center;width:62px;height:62px;margin-bottom:4px;border-radius:50%;background:var(--cx-surface);color:var(--cx-accent);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-drop.picked{border-style:solid;border-color:var(--cx-ok);background:var(--cx-ok-bg);color:var(--cx-ok)}
body.cx .cx-fpair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:1000px){
  body.cx .cx-appt-grid{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-stage,body.cx .cx-stage.is-photo{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-stage-pic{position:absolute;inset:0;z-index:0;opacity:.22;-webkit-mask-image:none;mask-image:none}
  body.cx .cx-stage.is-photo{min-height:0}
}
@media (max-width:640px){
  body.cx .cx-wrap{padding:0 16px 24px}
  body.cx .cx-stage-copy{padding:24px 20px}
  body.cx .cx-glass{width:96px;height:96px}
  body.cx .cx-glass svg{width:42px;height:42px}
  body.cx .cx-paygrid,body.cx .cx-fpair{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-steps.is-flat{margin:16px 0}
}

/* ---- the customer's account (/customer/...) and the salon's shop, waitlist and photo-quote pages ------------------ */
body.cx .cx-bar form{margin:0}
body.cx .cx-bell{position:relative;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.3);border-radius:50%;color:var(--cx-on-bar)}
body.cx .cx-bell:hover{background:rgba(255,255,255,.09)}
body.cx .cx-bell i{position:absolute;top:-4px;left:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:#e0546f;color:#fff;font:800 11px/19px var(--font,inherit);
  font-style:normal;text-align:center;box-shadow:0 0 0 2px var(--cx-bar)}
body.cx .cx-banner{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;min-height:200px;margin-top:24px;padding:30px 44px 56px;
  border:1px solid var(--cx-line);border-radius:28px;background:linear-gradient(90deg,var(--cx-bg-2),var(--cx-accent-soft));box-shadow:var(--cx-shadow-sm)}
body.cx .cx-banner::before{content:"";position:absolute;inset:0 auto 0 0;z-index:-1;width:62%;background:var(--banner) left center/cover no-repeat;
  -webkit-mask-image:linear-gradient(to left,transparent,#000 42%);mask-image:linear-gradient(to left,transparent,#000 42%)}
body.cx .cx-banner-copy{max-width:520px}
body.cx .cx-hi{margin:0;font-size:clamp(28px,3vw,42px);font-weight:900;line-height:1.4;color:var(--cx-ink);letter-spacing:-.6px}
body.cx .cx-banner-copy p:not(.cx-hi){margin:4px 0 0;font-size:16px;color:var(--cx-muted)}
body.cx .cx-rule{display:block;width:46px;height:3px;margin-top:14px;border-radius:3px;background:linear-gradient(90deg,var(--cx-gold),var(--cx-accent))}
body.cx .cx-tabs{position:relative;z-index:3;display:flex;justify-content:center;gap:4px;width:max-content;max-width:100%;margin:-34px auto 28px;padding:7px;
  border:1px solid var(--cx-line);border-radius:99px;background:color-mix(in srgb,var(--cx-surface) 94%,transparent);box-shadow:var(--cx-shadow);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow-x:auto;scrollbar-width:none}
body.cx .cx-tabs::-webkit-scrollbar{display:none}
body.cx .cx-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 22px;border-radius:99px;color:var(--cx-ink-2);font-size:15px;font-weight:800;white-space:nowrap;
  transition:background .18s,color .18s}
body.cx .cx-tabs a svg{color:var(--cx-muted)}
body.cx .cx-tabs a:hover{background:var(--cx-accent-soft);color:var(--cx-accent)}
body.cx .cx-tabs a.on{background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff;box-shadow:0 8px 18px var(--cx-accent-ring)}
body.cx .cx-tabs a.on svg{color:#fff}
body.cx .cx-acct-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
body.cx .cx-acct-grid.is-one{grid-template-columns:minmax(0,1fr);max-width:980px;margin-inline:auto}
body.cx .cx-banner+.cx-acct-grid{margin-top:26px}
body.cx .cx-acct-main{display:grid;gap:18px;min-width:0}
body.cx .cx-acct-main>.cx-head{margin-bottom:2px}
body.cx .cx-acct-main>.cx-head .cx-tile{width:50px;height:50px;border-radius:16px}
body.cx .cx-acct-side{display:grid;gap:16px;position:sticky;top:20px}
body.cx .cx-profile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:26px 22px 14px;text-align:center}
body.cx .cx-avatar-wrap{position:relative}
body.cx .cx-avatar-wrap .photo-avatar{display:grid;place-items:center;width:104px;height:104px;overflow:hidden;border:4px solid var(--cx-surface);border-radius:50%;
  background:linear-gradient(150deg,var(--cx-accent-soft),color-mix(in srgb,var(--cx-gold-soft) 60%,#fff));color:var(--cx-accent);font-size:38px;font-weight:900;
  box-shadow:0 0 0 1px var(--cx-gold-soft),0 12px 26px var(--cx-accent-ring)}
body.cx .cx-avatar-wrap .photo-avatar img{width:100%;height:100%;object-fit:cover}
body.cx .cx-cam{position:absolute;bottom:2px;left:2px;display:grid;place-items:center;width:32px;height:32px;border:2px solid var(--cx-surface);border-radius:50%;
  background:var(--cx-accent);color:#fff}
body.cx .cx-profile h2{margin:6px 0 0;font-size:20px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:99px;background:var(--cx-accent-soft);color:var(--cx-accent);font-size:12.5px;font-weight:800}
body.cx .cx-profile .cx-details{width:100%;margin-top:8px;border-top:1px solid var(--cx-line-2);text-align:right}
body.cx .cx-gift{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;gap:6px;min-height:200px;padding:24px 22px;border-radius:24px;
  background:linear-gradient(160deg,var(--cx-sum-a),var(--cx-sum-b));color:#fff;box-shadow:0 18px 36px var(--cx-accent-ring)}
body.cx .cx-gift::before{content:"";position:absolute;inset:auto 0 0 0;z-index:-1;height:62%;background:var(--gift) left bottom/cover no-repeat;opacity:.9;
  -webkit-mask-image:linear-gradient(to top,#000 40%,transparent);mask-image:linear-gradient(to top,#000 40%,transparent)}
body.cx .cx-gift-ic{display:grid;place-items:center;width:44px;height:44px;margin-bottom:4px;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:rgba(255,255,255,.1)}
body.cx .cx-gift b{font-size:18px;font-weight:900}
body.cx .cx-gift small{max-width:210px;font-size:13px;line-height:1.8;color:rgba(255,255,255,.85)}
body.cx .cx-gift-go{position:absolute;bottom:18px;left:18px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--cx-accent)}
body.cx .cx-gift:hover .cx-gift-go{transform:translateX(-3px)}
body.cx .cx-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:34px;padding-top:18px;border-top:1px solid var(--cx-line);font-size:13px;color:var(--cx-muted)}
body.cx .cx-foot a{color:var(--cx-muted)}
body.cx .cx-foot a:hover{color:var(--cx-accent)}
@media (max-width:1000px){
  body.cx .cx-acct-grid{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-acct-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  body.cx .cx-banner{min-height:150px;margin-top:14px;padding:22px 20px 48px;border-radius:22px}
  body.cx .cx-banner::before{width:100%;opacity:.35}
  body.cx .cx-tabs{width:auto;justify-content:flex-start;margin:-30px 0 20px}
  body.cx .cx-tabs a{padding:0 14px;font-size:14px}
  body.cx .cx-acct-side{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-bar .cx-bell{width:36px;height:36px}
  body.cx .cx-bar form .btn{display:none}
  body.cx .cx-foot{flex-direction:column}
}

/* ---- account lists: appointments (11) and messages (14) --------------------------------------------------------- */
body.cx .cx-list{display:grid;gap:16px;padding:22px}
body.cx .cx-switch{display:inline-flex;gap:4px;width:max-content;padding:5px;border:1px solid var(--cx-line);border-radius:99px;background:var(--cx-card)}
body.cx .cx-switch a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 18px;border-radius:99px;color:var(--cx-ink-2);font-size:14px;font-weight:800}
body.cx .cx-switch a b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:99px;background:var(--cx-line-2);font-size:12px}
body.cx .cx-switch a[aria-current]{background:var(--cx-surface);color:var(--cx-accent);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-switch a[aria-current] b{background:var(--cx-accent);color:#fff}
body.cx .cx-acs{display:grid;gap:14px}
body.cx .cx-ac{display:grid;grid-template-columns:170px minmax(0,1fr) 150px;grid-template-areas:"price body pic";align-items:stretch;gap:18px;padding:14px;border:1px solid var(--cx-line);border-radius:20px;
  background:var(--cx-surface);box-shadow:0 1px 0 var(--cx-line-2);transition:border-color .18s,box-shadow .18s}
body.cx .cx-ac:hover{border-color:var(--cx-gold-soft);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-ac-pic{grid-area:pic;overflow:hidden;border-radius:16px;background:var(--cx-accent-soft);min-height:130px}
body.cx .cx-ac-pic img{display:block;width:100%;height:100%;object-fit:cover}
body.cx .cx-ac-body{grid-area:body;display:flex;flex-direction:column;gap:4px;min-width:0;padding:4px 0}
body.cx .cx-ac-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;font-weight:700;color:var(--cx-muted)}
body.cx .cx-ac h2{margin:0;font-size:18px;font-weight:900;line-height:1.5;color:var(--cx-ink)}
body.cx .cx-ac-line{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;color:var(--cx-ink-2)}
body.cx .cx-ac-line svg{flex:none;color:var(--cx-gold)}
body.cx .cx-ac-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:10px}
body.cx .cx-ac-acts .btn{min-height:38px;padding:0 14px;border-radius:99px;font-size:13px}
body.cx .cx-ac-price{grid-area:price;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px 16px;border-inline-end:1px solid var(--cx-line-2);text-align:center}
body.cx .cx-ac-price small{font-size:12px;color:var(--cx-muted)}
body.cx .cx-ac-price b{font-size:18px;font-weight:900;color:var(--cx-price)}
body.cx .customer-pagination{display:flex;justify-content:center;gap:10px}
body.cx .cx-msgs{list-style:none;display:grid;gap:12px;margin:0;padding:0}
body.cx .cx-msg{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--cx-line);border-radius:20px;
  background:var(--cx-surface);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-msg.is-new{border-color:color-mix(in srgb,var(--cx-accent) 30%,var(--cx-line));background:linear-gradient(90deg,var(--cx-surface),var(--cx-accent-soft))}
body.cx .cx-msg-body b{display:block;font-size:16px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-msg-body p{margin:4px 0 0;font-size:14px;line-height:1.9;color:var(--cx-ink-2);overflow-wrap:anywhere}
body.cx .cx-msg-end{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
body.cx .cx-msg-end small{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--cx-muted);white-space:nowrap}
body.cx .cx-msg-end .btn{min-height:36px;border-radius:99px;padding:0 14px;border-color:color-mix(in srgb,var(--cx-accent) 25%,var(--cx-line));color:var(--cx-accent)}
body.cx .cx-linkrow{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-surface);color:var(--cx-ink)}
body.cx .cx-linkrow>span:nth-child(2){flex:1;display:flex;flex-direction:column}
body.cx .cx-linkrow b{font-size:15px;font-weight:900}
body.cx .cx-linkrow small{font-size:12.5px;color:var(--cx-muted)}
body.cx .cx-linkrow:hover{border-color:var(--cx-gold-soft)}
@media (max-width:760px){
  body.cx .cx-ac{grid-template-columns:minmax(0,1fr) 96px;grid-template-areas:"body pic" "price pic";gap:12px}
  body.cx .cx-ac-pic{min-height:96px}
  body.cx .cx-ac-price{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:8px;padding:0;border:0;text-align:right}
  body.cx .cx-msg{grid-template-columns:auto minmax(0,1fr)}
  body.cx .cx-msg-end{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
}

body.cx .cx-again{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px 28px;
  border-radius:24px;background:linear-gradient(110deg,var(--cx-sum-a),var(--cx-sum-b));color:#fff;box-shadow:0 18px 36px var(--cx-accent-ring)}
body.cx .cx-again::before{content:"";position:absolute;inset:0 auto 0 0;z-index:-1;width:46%;background:var(--again) left center/cover no-repeat;opacity:.5;
  -webkit-mask-image:linear-gradient(to left,transparent,#000 60%);mask-image:linear-gradient(to left,transparent,#000 60%)}
body.cx .cx-again h2{display:flex;align-items:center;gap:10px;margin:0;font-size:21px;font-weight:900}
body.cx .cx-again p{margin:4px 0 0;font-size:13.5px;color:rgba(255,255,255,.85)}
body.cx .cx-again-links{display:flex;flex-direction:column;gap:8px}
body.cx .cx-again .btn{min-height:44px;border:0;border-radius:99px;background:#fff;color:var(--cx-accent);box-shadow:0 8px 18px rgba(0,0,0,.15)}
@media (max-width:760px){body.cx .cx-again{grid-template-columns:minmax(0,1fr)}}

/* ---- older building blocks inside customer pages (ui.py helpers), in this look --------------------------------- */
body.cx .stack{display:flex;flex-direction:column;gap:14px}
body.cx .grid.grid-2,body.cx .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.cx .chip{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:99px;font-size:12.5px;font-weight:800;white-space:nowrap;background:var(--cx-line-2);color:var(--cx-ink-2)}
body.cx .chip-ok,body.cx .chip-done{background:var(--cx-ok-bg);color:var(--cx-ok)}
body.cx .chip-warn{background:var(--cx-peach);color:var(--cx-peach-ink)}
body.cx .chip-info{background:var(--cx-info-bg);color:var(--cx-info)}
body.cx .chip-bad,body.cx .chip-brand{background:var(--cx-accent-soft);color:var(--cx-accent)}
body.cx .empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 16px;text-align:center;color:var(--cx-muted)}
body.cx .empty>svg{display:none}
body.cx .empty::before{content:"";width:150px;height:150px;margin-bottom:6px;border-radius:50%;background:var(--cx-empty) center/80% no-repeat,radial-gradient(circle,var(--cx-accent-soft),transparent 70%)}
body.cx .empty b{font-size:19px;font-weight:900;color:var(--cx-ink)}
body.cx .empty p{margin:0;font-size:14px;line-height:1.9}
body.cx .empty .btn{margin-top:10px;border-radius:99px}
body.cx .lx-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
body.cx .lx-tile{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--cx-line);border-radius:16px;background:var(--cx-card)}
body.cx .lx-tile dt{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--cx-muted)}
body.cx .lx-tile-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--cx-accent-soft);color:var(--cx-accent)}
body.cx .lx-tile dd{margin:0;font-size:15px;font-weight:900;color:var(--cx-ink)}
body.cx details.lx-fold{padding:0;overflow:hidden}
body.cx .lx-fold>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:18px 20px;cursor:pointer}
body.cx .lx-fold>summary::-webkit-details-marker{display:none}
body.cx .lx-fold-title{flex:1;display:flex;flex-direction:column}
body.cx .lx-fold-title b{font-size:16px;font-weight:900;color:var(--cx-ink)}
body.cx .lx-fold-title small{font-size:12.5px;color:var(--cx-muted)}
body.cx .lx-fold-chev{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--cx-card);color:var(--cx-ink-2);transition:transform .25s}
body.cx .lx-fold[open] .lx-fold-chev{transform:rotate(180deg)}
body.cx .lx-fold-body{padding:0 20px 20px}
body.cx .lx-count{min-width:24px;padding:2px 8px;border-radius:99px;background:var(--cx-accent-soft);color:var(--cx-accent);font-size:12px;font-weight:800;text-align:center}
body.cx .upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:170px;padding:24px;
  border:2px dashed color-mix(in srgb,var(--cx-accent) 30%,var(--cx-line));border-radius:20px;background:var(--cx-card);color:var(--cx-ink-2);text-align:center;
  font-size:14.5px;font-weight:800;cursor:pointer;transition:background .2s,border-color .2s}
body.cx .upload:hover,body.cx .upload:focus-within{border-color:var(--cx-accent);background:var(--cx-accent-soft)}
body.cx .upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
body.cx .upload>svg{width:58px;height:58px;padding:14px;border-radius:50%;background:var(--cx-surface);color:var(--cx-accent);box-shadow:var(--cx-shadow-sm)}
body.cx .upload.picked{border-style:solid;border-color:var(--cx-ok);background:var(--cx-ok-bg);color:var(--cx-ok)}
body.cx .upload img.preview{max-height:220px;border-radius:14px;margin-top:6px}
body.cx .check{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--cx-ink-2);cursor:pointer}
body.cx .check input{width:20px;height:20px;margin:0;accent-color:var(--cx-accent)}
body.cx fieldset{min-width:0;margin:0;padding:14px 16px;border:1px solid var(--cx-line);border-radius:16px}
body.cx fieldset legend{padding:0 6px;font-size:14px;font-weight:800;color:var(--cx-ink)}
body.cx .lx-promo{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:20px;background:linear-gradient(150deg,var(--cx-sum-a),var(--cx-sum-b));color:#fff}
body.cx .lx-promo-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.12)}
body.cx .lx-promo-text{flex:1;display:flex;flex-direction:column}
body.cx .lx-promo-text small{color:rgba(255,255,255,.8)}
body.cx .notice{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid transparent;border-radius:16px;font-size:14px;line-height:1.9}
body.cx .notice-info{background:var(--cx-info-bg);color:var(--cx-info)}
body.cx .notice-warn{background:var(--cx-peach);color:var(--cx-peach-ink)}
body.cx .notice-ok{background:var(--cx-ok-bg);color:var(--cx-ok)}
body.cx .notice-bad{background:var(--cx-accent-soft);color:var(--cx-accent)}
body.cx .notice>svg{flex:none;margin-top:4px}
@media (max-width:640px){body.cx .grid.grid-2,body.cx .grid2,body.cx .lx-tiles{grid-template-columns:minmax(0,1fr)}}

/* ---- the hand-off to the payment gateway (/pay/go/<pid>) -------------------------------------------------------- */
body.cx-go-page{min-height:100vh;min-height:100dvh}
body.cx .cx-go{position:relative;isolation:isolate;display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:28px 16px;overflow:hidden}
body.cx .cx-go-glow{position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 80% at 50% 0,var(--cx-bg-2),var(--cx-bg))}
body.cx .cx-go-glow i{position:absolute;width:46vmax;height:46vmax;border-radius:50%;filter:blur(70px);opacity:.55}
body.cx .cx-go-glow i:nth-child(1){top:-18vmax;right:-12vmax;background:color-mix(in srgb,var(--cx-btn-a) 30%,transparent)}
body.cx .cx-go-glow i:nth-child(2){bottom:-22vmax;left:-14vmax;background:color-mix(in srgb,var(--cx-gold) 34%,transparent)}
body.cx .cx-go-glow i:nth-child(3){top:30%;left:30%;width:30vmax;height:30vmax;background:color-mix(in srgb,var(--cx-accent-soft) 80%,transparent)}
body.cx .cx-go-card{position:relative;width:min(520px,100%);display:flex;flex-direction:column;align-items:center;gap:14px;padding:34px 34px 26px;text-align:center;
  border:1px solid color-mix(in srgb,var(--cx-line) 80%,#fff);border-radius:32px;background:color-mix(in srgb,var(--cx-surface) 82%,transparent);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 40px 90px color-mix(in srgb,var(--cx-accent) 16%,transparent),0 2px 0 #fff inset}
body.cx .cx-go .cx-brand{font-size:40px;color:var(--cx-accent)}
body.cx .cx-go-path{display:flex;align-items:flex-start;justify-content:center;gap:8px;width:100%;margin:6px 0 4px}
body.cx .cx-go-node{display:flex;flex-direction:column;align-items:center;gap:7px;flex:none;width:74px}
body.cx .cx-go-node small{font-size:12px;font-weight:800;color:var(--cx-muted)}
body.cx .cx-go-dot{position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:20px;background:var(--cx-surface);color:var(--cx-ink-2);
  border:1px solid var(--cx-line);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-go-node.is-done .cx-go-dot{background:var(--cx-ok-bg);border-color:transparent;color:var(--cx-ok)}
body.cx .cx-go-node.is-now .cx-go-dot{background:linear-gradient(140deg,var(--cx-btn-a),var(--cx-btn-b));border-color:transparent;color:#fff;box-shadow:0 14px 28px var(--cx-accent-ring)}
body.cx .cx-go-node.is-now .cx-go-dot::after{content:"";position:absolute;inset:-7px;border:2px solid color-mix(in srgb,var(--cx-btn-a) 45%,transparent);border-radius:25px}
body.cx .cx-go-node.is-now small{color:var(--cx-accent)}
body.cx .cx-go-line{position:relative;flex:1;max-width:92px;height:2px;margin-top:28px;overflow:hidden;border-radius:2px;
  background:repeating-linear-gradient(90deg,var(--cx-line) 0 6px,transparent 6px 11px)}
body.cx .cx-go-line i{position:absolute;top:-2px;width:22px;height:6px;border-radius:6px;background:linear-gradient(90deg,transparent,var(--cx-btn-a));right:-22px}
body.cx .cx-go h1{margin:4px 0 0;font-size:clamp(22px,4.4vw,28px);font-weight:900;line-height:1.5;color:var(--cx-ink);letter-spacing:-.4px}
body.cx .cx-go-sub{display:flex;align-items:baseline;gap:6px;margin:-6px 0 0;font-size:14.5px;color:var(--cx-muted)}
body.cx .cx-go-dots{display:inline-flex;gap:3px}
body.cx .cx-go-dots i{width:5px;height:5px;border-radius:50%;background:var(--cx-accent);opacity:.3}
body.cx .cx-go-amount{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;margin-top:4px;padding:16px 18px;
  border:1px solid var(--cx-line);border-radius:22px;background:linear-gradient(160deg,var(--cx-accent-soft),var(--cx-surface))}
body.cx .cx-go-amount::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);transform:translateX(120%)}
body.cx .cx-go-amount small{font-size:12.5px;font-weight:700;color:var(--cx-muted)}
body.cx .cx-go-amount strong{font-size:clamp(30px,7vw,38px);font-weight:900;line-height:1.35;color:var(--cx-accent);font-variant-numeric:tabular-nums;letter-spacing:-.5px}
body.cx .cx-go-amount strong span{font-size:15px;font-weight:800}
body.cx .cx-go-bar{position:relative;width:100%;height:5px;overflow:hidden;border-radius:5px;background:var(--cx-line-2)}
body.cx .cx-go-bar i{position:absolute;inset:0 -40% 0 auto;width:38%;border-radius:5px;background:linear-gradient(270deg,var(--cx-gold),var(--cx-btn-a))}
body.cx .cx-go .btn-lg{min-height:58px;border-radius:18px;font-size:16px}
body.cx .cx-go-late{display:flex;align-items:flex-start;gap:8px;margin:0;padding:12px 14px;border-radius:14px;background:var(--cx-peach);color:var(--cx-peach-ink);
  font-size:13px;font-weight:700;line-height:1.9;text-align:right}
body.cx .cx-go-late[hidden]{display:none}
body.cx .cx-go-late svg{flex:none;margin-top:4px}
body.cx .cx-go-trust{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:2px 0 0;padding:0}
body.cx .cx-go-trust li{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--cx-muted)}
body.cx .cx-go-trust svg{color:var(--cx-ok)}
body.cx .cx-go-back{margin-top:4px;font-size:13.5px}
@media (prefers-reduced-motion:no-preference){
  body.cx .cx-go-card{animation:cx-go-rise .7s cubic-bezier(.16,.8,.24,1) both}
  body.cx .cx-go-card>*{animation:cx-go-in .6s cubic-bezier(.16,.8,.24,1) both}
  body.cx .cx-go-card>:nth-child(2){animation-delay:.08s}
  body.cx .cx-go-card>:nth-child(3){animation-delay:.14s}
  body.cx .cx-go-card>:nth-child(4){animation-delay:.2s}
  body.cx .cx-go-card>:nth-child(5){animation-delay:.26s}
  body.cx .cx-go-card>:nth-child(n+6){animation-delay:.32s}
  body.cx .cx-go-glow i{animation:cx-go-drift 14s ease-in-out infinite alternate}
  body.cx .cx-go-glow i:nth-child(2){animation-duration:18s;animation-direction:alternate-reverse}
  body.cx .cx-go-glow i:nth-child(3){animation-duration:11s}
  body.cx .cx-go-line i{animation:cx-go-travel 1.5s cubic-bezier(.5,0,.5,1) infinite}
  body.cx .cx-go-line.is-late i{animation-delay:.75s}
  body.cx .cx-go-node.is-now .cx-go-dot::after{animation:cx-go-pulse 1.8s ease-out infinite}
  body.cx .cx-go-dots i{animation:cx-go-dot 1.2s ease-in-out infinite}
  body.cx .cx-go-dots i:nth-child(2){animation-delay:.15s}
  body.cx .cx-go-dots i:nth-child(3){animation-delay:.3s}
  body.cx .cx-go-bar i{animation:cx-go-bar 1.6s cubic-bezier(.45,0,.2,1) infinite}
  body.cx .cx-go-amount::after{animation:cx-go-shine 2.8s ease-in-out .8s infinite}
  body.cx .cx-go-late{animation:cx-go-in .5s cubic-bezier(.16,.8,.24,1) both}
}
@keyframes cx-go-rise{from{opacity:0;transform:translateY(26px) scale(.97)}}
@keyframes cx-go-in{from{opacity:0;transform:translateY(10px)}}
@keyframes cx-go-drift{to{transform:translate(6vmax,4vmax) scale(1.12)}}
@keyframes cx-go-travel{0%{right:-22px}100%{right:100%}}
@keyframes cx-go-pulse{0%{transform:scale(.92);opacity:.9}100%{transform:scale(1.25);opacity:0}}
@keyframes cx-go-dot{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}
@keyframes cx-go-bar{0%{right:-40%}100%{right:100%}}
@keyframes cx-go-shine{0%{transform:translateX(120%)}55%,100%{transform:translateX(-120%)}}
@media (max-width:520px){
  body.cx .cx-go-card{padding:26px 18px 22px;border-radius:26px}
  body.cx .cx-go-node{width:62px}
  body.cx .cx-go-dot{width:50px;height:50px;border-radius:17px}
}

/* ---- step 3's booking card over the photo ------------------------------------------------------------------------ */
body.cx .cx-side-card.is-booking{max-width:330px;width:100%;padding:22px;text-align:right}
body.cx .cx-side-card.is-booking h2{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:18px}
body.cx .cx-side-card.is-booking h2 svg{color:var(--cx-gold)}
body.cx .cx-pick{display:flex;align-items:center;gap:12px;padding:10px;border-radius:16px;background:var(--cx-accent-soft)}
body.cx .cx-pick-pic{flex:none;width:64px;height:52px;overflow:hidden;border-radius:12px}
body.cx .cx-pick-pic img{width:100%;height:100%;object-fit:cover}
body.cx .cx-pick small{display:block;font-size:12px;color:var(--cx-muted)}
body.cx .cx-pick b{display:block;font-size:15.5px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-side-card.is-booking .cx-details>div{padding:9px 0}
body.cx .cx-side-card.is-booking .cx-details dd{font-size:13.5px}
body.cx .cx-side-note{display:flex;align-items:flex-start;gap:6px;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--cx-line);font-size:12px;line-height:1.8;color:var(--cx-muted)}
body.cx .cx-side-note svg{flex:none;margin-top:3px;color:var(--cx-ok)}

/* ---- map apps and contact tiles (appointment page, the salon's «about» panel) --------------------------------------- */
body.cx .cx-mapapps{margin-top:12px}
body.cx .cx-mapapps-label{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:12.5px;font-weight:800;color:var(--cx-muted)}
body.cx .cx-mapapps-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
body.cx .cx-mapapp{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-height:86px;padding:11px 4px 10px;border:1px solid var(--cx-line);
  border-radius:16px;background:var(--cx-surface);color:var(--cx-ink);font-size:12.5px;font-weight:800;line-height:1.35;text-align:center;
  transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}
body.cx .cx-mapapp:hover{border-color:color-mix(in srgb,var(--app) 45%,var(--cx-line));background:color-mix(in srgb,var(--app) 6%,var(--cx-surface));transform:translateY(-2px);
  box-shadow:0 8px 18px -12px color-mix(in srgb,var(--app) 60%,transparent)}
body.cx .cx-mapapp:active{transform:scale(.97)}
body.cx .cx-mapapp:focus-visible{outline:2px solid var(--app);outline-offset:2px}
body.cx .cx-mapapp-ic{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--app) 14%,#fff);color:var(--app)}
body.cx .cx-mapapp-name{max-width:100%;overflow-wrap:anywhere}
body.cx .cx-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:12px}
body.cx .cx-contact{display:flex;align-items:center;gap:10px;min-height:56px;padding:9px 12px;border:1px solid var(--cx-line);border-radius:16px;background:var(--cx-card);color:var(--cx-ink);
  transition:border-color .18s,background .18s}
body.cx .cx-contact:hover{border-color:var(--cx-gold-soft);background:var(--cx-surface)}
body.cx .cx-contact-ic{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff}
body.cx .cx-contact b{display:block;font-size:14px;font-weight:900}
body.cx .cx-contact>span:last-child{min-width:0}
body.cx .cx-contact small{display:block;overflow:hidden;font-size:12px;color:var(--cx-muted);white-space:nowrap;text-overflow:ellipsis;unicode-bidi:plaintext}
body.cx .cx-addr{display:flex;align-items:flex-start;gap:8px}
body.cx .cx-addr svg{flex:none;margin-top:4px;color:var(--cx-gold)}

/* ---- the salon's «about» panel -------------------------------------------------------------------------------------- */
body.cx .cx-about-body{display:grid;gap:14px;padding:0;border:0;background:none}
body.cx .cx-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.cx .cx-about-card{padding:22px;border:1px solid var(--cx-line);border-radius:22px;background:var(--cx-surface);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-about-card h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:17px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-about-card h3 svg{color:var(--cx-gold)}
body.cx .cx-about-card>p{margin:0 0 8px;font-size:14px;line-height:2;color:var(--cx-ink-2)}
body.cx .cx-about-addr{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0!important;padding-top:12px;border-top:1px solid var(--cx-line-2)}
body.cx .cx-about-addr svg{flex:none;margin-top:5px;color:var(--cx-gold)}
body.cx .cx-week{list-style:none;display:grid;gap:4px;margin:0;padding:0}
body.cx .cx-week li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;font-size:14px;color:var(--cx-ink-2)}
body.cx .cx-week li:nth-child(odd){background:var(--cx-card)}
body.cx .cx-week li span{display:inline-flex;align-items:center;gap:8px;font-weight:700}
body.cx .cx-week li b{font-weight:900;color:var(--cx-ink);font-variant-numeric:tabular-nums}
body.cx .cx-week li.is-off b{font-weight:700;color:var(--cx-muted)}
body.cx .cx-week li.is-today{background:var(--cx-accent-soft);color:var(--cx-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cx-accent) 25%,transparent)}
body.cx .cx-week li.is-today b{color:var(--cx-accent)}
body.cx .cx-week em{font-style:normal;padding:2px 9px;border-radius:99px;background:var(--cx-accent);color:#fff;font-size:11.5px;font-weight:800}
body.cx .cx-about-body .biz-gallery{padding:22px;border:1px solid var(--cx-line);border-radius:22px;background:var(--cx-surface);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-about-body .gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
body.cx .cx-about-body .gallery-heading h2{margin:0;font-size:17px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-about-body .gallery-heading span{font-size:12.5px;color:var(--cx-muted)}
body.cx .cx-about-body .photo-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(128px,100%),1fr));gap:10px;overflow:visible}
/* height:auto undoes app.css's fixed strip height, which in a grid shrank each photo to a narrow column */
body.cx .cx-about-body .gallery-photo{display:block;width:auto;height:auto;overflow:hidden;border-radius:16px;aspect-ratio:4/3;background:var(--cx-accent-soft)}
body.cx .cx-about-body .gallery-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
body.cx .cx-about-body .gallery-photo:hover img{transform:scale(1.05)}
body.cx .cx-about-body #reviews{box-shadow:var(--cx-shadow-sm)}
body.cx .cx-about-body #reviews>p{margin:0 0 12px;font-size:14px;color:var(--cx-ink-2)}
body.cx .review-item{margin-top:10px;padding:14px 16px;border:1px solid var(--cx-line-2);border-radius:16px;background:var(--cx-card)}
body.cx .review-item .row{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.cx .review-item span[aria-label]{color:var(--cx-gold);letter-spacing:2px}
body.cx .review-item p{margin:6px 0 0;font-size:14px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .review-item blockquote{margin:10px 0 0;padding:10px 12px;border-inline-start:3px solid var(--cx-gold);border-radius:10px;background:var(--cx-surface);font-size:13px;color:var(--cx-ink-2)}
body.cx .cx-about-body>.cx-linkrow{box-shadow:var(--cx-shadow-sm)}

/* ---- the appointment page with nothing to pay: the state across the page, the cards side by side ------------------- */
body.cx .cx-appt-wide{display:grid;gap:20px}
body.cx .cx-appt-top{display:grid;gap:16px}
@media (min-width:1001px){body.cx .cx-appt-top>.cx-stage.is-photo{min-height:340px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}}
body.cx .cx-appt-top>.card,body.cx .cx-appt-top>.notice{margin:0}
body.cx .cx-appt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
body.cx .cx-appt-col{display:grid;gap:14px;min-width:0}
body.cx .cx-appt-col .cx-rules{grid-template-columns:minmax(0,1fr);margin:0}
body.cx .cx-appt-col .cx-rules h2{padding:0;border:0}
@media (max-width:1100px){body.cx .cx-appt-cards{grid-template-columns:repeat(2,minmax(0,1fr))}body.cx .cx-appt-col{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  body.cx .cx-appt-cards,body.cx .cx-appt-col,body.cx .cx-about-grid{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-appt-col{grid-column:auto}
  body.cx .cx-mapapps-grid{gap:6px}
  body.cx .cx-contacts{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-mapapp{min-height:80px}
}

/* ---- step motion (kept from the earlier booking page) -------------------------------------------------------------- */
.reservation-page .rv-top{view-transition-name:rv-top}
.reservation-page .rv-salon{view-transition-name:rv-salon}
.reservation-page .rv-steps{view-transition-name:rv-steps}
.reservation-page .rv-main{view-transition-name:rv-main}
.reservation-page .rv-summary{view-transition-name:rv-summary}
::view-transition-group(rv-main),::view-transition-group(rv-summary),::view-transition-group(rv-steps),::view-transition-group(rv-salon),::view-transition-group(rv-top){animation-duration:.4s;animation-timing-function:cubic-bezier(.2,0,0,1)}
html:active-view-transition-type(rv-forward)::view-transition-old(rv-main){animation:.15s cubic-bezier(.3,0,.8,.15) both rv-leave-right}
html:active-view-transition-type(rv-forward)::view-transition-new(rv-main){animation:.4s cubic-bezier(.05,.7,.1,1) .09s both rv-arrive-left}
html:active-view-transition-type(rv-back)::view-transition-old(rv-main){animation:.15s cubic-bezier(.3,0,.8,.15) both rv-leave-left}
html:active-view-transition-type(rv-back)::view-transition-new(rv-main){animation:.4s cubic-bezier(.05,.7,.1,1) .09s both rv-arrive-right}
@keyframes rv-leave-right{to{opacity:0;translate:32px 0}}
@keyframes rv-arrive-left{from{opacity:0;translate:-32px 0}}
@keyframes rv-leave-left{to{opacity:0;translate:-32px 0}}
@keyframes rv-arrive-right{from{opacity:0;translate:32px 0}}
html.rv-busy,html.rv-busy a{cursor:progress}
@media (prefers-reduced-motion:no-preference){
  .reservation-page .is-pending{animation:rv-pending 1.1s ease-in-out .3s infinite}
  body.cx .rv-service.selected .rv-radio{animation:rv-pop .32s cubic-bezier(.05,.7,.1,1)}
  html.rv-enter .rv-main{animation:rv-rise .36s cubic-bezier(.05,.7,.1,1) both}
}
@media (prefers-reduced-motion:reduce){body.cx *{transition:none!important}}
@keyframes rv-pending{50%{opacity:.6}}
@keyframes rv-pop{from{scale:.6}}
@keyframes rv-rise{from{opacity:0;translate:0 14px}}

/* ---- narrower screens ---------------------------------------------------------------------------------------------- */
.rv-mobile-next{display:none}
@media (max-width:1100px){
  body.cx .cx-bar-info .cx-bar-area{display:none}
  body.cx .cx-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
  body.cx .cx-layout.is-photo{grid-template-columns:minmax(0,1fr) 300px}
  body.cx .rv-service{grid-template-columns:96px minmax(0,1fr) auto}
  body.cx .cx-svc-pic{height:84px}
}
@media (max-width:900px){
  body.cx .cx-bar-info{display:none}
  body.cx .cx-layout,body.cx .cx-layout.is-photo{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-aside{position:static}
  body.cx .cx-side{display:none}
  body.cx .cx-services{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-rules{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-rules h2{padding:0;border:0}
  body.cx .cx-about>summary{grid-template-columns:minmax(0,1fr)}
  body.cx .cx-about-strip{grid-column:1;grid-row:2;grid-auto-columns:minmax(90px,1fr);overflow-x:auto}
  body.cx .cx-row{grid-template-columns:minmax(0,1fr);gap:8px}
  body.cx .cx-row-label{min-height:0}
  body.reservation-page.cx{padding-bottom:92px}
  .rv-mobile-next{display:block;position:fixed;inset:auto 0 0;z-index:30;padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:color-mix(in srgb,var(--cx-surface) 92%,transparent);border-top:1px solid var(--cx-line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  .rv-mobile-next .btn{min-height:54px}
}
@media (max-width:640px){
  body.cx .cx-bar-in{height:58px;padding:0 16px;gap:12px}
  body.cx .cx-brand{font-size:34px}
  body.cx .cx-bar .btn{min-height:38px;padding:0 12px}
  body.cx .cx-bar .btn:not([data-cx-mine]){display:none}
  body.cx .cx-bar .directions{display:none}
  body.cx .cx-book{padding:0 16px 24px}
  body.cx .cx-hero{display:block;min-height:0;padding:178px 16px 70px}
  body.cx .cx-hero-art{inset:0 0 auto 0;height:200px}
  body.cx .cx-hero::before{inset:0 0 auto 0;height:202px;background:linear-gradient(to top,var(--cx-bg-2),transparent 60%)}
  body.cx .cx-hero::after{display:none}
  body.cx .cx-hero.is-compact{padding:22px 0 4px}
  body.cx .cx-emblem{width:64px;height:64px}
  body.cx .cx-emblem>.beauty-icon{width:64px;height:64px}
  body.cx .cx-emblem .rv-avatar{width:38px;height:38px;font-size:21px}
  body.cx .cx-hero-id{gap:14px}
  body.cx .cx-steps{margin:-44px 0 24px;padding:6px 10px;border-radius:20px}
  body.cx .is-step2 .cx-steps,body.cx .is-step3 .cx-steps{margin-top:12px}
  body.cx .cx-steps li{gap:6px;font-size:13px}
  body.cx .cx-steps li>a,body.cx .cx-steps li>span{flex-direction:column;gap:4px;padding:4px 2px 6px}
  body.cx .cx-steps b{width:34px;height:34px;font-size:13px}
  body.cx .cx-steps li:not(:last-child)::after{margin-inline:4px}
  body.cx .cx-card{padding:18px;border-radius:20px}
  body.cx .cx-chips{grid-template-columns:minmax(0,1fr)}
  body.cx .rv-service{grid-template-columns:84px minmax(0,1fr) auto;gap:2px 12px}
  body.cx .cx-svc-pic{height:78px}
  body.cx .rv-service-name b{font-size:15.5px}
  body.cx .cx-card-foot{flex-direction:column-reverse;align-items:stretch}
  body.cx .cx-card-foot .btn{min-width:0}
  body.cx .cx-wait{flex-direction:column;align-items:stretch}
  body.cx .days .day{flex-basis:66px}
  body.cx .slots .slot{min-width:84px}
}

/* ---- another day on the booking page: the times dim for the moment the new ones take to arrive ------------------- */
body.cx .cx-slots{transition:opacity .2s}
body.cx .cx-slots.is-loading{opacity:.45;pointer-events:none;transition:opacity .15s .08s}

/* ---- the referral wallet (/customer/wallet#partner) ------------------------------------------------------------- */
body.cx .cx-partner{display:grid;gap:16px;margin-bottom:18px;padding:22px;border:1px solid var(--cx-line);border-radius:24px;background:var(--cx-surface);box-shadow:var(--cx-shadow-sm)}
body.cx .cx-partner-head{display:flex;align-items:flex-start;gap:14px}
body.cx .cx-partner-ic{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--cx-btn-a),var(--cx-btn-b));color:#fff}
body.cx .cx-partner-head h2{margin:0 0 4px;font-size:19px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-partner-head p{margin:0;font-size:13.5px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .cx-partner-money{display:flex;align-items:stretch;gap:16px;padding:16px;border-radius:18px;background:var(--cx-accent-soft)}
body.cx .cx-partner-free{display:flex;flex-direction:column;justify-content:center;min-width:150px;padding-inline-end:16px;border-inline-end:1px solid color-mix(in srgb,var(--cx-accent) 18%,transparent)}
body.cx .cx-partner-free small{font-size:12.5px;color:var(--cx-muted)}
body.cx .cx-partner-free strong{font-size:24px;font-weight:900;color:var(--cx-accent)}
body.cx .cx-partner-money dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:1;margin:0}
body.cx .cx-partner-money dt{font-size:12px;color:var(--cx-muted)}
body.cx .cx-partner-money dd{margin:2px 0 0;font-size:14px;font-weight:800;color:var(--cx-ink)}
body.cx .cx-partner-link{display:grid;gap:8px}
body.cx .cx-partner-link>span{font-size:13px;font-weight:800;color:var(--cx-ink)}
body.cx .cx-partner-link .linkbox code{direction:ltr;unicode-bidi:plaintext}
body.cx .cx-partner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.cx .cx-partner-grid h3{margin:0 0 10px;font-size:15px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-partner-list{list-style:none;display:grid;gap:8px;margin:0;padding:0}
body.cx .cx-partner-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--cx-line-2);border-radius:14px;background:var(--cx-card)}
body.cx .cx-partner-list li span{display:flex;flex-direction:column;min-width:0}
body.cx .cx-partner-list b{font-size:14px;color:var(--cx-ink)}
body.cx .cx-partner-list small{font-size:12px;color:var(--cx-muted)}
body.cx .cx-partner-list small.is-note{color:var(--cx-ink-2)}
body.cx .cx-partner-list em{flex:none;font-style:normal;font-size:12.5px;font-weight:800;color:var(--cx-muted)}
body.cx .cx-partner-list em.is-on{color:var(--cx-ok)}
body.cx .cx-partner-list li.is-empty{justify-content:center;font-size:13px;color:var(--cx-muted)}
body.cx .cx-partner-min{display:flex;gap:7px;align-items:flex-start;margin:0 0 10px;padding:12px;border-radius:14px;background:var(--cx-card);font-size:13px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .cx-payout{margin-bottom:10px}
@media (max-width:760px){
  body.cx .cx-partner{padding:18px}
  body.cx .cx-partner-money{flex-direction:column;gap:12px}
  body.cx .cx-partner-free{padding:0 0 12px;border:0;border-bottom:1px solid color-mix(in srgb,var(--cx-accent) 18%,transparent)}
  body.cx .cx-partner-grid{grid-template-columns:minmax(0,1fr)}
}
body.cx .cx-partner,body.cx .cx-partner-grid>div,body.cx .cx-partner-link{min-width:0;max-width:100%}
body.cx .cx-partner .linkbox{display:flex;align-items:center;gap:8px;min-width:0}
body.cx .cx-partner .linkbox code{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* ---- payment result (/pay/result/<id>) ---------------------------------------------------------------------------- */
body.cx-pr-page{min-height:100dvh;background:radial-gradient(120% 70% at 50% 0%,var(--cx-accent-soft),transparent 60%),var(--cx-bg)}
body.cx .cx-pr{display:grid;place-items:center;min-height:100dvh;padding:28px 16px}
body.cx .cx-pr-card{width:min(100%,480px);padding:30px 24px 22px;border:1px solid var(--cx-line);border-radius:28px;background:var(--cx-surface);
  box-shadow:0 30px 70px -30px rgba(42,21,32,.35);text-align:center;animation:cx-pr-in .5s cubic-bezier(.2,.8,.2,1)}
body.cx .cx-pr-mark{display:grid;place-items:center;width:92px;height:92px;margin:0 auto 14px;border-radius:50%}
body.cx .cx-pr-mark.is-ok{background:radial-gradient(circle at 35% 30%,#fff,#dff1e6);color:var(--cx-ok);box-shadow:0 18px 40px -14px rgba(40,107,78,.45),inset 0 0 0 8px rgba(255,255,255,.6)}
body.cx .cx-pr-mark.is-pending{background:var(--cx-surface);color:var(--cx-ink-2);border:1px solid var(--cx-line)}
body.cx .cx-pr-mark.is-bad{background:radial-gradient(circle at 35% 30%,#fff,#f9e1df);color:#a1261f;box-shadow:0 18px 40px -14px rgba(161,38,31,.35),inset 0 0 0 8px rgba(255,255,255,.6)}
body.cx .cx-pr-mark.is-ok svg path{stroke-dasharray:30;stroke-dashoffset:30;animation:cx-pr-tick .55s .25s cubic-bezier(.2,.8,.2,1) forwards}
body.cx .cx-pr-head h1{margin:0 0 6px;font-size:24px;font-weight:900;color:var(--cx-ink)}
body.cx .cx-pr-head p{margin:0 auto;max-width:34ch;font-size:14px;line-height:1.9;color:var(--cx-ink-2)}
body.cx .cx-pr-rows{display:grid;gap:0;margin:20px 0 18px;padding:4px 14px;border:1px solid var(--cx-line-2);border-radius:18px;background:var(--cx-card);text-align:start}
body.cx .cx-pr-rows>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
body.cx .cx-pr-rows>div+div{border-top:1px dashed var(--cx-line)}
body.cx .cx-pr-rows dt{display:flex;align-items:center;gap:7px;flex:none;font-size:13px;color:var(--cx-muted)}
body.cx .cx-pr-rows dt svg{color:var(--cx-gold)}
body.cx .cx-pr-rows dd{margin:0;font-size:14px;font-weight:800;color:var(--cx-ink);text-align:end}
body.cx .cx-pr-acts{display:grid;gap:10px}
body.cx .cx-pr-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:16px 0 0;font-size:12px;color:var(--cx-muted)}
@keyframes cx-pr-in{from{opacity:0;transform:translateY(14px) scale(.98)}}
@keyframes cx-pr-tick{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){body.cx .cx-pr-card{animation:none}body.cx .cx-pr-mark.is-ok svg path{animation:none;stroke-dashoffset:0}}

/* add-ons on the times step: tap to add (a tick box), the times below are recalculated with their minutes */
body.cx .cx-addons .cx-row-label small{display:block;margin-top:2px;font-size:12px;font-weight:600;color:var(--cx-muted)}
body.cx .cx-addon-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
body.cx .cx-addon{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 14px;border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-surface,#fff);color:var(--cx-ink);text-decoration:none;transition:border-color .2s,background .2s,box-shadow .2s}
body.cx .cx-addon:hover{border-color:color-mix(in srgb,var(--cx-accent) 40%,var(--cx-line))}
body.cx .cx-addon.on{border-color:var(--cx-accent);background:var(--cx-accent-soft);box-shadow:0 0 0 3px var(--cx-accent-ring)}
body.cx .cx-addon-box{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1.5px solid var(--cx-line-2,#ddd);border-radius:8px;background:#fff;color:#fff;transition:background .2s,border-color .2s}
body.cx .cx-addon.on .cx-addon-box{background:var(--cx-accent);border-color:var(--cx-accent)}
body.cx .cx-addon-txt{display:flex;flex-direction:column;min-width:0}
body.cx .cx-addon-txt b{font-size:14.5px;font-weight:800}
body.cx .cx-addon-txt small{font-size:12.5px;color:var(--cx-muted)}
@media (max-width:640px){body.cx .cx-addon-list{grid-template-columns:1fr}}
/* the confirm step: which add-ons ride along, and the way back to change them */
.addon-picked{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px dashed var(--cx-line,#e5d9d5);border-radius:14px;font-size:13.5px}
/* the add-on question is a sentence: it sits above its cards, not squeezed into the label column */
body.cx .cx-row.cx-addons{display:block}
body.cx .cx-addons .cx-row-label{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-bottom:12px;white-space:normal}
body.cx .cx-addons .cx-row-label small{display:inline;margin:0}

body.cx .cx-acct-main,body.cx .cx-list{grid-template-columns:minmax(0,1fr)}
body.cx .cx-switch{max-width:100%;flex-wrap:wrap}
@media(max-width:360px){
  body.cx .cx-list{padding:12px}
  body.cx .cx-switch a{padding-inline:8px;gap:4px}
}

/* Booking page on a phone: a shorter photo strip and a one-line description, so the first services are in view without
   scrolling; the salon's name and look stay. */
@media (max-width:640px){
  body.cx .cx-hero{padding:112px 16px 54px}
  body.cx .cx-hero-art{height:136px}
  body.cx .cx-hero::before{height:138px}
  body.cx .cx-hero p{-webkit-line-clamp:1}
  body.cx .cx-hero h1{font-size:26px}
  body.cx .is-step1 .cx-steps{margin-bottom:16px}
  body.cx .is-step1 .cx-intro{margin-bottom:10px}
}

/* «صف حضوری»: the walk-in link on the booking page, the queue page, a ticket, and the TV board */
body.cx .cx-walkin{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-accent-soft);color:var(--cx-ink);text-decoration:none}
body.cx .cx-walkin span{flex:1;display:flex;flex-direction:column}
body.cx .cx-walkin small{color:var(--cx-muted);font-size:12.5px}
body.cx .q-wrap{display:grid;place-items:center;min-height:100dvh;padding:24px 16px}
body.cx .q-card{width:min(440px,100%);padding:26px 22px;border:1px solid var(--cx-line);border-radius:26px;background:var(--cx-surface,#fff);text-align:center;box-shadow:0 20px 50px -30px #3a1a2a55}
body.cx .q-card h1{margin:4px 0 16px;font-size:24px;font-weight:900}
body.cx .q-salon{margin:0;font-weight:800;color:var(--cx-accent)}
body.cx .q-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 18px}
body.cx .q-stats div{padding:12px 6px;border-radius:16px;background:var(--cx-accent-soft)}
body.cx .q-stats small{display:block;font-size:12px;color:var(--cx-muted)}
body.cx .q-stats b{font-size:22px;font-weight:900}
body.cx .q-card form{text-align:start}
body.cx .q-back{display:inline-block;margin-top:14px;font-size:13px;color:var(--cx-muted)}
body.cx .q-num{margin:4px 0 8px;font-size:84px;font-weight:900;line-height:1;color:var(--cx-accent)}
body.cx .q-turn{display:inline-flex;align-items:center;gap:8px;margin:8px 0;padding:10px 16px;border-radius:99px;background:var(--cx-accent);color:#fff;font-weight:900;animation:q-pulse 1.4s ease-in-out infinite}
body.cx .q-ahead{margin:8px 0;font-weight:800}
@keyframes q-pulse{50%{transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){body.cx .q-turn{animation:none}}
body.cx.is-tv{background:var(--cx-ink)}
body.cx .q-tv{display:grid;place-content:center;min-height:100dvh;text-align:center;color:#fff}
body.cx .q-tv p{margin:0}
body.cx .q-tv-name{font-size:3vw;font-weight:800;opacity:.85}
body.cx .q-tv-label{margin-top:2vw!important;font-size:2.4vw;opacity:.7}
body.cx .q-tv-now{font-size:22vw;font-weight:900;line-height:1}
body.cx .q-tv-wait{font-size:3vw;font-weight:800}
body.cx .q-tv-join{margin-top:2vw!important;font-size:1.8vw;opacity:.7}
/* a walk-in number taken today, at the top of the customer's account */
body.cx .cx-q{display:flex;align-items:center;gap:20px;padding:20px 22px;margin-bottom:16px;border-color:var(--cx-accent)}
body.cx .cx-q-num{display:grid;place-items:center;min-width:92px;padding:12px 8px;border-radius:20px;background:var(--cx-accent);color:#fff;text-align:center}
body.cx .cx-q-num small{font-size:12px;font-weight:700;opacity:.85}
body.cx .cx-q-num b{font-size:40px;line-height:1.1;font-weight:900}
body.cx .cx-q-body{display:grid;gap:6px;min-width:0}
body.cx .cx-q-salon{margin:0;font-weight:900;font-size:17px}
body.cx .cx-q-ahead{margin:0;font-weight:700}
body.cx .cx-q-ahead b{font-size:18px}
body.cx .cx-q-upd,body.cx .q-updated{margin:0;font-size:13px;color:var(--cx-muted,#6b5a62)}
body.cx .cx-q-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
body.cx .cx-q .q-turn{justify-self:start;margin:0}
body.cx .q-leave{margin-top:14px}
@media (max-width:560px){body.cx .cx-q{align-items:flex-start;gap:14px;padding:16px}body.cx .cx-q-num{min-width:74px}body.cx .cx-q-num b{font-size:32px}}
/* «میای؟» on an upcoming booking */
body.cx .cx-reply{display:grid;gap:8px;padding:16px;border:1px solid var(--cx-accent);border-radius:18px;background:var(--cx-surface,#fff)}
body.cx .cx-reply b{font-size:16px;font-weight:900}
body.cx .cx-reply p{margin:0;font-size:13px;color:var(--cx-muted)}
body.cx .cx-reply-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.cx .cx-reply.is-yes,body.cx .cx-reply.is-no{display:flex;align-items:center;gap:8px;font-weight:800}
body.cx .cx-reply.is-yes{color:#26775e}
