/*
 * PATH: /wp-content/plugins/tornado-core/assets/css/configurator2.css
 * The public configurator, second design (12/10/2026). Markup: inc/configurator/cfg2-render.php.
 * Dark public palette (public-v4.css): bg #020b16, panel #0b1b2b, orange #ff6d2d.
 * Breakpoint 900 px; touch targets 44 px or more.
 * 16/10/2026: band and summary line for a visitor who came through a Tornado Partner.
 */

.tc2 {
  --tc2-bg: #020b16;
  --tc2-panel: #0b1b2b;
  --tc2-line: rgba(255, 255, 255, 0.14);
  --tc2-soft: rgba(255, 255, 255, 0.09);
  --tc2-text: #f8fafc;
  --tc2-muted: rgba(255, 255, 255, 0.68);
  --tc2-orange: #ff6d2d;
  --tc2-orange-t: #ff8533;
  --tc2-on: rgba(255, 109, 45, 0.10);
  color: var(--tc2-text);
  font-family: inherit;
  max-width: 1360px;
  margin: 0 auto;
  padding: 72px 40px 88px;
  box-sizing: border-box;
  scroll-margin-top: 24px;
}
.tc2 *, .tc2 *::before, .tc2 *::after { box-sizing: border-box; }
.tc2 [hidden] { display: none !important; }
.tc2 button { font-family: inherit; }
.tc2--model { border-top: 1px solid var(--tc2-soft); }
/* The theme colours headings dark navy; on this dark section they must be light. */
.tc2 h2, .tc2 h3, .tc2 h4, .tc2-head h1 { color: #f8fafc; }
.tc2 .tc2-group__h { color: var(--tc2-muted); }
.tc2 label, .tc2 .tnd-wa-optin__text strong { color: #f8fafc; }
.tc2 .tnd-wa-optin__text small { color: rgba(255, 255, 255, 0.72); }
/* While the configurator's bottom bar shows, the theme's back-to-top button would cover it. */
body.tc2-bar-on #ast-scroll-top { display: none !important; }

/* ---------- /boat-configurator/ heading (outside .tc2) ---------- */
.tc2-head { max-width: 1360px; margin: 0 auto; padding: 56px 40px 0; box-sizing: border-box; color: #f8fafc; }
.tc2-head .tc2-kicker { color: #ff8533; }
.tc2-h1 { margin: 6px 0 0; font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.tc2-head .tc2-lead { margin: 14px 0 0; max-width: 640px; color: rgba(255, 255, 255, 0.72); font-size: 17px; }
.tc2-head + .tc2 { padding-top: 40px; }

/* ---------- model picker (page) ---------- */
.tc2-h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.tc2-lead { margin: 10px 0 0; color: var(--tc2-muted); font-size: 17px; }
.tc2-pick__grid { list-style: none; margin: 28px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tc2-pick__card {
  width: 100%; min-height: 44px; cursor: pointer; text-align: left; color: var(--tc2-text);
  background: var(--tc2-panel); border: 1px solid var(--tc2-line); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease, transform .15s ease;
}
.tc2-pick__card:hover, .tc2-pick__card:focus-visible { border-color: var(--tc2-orange); transform: translateY(-2px); outline: none; }
.tc2-pick__img { display: flex; align-items: center; justify-content: center; height: 110px; border-radius: 10px; background: radial-gradient(ellipse at 50% 60%, #12304d 0%, #071526 70%); }
.tc2-pick__img img { max-width: 92%; max-height: 100px; object-fit: contain; }
.tc2-pick__name { font-size: 18px; font-weight: 800; }

/* ---------- two columns ---------- */
.tc2-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.tc2-visual { flex: 999 1 560px; min-width: 0; position: sticky; top: 16px; align-self: flex-start; }
.tc2-steps { flex: 1 1 420px; min-width: 0; max-width: 540px; }

.tc2-kicker { margin: 0; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--tc2-orange-t); text-transform: uppercase; }
.tc2-title { margin: 4px 0 0; font-size: clamp(54px, 7vw, 92px); line-height: .95; font-weight: 900; letter-spacing: -.03em; }
.tc2-link { margin-top: 10px; padding: 8px 0; min-height: 44px; background: none; border: 0; color: var(--tc2-text); font-size: 14px; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--tc2-orange); border-radius: 0; }
.tc2-stage {
  margin: 22px 0 0; position: relative; border-radius: 16px; border: 1px solid var(--tc2-soft);
  background: radial-gradient(ellipse at 50% 60%, #12304d 0%, #071526 55%, var(--tc2-bg) 100%);
  padding: 48px 24px 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: center;
}
.tc2-stage img { display: block; width: 100%; height: auto; }
.tc2-stage__cap { position: absolute; top: 14px; right: 16px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.tc2-colours { margin: 14px 0 0; font-size: 14px; color: var(--tc2-muted); }
.tc2-chips { list-style: none; margin: 12px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.tc2-chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--tc2-line); }
.tc2-chips__none { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- steps ---------- */
.tc2-step + .tc2-step { margin-top: 44px; }
.tc2-step__h { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; }
.tc2-step__n { font-size: 13px; font-weight: 700; color: var(--tc2-orange-t); }
.tc2-step__p { margin: 6px 0 16px; color: var(--tc2-muted); font-size: 15px; }

.tc2-usage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tc2-choice {
  text-align: left; min-height: 76px; padding: 15px 17px; border-radius: 12px; cursor: pointer;
  background: var(--tc2-panel); border: 1px solid var(--tc2-line); color: var(--tc2-text);
}
.tc2-choice strong { display: block; font-size: 18px; font-weight: 800; }
.tc2-choice span { display: block; font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.tc2-choice.is-on { background: var(--tc2-on); border: 2px solid var(--tc2-orange); padding: 14px 16px; }
.tc2-choice:focus-visible, .tc2-swatch:focus-visible, .tc2-card2:focus-visible, .tc2-cta:focus-visible { outline: 2px solid var(--tc2-orange-t); outline-offset: 2px; }

.tc2-sw { margin-top: 16px; }
.tc2-sw__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--tc2-muted); text-transform: uppercase; }
.tc2-sw__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tc2-swatch { width: 48px; height: 48px; border-radius: 50%; border: 2px solid transparent; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tc2-swatch.is-on { border-color: var(--tc2-orange); }
.tc2-swatch__chip { display: block; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); overflow: hidden; background: #3a4654; }
.tc2-swatch__chip img { width: 100%; height: 100%; object-fit: cover; }

.tc2-group { margin-top: 24px; }
.tc2-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tc2-group__h { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--tc2-muted); text-transform: uppercase; }
.tc2-group__hint { font-size: 12px; color: rgba(255, 255, 255, .58); }
.tc2-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.tc2-card2 {
  display: flex; flex-direction: column; width: 100%; text-align: left; cursor: pointer; color: var(--tc2-text);
  border-radius: 12px; padding: 11px; background: var(--tc2-panel); border: 1px solid var(--tc2-line);
  transition: border-color .15s ease, background .15s ease;
}
.tc2-card2:hover { border-color: rgba(255, 255, 255, .32); }
.tc2-card2.is-on { padding: 10px; background: var(--tc2-on); border: 2px solid var(--tc2-orange); }
.tc2-card2.is-inc { cursor: default; }
.tc2-card2__img { display: flex; align-items: center; justify-content: center; height: 108px; border-radius: 8px; background: #e9ecef; overflow: hidden; }
.tc2-card2__img img { max-height: 96px; max-width: 90%; object-fit: contain; }
.tc2-card2__noimg { font-size: 12px; color: #5b6672; }
.tc2-card2__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 10px; }
.tc2-card2__name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.tc2-card2__tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  color: transparent; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.tc2-card2.is-on .tc2-card2__tick { background: var(--tc2-orange); border-color: var(--tc2-orange); color: #111; }
.tc2-card2__inc { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--tc2-orange-t); }
.tc2-card2__price { display: block; margin-top: 4px; font-size: 13px; color: var(--tc2-muted); }

/* ---------- summary and cards ---------- */
.tc2-sum, .tc2-card { margin-top: 44px; border-radius: 16px; background: var(--tc2-panel); border: 1px solid var(--tc2-line); padding: 24px; scroll-margin-top: 90px; }
.tc2-card { margin-top: 0; padding: 28px; }
.tc2-sum__h, .tc2-card__h { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; }
.tc2-card__h { margin-top: 12px; font-size: 26px; }
.tc2-card__p { margin: 6px 0 0; font-size: 15px; color: var(--tc2-muted); }
.tc2-card__p a { color: var(--tc2-text); text-decoration: underline; }
.tc2-sum__kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 8px; margin: 14px 0 0; font-size: 15px; }
.tc2-sum__kv dt { color: var(--tc2-muted); }
.tc2-sum__kv dd { margin: 0; font-weight: 600; }
.tc2-sum__list { list-style: none; margin: 14px 0 0 !important; padding: 12px 0 0 !important; border-top: 1px solid var(--tc2-line); }
.tc2-sum__list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.tc2-sum__list li span + span { color: var(--tc2-muted); white-space: nowrap; }
.tc2-sum__none { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--tc2-line); font-size: 14px; color: rgba(255, 255, 255, .6); }
.tc2-sum__total { margin: 12px 0 0; font-size: 18px; font-weight: 800; }
.tc2-sum__note { margin: 16px 0 0; font-size: 13px; color: var(--tc2-muted); }
/* ---------- came through a Tornado Partner (16/10/2026) ---------- */
.tc2-partner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 0 0 32px; padding: 14px 18px; background: var(--tc2-panel); border: 1px solid var(--tc2-line); border-radius: 14px; }
.tc2-partner__mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--tc2-orange); color: #0b1b2b; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.tc2-partner__txt { flex: 1 1 200px; display: flex; flex-direction: column; line-height: 1.35; }
.tc2-partner__txt strong { font-size: 16px; color: var(--tc2-text); }
.tc2-partner__txt span { font-size: 14px; color: var(--tc2-muted); }
.tc2-partner__who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--tc2-muted); }
.tc2 .tc2-partner__who a { color: var(--tc2-text); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.tc2 .tc2-partner__who a:hover { color: var(--tc2-orange-t); }
.tc2 .tc2-partner__back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--tc2-line); border-radius: 10px; color: var(--tc2-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.tc2 .tc2-partner__back:hover, .tc2 .tc2-partner__back:focus-visible { border-color: var(--tc2-orange); color: var(--tc2-text); }
.tc2-sum__partner { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--tc2-soft); font-size: 14px; line-height: 1.4; color: var(--tc2-text); }
.tc2-sum__partner .tc2-partner__mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; }
.tc2-cta {
  display: flex; align-items: center; justify-content: center; margin-top: 18px; width: 100%; min-height: 54px;
  border-radius: 10px; border: 0; background: var(--tc2-orange); color: #111; font-size: 16px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none;
}
.tc2-cta:hover { background: var(--tc2-orange-t); color: #111; }
.tc2-cta:disabled { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); cursor: not-allowed; }
.tc2-cta--inline { width: auto; padding: 0 22px; margin-top: 0; }
.tc2-hint { margin: 10px 0 0; font-size: 13px; color: var(--tc2-orange-t); text-align: center; }
.tc2-ghost { min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--tc2-text); font-size: 15px; font-weight: 600; cursor: pointer; }
.tc2-back { min-height: 44px; padding: 0; background: none; border: 0; color: rgba(255, 255, 255, .78); font-size: 14px; cursor: pointer; }

/* ---------- form ---------- */
.tc2-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 20px; }
.tc2-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.tc2-form .tc2-field { margin-top: 0; }
.tc2-field--half { grid-column: auto; }
.tc2-field > label { font-size: 14px; font-weight: 600; }
.tc2-field input[type="text"], .tc2-field input[type="email"], .tc2-field input[type="tel"], .tc2-field textarea, .tc2-field select {
  width: 100%; min-height: 48px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22);
  background: var(--tc2-bg); color: var(--tc2-text); padding: 0 14px; font-size: 16px; font-family: inherit;
}
.tc2-field textarea { padding: 12px 14px; resize: vertical; min-height: 92px; }
.tc2-field input:focus, .tc2-field textarea:focus, .tc2-field select:focus { outline: 2px solid var(--tc2-orange-t); outline-offset: 1px; border-color: transparent; }
.tc2 .tnd-phone { display: flex; gap: 8px; }
.tc2 .tnd-phone__dial { flex: 0 0 116px; min-height: 48px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22); background: var(--tc2-bg); color: var(--tc2-text); padding: 0 8px; font-size: 15px; }
.tc2 .tnd-phone__number { flex: 1; min-width: 0; min-height: 48px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22); background: var(--tc2-bg); color: var(--tc2-text); padding: 0 14px; font-size: 16px; }
.tc2-err { margin: 0; font-size: 13px; color: #ff9f75; min-height: 0; }
.tc2-err:empty { display: none; }
.tc2-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.tc2-feedback { margin: 12px 0 0; font-size: 14px; }
.tc2-feedback:empty { display: none; }
.tc2-feedback.is-error { color: #ff9f75; }
.tc2-fine { margin: 12px 0 0; font-size: 12px; color: rgba(255, 255, 255, .6); text-align: center; }
.tc2-fine a { color: rgba(255, 255, 255, .82); text-decoration: underline; }

/* ---------- sent ---------- */
.tc2-tick { width: 48px; height: 48px; border-radius: 50%; background: var(--tc2-orange); color: #111; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; }
.tc2-next { list-style: none; margin: 20px 0 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.tc2-next li { display: flex; gap: 14px; }
.tc2-next li span { font-weight: 800; color: var(--tc2-orange-t); }
.tc2-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- mobile bar ---------- */
.tc2-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--tc2-panel); border-top: 1px solid var(--tc2-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
}
.tc2-bar__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tc2-bar__txt strong { font-size: 15px; font-weight: 800; }
.tc2-bar__txt span[data-tc2-barline] { font-size: 12px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc2-bar__btn { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 10px; background: var(--tc2-orange); color: #111 !important; font-size: 15px; font-weight: 800; text-decoration: none; }

@media (max-width: 899px) {
  .tc2-head { padding: 36px 16px 0; }
  .tc2-head + .tc2 { padding-top: 28px; }
  .tc2 { padding: 48px 16px 120px; }
  .tc2-grid { gap: 28px; }
  .tc2-visual { position: static; flex-basis: 100%; }
  .tc2-steps { max-width: none; flex-basis: 100%; }
  .tc2-stage { padding: 30px 10px 14px; min-height: 0; }
  .tc2-stage__cap { position: static; margin-top: 10px; text-align: center; }
  .tc2-step__h { font-size: 22px; }
  .tc2-cards { gap: 8px; }
  .tc2-card2 { padding: 9px; }
  .tc2-card2.is-on { padding: 8px; }
  .tc2-card2__img { height: 88px; }
  .tc2-card2__img img { max-height: 78px; }
  .tc2-card2__name { font-size: 14px; }
  .tc2-sum, .tc2-card { padding: 18px; }
  .tc2-form { grid-template-columns: 1fr; }
  .tc2-field--half { grid-column: 1 / -1; }
  .tc2-pick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tc2-pick__img { height: 84px; }
  .tc2-pick__name { font-size: 16px; }
}

/* The theme gives every button a blue hover/focus background; the configurator's buttons
   keep their own look in every state. */
.tc2 .tc2-card2:hover, .tc2 .tc2-card2:focus, .tc2 .tc2-card2:active { background: var(--tc2-panel); color: var(--tc2-text); }
.tc2 .tc2-card2.is-on:hover, .tc2 .tc2-card2.is-on:focus, .tc2 .tc2-card2.is-on:active { background: var(--tc2-on); }
.tc2 .tc2-choice:hover, .tc2 .tc2-choice:focus, .tc2 .tc2-choice:active { background: var(--tc2-panel); color: var(--tc2-text); }
.tc2 .tc2-choice.is-on:hover, .tc2 .tc2-choice.is-on:focus, .tc2 .tc2-choice.is-on:active { background: var(--tc2-on); }
.tc2 .tc2-pick__card:hover, .tc2 .tc2-pick__card:focus, .tc2 .tc2-pick__card:active { background: var(--tc2-panel); color: var(--tc2-text); }
.tc2 .tc2-swatch:hover, .tc2 .tc2-swatch:focus, .tc2 .tc2-swatch:active,
.tc2 .tc2-back:hover, .tc2 .tc2-back:focus, .tc2 .tc2-link:hover, .tc2 .tc2-link:focus,
.tc2 .tc2-ghost:hover, .tc2 .tc2-ghost:focus { background: transparent; color: var(--tc2-text); }
.tc2 .tc2-cta:focus { background: var(--tc2-orange); color: #111; }
.tc2 .tc2-cta:disabled:hover, .tc2 .tc2-cta:disabled:focus { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
