/* Live search shares one input on desktop and mobile. */
.tkm-theme .academy-search{position:relative}
.tkm-theme .academy-search input:focus-visible{outline:none;box-shadow:none}
.tkm-theme .academy-search:focus-within{outline:2px solid #5274bd;outline-offset:2px}
.tkm-search-panel{position:absolute;top:calc(100% + 12px);left:0;right:0;z-index:100;background:#fff;border:1px solid #e2e8f3;border-radius:16px;box-shadow:0 18px 50px #18355b24;padding:18px;max-height:min(580px,calc(100dvh - 190px));overflow:auto;overscroll-behavior:contain;text-align:left}
.tkm-search-heading{font-size:11px;font-weight:600;letter-spacing:.4px;color:#7a88a0;margin:0 0 12px;text-transform:uppercase}
.tkm-search-popular{display:flex;flex-wrap:wrap;gap:8px}
.tkm-search-popular a{font-size:12px;line-height:1.4;color:#304e80;background:#f2f5fb;border:1px solid #e7ecf5;border-radius:8px;padding:10px 12px;text-decoration:none;transition:background .15s}
.tkm-search-popular a:hover,.tkm-search-popular a[aria-selected=true]{background:#e7eeff;border-color:#b7c9ee}
.tkm-search-results{display:grid;gap:3px}
.tkm-search-result{display:flex;align-items:center;gap:12px;padding:10px 7px;border-radius:10px;text-decoration:none;border-bottom:1px solid #f0f2f7;color:#18335a}
.tkm-search-result:hover,.tkm-search-result[aria-selected=true]{background:#f2f6ff}
.tkm-search-result img{width:52px;height:66px!important;object-fit:contain;flex:none;border-radius:7px;background:#f6f8fc}
.tkm-search-result-copy{display:grid;gap:5px;min-width:0}
.tkm-search-result strong{font-size:12px;font-weight:600;line-height:1.5;color:#203653}
.tkm-search-result-price{font-size:12px;font-weight:600;color:#3159ae}
.tkm-search-result-stock{font-size:10px;color:#936434}
.tkm-search-status{font-size:12px;line-height:1.6;color:#7c8a9f;margin:12px 0 0}
.tkm-search-status:empty{display:none}
.tkm-search-all{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e6ecf5;padding-top:14px;margin-top:14px;font-size:12px;font-weight:600;color:#3159ae;text-decoration:none}
.tkm-theme .academy-search .tkm-search-all .icon{width:15px;height:15px}
.tkm-search-panel a:focus-visible{outline:2px solid #315ec5;outline-offset:2px}
.tkm-mobile-toggle{display:none}
.tkm-mobile-menu{width:min(360px,calc(100% - 26px));height:100dvh;max-height:100dvh;max-width:none;margin:0 auto 0 0;padding:0;border:0;border-radius:0 22px 22px 0;background:#fff;color:#193253;box-shadow:15px 0 60px #1022492b;overflow:hidden}
.tkm-mobile-menu::backdrop{background:#101e3c80;backdrop-filter:blur(3px)}
.tkm-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:26px 22px 20px;border-bottom:1px solid #eaf0f8;background:#f7f9fd}
.tkm-mobile-menu-head span{font-size:18px;font-weight:700;letter-spacing:-.5px}
.tkm-mobile-menu-head h2{font-size:11px;font-weight:400;color:#7888a1;margin:5px 0 0}
.tkm-mobile-close,.tkm-mobile-toggle{align-items:center;justify-content:center;background:#f4f7fc;border:1px solid #e5ebf4;border-radius:11px;width:40px;height:40px;color:#254472;flex:none}
.tkm-mobile-close{display:flex}
.tkm-mobile-close .icon,.tkm-mobile-toggle .icon{width:21px;height:21px;stroke-width:1.9}
.tkm-mobile-menu-body{padding:20px 22px 30px;overflow-y:auto;height:calc(100% - 100px);overscroll-behavior:contain}
.tkm-mobile-primary{display:flex;gap:12px;align-items:center;padding:15px;border-radius:11px;background:#2d4fb0;color:#fff;font-size:13px;font-weight:600;text-decoration:none;box-shadow:0 5px 12px #244da520}
.tkm-mobile-primary .icon{width:19px;height:19px}.tkm-mobile-primary .icon:last-child{margin-left:auto;width:15px}
.tkm-mobile-menu-label{margin:24px 0 10px;font-size:10px;font-weight:600;letter-spacing:1px;color:#8896ab}
.tkm-mobile-categories .tkm-menu{display:block;list-style:none;padding:0;margin:0}
.tkm-mobile-categories .tkm-menu>li{display:block;border-bottom:1px solid #eef1f7;position:relative;margin:0}
.tkm-mobile-categories .catalog-link{display:flex;align-items:center;justify-content:flex-start;gap:8px;font-size:13px;font-weight:500;min-height:45px;padding:10px 28px 10px 0;color:#203b63;white-space:normal;text-decoration:none}
.tkm-mobile-categories .catalog-badge{font-size:8px;line-height:1.3;padding:4px 6px}
.tkm-mobile-categories .tkm-menu .tkm-submenu-toggle{position:absolute;right:0;top:5px;transform:none;height:35px;width:30px;background:#f4f7fc;border-radius:7px;color:#526b90}
.tkm-mobile-categories .tkm-menu .sub-menu{display:none;position:static;min-width:0;box-shadow:none;border:0;background:#f8faff;border-radius:8px;list-style:none;padding:0 12px;margin:0 0 8px;visibility:visible;opacity:1;transform:none}
.tkm-mobile-categories .tkm-menu .tkm-menu-open>.sub-menu{display:block}
.tkm-mobile-categories .sub-menu .catalog-link{font-size:12px;min-height:40px}
.tkm-mobile-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.tkm-mobile-tools a{display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;padding:14px 5px;border:1px solid #e4eaf5;border-radius:11px;background:#f7f9fd;font-size:10px;font-weight:600;text-decoration:none;color:#345486}
.tkm-mobile-tools .icon{width:22px;height:22px}
.tkm-mobile-tools .tkm-mobile-robot{width:30px;height:30px;object-fit:contain;flex:none}
.tkm-mobile-whatsapp{display:flex;align-items:center;gap:11px;margin:14px 0 22px;padding:13px;border-radius:11px;background:#edf9f3;border:1px solid #d5efe0;color:#257a50;text-decoration:none}
.tkm-mobile-whatsapp .icon{width:21px;height:21px;flex:none}.tkm-mobile-whatsapp .icon:last-child{width:14px;margin-left:auto}
.tkm-mobile-whatsapp span{font-size:10px}.tkm-mobile-whatsapp strong{display:block;font-size:13px;margin-top:2px}
.tkm-mobile-top-links .tkm-menu{list-style:none;display:flex;flex-wrap:wrap;gap:10px 14px;padding:0;margin:0}
.tkm-mobile-top-links a{font-size:10px;color:#7b89a0;text-decoration:none}
.tkm-mobile-phone{display:flex;align-items:center;gap:7px;font-size:11px;color:#6f809a;margin-top:20px;text-decoration:none}.tkm-mobile-phone .icon{width:15px;height:15px}
/* Swiping is horizontal; page scrolling and pinch zoom stay native. */
.banner-viewport{touch-action:pan-y pinch-zoom}
.banner-viewport img{user-select:none;-webkit-user-drag:none}
@media(max-width:960px){
 .tkm-theme .academy-header{--utility-height:30px;top:-30px;z-index:80}
 .tkm-theme .academy-utility .utility-content{min-height:30px;height:30px;display:flex;justify-content:center;padding:0;gap:0}
 .tkm-theme .academy-utility .utility-contact,.tkm-theme .academy-utility .utility-links{display:none}
 .tkm-theme .community-announcement{display:flex!important;align-items:center;justify-content:center;gap:7px;margin:0;min-width:0;font-size:9px;white-space:nowrap}
 .tkm-theme .community-announcement>span{max-width:calc(100vw - 116px);overflow:hidden;text-overflow:ellipsis}
 .tkm-theme .community-announcement>a{font-size:9px;padding:3px 6px;border-radius:5px;gap:3px;flex:none}
 .tkm-theme .community-announcement .icon{height:10px;width:10px}
 .tkm-theme .academy-desk{display:grid;grid-template-columns:40px 1fr auto;grid-template-rows:54px 44px;gap:8px 11px;width:calc(100% - 28px);padding:7px 0 13px;margin-inline:auto;min-height:0}
 .tkm-theme .tkm-mobile-toggle{display:flex;grid-column:1;grid-row:1}
 .tkm-theme .academy-logo{grid-column:2;grid-row:1;width:90px;min-width:0;max-width:100%;border:0;margin:0;padding:0;display:flex;align-items:center;height:54px}
 .tkm-theme .academy-logo img{width:90px;height:auto;max-height:54px;object-fit:contain}
 .tkm-theme .academy-actions{grid-column:3;grid-row:1;display:flex;align-items:center;gap:8px;margin:0;padding:0}
 .tkm-theme .academy-actions .academy-wa,.tkm-theme .academy-actions .calculator-trigger,.tkm-theme .academy-actions .desk-lessons.is-member{display:none}
 .tkm-theme .academy-actions .desk-account,.tkm-theme .academy-actions .desk-lessons.is-guest,.tkm-theme .academy-actions .desk-cart{width:40px;height:40px;min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e9f5;background:#f4f7fc;color:#2d4b7b;border-radius:11px;padding:0;margin:0;box-shadow:none;min-width:0}
 .tkm-theme .academy-actions .desk-account span,.tkm-theme .academy-actions .desk-lessons.is-guest span{display:none}
 .tkm-theme .academy-actions .icon{display:block;width:21px;height:21px;stroke-width:1.8}
 .tkm-theme .academy-actions .desk-cart .cart-count{right:-4px;top:-5px;min-width:16px;height:16px;font-size:9px}
 .tkm-theme .academy-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;height:44px;padding:4px;background:#f5f7fb;border:1px solid #dfe6f1;border-radius:11px;overflow:visible}
 .tkm-theme .academy-search input{font-size:12px;padding:8px 10px}
 .tkm-theme .academy-search>button{width:38px;min-width:38px;padding:0;border-radius:8px;background:#28468e}
 .tkm-theme .academy-rail{display:none}
 .tkm-search-panel{top:calc(100% + 9px);border-radius:13px;padding:15px;max-height:calc(100dvh - 174px)}
 .tkm-search-popular a{font-size:11px;padding:9px 10px}
}
/* Portrait tablets retain the desktop controls alongside the logo. */
@media(min-width:700px) and (max-width:960px){
 .tkm-theme .academy-desk{grid-template-rows:62px 44px;column-gap:14px;padding-top:10px;padding-bottom:14px}
 .tkm-theme .academy-logo,.tkm-theme .academy-logo img{width:100px;max-height:62px;height:auto}
 .tkm-theme .academy-actions{gap:8px}
 .tkm-theme .academy-actions .calculator-trigger{display:grid;width:46px;height:43px;border-radius:11px}
 .tkm-theme .academy-actions .calculator-trigger img{width:37px;height:37px}
 .tkm-theme .academy-actions .desk-lessons:is(.is-member,.is-guest){display:inline-flex;width:auto;height:auto;min-height:43px;padding:0 16px;gap:8px;border:0;border-radius:10px;font-size:13px;background:linear-gradient(110deg,#254fb3,#1b3e94);color:#fff;box-shadow:inset 0 1px 0 #ffffff3d,0 3px 7px #1d439220}
 .tkm-theme .academy-actions .desk-lessons:is(.is-member,.is-guest):hover{background:#193b89}
 .tkm-theme .academy-actions .desk-lessons:is(.is-member,.is-guest) span{display:inline}
 .tkm-theme .academy-actions .desk-lessons .icon{display:block;width:19px;height:19px}
 .tkm-theme .academy-actions .desk-cart{width:43px;height:43px;border-radius:10px;background:#f7f9fc;border-color:#d9e1ee}
}
@media(min-width:768px) and (max-width:960px){
 .tkm-theme .academy-actions .academy-wa{display:flex;width:auto;min-height:43px;padding:0;margin:0 4px 0 0;border:0}
 .tkm-theme .academy-actions .academy-wa img{width:148px;height:auto}
}
@media(max-width:760px){
 .tkm-theme .banner-slider{padding-top:18px;padding-bottom:20px}
 .tkm-theme .banner-slider>.container{width:calc(100% - 28px)}
 .tkm-theme .banner-stage,.tkm-theme .banner-viewport{border-radius:16px}
 .tkm-theme #slider-link,.tkm-theme #slider-link picture{display:block;height:auto;aspect-ratio:auto;border-radius:16px;overflow:hidden}
 .tkm-theme #slider-image{width:100%;height:auto;aspect-ratio:auto;max-height:none;object-fit:contain;border-radius:16px}
 .tkm-theme .banner-arrow{width:32px;height:32px;background:#ffffffd9;box-shadow:0 3px 12px #182c511c}
 .tkm-theme .banner-arrow.prev{left:9px}.tkm-theme .banner-arrow.next{right:9px}
 .tkm-theme .banner-pagination{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){.tkm-search-popular a{transition:none}}
