/* Trust Fertility 2027 registration — brand theme (v2.0)
   Deep Navy / Ocean Teal / Sunset Peach on Warm Ivory. Colours come from Settings → Form design as CSS variables
   on .tfc-wrap; everything below is scoped. Matches the trustfertilityconf.ae 2027 design system
   (12px cards with hairline borders, pill buttons, Montserrat). */
.tfc-wrap{--tfc-primary:#066987;--tfc-primary-dark:#054461;--tfc-accent:#FCD1A6;--tfc-bg:#ffffff;--tfc-card:#FCFCF8;--tfc-text:#0F2A3C;--tfc-muted:#34475A;--tfc-border:#DCE6E5;--tfc-radius:12px;--tfc-font:'Montserrat',system-ui,sans-serif;--tfc-btn:#FCD1A6;--tfc-btn-text:#054461;--tfc-out:#054461;--tfc-max:1200px;
  --tfc-ring:color-mix(in srgb,var(--tfc-primary) 28%,transparent);--tfc-tint:color-mix(in srgb,var(--tfc-primary) 7%,var(--tfc-bg));--tfc-field:#ffffff;--tfc-line:color-mix(in srgb,var(--tfc-text) 10%,transparent);--tfc-accent-ink:var(--tfc-primary-dark);
  --tfc-danger:#9A3412;--tfc-danger-bg:#FDECE4;--tfc-ease:cubic-bezier(.2,.8,.2,1);--tfc-r-sm:8px;
  max-width:var(--tfc-max);margin:0 auto;padding:clamp(32px,5vw,56px) max(16px,env(safe-area-inset-left,0px)) clamp(48px,6vw,80px) max(16px,env(safe-area-inset-right,0px));font-family:var(--tfc-font);color:var(--tfc-text);line-height:1.5;box-sizing:border-box;-webkit-font-smoothing:antialiased;text-align:left;letter-spacing:normal}
.tfc-wrap *,.tfc-wrap *::before,.tfc-wrap *::after{box-sizing:border-box;font-family:inherit}
.tfc-wrap p,.tfc-wrap div,.tfc-wrap span,.tfc-wrap label{letter-spacing:inherit}
.tfc-wrap label{font-weight:400;margin:0;color:inherit;font-size:inherit;line-height:inherit}
.tfc-wrap .tfc-label{display:block}
.tfc-wrap h2,.tfc-wrap h4,.tfc-wrap h5{color:inherit;text-transform:none}
.tfc-wrap ul,.tfc-wrap ol,.tfc-wrap li{list-style:none;margin:0;padding:0}
.tfc-wrap a{color:var(--tfc-primary);text-decoration:none}
.tfc-wrap a:hover{color:var(--tfc-primary-dark);text-decoration:underline}
.tfc-wrap svg{flex:none}
.tfc-wrap a,.tfc-wrap button,.tfc-wrap input,.tfc-wrap select,.tfc-wrap label{touch-action:manipulation}
.tfc-wrap :focus-visible{outline:3px solid var(--tfc-primary);outline-offset:3px}
.tfc-card{position:relative;background:var(--tfc-bg);border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);padding:clamp(22px,3.4vw,40px);box-shadow:0 1px 2px rgba(5,68,97,.04),0 2px 6px rgba(5,68,97,.04)}
.tfc-card>*{position:relative}
@media(max-width:600px){.tfc-card{padding:22px 18px}}
.tfc-loading{text-align:center;color:var(--tfc-muted);padding:48px 0}
.tfc-spinner{display:inline-block;width:18px;height:18px;border:2.5px solid var(--tfc-border);border-top-color:var(--tfc-primary);border-radius:50%;animation:tfc-spin .8s linear infinite;vertical-align:middle;margin-right:8px}
@keyframes tfc-spin{to{transform:rotate(360deg)}}
.tfc-secure{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--tfc-muted);font-size:13px;margin:18px 0 0}
.tfc-secure svg{width:14px;height:14px;color:var(--tfc-primary)}

/* Progress — boxed step indicator, sits above the card on the ivory page */
.tfc-progress{--tfc-prog:0%;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin:0 0 20px;color:var(--tfc-out)}
.tfc-step{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--tfc-r-sm);border:1px solid var(--tfc-border);background:var(--tfc-bg);font-size:13px;font-weight:600;color:var(--tfc-muted);text-align:left;min-width:0;transition:border-color .3s,color .3s}
.tfc-step span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfc-step i{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--tfc-primary) 12%,var(--tfc-bg));font-style:normal;color:var(--tfc-primary);font-weight:700;font-size:12.5px;transition:.3s var(--tfc-ease)}
.tfc-step.active{border-color:var(--tfc-primary-dark);color:var(--tfc-primary-dark)}
.tfc-step.active i{background:var(--tfc-primary-dark);color:#fff}
.tfc-step.done i{background:var(--tfc-primary);color:#fff}
@media(max-width:720px){.tfc-progress{grid-auto-flow:row;grid-auto-columns:auto;gap:6px}.tfc-step:not(.active){display:none}}

/* Headings */
.tfc-h{margin:0 0 6px;font-size:clamp(22px,2.6vw,26px);font-weight:700;letter-spacing:-.02em;line-height:1.15;color:var(--tfc-primary-dark)}
.tfc-sub{margin:0 0 24px;color:var(--tfc-muted);font-size:15px;line-height:1.6;max-width:62ch}
.tfc-note{background:color-mix(in srgb,var(--tfc-primary) 9%,var(--tfc-bg));border:1px solid color-mix(in srgb,var(--tfc-primary) 22%,transparent);padding:12px 16px;border-radius:var(--tfc-r-sm);font-size:14px;margin:0 0 20px;color:var(--tfc-primary-dark);line-height:1.55}
.tfc-note strong{color:var(--tfc-primary-dark)}
.tfc-eb{display:inline-block;background:var(--tfc-accent);color:var(--tfc-accent-ink);font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;letter-spacing:.1em;text-transform:uppercase;margin-left:8px;vertical-align:middle}

/* Fields */
.tfc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.tfc-field{display:flex;flex-direction:column}
.tfc-field.full{grid-column:1/-1}
@media(max-width:600px){.tfc-grid{grid-template-columns:1fr}}
.tfc-wrap .tfc-label{font-size:13px;font-weight:600;color:var(--tfc-primary-dark);margin-bottom:6px}
.tfc-label .req{color:#C2410C;margin-left:3px}
.tfc-input,.tfc-select,.tfc-textarea{width:100%;padding:12px 14px;border:1px solid color-mix(in srgb,var(--tfc-border) 60%,var(--tfc-primary) 10%);border-radius:var(--tfc-r-sm);font:inherit;font-size:15px;color:var(--tfc-text);background:var(--tfc-field);outline:none;transition:border-color .2s,box-shadow .2s;min-height:48px;appearance:none;-webkit-appearance:none}
.tfc-input::placeholder,.tfc-textarea::placeholder{color:color-mix(in srgb,var(--tfc-muted) 65%,transparent)}
.tfc-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23054461' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:38px;cursor:pointer}
.tfc-select option{background:#fff;color:var(--tfc-text)}
.tfc-input:hover,.tfc-select:hover,.tfc-textarea:hover{border-color:#9DBAC4}
.tfc-input:focus,.tfc-select:focus,.tfc-textarea:focus{border-color:var(--tfc-primary);box-shadow:0 0 0 3px var(--tfc-ring);outline:none}
.tfc-field:focus-within .tfc-label{color:var(--tfc-primary)}
.tfc-input:-webkit-autofill,.tfc-select:-webkit-autofill{-webkit-text-fill-color:var(--tfc-text);-webkit-box-shadow:0 0 0 1000px var(--tfc-field) inset;caret-color:var(--tfc-text)}
.tfc-input[type=date]{color-scheme:light}
.tfc-field.error .tfc-input,.tfc-field.error .tfc-select{border-color:#C2410C}
.tfc-err{color:var(--tfc-danger);font-size:13px;margin-top:6px;display:none}
.tfc-field.error .tfc-err{display:block}
.tfc-phone{display:flex;gap:8px}
.tfc-phone .tfc-select{width:140px;flex:none}
@media(max-width:380px){.tfc-phone .tfc-select{width:118px}}
.tfc-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}

/* Seats / availability chips */
.tfc-seats{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--tfc-primary) 10%,var(--tfc-bg));color:var(--tfc-primary);white-space:nowrap}
.tfc-seats.low{color:var(--tfc-accent-ink);background:var(--tfc-accent);animation:tfc-pulse 1.8s ease-in-out infinite}
.tfc-seats.out{color:var(--tfc-danger);background:var(--tfc-danger-bg);animation:none}
.tfc-seats.out i{width:6px;height:6px;border-radius:50%;background:var(--tfc-danger);display:inline-block}
@keyframes tfc-pulse{0%,100%{opacity:1}50%{opacity:.6}}
.tfc-daygroup{display:flex;align-items:center;gap:12px;margin:22px 0 12px;font-weight:600;font-size:12px;color:var(--tfc-primary);text-transform:uppercase;letter-spacing:.14em}
.tfc-daygroup::after{content:"";flex:1;height:1px;background:var(--tfc-line)}
.tfc-sec-title{font-weight:700;font-size:19px;letter-spacing:-.02em;margin:26px 0 12px;color:var(--tfc-primary-dark)}

/* Dates */
.tfc-dates{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-top:14px}
@media(max-width:600px){.tfc-dates{grid-template-columns:1fr 1fr}}
.tfc-nights{font-weight:700;color:var(--tfc-primary-dark);padding-bottom:14px;white-space:nowrap}
.tfc-dates-box{border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);padding:6px 18px 18px;margin:8px 0 10px;background:var(--tfc-card)}

/* Summary */
.tfc-summary{background:var(--tfc-card);border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);padding:0 0 12px;margin-bottom:20px;overflow:hidden}
.tfc-summary h4{margin:0 0 8px;padding:14px 20px;font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--tfc-primary);border-bottom:1px solid var(--tfc-border);font-weight:600}
.tfc-summary .tfc-line{margin:0 20px}
.tfc-line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--tfc-line);font-size:14.5px}
.tfc-line span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.tfc-line .m{display:block;color:var(--tfc-muted);font-size:12.5px;margin-top:2px}
.tfc-line.sub{border:0;color:var(--tfc-muted);padding-top:12px;padding-bottom:4px}
.tfc-line.disc{border:0;color:var(--tfc-primary);font-weight:600;padding-top:4px;padding-bottom:4px}
.tfc-line.total{border:0;font-size:22px;font-weight:700;letter-spacing:-.02em;padding-top:14px;margin-top:6px;border-top:1px solid var(--tfc-border);color:var(--tfc-primary-dark)}
.tfc-line.total span:last-child{color:var(--tfc-primary-dark)}
.tfc-coupon{display:flex;gap:8px;margin-bottom:12px}
.tfc-coupon .tfc-input{text-transform:uppercase;letter-spacing:.06em;font-weight:600}
.tfc-coupon .tfc-btn{min-height:48px;padding:0 20px;flex:none}
.tfc-coupon-msg{font-size:13px;margin:-4px 0 10px;min-height:0}
.tfc-coupon-msg.ok{color:var(--tfc-primary);font-weight:600}
.tfc-coupon-msg.bad{color:var(--tfc-danger)}
.tfc-coupon-box{border:1px dashed color-mix(in srgb,var(--tfc-primary) 40%,transparent);background:var(--tfc-card);border-radius:var(--tfc-radius);padding:16px 18px 6px;margin-bottom:20px}
.tfc-wrap .tfc-coupon-box .tfc-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--tfc-primary-dark);font-weight:600;margin-bottom:10px}
.tfc-coupon-box .tfc-label svg{width:16px;height:16px;color:var(--tfc-primary)}
.tfc-review-block{margin-bottom:16px;padding:16px 18px;border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);background:var(--tfc-card)}
.tfc-review-block h5{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--tfc-primary);display:flex;justify-content:space-between;align-items:center;font-weight:600}
.tfc-review-block h5 a{font-size:13px;color:var(--tfc-primary);text-transform:none;letter-spacing:0;cursor:pointer;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tfc-review-block p{margin:0;font-size:14.5px;line-height:1.6}
.tfc-check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;margin:8px 0 22px;color:var(--tfc-muted);cursor:pointer;line-height:1.5}
.tfc-check input{margin:2px 0 0;accent-color:var(--tfc-primary);width:18px;height:18px;flex:none}
.tfc-check a{text-decoration:underline;text-underline-offset:2px}

/* Buttons */
.tfc-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}
.tfc-btn{font:inherit;font-weight:600;font-size:15px;min-height:48px;padding:0 24px;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s,border-color .15s,color .15s;display:inline-flex;align-items:center;gap:10px;background:transparent;color:var(--tfc-primary-dark);white-space:nowrap;line-height:1}
.tfc-btn .ar{width:18px;height:18px;transition:transform .2s}
.tfc-btn:hover{transform:translateY(-2px)}
.tfc-btn:hover .ar{transform:translateX(3px)}
.tfc-btn-ghost:hover .ar{transform:translateX(-3px)}
.tfc-btn-primary{background:var(--tfc-btn);color:var(--tfc-btn-text);border-color:var(--tfc-btn);margin-left:auto}
.tfc-btn-primary:hover{background:color-mix(in srgb,var(--tfc-btn) 88%,#E8A86A);border-color:color-mix(in srgb,var(--tfc-btn) 88%,#E8A86A);box-shadow:0 10px 24px color-mix(in srgb,var(--tfc-btn) 45%,transparent)}
.tfc-btn-ghost{background:transparent;border-color:#9DBAC4;color:var(--tfc-primary-dark)}
.tfc-btn-ghost:hover{border-color:var(--tfc-primary);color:var(--tfc-primary)}
.tfc-btn-link{background:transparent;border:0;color:var(--tfc-primary);text-decoration:underline;text-underline-offset:3px;padding:8px 0;font-weight:600;min-height:0}
.tfc-btn[disabled]{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.tfc-btn .tfc-spinner{border-color:rgba(5,68,97,.2);border-top-color:currentColor;margin:0}
.tfc-alert{background:var(--tfc-danger-bg);border:1px solid #F5C4AE;color:#7C2D12;padding:14px 16px;border-radius:var(--tfc-r-sm);font-size:14px;margin-bottom:18px;line-height:1.5}
.tfc-alert.info{background:color-mix(in srgb,var(--tfc-primary) 9%,var(--tfc-bg));border-color:color-mix(in srgb,var(--tfc-primary) 25%,transparent);color:var(--tfc-primary-dark)}
@media(max-width:600px){.tfc-actions{flex-direction:column-reverse;align-items:stretch}.tfc-actions .tfc-btn{width:100%;justify-content:center;margin-left:0;white-space:normal;min-height:48px;padding:12px 24px;line-height:1.3}}

/* Payment */
#tfc-payment-element{margin:10px 0 24px;min-height:120px}
.tfc-pay-total{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:15px;background:var(--tfc-card);border:1px solid var(--tfc-border);padding:16px 20px;border-radius:var(--tfc-radius);margin-bottom:20px;color:var(--tfc-muted)}
.tfc-pay-total span:last-child{color:var(--tfc-primary-dark);font-size:24px;letter-spacing:-.02em;font-weight:700;font-variant-numeric:tabular-nums}

/* Confirmation / ticket */
.tfc-done{text-align:center;padding:10px 0 0}
.tfc-done .ck{width:72px;height:72px;border-radius:50%;background:var(--tfc-btn);color:var(--tfc-btn-text);display:inline-flex;align-items:center;justify-content:center;margin-bottom:18px;box-shadow:0 0 0 10px color-mix(in srgb,var(--tfc-btn) 30%,transparent);animation:tfc-pop .8s var(--tfc-ease) both}
.tfc-done .ck svg{width:34px;height:34px}
@keyframes tfc-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
.tfc-done .tfc-sub{margin-left:auto;margin-right:auto}
.tfc-ticket{margin:24px auto 18px;max-width:420px;border-radius:16px;overflow:hidden;text-align:left;box-shadow:0 20px 50px rgba(5,68,97,.25);background:var(--tk-bg,#054461);color:var(--tk-text,#FCFCF8);font-family:var(--tfc-font);border:1px solid rgba(255,255,255,.1)}
.tfc-ticket,.tfc-ticket *{text-align:left;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;font-family:inherit}
.tfc-ticket .tk-head{padding:26px 24px 18px;border-bottom:2px dashed rgba(255,255,255,.2);position:relative;text-align:center}
.tfc-ticket .tk-head *{text-align:center}
.tfc-ticket .tk-logo{max-height:96px;max-width:82%;width:auto;object-fit:contain;display:block;margin:0 auto 12px;background:#fff;border-radius:10px;padding:8px 12px}
.tfc-ticket .tk-title{font-size:22px;font-weight:800;letter-spacing:-.01em}
.tfc-ticket .tk-sub{font-size:12px;opacity:.85;margin-top:4px;line-height:1.35}
.tfc-ticket .tk-meta{font-size:12.5px;opacity:.85;margin-top:4px}
.tfc-ticket .tk-body{padding:18px 24px;display:flex;gap:16px;align-items:center}
.tfc-ticket .tk-body .tk-info{flex:1;min-width:0}
.tfc-ticket .tk-lbl{font-size:10px;text-transform:uppercase;letter-spacing:.12em;opacity:.65;margin-top:10px}
.tfc-ticket .tk-lbl:first-child{margin-top:0}
.tfc-ticket .tk-val{font-size:15px;font-weight:700;line-height:1.35}
.tfc-ticket .tk-val.sm{font-size:13px;font-weight:500}
.tfc-ticket .tk-qr{background:#fff;padding:8px;border-radius:10px;flex:none}
.tfc-ticket .tk-qr img,.tfc-ticket .tk-qr canvas{display:block;width:110px;height:110px}
.tfc-ticket .tk-code{font-size:19px;font-weight:800;color:var(--tk-accent,#FCD1A6)}
.tfc-ticket .tk-foot{padding:10px 24px 16px;font-size:11px;opacity:.75;border-top:1px solid rgba(255,255,255,.12)}
.tfc-ticket .tk-type{display:inline-block;margin-top:12px;background:var(--tk-accent,#FCD1A6);color:var(--tk-bg,#054461);font-size:11px;font-weight:700;padding:5px 14px;border-radius:999px;text-transform:uppercase;letter-spacing:.08em}

/* ---- Step 2: registration type cards ---- */
.tfc-types{display:grid;gap:12px;margin-bottom:8px}
.tfc-type{position:relative;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);background:var(--tfc-field);cursor:pointer;transition:border-color .15s,box-shadow .15s;min-height:92px}
.tfc-type:hover{border-color:#9DBAC4}
.tfc-type input{position:absolute;opacity:0;pointer-events:none}
.tfc-type-num{width:28px;height:28px;border-radius:50%;border:1px solid var(--tfc-border);color:var(--tfc-muted);background:var(--tfc-card);font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;transition:.2s}
.tfc-type-icon{width:52px;height:52px;border-radius:var(--tfc-r-sm);background:color-mix(in srgb,var(--tfc-primary) 10%,var(--tfc-bg));color:var(--tfc-primary);display:flex;align-items:center;justify-content:center;transition:.2s}
.tfc-type-icon svg{width:26px;height:26px}
.tfc-type-body{min-width:0}
.tfc-type-body .t{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-weight:600;font-size:17px;line-height:1.2;letter-spacing:-.01em;color:var(--tfc-primary-dark)}
.tfc-type-body .t .badge{font-style:normal;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;background:var(--tfc-accent);color:var(--tfc-accent-ink);padding:3px 8px;border-radius:999px}
.tfc-type-body .t .badge.full{background:var(--tfc-danger-bg);color:var(--tfc-danger)}
.tfc-type-body .d{display:block;margin-top:5px;color:var(--tfc-muted);font-size:13.5px;line-height:1.5;font-weight:400}
.tfc-type-body .tfc-seats{margin-top:8px}
.tfc-type-price{font-weight:700;font-size:18px;color:var(--tfc-primary-dark);text-align:right;white-space:nowrap;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.tfc-type-price small{display:block;font-weight:500;font-size:12px;color:var(--tfc-muted);white-space:normal;max-width:14ch;margin-left:auto}
.tfc-type-price s{color:var(--tfc-muted)}
.tfc-type:has(.tfc-type-price){grid-template-columns:auto auto 1fr auto auto}
.tfc-type-check{width:28px;height:28px;border-radius:50%;border:1px solid var(--tfc-border);display:flex;align-items:center;justify-content:center;color:transparent;transition:.2s;background:var(--tfc-card)}
.tfc-type-check svg{width:14px;height:14px}
.tfc-type.selected{border-color:var(--tfc-primary-dark);box-shadow:0 0 0 1px var(--tfc-primary-dark)}
.tfc-type.selected .tfc-type-num{border-color:var(--tfc-primary-dark);color:var(--tfc-primary-dark)}
.tfc-type.selected .tfc-type-icon{background:var(--tfc-primary-dark);color:#fff}
.tfc-type.selected .tfc-type-check{background:var(--tfc-primary-dark);border-color:var(--tfc-primary-dark);color:#fff}
.tfc-type.disabled{cursor:not-allowed}
.tfc-type.disabled:hover{border-color:var(--tfc-border)}
.tfc-type.disabled .tfc-type-icon{background:color-mix(in srgb,var(--tfc-text) 5%,transparent);color:var(--tfc-muted)}
.tfc-type.disabled .tfc-type-body .t,.tfc-type.disabled .tfc-type-num{color:var(--tfc-muted)}
.tfc-type.disabled .tfc-type-check{opacity:.35}
.tfc-type.full{background:repeating-linear-gradient(135deg,transparent 0 10px,rgba(5,68,97,.03) 10px 20px),var(--tfc-card)}
@media(max-width:600px){.tfc-type{grid-template-columns:auto 1fr auto;padding:14px;gap:12px}.tfc-type-num{display:none}.tfc-type-icon{width:44px;height:44px}.tfc-type-icon svg{width:22px;height:22px}.tfc-type-body .t{font-size:16px}.tfc-type-body .d{font-size:13px}.tfc-type:has(.tfc-type-price){grid-template-columns:auto 1fr auto}.tfc-type-price{grid-column:2;text-align:left;font-size:16px}.tfc-type-price small{display:inline;margin-left:4px}}

/* ---- Workshop cards ---- */
.tfc-ws-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:6px}
@media(max-width:640px){.tfc-ws-grid{grid-template-columns:1fr}}
.tfc-ws-card{position:relative;display:flex;flex-direction:column;gap:7px;padding:18px 18px 16px;border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);background:var(--tfc-field);cursor:pointer;transition:border-color .15s,box-shadow .15s;min-height:120px}
.tfc-ws-card:hover{border-color:#9DBAC4}
.tfc-ws-card input{position:absolute;opacity:0;pointer-events:none}
.tfc-ws-check{position:absolute;top:14px;right:14px;width:26px;height:26px;border-radius:50%;border:1px solid var(--tfc-border);display:flex;align-items:center;justify-content:center;color:transparent;background:var(--tfc-card);transition:.2s}
.tfc-ws-check svg{width:13px;height:13px}
.tfc-ws-name{font-weight:600;font-size:16px;line-height:1.25;padding-right:40px;letter-spacing:-.01em;color:var(--tfc-primary-dark)}
.tfc-ws-meta{display:flex;flex-direction:column;gap:3px;color:var(--tfc-muted);font-size:13px;line-height:1.45;font-weight:400}
.tfc-ws-meta .tm{display:inline-flex;align-items:center;gap:6px;color:var(--tfc-text);font-weight:600;font-size:12.5px}
.tfc-ws-meta .tm svg{width:14px;height:14px;color:var(--tfc-primary)}
.tfc-ws-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px;flex-wrap:wrap}
.tfc-ws-price{font-weight:700;font-size:17px;color:var(--tfc-primary-dark);letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.tfc-ws-card.selected{border-color:var(--tfc-primary-dark);box-shadow:0 0 0 1px var(--tfc-primary-dark)}
.tfc-ws-card.selected .tfc-ws-check{background:var(--tfc-primary-dark);border-color:var(--tfc-primary-dark);color:#fff}
.tfc-ws-pair{position:absolute;left:14px;top:-11px;background:var(--tfc-primary);color:#fff;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:999px;white-space:nowrap}
.tfc-ws-pair.full{background:var(--tfc-danger);color:#fff;border:0}
.tfc-ws-card.combinable{border-color:color-mix(in srgb,var(--tfc-primary) 45%,var(--tfc-border))}
.tfc-ws-card.blocked,.tfc-ws-card.soldout{cursor:not-allowed;border-style:dashed;border-color:var(--tfc-border);background:repeating-linear-gradient(135deg,transparent 0 10px,rgba(5,68,97,.03) 10px 20px),var(--tfc-card);box-shadow:none}
.tfc-ws-card.blocked:hover,.tfc-ws-card.soldout:hover{border-color:var(--tfc-border)}
.tfc-ws-card.blocked .tfc-ws-name,.tfc-ws-card.soldout .tfc-ws-name,.tfc-ws-card.blocked .tfc-ws-meta,.tfc-ws-card.soldout .tfc-ws-meta,.tfc-ws-card.blocked .tfc-ws-meta .tm,.tfc-ws-card.soldout .tfc-ws-meta .tm{color:var(--tfc-muted)}
.tfc-ws-card.blocked .tfc-ws-meta .tm svg,.tfc-ws-card.soldout .tfc-ws-meta .tm svg{color:var(--tfc-muted)}
.tfc-ws-card.blocked .tfc-ws-price,.tfc-ws-card.soldout .tfc-ws-price{color:var(--tfc-muted);text-decoration:line-through;opacity:.7}
.tfc-ws-card.blocked .tfc-ws-check,.tfc-ws-card.soldout .tfc-ws-check{opacity:.35}
.tfc-ws-card.soldout .tfc-ws-name{opacity:.7}
.tfc-ws-lock{display:inline-flex;align-items:center;gap:7px;margin-top:4px;font-size:12px;font-weight:600;color:var(--tfc-accent-ink);background:var(--tfc-accent);padding:5px 10px;border-radius:999px;align-self:flex-start;line-height:1.3;max-width:100%}
.tfc-ws-lock svg{width:13px;height:13px}


/* ---- Two-column layout: form + live order sidebar ---- */
.tfc-main{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.tfc-col{min-width:0}
.tfc-side{position:sticky;top:120px;min-width:0}
.tfc-side-card{background:var(--tfc-bg);border:1px solid var(--tfc-border);border-radius:var(--tfc-radius);padding:22px 22px 18px;box-shadow:0 1px 2px rgba(5,68,97,.04),0 2px 6px rgba(5,68,97,.04)}
.tfc-side-ev{display:flex;flex-direction:column;gap:6px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--tfc-border)}
.tfc-side-kicker{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--tfc-primary);margin-bottom:4px}
.tfc-side-row{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--tfc-primary-dark)}
.tfc-side-row svg{width:16px;height:16px;color:var(--tfc-primary)}
.tfc-wrap .tfc-side-h{margin:0 0 12px;font-size:17px;font-weight:700;letter-spacing:-.01em;color:var(--tfc-primary-dark)}
.tfc-side-lines{display:flex;flex-direction:column;gap:10px;margin:0}
.tfc-side-lines li{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--tfc-muted);line-height:1.4}
.tfc-side-lines li span:last-child{font-weight:600;color:var(--tfc-primary-dark);white-space:nowrap;font-variant-numeric:tabular-nums}
.tfc-side-sub{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;color:var(--tfc-muted);margin-top:10px}
.tfc-side-sub span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.tfc-side-sub.disc{color:var(--tfc-primary);font-weight:600}
.tfc-side-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--tfc-border)}
.tfc-side-total span{font-size:14px;font-weight:600;color:var(--tfc-muted)}
.tfc-side-total b{font-size:24px;font-weight:700;color:var(--tfc-primary-dark);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.tfc-side-empty{margin:0;font-size:14px;color:var(--tfc-muted);line-height:1.55;padding:14px;border:1px dashed var(--tfc-border);border-radius:var(--tfc-r-sm);background:var(--tfc-card)}
.tfc-side-save{margin:10px 0 0;font-size:12.5px;color:var(--tfc-primary);line-height:1.5}
.tfc-side-trust{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px;font-size:12.5px;color:var(--tfc-muted)}
.tfc-side-trust span{display:inline-flex;align-items:center;gap:6px}
.tfc-side-trust svg{width:14px;height:14px;color:var(--tfc-primary)}
.tfc-side-help{margin-top:16px;padding:16px 18px;border-radius:var(--tfc-radius);background:#D7E4E2;font-size:13.5px;color:var(--tfc-primary-dark);line-height:1.55}
.tfc-wrap .tfc-side-help a{font-weight:600;display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:var(--tfc-primary-dark)}
.tfc-side-help svg{width:16px;height:16px;color:var(--tfc-primary)}
@media(max-width:1024px){.tfc-main{grid-template-columns:1fr}.tfc-side{position:static}}

/* Step eyebrow above the heading */
.tfc-stepno{display:inline-flex;align-items:center;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--tfc-primary);padding:5px 10px;border:1px solid color-mix(in srgb,var(--tfc-primary) 30%,transparent);border-radius:999px;background:var(--tfc-card);margin-bottom:14px}

@media(prefers-reduced-motion:reduce){.tfc-wrap *{animation:none !important;transition:none !important}}
