/* Component-only sizing styles: preserve the surrounding Prestige design. */
.kfz-fit-trigger,.kfz-length,.kfz-modal,.kfz-sizing-guide{--kfz-paper:#fff;--kfz-ink:#222;--kfz-border:#ddd4c9;--kfz-muted:#675e54;box-sizing:border-box}
.kfz-fit-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;margin:12px 0;background:transparent;color:inherit;border:1px solid currentColor;cursor:pointer;font:inherit;font-size:14px;line-height:1.4}
.kfz-fit-trigger__icon,.kfz-fit-trigger__icon svg{width:20px;height:20px;flex:none}
.kfz-fit-trigger:hover{background:#f6f3ef}
.kfz-sizing-intro{font-size:14px;line-height:1.6;margin-block:0 12px}
.kfz-length{border:0;padding:0;margin:18px 0 4px;min-width:0}
.kfz-length legend{font-size:14px;font-weight:600;margin-block-end:10px}
.kfz-length__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.kfz-length__opt{position:relative;display:flex;cursor:pointer;min-width:0}
.kfz-length__opt input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.kfz-length__box{display:flex;flex-direction:column;justify-content:center;width:100%;min-height:68px;padding:10px 8px;border:1px solid var(--kfz-border);text-align:center;font-size:13px;line-height:1.5;white-space:normal}
.kfz-length__box strong{font-weight:600}.kfz-length__box em{font-style:normal;font-size:11px;line-height:1.45;margin-top:4px}
.kfz-length__opt input:checked+.kfz-length__box{background:var(--kfz-ink);border-color:var(--kfz-ink);color:#fff}
.kfz-length__opt input:focus-visible+.kfz-length__box,.kfz-fit-trigger:focus-visible,.kfz-modal :is(button,input,select,a,summary):focus-visible{outline:2px solid #8b704d;outline-offset:3px}
.kfz-length-advice,.kfz-after-order{font-size:13px;line-height:1.6;margin-block:12px}
.kfz-length-advice summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.kfz-modal{position:fixed;inset:0;z-index:2147483100;font-size:14px;line-height:1.6}
.kfz-modal[hidden],.kfz-modal [hidden]{display:none!important}
.kfz-modal .kfz-modal__scrim{display:block;position:absolute;inset:0;background:rgba(20,18,16,.55)}
.kfz-modal__box{position:absolute;inset-inline:12px;bottom:12px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;background:var(--kfz-paper);color:var(--kfz-ink);border-radius:12px;box-shadow:0 16px 64px #0004}
.kfz-modal__scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.kfz-modal__x{position:absolute;top:10px;inset-inline-end:10px;z-index:4;width:44px;height:44px;border:1px solid var(--kfz-border);background:#fff;color:#222;display:grid;place-items:center;cursor:pointer;border-radius:50%;padding:0}
.kfz-modal__x svg{width:18px;height:18px}
.kfz-modal__head{position:sticky;top:0;z-index:3;background:#fff;padding:20px;padding-inline-end:66px;border-bottom:1px solid var(--kfz-border)}
.kfz-modal__head h2{font-family:inherit;font-size:21px;line-height:1.4;font-weight:500;letter-spacing:normal;text-transform:none;margin:0}
.kfz-modal__body{padding:0 20px 24px}
.kfz-tabs{display:flex;position:sticky;top:var(--kfz-head-h,0);z-index:2;background:#fff;border-bottom:1px solid var(--kfz-border);margin-bottom:20px}
.kfz-tab{flex:1;min-width:0;min-height:48px;padding:8px 3px;background:transparent;color:var(--kfz-muted);border:0;border-bottom:2px solid transparent;font-size:13px;line-height:1.4;cursor:pointer}
.kfz-tab.is-active{border-bottom-color:#222;color:#222;font-weight:600}
.kfz-panel{display:none}.kfz-panel.is-active{display:block}
.kfz-panel__intro{margin:0 0 18px;line-height:1.6}
.kfz-form{display:grid;gap:14px}
.kfz-form__row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;align-items:center}
.kfz-form__label{font-size:13px;line-height:1.4;font-weight:500}
.kfz-form__input{display:flex;gap:6px;min-width:0}
.kfz-form__input input,.kfz-form__unit select{box-sizing:border-box;height:46px;background:#fff;border:1px solid var(--kfz-border);border-radius:2px;color:#222;font:inherit;font-size:16px;line-height:1.4;box-shadow:none}
.kfz-form__input input{width:100%;min-width:0;flex:1;padding:10px;text-align:center;direction:ltr}
.kfz-form__unit{position:relative;width:72px;flex:none}
.kfz-form__unit select{width:100%;padding:8px 12px;padding-inline-end:26px;appearance:none}
.kfz-form__caret{position:absolute;inset-inline-end:9px;top:17px;pointer-events:none;width:10px;height:10px}.kfz-form__caret svg{width:100%;height:100%}
.kfz-form__error{font-size:13px;color:#a32222;margin:0}
.kfz-calc-btn{width:100%;min-height:48px;white-space:normal;margin-top:6px}
.kfz-result{margin-top:22px;padding:18px;background:#26221e;color:white;border-radius:6px}
.kfz-result__head{margin:0 0 12px;text-align:center;font-size:13px;letter-spacing:normal}
.kfz-result__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.kfz-result__grid>div{padding:10px;text-align:center;background:#ffffff0d}
.kfz-result__grid span{display:block;color:#ddd;font-size:12px}.kfz-result__grid strong{display:block;font-size:32px;line-height:1.4;color:#fff;letter-spacing:normal}
.kfz-result__note{font-size:13px;margin:0 0 16px;text-align:center;line-height:1.6}
.kfz-apply-btn{width:100%;min-height:48px;padding:10px;background:#fff;color:#26221e;border:0;font-size:14px;line-height:1.4;cursor:pointer}
.kfz-modal :is(h3,h4){font-family:inherit;letter-spacing:normal;text-transform:none;line-height:1.4;font-weight:500;margin:20px 0 12px}
.kfz-modal h3{font-size:18px}.kfz-modal h4{font-size:16px}
.kfz-modal .kfz-sizechart-wrap{max-width:100%;overflow-x:auto}
.kfz-modal table{width:100%;border-collapse:collapse}.kfz-modal th,.kfz-modal td{border-bottom:1px solid #e7dfd6;padding:10px 5px}
.kfz-modal bdi,.kfz-length bdi{unicode-bidi:isolate;white-space:nowrap}
.kfz-modal .kfz-fit-guarantee{margin:20px;padding:16px;background:#efefef}
body.kfz-locked{overflow:hidden}
@media(min-width:750px){.kfz-modal__box{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:640px;max-width:calc(100vw - 40px);max-height:90dvh}.kfz-modal__body{padding-inline:28px}.kfz-modal__head{padding-inline-start:28px}}
@media(max-width:374px){.kfz-modal__body{padding-inline:12px}.kfz-form__row{grid-template-columns:85px minmax(0,1fr)}.kfz-form__unit{width:64px}.kfz-tab{font-size:12px}}
@media(prefers-reduced-motion:reduce){.kfz-modal *{scroll-behavior:auto!important;transition:none!important}}
