/* Huoltovaraus-wizard (Claude Design booking 1:1) */
.eb-book-section { padding: 0; }
/* .eb-container.eb-book: korkeampi spesifisyys kuin woocommerce.css .eb-container (joka jyräisi padding-bottomin) */
.eb-container.eb-book { padding: 26px 0 72px; }
.eb-book-head { margin-bottom: 22px; }
.eb-book-title { font-size: 30px; margin-bottom: 6px; }
.eb-book-guide { margin-top: -10px; }
.eb-book-guide a { color: var(--info); font-weight: 600; }

.eb-stepper { display: flex; align-items: flex-start; gap: 0; margin-bottom: 30px; }
.eb-step-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; width: 92px; }
.eb-step-node .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--border-strong); font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--steel-500); transition: all .2s; }
.eb-step-node .dot svg { width: 16px; height: 16px; }
.eb-step-node .dot .chk { display: none; }
.eb-step-node.done .dot .num { display: none; }
.eb-step-node.done .dot .chk { display: grid; place-items: center; }
.eb-step-node .lbl { font-family: var(--font-text); font-weight: 600; font-size: 11.5px; color: var(--steel-500); text-align: center; line-height: 1.2; }
.eb-step-node.active .dot { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.eb-step-node.active .lbl { color: var(--fg1); }
.eb-step-node.done .dot { background: var(--volt-500); border-color: var(--volt-500); color: var(--ink-900); }
.eb-step-node.done .lbl { color: var(--fg1); }
.eb-step-bar { flex: 1; height: 2px; background: var(--border-strong); margin-top: 16px; border-radius: 2px; }
.eb-step-bar.done { background: var(--volt-500); }

.eb-book-grid { display: grid; grid-template-columns: 1fr 336px; gap: 28px; align-items: start; }
/* display-säännöt yliajavat [hidden]-attribuutin → pakotettava (submit-vahvistus) */
.eb-book-grid[hidden], .eb-stepper[hidden], .eb-book-head[hidden] { display: none !important; }
.eb-book-main { min-width: 0; }
.eb-book-side { position: sticky; top: 96px; }
.eb-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm); }
.eb-panel + .eb-panel { margin-top: 18px; }
.eb-step-h { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 26px; letter-spacing: -.01em; margin: 0 0 4px; color: var(--fg1); }
.eb-step-sub { font-size: 14px; color: var(--fg2); margin: 0 0 22px; }

.eb-brandgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eb-brandcard { position: relative; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; background: var(--surface); text-align: left; }
.eb-brandcard:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.eb-brandcard.sel { border-color: var(--ink-900); box-shadow: var(--shadow-md); }
.eb-brandcard .bi { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--volt-100); color: var(--ink-900); display: grid; place-items: center; }
.eb-brandcard .bi svg { width: 22px; height: 22px; }
.eb-brandcard .bi--brand { padding: 6px; box-sizing: border-box; }
.eb-brandcard .bi--brand .eb-brandlogo,
.eb-pickline .lead .bi .eb-brandlogo { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; fill: currentColor; display: block; }
.eb-brandcard .bn { font-family: var(--font-text); font-weight: 700; font-size: 15px; }
.eb-brandcard .bm { font-family: var(--font-mono); font-size: 10.5px; color: var(--steel-400); }
.eb-brandcard .tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--volt-500); color: var(--ink-900); display: none; place-items: center; }
.eb-brandcard .tick svg { width: 13px; height: 13px; }
.eb-brandcard.sel .tick { display: grid; }

.eb-modelwrap { margin-top: 18px; }
.eb-pickline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.eb-pickline .lead { display: flex; align-items: center; gap: 10px; }
.eb-pickline .lead .bi { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--ink-900); color: var(--volt-500); display: grid; place-items: center; padding: 5px; box-sizing: border-box; }
.eb-pickline b { font-family: var(--font-text); font-weight: 700; font-size: 15px; }
.eb-change { font-family: var(--font-text); font-weight: 600; font-size: 13px; color: var(--info); cursor: pointer; }
.eb-change:hover { text-decoration: underline; }
.eb-modellist { display: flex; flex-direction: column; gap: 8px; }
.eb-modelrow { display: flex; align-items: center; gap: 13px; border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 13px 16px; cursor: pointer; transition: border-color .15s, background .15s; background: var(--surface); text-align: left; width: 100%; }
.eb-modelrow:hover { border-color: var(--border-strong); }
.eb-modelrow.sel { border-color: var(--ink-900); background: var(--volt-200); }
.eb-radio { width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; display: grid; place-items: center; transition: border-color .15s; }
.eb-modelrow.sel .eb-radio { border-color: var(--ink-900); }
.eb-modelrow.sel .eb-radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-900); }
.eb-modelrow .mn { font-family: var(--font-text); font-weight: 600; font-size: 14px; flex: 1; }
.eb-modelrow .mg { font-family: var(--font-mono); font-size: 11px; color: var(--steel-400); margin-left: 6px; }
.eb-modelrow .mp { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--fg1); }
.eb-modelrow .mp.quote { font-weight: 500; font-size: 12px; color: var(--steel-500); }
.eb-modelnote { margin: 12px 0 0; font-family: var(--font-text); font-size: 13px; line-height: 1.45; color: var(--steel-600); }

.eb-svclist { display: flex; flex-direction: column; gap: 10px; }
.eb-svccard { display: flex; gap: 14px; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s; background: var(--surface); text-align: left; width: 100%; }
.eb-svccard:hover { border-color: var(--border-strong); }
.eb-svccard.sel { border-color: var(--ink-900); box-shadow: var(--shadow-sm); }
.eb-svccard .box { width: 22px; height: 22px; border-radius: var(--r-xs); border: 2px solid var(--border-strong); flex: none; display: grid; place-items: center; margin-top: 2px; transition: all .15s; }
.eb-svccard.sel .box { background: var(--volt-500); border-color: var(--volt-500); color: var(--ink-900); }
.eb-svccard .box svg { width: 14px; height: 14px; opacity: 0; }
.eb-svccard.sel .box svg { opacity: 1; }
.eb-svccard .si { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-900); display: grid; place-items: center; flex: none; }
.eb-svccard .si svg { width: 20px; height: 20px; }
.eb-svccard .sn { font-family: var(--font-text); font-weight: 700; font-size: 14.5px; margin-bottom: 3px; }
.eb-svccard .sd { font-size: 13px; color: var(--fg2); line-height: 1.5; }

.eb-togglerow { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 15px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.eb-switch { width: 40px; height: 23px; border-radius: 999px; background: var(--steel-300); position: relative; flex: none; cursor: pointer; transition: background .18s; margin-top: 1px; }
.eb-switch.on { background: var(--volt-600); }
.eb-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: var(--shadow-sm); }
.eb-switch.on::after { transform: translateX(17px); }
.eb-togglerow .tt { font-weight: 700; font-size: 13.5px; }
.eb-togglerow .ts { font-size: 12.5px; color: var(--fg2); margin-top: 2px; }

.eb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eb-field { display: flex; flex-direction: column; gap: 6px; }
.eb-field.full { grid-column: 1 / -1; }
.eb-field label { font-family: var(--font-text); font-weight: 600; font-size: 12.5px; color: var(--fg1); }
.eb-field label .req { color: var(--danger); margin-left: 2px; }
.eb-field input, .eb-field textarea { font-family: var(--font-text); font-size: 14px; color: var(--fg1); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 11px 12px; transition: border-color .15s, box-shadow .15s; }
.eb-field input::placeholder, .eb-field textarea::placeholder { color: var(--steel-400); }
.eb-field input:focus, .eb-field textarea:focus { outline: 0; border-color: var(--info); box-shadow: 0 0 0 3px rgba(46,107,255,.16); }
.eb-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

.eb-sum { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.eb-sum-h { background: var(--ink-900); color: #fff; padding: 16px 20px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.eb-sum-h svg { width: 17px; height: 17px; color: var(--volt-500); }
.eb-sum-b { padding: 18px 20px; }
.eb-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13px; }
.eb-sum-row .k { color: var(--steel-500); flex: none; }
.eb-sum-row .v { font-weight: 600; text-align: right; color: var(--fg1); line-height: 1.35; }
.eb-sum-row .v.muted { color: var(--steel-400); font-weight: 500; }
.eb-sum-price { border-top: 1px dashed var(--border-strong); margin-top: 8px; padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; }
.eb-sum-price .pl { font-family: var(--font-text); font-weight: 700; font-size: 14px; }
.eb-sum-price .pv { font-family: var(--font-mono); font-weight: 600; font-size: 26px; color: var(--fg1); }
.eb-sum-price .pv.quote { font-size: 15px; color: var(--steel-600); }
.eb-sum-note { font-size: 11px; color: var(--steel-500); line-height: 1.5; margin-top: 10px; }
.eb-sum-trust { border-top: 1px solid var(--border); padding: 14px 20px; display: flex; flex-direction: column; gap: 11px; background: var(--surface-2); }
.eb-sum-trust .ti { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--fg2); font-weight: 600; line-height: 1.35; }
.eb-sum-trust .ti svg { width: 15px; height: 15px; color: var(--success); flex: none; }

.eb-book-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.eb-book-foot .spacer { flex: 1; }

.eb-ship { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-top: 18px; }
.eb-ship-h { background: var(--surface-2); padding: 13px 18px; font-family: var(--font-text); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.eb-ship-h svg { width: 17px; height: 17px; color: var(--ink-900); }
.eb-ship-step { display: flex; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.eb-ship-step:last-child { border-bottom: 0; }
.eb-ship-step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink-900); color: var(--volt-500); font-family: var(--font-mono); font-weight: 600; font-size: 12px; display: grid; place-items: center; flex: none; }
.eb-ship-step .st { font-weight: 700; font-size: 13.5px; margin-bottom: 3px; }
.eb-ship-step .sx { font-size: 12.5px; color: var(--fg2); line-height: 1.5; }
.eb-addr { font-family: var(--font-mono); font-size: 12px; color: var(--fg1); line-height: 1.6; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 8px; }
.eb-code { font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--ink-900); background: var(--volt-200); border-radius: var(--r-xs); padding: 1px 8px; letter-spacing: .04em; }

.eb-consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 18px; font-size: 13px; color: var(--fg2); line-height: 1.5; cursor: pointer; }
.eb-consent input { width: 17px; height: 17px; accent-color: var(--volt-600); margin-top: 1px; flex: none; }
.eb-recap { display: flex; flex-direction: column; }
.eb-recap-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.eb-recap-row:last-child { border-bottom: 0; }
.eb-recap-row .rk { color: var(--steel-500); font-weight: 600; flex: none; }
.eb-recap-row .rv { text-align: right; color: var(--fg1); }

.eb-confirm { max-width: 640px; margin: 0 auto; text-align: center; padding: 20px 0 60px; }
.eb-confirm .seal { width: 72px; height: 72px; border-radius: 50%; background: var(--volt-500); color: var(--ink-900); display: grid; place-items: center; margin: 6px auto 20px; box-shadow: var(--glow-volt); }
.eb-confirm .seal svg { width: 38px; height: 38px; }
.eb-confirm h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 34px; letter-spacing: -.01em; margin: 0 0 8px; }
.eb-confirm .ref { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 14px; color: var(--fg1); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 8px 16px; margin: 6px 0 24px; }
.eb-confirm .ref b { color: var(--ink-900); letter-spacing: .04em; }
.eb-confirm .lead { font-size: 15px; color: var(--fg2); margin: 0 0 26px; }
.eb-confirm .eb-ship { text-align: left; }

@media (max-width: 900px) {
  .eb-book-grid { grid-template-columns: 1fr; }
  .eb-book-side { position: static; order: -1; }
  .eb-brandgrid { grid-template-columns: repeat(2, 1fr); }
  .eb-form-grid { grid-template-columns: 1fr; }
  .eb-step-node { width: auto; flex: 1; }
}
