/* Only Search controls. Native product cards, catalogues and filters stay intact. */
.tkt-feature-dialog--conversation .tkt-dialogue-question{font-size:20px;font-weight:700;line-height:1.3;color:var(--sf-ink);border-left:3px solid var(--sf-blue);padding-left:12px;margin:20px 0 12px}
.tkt-feature-dialog--conversation .tkt-dialogue-summary{font-size:13px;color:var(--sf-muted);margin:12px 0;overflow-wrap:anywhere}
.tkt-feature-dialog--conversation .tkt-dialogue-summary summary{cursor:pointer;padding:8px 0}
.tkt-feature-dialog--conversation .tkt-dialogue-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.tkt-feature-dialog--conversation .tkt-dialogue-choices button{border:1px solid var(--sf-line);border-radius:6px;min-height:44px;background:var(--sf-pale);color:var(--sf-ink);padding:10px 14px;white-space:normal;text-align:left}
.tkt-feature-dialog--conversation form>label{display:grid;gap:8px;color:var(--sf-ink);font-size:14px}
.tkt-feature-dialog--conversation textarea{box-sizing:border-box;width:100%;min-height:88px;resize:vertical;border:1px solid var(--sf-line);border-radius:6px;padding:12px;font:inherit;font-size:16px;color:var(--sf-ink);background:var(--sf-white)}
.tkt-feature-dialog--conversation .tkt-dialogue-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.tkt-feature-dialog--conversation .tkt-dialogue-actions button{min-height:44px}
.tkt-feature-dialog--conversation .tkt-dialogue-plain{border:0;background:none;color:var(--sf-muted);text-decoration:underline;padding:12px 0;font-size:13px;min-height:44px}
.tkt-feature-dialog--conversation textarea:focus-visible,.tkt-feature-dialog--conversation button:focus-visible{outline:2px solid var(--sf-blue);outline-offset:2px}
.tkt-feature-dialog--conversation button:disabled{opacity:.6;cursor:wait}
@media(max-width:480px){.tkt-feature-dialog--conversation .tkt-dialogue-actions .tkt-feature-primary{flex:1}.tkt-feature-dialog--conversation .tkt-dialogue-question{font-size:18px}}
.tkt-feature-search,.tkt-feature-dialog,.tkt-feature-card-tools{--sf-ink:#17394c;--sf-muted:#526978;--sf-blue:#2787b6;--sf-pale:#f2f7fa;--sf-line:#c7dce6;--sf-white:#fff}
.tkt-feature-search svg,.tkt-feature-dialog svg,.tkt-feature-card-tools svg{display:block;flex:none}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__hero{padding:20px 0 12px;background:#fff;border:0;border-radius:0;box-shadow:none;margin-bottom:14px}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__hero h1{font-size:26px;margin-bottom:14px}
.tkt-search-v2--shop .tkt-feature-search>label{display:block;margin-bottom:6px;color:var(--sf-muted);font-size:13px}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__field{grid-template-columns:24px minmax(0,1fr) 44px auto;gap:8px;padding:5px 6px 5px 12px;border:1px solid #7aa5ba;border-radius:6px;box-shadow:none;min-height:56px;background:var(--sf-white)}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__field:focus-within{outline:2px solid #2787b6;outline-offset:2px;box-shadow:none}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__submit{grid-column:4;grid-row:1;min-height:44px;height:44px;border-radius:4px;background:var(--sf-blue);font-size:15px;padding:0 24px;transform:none}
.tkt-search-v2--shop .tkt-search-v2__field input[type=search]{font-size:17px;padding-inline:4px}
.tkt-feature-search button.tkt-feature-voice-button{display:flex;align-items:center;justify-content:center;grid-column:3;grid-row:1;min-width:44px;width:44px;height:44px;padding:0;background:transparent;color:var(--sf-blue);border:0;border-radius:4px;cursor:pointer}
.tkt-feature-search button.tkt-feature-voice-button:hover{background:var(--sf-pale)}
.tkt-feature-search .tkt-feature-tools{display:flex;align-items:center;gap:4px 18px;flex-wrap:wrap;margin:6px 0 0;clear:both}
.tkt-feature-tools>button,.tkt-feature-tools summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:13px;color:var(--sf-muted);border:0;background:none;padding:8px 0;min-height:40px;cursor:pointer;border-radius:3px}
.tkt-feature-tools>button:first-child{color:var(--sf-blue)}
.tkt-feature-tools>button:hover,.tkt-feature-tools summary:hover{color:var(--sf-ink);text-decoration:underline}
.tkt-feature-tools summary,.tkt-feature-card-tools summary{list-style:none}
.tkt-feature-tools summary::-webkit-details-marker,.tkt-feature-card-tools summary::-webkit-details-marker{display:none}
.tkt-feature-more{position:relative;margin-left:auto}
.tkt-feature-more summary svg,.tkt-feature-card-tools summary svg{width:14px;height:14px}
.tkt-feature-menu{position:absolute;right:0;top:100%;z-index:30;background:var(--sf-white);border:1px solid var(--sf-line);box-shadow:0 8px 24px #17394c1f;border-radius:6px;padding:6px;min-width:220px}
.tkt-feature-menu button{display:block;width:100%;text-align:left;font:inherit;font-size:14px;color:var(--sf-ink);background:none;border:0;padding:12px;cursor:pointer;border-radius:3px}
.tkt-feature-menu button:hover{background:var(--sf-pale)}
.tkt-feature-search :is(button,summary):focus-visible,.tkt-feature-dialog :focus-visible,.tkt-feature-card-tools :focus-visible{outline:2px solid #176a90;outline-offset:3px}
.tkt-feature-card-tools{border-top:1px solid #e3ebee;margin-top:6px;color:var(--sf-muted);font-size:12px}
.tkt-feature-card-tools summary{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:6px 8px;cursor:pointer}
.tkt-feature-card-menu{display:grid;gap:2px;padding:0 6px 8px}
.tkt-feature-card-menu button{font:inherit;min-height:36px;text-align:left;border:0;border-radius:3px;background:var(--sf-pale);padding:6px 8px;color:var(--sf-ink);cursor:pointer}
.tkt-feature-card-menu button:hover{background:#e4eff5}
.tkt-feature-card-menu button[aria-pressed=true]{background:var(--sf-blue);color:#fff}
.tkt-feature-dialog{box-sizing:border-box;width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);margin:auto;padding:28px;border:0;border-radius:8px;background:var(--sf-white);color:var(--sf-ink);box-shadow:0 16px 60px #10263744;overflow:auto;font:16px/1.5 Roboto,Arial,sans-serif}
.tkt-feature-dialog:modal{overscroll-behavior:contain}
.tkt-feature-dialog::backdrop{background:#17394c66;overflow:hidden;overscroll-behavior:contain}
.tkt-feature-dialog h2{font:700 24px/1.2 'Roboto Condensed',Roboto,Arial,sans-serif;margin:0 42px 16px 0;color:var(--sf-ink)}
.tkt-feature-dialog p{margin:12px 0}.tkt-feature-dialog .tkt-feature-intro{font-size:16px;color:var(--sf-muted)}
.tkt-feature-dialog .tkt-feature-privacy{font-size:12px;line-height:1.5;color:var(--sf-muted)}
.tkt-feature-dialog button{font:inherit;color:var(--sf-blue);background:#fff;border:1px solid var(--sf-line);border-radius:4px;padding:10px 16px;cursor:pointer;min-height:44px;margin:4px 4px 4px 0}
.tkt-feature-dialog button:hover{background:var(--sf-pale)}
.tkt-feature-dialog button.tkt-feature-primary{background:var(--sf-blue);border-color:var(--sf-blue);color:#fff;font-weight:700}
.tkt-feature-dialog button.tkt-feature-primary:hover{background:#176a90;border-color:#176a90}
.tkt-feature-dialog button:disabled{opacity:.55;cursor:wait}
.tkt-feature-dialog button.tkt-feature-close{position:absolute;right:12px;top:10px;width:44px;height:44px;padding:0;border:0;background:transparent;font-size:30px;font-weight:400;color:var(--sf-muted);margin:0}
.tkt-feature-field{display:block;margin:16px 0;font-size:14px;font-weight:600}
.tkt-feature-field input,.tkt-feature-field textarea{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #82a3b4;border-radius:4px;margin-top:6px;font:400 16px/1.5 Roboto,Arial,sans-serif;color:var(--sf-ink);background:#fff}
.tkt-feature-field textarea{resize:vertical;min-height:110px;max-height:35vh}
.tkt-feature-status{color:var(--sf-muted);font-size:14px}.tkt-feature-status:empty{display:none}
.tkt-feature-dialog--voice{text-align:center;width:460px}.tkt-feature-dialog--voice h2{margin:0 32px 16px;text-align:center}.tkt-feature-dialog--voice .tkt-feature-field{text-align:left}
.tkt-feature-mic{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:var(--sf-pale);color:var(--sf-blue);margin:24px auto}.tkt-feature-mic svg{width:32px;height:32px}
.tkt-feature-mic.is-listening{background:#2787b6;color:#fff;box-shadow:0 0 0 8px #e2f0f7}
.tkt-feature-dialog--wide{width:1100px}.tkt-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:18px}
.tkt-feature-grid .tkt-native-search-card{float:none!important;width:auto!important;max-width:100%;min-width:0}.tkt-feature-grid img{max-width:100%;height:auto}
.tkt-feature-compare{border-collapse:collapse;width:100%;font-size:14px;margin-top:12px}.tkt-feature-compare th,.tkt-feature-compare td{border:1px solid var(--sf-line);padding:10px;text-align:left;vertical-align:top;max-width:240px;overflow-wrap:anywhere}
.tkt-feature-compare caption{text-align:left;font-weight:bold;padding:8px 0}.tkt-feature-saved{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--sf-line);padding:8px 0}
#formpoisk.tkt-feature-search{display:flex;flex-wrap:nowrap;align-items:center;gap:0;border:1px solid #a8c1ce;background:#fff;border-radius:4px;padding:0;min-width:0;width:118px;max-width:100%;margin-left:auto;box-sizing:border-box}
#formpoisk.tkt-feature-search .tkt-feature-tools{position:static;display:flex;flex:none;clear:none;margin:0;padding:0;gap:0;background:transparent;order:2}
#formpoisk.tkt-feature-search .tkt-feature-tools>button{height:36px;width:32px;min-height:36px;padding:0;border:0}
#formpoisk.tkt-feature-search button.tkt-feature-voice-button{flex:none;min-width:32px;width:32px;height:36px;order:1}
#formpoisk.tkt-feature-search .tkt-search-v2-enhanced__submit{order:3}
#formpoisk.tkt-feature-search input[name=searchstring]{position:static!important;inset:auto!important;flex:1 1 0;min-width:36px;width:100%!important;box-sizing:border-box;height:36px;padding:4px 6px!important;border:0!important;margin:0!important;background:none!important;font-size:14px;color:#17394c}
@media(max-width:600px){
 .tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__hero{padding:12px 0 8px;margin-bottom:6px}
 .tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__hero h1{font-size:22px;margin-bottom:12px}
 .tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__field{grid-template-columns:minmax(0,1fr) 40px auto;gap:2px;padding:4px;min-height:54px}
 .tkt-search-v2--shop .tkt-search-v2__search-icon{display:none}
 .tkt-search-v2--shop .tkt-search-v2__field input[type=search]{font-size:16px;padding-left:8px;grid-column:1}
 .tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__submit{grid-column:3;padding:0 12px;width:auto;font-size:14px}
 .tkt-feature-search button.tkt-feature-voice-button{grid-column:2;width:40px;min-width:40px}
 .tkt-feature-search .tkt-feature-tools{gap:0 12px;flex-wrap:nowrap}
 .tkt-feature-tools>button,.tkt-feature-tools summary{min-height:44px;font-size:12px;gap:4px}
 .tkt-feature-tools>button:first-child svg{width:16px;height:16px}
 .tkt-feature-more{margin-left:auto}
 .tkt-feature-dialog{padding:22px 18px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 .tkt-feature-dialog h2{font-size:22px}.tkt-feature-dialog--voice h2{margin-inline:20px}
 .tkt-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tkt-feature-compare{font-size:12px}.tkt-feature-compare th,.tkt-feature-compare td{padding:5px}
 .tkt-feature-card-tools summary,.tkt-feature-card-menu button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.tkt-feature-search *,.tkt-feature-dialog *{animation:none!important;transition:none!important}}

/* Search field polish: header-only layout, never the catalogue/filter grid. */
#header.tkt-search-field-header,#header.tkt-search-field-header>.head{height:auto;min-height:106px}
#header .head-body.tkt-search-field-layout{display:grid;grid-template-columns:127px minmax(180px,1fr) 115px 65px;grid-template-rows:auto auto;align-items:center;column-gap:18px;row-gap:8px;height:auto;min-height:60px;padding-top:12px;padding-bottom:10px}
#header .tkt-search-field-layout>.logo{grid-column:1;grid-row:1;float:none;margin:0;align-self:center}
#header .tkt-search-field-layout>.input-width{grid-column:2;grid-row:1;float:none;position:static;width:auto;min-width:0;margin:0;padding:0;height:auto}
#header .tkt-search-field-layout>.input-width>.width-setter{width:100%;height:auto;position:relative;margin:0}
#header .tkt-search-field-layout>.user-balance-container{grid-column:3;grid-row:1;float:none;margin:0}
#header .tkt-search-field-layout>.cart-container{grid-column:4;grid-row:1;float:none;margin:0}
#header .tkt-search-field-layout>.parts{grid-column:2/5;grid-row:2;float:none;position:static;width:auto;height:auto;margin:0;padding:0;justify-self:start}
#header .tkt-search-field-layout>.clear{display:none}
#formpoisk.tkt-feature-search{width:100%;max-width:none;min-width:0;height:48px;padding:3px;gap:2px;border:1px solid #9bb7c7;border-radius:8px;background:#f8fafc;box-shadow:none;margin:0}
#formpoisk.tkt-feature-search:focus-within{background:#fff;border-color:#2787b6;outline:2px solid #2787b633;outline-offset:1px}
#formpoisk.tkt-feature-search input[name=searchstring]{flex:1 1 0;min-width:0;height:40px;padding:0 10px!important;font:400 16px/1.4 Roboto,Arial,sans-serif;outline:none}
#formpoisk.tkt-feature-search input[name=searchstring]::placeholder{color:#637c8b;opacity:1}
#formpoisk.tkt-feature-search .tkt-feature-tools>button,#formpoisk.tkt-feature-search button.tkt-feature-voice-button{width:40px;min-width:40px;height:40px;min-height:40px;border-radius:5px;color:#52758b;flex:none}
#formpoisk.tkt-feature-search>.tkt-search-v2-enhanced__submit{display:flex;align-items:center;justify-content:center;position:static;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:5px;background:#2787b6;color:#fff;cursor:pointer;transform:none}
#formpoisk.tkt-feature-search>.tkt-search-v2-enhanced__submit:hover{background:#176a90}
#formpoisk.tkt-feature-search .tkt-search-v2-enhanced__suggestions{top:calc(100% + 6px);width:100%;min-width:280px;max-width:calc(100vw - 24px);border-radius:8px}
.tkt-feature-search button[type=submit]>svg{width:20px;height:20px;pointer-events:none}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__field{grid-template-columns:minmax(0,1fr) 44px 44px;min-height:56px;padding:5px;gap:4px;border-radius:8px}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__search-icon{display:none}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__field input[type=search]{grid-column:1;grid-row:1;min-width:0;min-height:44px;padding:0 10px;font-size:16px}
.tkt-search-v2.tkt-search-v2--shop button.tkt-feature-voice-button{grid-column:2;grid-row:1;width:44px;min-width:44px;height:44px}
.tkt-search-v2.tkt-search-v2--shop .tkt-search-v2__submit{display:flex;align-items:center;justify-content:center;grid-column:3;grid-row:1;width:44px;min-width:44px;height:44px;padding:0;border-radius:5px}
@media(max-width:1000px){
 #header.tkt-search-field-header,#header.tkt-search-field-header>.head{width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
 #header .head-body.tkt-search-field-layout{grid-template-columns:minmax(80px,1fr) 115px 65px;gap:10px 8px;box-sizing:border-box;width:100%;max-width:100%}
 #header .tkt-search-field-layout>.logo{grid-column:1;grid-row:1;width:100%;max-width:127px}
 #header .tkt-search-field-layout>.logo img{max-width:100%;height:auto}
 #header .tkt-search-field-layout>.user-balance-container{grid-column:2;grid-row:1}
 #header .tkt-search-field-layout>.cart-container{grid-column:3;grid-row:1}
 #header .tkt-search-field-layout>.input-width{grid-column:1/4;grid-row:2}
 #header .tkt-search-field-layout>.parts{grid-column:1/4;grid-row:3;max-width:100%;overflow-x:auto}
 #formpoisk.tkt-feature-search{height:54px}
 #formpoisk.tkt-feature-search input[name=searchstring]{height:46px}
 #formpoisk.tkt-feature-search .tkt-feature-tools>button,#formpoisk.tkt-feature-search button.tkt-feature-voice-button,#formpoisk.tkt-feature-search>.tkt-search-v2-enhanced__submit{height:46px;min-height:46px;width:44px;min-width:44px;flex-basis:44px}
 #formpoisk.tkt-feature-search .tkt-search-v2-enhanced__suggestions{min-width:0}
}
/* Modal geometry uses the visible viewport, including zoom, pan and keyboard. */
.tkt-feature-dialog{position:fixed;inset:auto;left:var(--tkt-dialog-x,50%);top:var(--tkt-dialog-y,50%);transform:translate(-50%,-50%);margin:0;min-width:0;min-height:0;max-width:var(--tkt-dialog-width,calc(100% - 24px));max-height:var(--tkt-dialog-height,calc(100dvh - 24px));overflow:hidden}
.tkt-feature-dialog[open]{display:flex;flex-direction:column}
.tkt-feature-dialog>h2{flex:none;overflow-wrap:anywhere}
.tkt-feature-dialog-scroll{flex:0 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scroll-padding:12px;overflow-wrap:anywhere}
.tkt-feature-dialog-scroll button{max-width:100%;white-space:normal}

/* One conversation, with voice as an input method rather than a separate wizard. */
.tkt-dialogue-voice{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 18px;padding:12px;border:1px solid var(--sf-line);border-radius:6px;background:var(--sf-pale)}
.tkt-dialogue-voice>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--sf-line);border-radius:4px;padding:8px 12px;background:var(--sf-white);color:var(--sf-blue);font:inherit;font-size:14px;cursor:pointer}
.tkt-dialogue-voice>button[hidden]{display:none}
.tkt-dialogue-voice-status{flex:1 1 150px;font-size:14px;line-height:1.45;color:var(--sf-muted)}
.tkt-dialogue-voice[data-phase=listening]{border-color:var(--sf-blue)}
.tkt-dialogue-voice[data-phase=listening] .tkt-dialogue-voice-status{color:var(--sf-ink);font-weight:600}
.tkt-dialogue-voice[data-phase=listening] .tkt-dialogue-voice-status:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#bd3d3d;margin-right:8px}
.tkt-dialogue-voice[data-phase=permission] .tkt-dialogue-voice-status,.tkt-dialogue-voice[data-phase=transcribing] .tkt-dialogue-voice-status{flex-basis:100%}
.tkt-feature-dialog.is-recording-turn .tkt-dialogue-form,.tkt-feature-dialog.is-recording-turn .tkt-dialogue-plain{display:none}
