/* Fabrico — /checkout pickup form and /checkout/thankyou (17 Nov 2026, design phase).
   Same look as the captured checkout card (white card, black title, green offer line, outlined fields with
   floating labels, bold note, block SUBMIT button) — the owner chose the old design over a new one. The OTP opens
   in the same popup as the franchise page (classes .fab-otp… from assets/css/style.css, built by checkout-form.js).
   Loaded only by views/site/schedule.php and views/site/checkout-thankyou.php; behaviour in assets/js/checkout-form.js.
   Scoped to .fab-co (the card) and .fab-ty (the thank-you page); colours in the variables below.
   The resets use :where() so they never outrank the component rules below them; rules on p / h / list / link
   elements carry the scope class so they outrank Vuetify's own ".v-application p" and friends. */
.fab-co,.fab-ty{
  --acc:#33cc99;                 /* the website's accent green (offer line, focus, button) */
  --acc-dark:#2bb98a;
  --ink:rgba(0,0,0,.87);         /* Vuetify body text */
  --grey:#504a4b;                /* the note under the fields */
  --title:#3e4152;               /* .m-fs-h heading colour */
  --line:rgba(0,0,0,.38);        /* outlined field border */
  --err:#dd2c00;                 /* Vuetify error red */
  --mint:#c9f0e3;                /* the page's green FAQ headers */
  --shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);   /* v-card elevation */
  font-family:"Poppins",Arial,sans-serif;
  color:var(--ink);
  user-select:text;-webkit-user-select:text;
}
.fab-co :where(*,*::before,*::after),.fab-ty :where(*,*::before,*::after){box-sizing:border-box}
.fab-co :where(p,h1,h2,h3),.fab-ty :where(p,h1,h2,h3){margin:0;font-family:inherit}
.fab-co :where(ol,ul),.fab-ty :where(ol,ul){margin:0;padding:0;list-style:none}
.fab-co :where(button),.fab-ty :where(button){font-family:inherit;font-size:inherit}
.fab-co :where(input,textarea){font-family:inherit;font-size:inherit;color:inherit;user-select:text;-webkit-user-select:text}
.fab-co :where(svg),.fab-ty :where(svg){display:block;flex:none}
.fab-co [hidden],.fab-ty [hidden]{display:none!important}
/* read by screen readers only; it also keeps app.js (which takes over every button whose text is exactly "Submit") away from this button */
.co-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ============ the card on /checkout ============ */
.fab-co{background:#fff;border-radius:5px;box-shadow:var(--shadow);padding:20px 24px 12px}
.co-pane{display:none}
.co-pane.is-on{display:block}
.fab-co .co-title{font-size:1.25rem;font-weight:900;line-height:2rem;letter-spacing:.0125em;color:var(--ink);word-break:break-word}
.fab-co .co-title small{display:inline-block;margin-left:4px;color:gray;font-weight:600;font-size:13px;line-height:1.4;vertical-align:baseline}
.fab-co .co-offer{margin:0 0 24px;font-size:1rem;line-height:1.5rem;letter-spacing:.03125em;color:var(--acc);word-break:break-word}
.fab-co .co-offer sup{font-size:.7em}

/* outlined fields with a floating label (the Vuetify look) — the input comes first, label and prefix after it */
.ov{position:relative;margin-bottom:26px}
.ov input,.ov textarea{display:block;width:100%;height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:16px;line-height:1.4;color:var(--ink);outline:0;transition:border-color .15s,box-shadow .15s}
.ov textarea{height:auto;min-height:88px;resize:vertical}
.ov input::placeholder,.ov textarea::placeholder{color:transparent}
.fab-co .ov label{position:absolute;left:9px;top:9px;max-width:calc(100% - 24px);padding:0 4px;background:#fff;color:rgba(0,0,0,.6);font-size:16px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:top .15s,font-size .15s,color .15s}
.ov input:focus,.ov textarea:focus{border-color:var(--acc);box-shadow:inset 0 0 0 1px var(--acc)}
.ov input:focus~label,.ov input:not(:placeholder-shown)~label,.ov textarea:focus~label,.ov textarea:not(:placeholder-shown)~label{top:-9px;font-size:12px;line-height:1.3}
.ov input:focus~label,.ov textarea:focus~label{color:var(--acc)}
.ov--phone input{padding-left:46px}
.ov--phone .ov-prefix{position:absolute;left:12px;top:9px;font-size:16px;line-height:1.4;color:var(--ink);opacity:0;pointer-events:none;transition:opacity .15s}
.ov--phone input:focus~.ov-prefix,.ov--phone input:not(:placeholder-shown)~.ov-prefix{opacity:1}
.fab-co .ov-msg{display:none;position:absolute;left:12px;top:100%;margin-top:4px;font-size:12px;line-height:1.2;color:var(--err)}
.ov.is-err input,.ov.is-err textarea{border-color:var(--err);box-shadow:inset 0 0 0 1px var(--err)}
.ov.is-err label{color:var(--err)!important}
.ov.is-err .ov-msg{display:block}

/* the line under the address field: finding the location / filled from it / switched off (17 Nov 2026) */
.fab-co .co-geo{display:flex;align-items:flex-start;gap:6px;margin:-16px 0 20px 2px;font-size:12px;line-height:1.4;color:#6f6f6f}
.co-geo .co-geo__pin{width:14px;height:14px;margin-top:1px;color:var(--acc)}
.co-geo__spin{flex:none;width:12px;height:12px;margin-top:2px;border:2px solid #d7e9e2;border-top-color:var(--acc);border-radius:50%;animation:coSpin .8s linear infinite}
@keyframes coSpin{to{transform:rotate(360deg)}}
.co-geo .co-link{font-size:12px;white-space:nowrap}
.co-geo[data-state="filled"] .co-geo__text{color:#2a8a63}
.co-geo[data-state="denied"] .co-geo__pin,.co-geo[data-state="failed"] .co-geo__pin{color:#b08400}
.fab-co .ov.is-err+.co-geo{display:none}

.fab-co .co-note{margin:0 0 4px 12px;font-size:.875rem;font-weight:700;line-height:1.4;letter-spacing:.0178571429em;color:var(--grey)}
.fab-co .co-note--hint{margin:6px 0 0;font-weight:400;font-size:12.5px;color:#6f6f6f}

/* the block button, enabled only when the fields are complete (as the old card did) */
.fab-co .co-btn,.fab-ty .co-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;margin:12px 0;padding:0 19px;border:0;border-radius:6px;background:var(--acc);color:#fff;font-size:.875rem;font-weight:900;letter-spacing:.0892857143em;text-transform:uppercase;text-decoration:none;cursor:pointer;box-shadow:var(--shadow);transition:background .15s,box-shadow .15s}
.fab-co .co-btn:hover,.fab-ty .co-btn:hover{background:var(--acc-dark);box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}
.fab-co .co-btn:focus-visible,.fab-ty .co-btn:focus-visible{outline:2px solid var(--acc-dark);outline-offset:2px}
.fab-co .co-btn[disabled],.fab-ty .co-btn[disabled]{background:rgba(0,0,0,.12);color:rgba(0,0,0,.26);box-shadow:none;cursor:default}
.fab-co .co-btn--outline,.fab-ty .co-btn--outline{background:#fff;color:var(--acc);border:1px solid var(--acc);box-shadow:none}
.fab-co .co-btn--outline:hover,.fab-ty .co-btn--outline:hover{background:#f1fbf7;box-shadow:none}
.fab-co .co-btn--wa,.fab-ty .co-btn--wa{background:#25d366}
.fab-co .co-btn--wa:hover,.fab-ty .co-btn--wa:hover{background:#1fb457}
.co-btn svg{width:18px;height:18px}
.fab-co .co-link,.fab-ty .co-link{display:inline;padding:0;border:0;background:none;color:var(--acc);font-size:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.fab-co .co-link:hover,.fab-ty .co-link:hover{text-decoration:underline}

.fab-co .co-err{margin:-4px 0 10px;font-size:13px;line-height:1.5;color:var(--err);text-align:center}
/* the OTP popup: the franchise page's .fab-otp look (style.css) plus a "Change number" link in its skip row */
.fab-otp--checkout .fab-otp__card p b{color:#1c1c1c;font-weight:600;white-space:nowrap}

/* ============ /checkout/thankyou ============ */
.fab-ty{max-width:680px;margin:0 auto 24px}
.ty-card{position:relative;background:#fff;border-radius:8px;box-shadow:0 2px 14px rgba(14,60,40,.07),0 1px 3px rgba(0,0,0,.05);padding:22px 24px;margin-bottom:14px;overflow:hidden}
.ty-card--hero{padding:0}
.ty-hero{position:relative;padding:28px 24px 24px;text-align:center;background:linear-gradient(180deg,#edf9f4 0%,#fff 52%)}
.ty-hero::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--acc),#8fe6c7)}
.ty-check{position:relative;width:62px;height:62px;margin:0 auto 12px;border-radius:50%;background:#fff;color:var(--acc);display:grid;place-items:center;box-shadow:0 8px 22px rgba(51,204,153,.28);animation:tyPop .5s cubic-bezier(.2,.9,.3,1.3) both}
.ty-check::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid rgba(51,204,153,.4);animation:tyRing 1.3s .35s ease-out both}
.ty-check svg{width:32px;height:32px}
.ty-check svg path{stroke-dasharray:60;stroke-dashoffset:60;animation:tyDraw .5s .25s ease forwards}
@keyframes tyPop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes tyDraw{to{stroke-dashoffset:0}}
@keyframes tyRing{from{transform:scale(.85);opacity:1}to{transform:scale(1.3);opacity:0}}
.ty-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#d9f4ea;color:#006037;font-size:10.5px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}
.ty-eyebrow svg{width:14px;height:14px}
.fab-ty .ty-title{margin-top:10px;font-size:1.35rem;font-weight:600;line-height:1.3;letter-spacing:-.2px;color:#1c1c1c;word-break:break-word}
.fab-ty .ty-sub{max-width:520px;margin:8px auto 0;font-size:14px;line-height:1.55;color:#5b6660;word-break:break-word}
.fab-ty .ty-sub b{font-weight:600;color:#1c1c1c}
.ty-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;max-width:540px;margin:18px auto 0;padding:14px 16px;border-radius:10px;background:#f4f9f7;border:1px solid #e1efe8;text-align:left}
.ty-row{display:flex;gap:10px;min-width:0}
.ty-row>svg{width:16px;height:16px;margin-top:2px;color:var(--acc)}
.ty-row>div{min-width:0}
.fab-ty .ty-row span{display:block;font-size:10.5px;font-weight:500;letter-spacing:.4px;text-transform:uppercase;color:#7a8580}
.fab-ty .ty-row b{display:block;margin-top:2px;font-size:14px;font-weight:600;line-height:1.4;color:#1c1c1c;overflow-wrap:anywhere}
.ty-row--wide{grid-column:1/-1}
.fab-ty .ty-status{display:inline-flex!important;align-items:center;gap:7px;color:#006037!important}
.ty-status i{flex:none;width:9px;height:9px;border-radius:50%;background:#f0b429;box-shadow:0 0 0 3px rgba(240,180,41,.25)}
.ty-actions{display:flex;gap:10px;max-width:540px;margin:16px auto 0}
.ty-actions .co-btn{margin:0;flex:1;height:42px;border-radius:8px;letter-spacing:.03em;text-transform:none;font-size:13.5px;font-weight:600}

/* journey */
.fab-ty .ty-h2{font-size:1.1rem;font-weight:700;line-height:1.5;letter-spacing:-.1px;color:#1c1c1c}
.fab-ty .ty-h2 small{display:block;margin-top:2px;font-size:13px;font-weight:400;line-height:1.4;letter-spacing:0;color:#6b7570}
.fab-ty .ty-steps{padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:18px}
.fab-ty .ty-steps li{position:relative;text-align:center;padding:0 4px}
.ty-steps li i{position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;margin:0 auto;border-radius:50%;background:#eefaf5;border:2px solid #d9f4ea;color:#219681;font-style:normal;transition:all .25s}
.ty-steps li i svg{width:19px;height:19px}
.ty-steps li:not(:last-child)::before{content:"";position:absolute;top:19px;left:calc(50% + 22px);right:calc(-50% + 22px);height:2px;background:#e1efe8}
.ty-steps li.is-done i{background:var(--acc);border-color:var(--acc);color:#fff}
.ty-steps li.is-done:not(:last-child)::before{background:var(--acc)}
.ty-steps li.is-now i{background:#fff;border-color:var(--acc);box-shadow:0 0 0 5px rgba(51,204,153,.18);animation:tyPulse 2s infinite}
@keyframes tyPulse{0%,100%{box-shadow:0 0 0 5px rgba(51,204,153,.18)}50%{box-shadow:0 0 0 9px rgba(51,204,153,.08)}}
.fab-ty .ty-steps li h3{margin-top:10px;font-size:13px;font-weight:600;line-height:1.3;color:#1c1c1c}
.fab-ty .ty-steps li.is-now h3{color:#006037}
.fab-ty .ty-steps li p{margin:3px 0 0;font-size:12px;line-height:1.5;color:#6b7570}
.fab-ty .ty-tip{display:flex;gap:10px;margin:18px 0 0;padding:10px 12px;border-radius:8px;background:#fff8e6;color:#6b4e00;font-size:13px;line-height:1.5}
.ty-tip svg{width:18px;height:18px;margin-top:1px;color:#c98a00}
.ty-tip b{font-weight:600;color:#4a3600}

/* app band */
.ty-app{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;margin-bottom:14px;border-radius:8px;background:linear-gradient(120deg,#0E5A36,#1b8a5a);color:#fff;box-shadow:0 10px 24px rgba(14,90,54,.22)}
.fab-ty .ty-app h2{font-size:1rem;font-weight:600;line-height:1.4;color:#fff}
.fab-ty .ty-app p{margin:2px 0 0;font-size:13px;line-height:1.5;color:rgba(255,255,255,.84)}
.ty-app__btns{display:flex;gap:10px;flex:none}
.fab-ty .ty-app__btns a{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:#fff;color:#0E5A36;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;transition:transform .15s}
.fab-ty .ty-app__btns a:hover{transform:translateY(-1px)}
.ty-app__btns svg{width:18px;height:18px}
.ty-app__btns a small{display:block;font-size:10px;font-weight:500;color:#6b7570;line-height:1.1}

/* FAQ in the page's own green-header style */
.ty-faq{padding:22px 24px 14px}
.ty-acc{margin-top:14px}
.ty-acc details{margin-bottom:8px}
.ty-acc summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-radius:6px;background:var(--mint);box-shadow:0 4px 15px 0 rgba(220,231,227,.3);font-size:15px;font-weight:500;line-height:1.4;color:#1c1c1c;cursor:pointer;list-style:none;transition:background .3s}
.ty-acc summary::-webkit-details-marker{display:none}
.ty-acc summary::after{content:"+";flex:none;font-size:24px;line-height:1;font-weight:300;color:#000;transition:transform .25s ease}
.ty-acc summary:hover{background:#fff}
.ty-acc details[open] summary{background:#fff;box-shadow:inset 0 0 0 1px var(--mint)}
.ty-acc details[open] summary::after{transform:rotate(45deg)}
.ty-acc__body{overflow:hidden}
.ty-acc details.is-anim .ty-acc__body{transition:height .28s ease}
.fab-ty .ty-acc details p{margin:0;padding:10px 16px 12px;font-size:14px;line-height:1.65;color:#444}
.fab-ty .ty-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 24px;margin:6px 0 0}
.fab-ty .ty-foot a{display:inline-flex;align-items:center;gap:6px;color:var(--acc);font-size:.8rem;font-weight:600;letter-spacing:.0892857143em;text-transform:uppercase;text-decoration:none;padding:8px 0}
.fab-ty .ty-foot a:hover{text-decoration:underline}
.ty-foot svg{width:15px;height:15px}

/* ============ phones ============ */
@media (max-width:640px){
  .fab-co{padding:16px 16px 8px}
  .ty-card{padding:22px 16px}
  .ty-hero{padding:30px 16px 22px}
  .fab-ty .ty-title{font-size:1.4rem}
  .ty-summary{grid-template-columns:1fr;gap:12px;padding:16px}
  .ty-actions{flex-direction:column}
  .ty-actions .co-btn{flex:none}
  .fab-ty .ty-steps{grid-template-columns:1fr;gap:0}
  .fab-ty .ty-steps li{display:grid;grid-template-columns:46px 1fr;column-gap:14px;text-align:left;padding:0 0 18px}
  .ty-steps li i{grid-row:1/3;margin:0}
  .fab-ty .ty-steps li h3{margin-top:12px}
  .ty-steps li:not(:last-child)::before{top:46px;left:22px;right:auto;bottom:0;width:2px;height:auto}
  .ty-app{flex-direction:column;align-items:flex-start;padding:20px 16px}
  .ty-app__btns{width:100%}
  .fab-ty .ty-app__btns a{flex:1;justify-content:center}
  .ty-faq{padding:22px 16px 14px}
  .ty-acc summary{padding:12px 14px;font-size:15px}
  .fab-ty .ty-acc details p{padding:10px 14px 12px}
}
@media (prefers-reduced-motion:reduce){
  .fab-co *,.fab-ty *{animation:none!important;transition:none!important}
  .ty-check svg path{stroke-dashoffset:0}
}
