.ktlf-shell{padding-top:20px;padding-bottom:24px;max-width:1440px;margin:auto;color:#33283e}
.ktlf-shell .ktlf-category-title{font:600 clamp(22px,2vw,30px)/1.25 inherit;margin:0 0 16px}
.ktlf-navigation{margin-bottom:16px;background:#fff;border:1px solid #e2d7ee;border-radius:20px;padding:14px}
.ktlf-nav-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;margin-bottom:10px}
.ktlf-nav-heading a{font-size:12px;color:#7133c2;text-decoration:none}
.ktlf-group-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.ktlf-group-tabs a{padding:9px 14px;border-radius:12px;border:1px solid #d5c4e5;color:#51415f;font-size:13px;font-weight:600;line-height:1.3;text-decoration:none;background:#faf8fc}
.ktlf-group-tabs a.is-active{color:white;background:var(--btn-accented-bgcolor,#7e34ed);border-color:transparent}
.ktlf-materials{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.ktlf-materials[hidden]{display:none!important}
.ktlf-materials>a{display:flex;flex-direction:column;gap:7px;padding:5px 5px 9px;border:1px solid #e4d9ef;border-radius:14px;color:#403247;text-decoration:none;font-size:13px;font-weight:600;line-height:1.3;transition:border-color .18s,background .18s}
.ktlf-materials>a[aria-current=page]{border-color:#9254df;background:#f3eafa}
.ktlf-material-photo{display:flex;justify-content:center;align-items:center;height:140px;background:#f6f2fa;border-radius:10px;overflow:hidden}
.ktlf-material-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 80%;margin:0}
.ktlf-materials>a>span:last-child{padding:0 5px}
.ktlf-material-placeholder{color:#9862ca;font-size:30px}
.ktlf-section-info{margin-top:12px;border-top:1px solid #e7def0;padding-top:10px}
.ktlf-section-info summary{font-size:13px;font-weight:600;color:#743ab7;cursor:pointer}
.ktlf-section-description{font-size:13px;line-height:1.6;padding-top:8px;color:#5a4c64}
.ktlf-section-description:empty{display:none}
.ktlf-pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.ktlf-pagination .page-numbers{padding:5px 10px;border-radius:8px;background:#f1eaf8;color:#6933a4}
@media(max-width:600px){.ktlf-shell{padding:12px 6px 20px}.ktlf-navigation{padding:10px;border-radius:16px}.ktlf-materials{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ktlf-materials>a{font-size:11px;padding:4px 4px 7px}.ktlf-material-photo{height:100px}.ktlf-group-tabs a{padding:9px 10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.ktlf-materials>a{transition:none}}
.ktlf-features[hidden]{display:none!important}.ktlf-feature-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:10px;font-size:13px;line-height:1.6}.ktlf-feature-photos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:12px;gap:8px}.ktlf-feature-photos img{flex:0 0 100%;width:100%;height:auto;object-fit:contain;scroll-snap-align:start;border-radius:12px}
@media(max-width:600px){.ktlf-feature-layout{grid-template-columns:1fr}}
.ktlf-navigation .ktlf-section-info{border-top:0;padding-top:0;margin-top:12px}.ktlf-navigation .ktlf-section-info>summary{display:inline-flex;align-items:center;gap:6px;list-style:none;border:1px solid #ded2ea;border-radius:11px;padding:7px 11px;background:#f7f3fb;font-size:12px;color:#675176;font-weight:500}.ktlf-navigation .ktlf-section-info>summary::-webkit-details-marker{display:none}.ktlf-navigation .ktlf-section-info>summary:before{content:'ⓘ';font-size:15px}.ktlf-navigation .ktlf-section-info[open]>summary{background:#eee4f9;color:#6b32ae}.ktlf-features{border-top:1px solid #eee7f4;padding-top:10px;margin-top:10px}.ktlf-features h3{font-size:15px;margin:0;font-weight:600;color:#463150}
.ktlf-shell .ktlf-category-title{font-family:inherit;font-weight:600;font-size:clamp(22px,2vw,30px);line-height:1.25}
/* The catalog occupies the whole shop container of the theme. */
.kl-shop>.ktlf-shell{grid-column:1 / -1!important;width:100%;max-width:100%;min-width:0;justify-self:stretch;margin-left:0;margin-right:0}
.ktlf-shell>.woocommerce-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:12px;line-height:1.5;margin-bottom:10px}
@media(max-width:600px){.kl-shop:has(>.ktlf-shell){padding-left:0!important;padding-right:0!important;padding-top:0!important}}

.ktlf-pagination[hidden]{display:none!important}

/* Compact category selector; preserve the complete source photographs. */
.kl-shop:has(>.ktlf-shell){padding-top:0!important}
.ktlf-shell{padding-top:10px}
.ktlf-navigation{max-width:980px}
.ktlf-materials{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.ktlf-material-photo{height:auto;aspect-ratio:4/3}
.ktlf-material-photo img{object-fit:contain;object-position:center}
@media(max-width:600px){
.ktlf-shell{padding-top:8px}
.ktlf-materials{display:flex;overflow-x:auto;gap:6px;scroll-snap-type:x proximity;padding-bottom:3px}
.ktlf-materials>a{flex:0 0 116px;min-width:0;scroll-snap-align:start}
.ktlf-material-photo{height:auto;aspect-ratio:1}
}
/* Consistent material tiles and visible selection. */
.ktlf-materials{grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:visible}
.ktlf-materials>a{min-width:0;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;background:#fff}
.ktlf-material-photo{aspect-ratio:1;height:auto;background:#f4f1f6}
.ktlf-material-photo img{object-fit:cover;object-position:center;transition:transform .3s ease}
.ktlf-materials>a:hover,.ktlf-materials>a:focus-visible{transform:translateY(-3px);box-shadow:0 8px 22px #6933a419;border-color:#b18bdf}
.ktlf-materials>a:hover img{transform:scale(1.025)}
.ktlf-materials>a[aria-current=page]{border:2px solid #8232ef;padding:4px 4px 8px;background:#f1e7ff;box-shadow:0 0 0 3px #8232ef13}
.ktlf-materials>a[aria-current=page]>span:last-child{color:#6823be}
@media(max-width:600px){.ktlf-materials{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ktlf-materials>a{font-size:12px;flex:initial}.ktlf-materials>a[aria-current=page]{padding:3px 3px 6px}}
.ktlf-info-dialog{box-sizing:border-box;width:min(880px,calc(100% - 32px));max-width:880px;max-height:88dvh;margin:auto;padding:0;border:1px solid #e7dff0;border-radius:26px;background:#fff;color:#33283e;box-shadow:0 24px 90px #21152c33;overflow:auto}
.ktlf-info-dialog::backdrop{background:#20152d66;backdrop-filter:blur(5px)}
.ktlf-info-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#fffffff5;border-bottom:1px solid #eee8f3}
.ktlf-info-header h2{font-size:21px;margin:0;color:inherit}
.ktlf-info-close,.ktlf-gallery-arrow{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#f3eef8;color:#6b527e;font:26px/1 sans-serif;cursor:pointer}
.ktlf-info-body{padding:20px 24px 28px}.ktlf-info-dialog .ktlf-feature-layout{display:flex;flex-direction:column;gap:12px}.ktlf-info-dialog .ktlf-feature-layout p{margin:0;font-size:14px;line-height:1.65}.ktlf-info-dialog .ktlf-features{margin-top:20px;padding-top:20px}.ktlf-info-dialog .ktlf-feature-photos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;border-radius:18px;scrollbar-width:thin}
.ktlf-info-dialog .ktlf-feature-photos img{flex:0 0 100%;min-width:0;width:100%;height:360px;object-fit:contain;background:#f7f5f9;cursor:zoom-in;border-radius:18px}
.ktlf-gallery-tools{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:10px;font-size:12px;color:#81718d}
.ktlf-photo-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#17141b;color:#fff}
.ktlf-photo-dialog .ktlf-info-header{background:transparent;border:0}.ktlf-photo-dialog .ktlf-info-body{padding:0 20px}.ktlf-photo-dialog img{display:block;width:100%;height:calc(100dvh - 170px);object-fit:contain}.ktlf-photo-dialog .ktlf-gallery-tools{color:#ddd}
@keyframes ktlfInfoIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.ktlf-info-dialog[open]{animation:ktlfInfoIn .22s ease-out}
@media(max-width:600px){.ktlf-info-dialog{width:100%;max-width:100%;max-height:94dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.ktlf-info-header{padding:16px}.ktlf-info-header h2{font-size:18px}.ktlf-info-body{padding:16px}.ktlf-info-dialog .ktlf-feature-photos img{height:300px}.ktlf-photo-dialog{max-height:100dvh;border-radius:0}.ktlf-info-dialog:not(.ktlf-photo-dialog):before{content:'';display:block;width:36px;height:4px;background:#d6cddd;border-radius:4px;margin:10px auto 0}}
@media(prefers-reduced-motion:reduce){.ktlf-materials>a,.ktlf-material-photo img{transition:none}.ktlf-info-dialog[open]{animation:none}}
.ktlf-info-dialog .ktlf-feature-photos>picture{display:block;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start}
.ktlf-info-dialog .ktlf-feature-photos>picture img{width:100%;max-width:100%}
.ktlf-info-dialog .ktlf-info-close,.ktlf-info-dialog .ktlf-gallery-arrow{border-radius:50%!important;background:#f3eef8!important;color:#6b527e!important;font:26px/1 Arial,sans-serif!important;min-width:40px;min-height:40px;box-shadow:none!important}
/* Three material choices per row, including narrow screens. */
.ktlf-materials{grid-template-columns:repeat(3,minmax(0,1fr))}
.ktlf-material-photo{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden}
.ktlf-material-photo>picture{display:block;width:100%;height:100%}
.ktlf-material-photo img,.ktlf-material-photo>picture>img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
@media(max-width:600px){.ktlf-materials{grid-template-columns:repeat(3,minmax(0,1fr))}.ktlf-materials>a{font-size:11px}.ktlf-materials>a>span:last-child{padding:0 2px;overflow-wrap:anywhere}}
.ktlf-navigation{width:100%;max-width:none;box-sizing:border-box}
.ktlf-materials>a{width:auto;max-width:none;box-sizing:border-box}
@media(min-width:601px){
.ktlf-info-dialog:not(.ktlf-photo-dialog){width:min(1000px,calc(100% - 32px));max-width:1000px}
.ktlf-info-dialog .ktlf-feature-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px 24px;align-items:start}
.ktlf-info-dialog .ktlf-feature-layout>p{grid-column:1;grid-row:1 / span 2}
.ktlf-info-dialog .ktlf-feature-photos{grid-column:2;grid-row:1;min-width:0;scrollbar-width:none}
.ktlf-info-dialog .ktlf-gallery-tools{grid-column:2;grid-row:2;margin-top:0;gap:12px}
.ktlf-info-dialog .ktlf-feature-photos img{height:260px}
.ktlf-info-dialog .ktlf-section-description{padding-top:0;font-size:12px;line-height:1.5}
.ktlf-info-dialog .ktlf-section-description p{margin-bottom:10px}
.ktlf-info-dialog .ktlf-features{padding-top:14px;margin-top:14px}
}
.ktlf-info-dialog .ktlf-feature-photos::-webkit-scrollbar{display:none}
.ktlf-navigation .ktlf-section-info>summary:focus{outline:none!important;box-shadow:none!important}
.ktlf-navigation .ktlf-section-info>summary:focus-visible{outline:1px solid #a98acb!important;outline-offset:3px!important;box-shadow:none!important}
/* Category tree with a single persistent section photograph. */
.ktlf-tree-navigation .ktlf-selector{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}
.ktlf-selector-list{display:flex;flex-direction:column;gap:8px;min-width:0}
.ktlf-tree-group{min-width:0}
.ktlf-tree-heading{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:14px;background:#f7f5fa;border:1px solid #e5deed;color:#41344e;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,color .2s}
.ktlf-tree-heading:hover{background:#eee7f7;color:#7132bb}
.ktlf-tree-heading.is-active{background:#f0e8fb;border-color:#d3b9ef;color:#7132bb}
.ktlf-tree-icon{font-size:23px;color:#9764ce;line-height:1}.ktlf-tree-chevron{margin-left:auto;transition:transform .2s;font-size:20px}
.ktlf-tree-heading[aria-expanded=true] .ktlf-tree-chevron{transform:rotate(180deg)}
.ktlf-tree-navigation .ktlf-materials{display:flex;flex-direction:column;gap:3px;padding:7px 0 3px 18px;overflow:visible}
.ktlf-tree-navigation .ktlf-materials>a{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:40px;width:100%;padding:9px 12px;border:0;border-radius:10px;background:transparent;font-size:13px;font-weight:500;line-height:1.35;box-shadow:none;transform:none}
.ktlf-tree-navigation .ktlf-materials>a:hover{background:#f5effb;box-shadow:none;transform:translateX(2px)}
.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{background:#eee2fc;color:#7029c0;border:0;box-shadow:none;padding:9px 12px;font-weight:600}
.ktlf-tree-navigation .ktlf-material-photo{display:none}
.ktlf-tree-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#c8bbd5}
.ktlf-tree-navigation a[aria-current=page] .ktlf-tree-dot{background:#8232ef}
.ktlf-tree-navigation .ktlf-materials>a>span:last-child{padding:0;overflow-wrap:normal}
.ktlf-selector-preview{margin:0;min-width:0;position:sticky;top:100px}
.ktlf-selector-image{height:290px;border-radius:20px;overflow:hidden;background:#f6f3f8}
.ktlf-selector-image>picture{display:block;width:100%;height:100%}
.ktlf-selector-image img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
.ktlf-selector-preview figcaption{margin-top:8px;font-size:12px;color:#83758e;text-align:right}
@media(max-width:600px){.ktlf-tree-navigation .ktlf-selector{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:10px}.ktlf-tree-heading{padding:10px 8px;font-size:12px;gap:6px}.ktlf-tree-icon{font-size:19px}.ktlf-tree-navigation .ktlf-materials{padding-left:4px}.ktlf-tree-navigation .ktlf-materials>a,.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{padding:8px 7px;font-size:11px;gap:6px;min-height:37px}.ktlf-selector-image{height:210px;border-radius:14px}.ktlf-selector-preview{top:80px}.ktlf-selector-preview figcaption{font-size:10px;text-align:left}}
@media(prefers-reduced-motion:reduce){.ktlf-tree-heading,.ktlf-tree-chevron{transition:none}.ktlf-tree-navigation .ktlf-materials>a:hover{transform:none}}
/* Editorial information cards with a visible next photograph. */
.ktlf-info-dialog:not(.ktlf-photo-dialog){background:#f8f8fa;border:1px solid #e0dce5}
.ktlf-info-dialog .ktlf-info-header{background:#fff;border-bottom:1px solid #e4e0e8}
.ktlf-info-dialog .ktlf-info-header h2{font-size:23px;letter-spacing:-.4px;color:#2d2536}
.ktlf-info-dialog .ktlf-section-description{color:#615969;max-width:850px}
.ktlf-info-dialog .ktlf-features{padding:18px;margin:14px 0 0;background:#fff;border:1px solid #ded9e4;border-radius:20px;box-shadow:0 3px 14px #29203205}
.ktlf-info-dialog .ktlf-features h3{font-size:17px;font-weight:650;color:#302638;margin-bottom:12px}
.ktlf-info-dialog .ktlf-feature-layout>p{font-size:14px;line-height:1.7;color:#504756}
.ktlf-info-dialog .ktlf-feature-photos{background:transparent;border-radius:14px;padding:0;scroll-padding:0}
.ktlf-info-dialog .ktlf-feature-photos>picture,.ktlf-info-dialog .ktlf-feature-photos>img{flex:0 0 66.666%;width:66.666%;min-width:0;scroll-snap-align:start}
.ktlf-info-dialog .ktlf-feature-photos>picture img{width:100%}
.ktlf-info-dialog .ktlf-feature-photos img{height:230px;object-fit:cover;background:#fff;border-radius:14px}
.ktlf-info-dialog .ktlf-gallery-tools{color:#65586f;font-weight:500}
.ktlf-info-dialog .ktlf-info-close:focus:not(:focus-visible){outline:none!important}
.ktlf-info-dialog .ktlf-info-close:focus-visible{outline:1px solid #aa8bc9!important;outline-offset:3px}
@media(max-width:600px){.ktlf-info-dialog .ktlf-info-header h2{font-size:18px}.ktlf-info-dialog .ktlf-features{padding:13px;border-radius:16px}.ktlf-info-dialog .ktlf-feature-photos img{height:210px}.ktlf-info-dialog .ktlf-features h3{font-size:16px}}
body:has(.ktlf-shell),body:has(.ktlf-shell) .kl-main,.ktlf-shell,.ktlf-shell .ktlc{background-color:#f4f4f6!important}
/* One lightweight static photograph per information block. */
.ktlf-info-dialog .ktlf-feature-photos{display:block;overflow:hidden;scroll-snap-type:none;background:transparent}
.ktlf-info-dialog .ktlf-feature-photos>picture,.ktlf-info-dialog .ktlf-feature-photos>img{display:block;width:100%;min-width:0}
.ktlf-info-dialog .ktlf-feature-photos img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain;background:transparent;cursor:default}
.ktlf-info-dialog .ktlf-feature-layout>p{grid-row:1}
.ktlf-tree-chevron{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px}
.ktlf-tree-chevron svg{display:block;width:20px;height:20px}
.ktlf-tree-heading.is-active{background:linear-gradient(110deg,#6920d8,#9747fa);color:#fff;border-color:#8232ef}
.ktlf-tree-heading.is-active .ktlf-tree-icon{color:#ffffffbd}
.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{background:linear-gradient(110deg,#7626e8,#9747fa);color:#fff}
.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]>span:last-child{color:#fff}
.ktlf-tree-navigation a[aria-current=page] .ktlf-tree-dot{background:#fff}
.ktlf-tree-navigation .ktlf-material-icon{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px;color:#8b6da7}
.ktlf-material-icon svg{display:block;width:22px;height:22px}
.ktlf-tree-navigation a[aria-current=page] .ktlf-material-icon{color:#fff}
@media(max-width:600px){.ktlf-tree-navigation .ktlf-material-icon{width:20px;height:20px;flex-basis:20px}.ktlf-material-icon svg{width:19px;height:19px}}
/* Each accordion heading and its material list form one connected block. */
.ktlf-tree-navigation .ktlf-tree-group{border:1px solid #e0dbe7;border-radius:15px;overflow:hidden;background:#fff}
.ktlf-tree-navigation .ktlf-tree-heading{border:0;border-radius:0;gap:8px;padding:13px 15px}
.ktlf-tree-navigation .ktlf-tree-heading[aria-expanded=true]{border-radius:0;border-bottom:1px solid #ded3ed}
.ktlf-tree-navigation .ktlf-materials{margin:0 12px 10px;padding:8px 0 0 12px;border-left:1px solid #ded5e9;gap:4px}
.ktlf-tree-navigation .ktlf-materials>a{position:relative;min-height:39px}
.ktlf-tree-navigation .ktlf-materials>a:before{content:'';position:absolute;left:-12px;top:50%;width:9px;height:1px;background:#ded5e9}
.ktlf-tree-navigation .ktlf-selector-list{gap:10px}
@media(max-width:600px){.ktlf-tree-navigation .ktlf-tree-heading{padding:11px 10px}.ktlf-tree-navigation .ktlf-materials{margin:0 6px 7px 9px;padding-left:8px}.ktlf-tree-navigation .ktlf-materials>a:before{left:-8px;width:6px}}
.ktlf-mobile-banner-copy{display:none}
@media(max-width:600px){
.ktlf-shell>.ktlf-category-title{display:none}
.ktlf-tree-navigation{padding:0;border:0;background:transparent;border-radius:0;margin-bottom:12px}
.ktlf-tree-navigation>.ktlf-nav-heading{display:none}
.ktlf-tree-navigation .ktlf-selector{display:flex;flex-direction:column;gap:10px}
.ktlf-tree-navigation .ktlf-selector-preview{order:-1;position:relative;top:auto;width:100%;height:164px;border:1px solid #ded8e7;border-radius:22px;overflow:hidden;background:#f8f5fc}
.ktlf-tree-navigation .ktlf-selector-image{position:absolute;right:0;top:0;width:70%;height:100%;border-radius:0;background:transparent}
.ktlf-tree-navigation .ktlf-selector-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8f5fc 0%,#f8f5fc 33%,#f8f5fce0 44%,#f8f5fc00 70%);pointer-events:none}
.ktlf-mobile-banner-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;gap:6px;width:57%;height:100%;padding:12px;box-sizing:border-box}
.ktlf-mobile-banner-copy strong{font-size:15px;line-height:1.25;font-weight:650;color:#302738}
.ktlf-mobile-banner-copy>span{font-size:10px;line-height:1.4;color:#857b8d}
.ktlf-tree-navigation .ktlf-selector-preview figcaption{display:none}
.ktlf-tree-navigation .ktlf-selector-list{display:grid;width:100%;grid-template-columns:1fr 1fr;gap:8px;min-width:0}
.ktlf-tree-navigation .ktlf-tree-group{display:contents;border:0;background:transparent}
.ktlf-tree-navigation .ktlf-tree-heading{grid-row:1;padding:9px 10px;border:1px solid #dedee5!important;border-radius:20px!important;font-size:11px;background:#f1f1f4;justify-content:center;color:#766d80}
.ktlf-tree-navigation .ktlf-tree-heading.is-active{background:#eee4fc;border-color:#c9a8ec!important;color:#7730c7}
.ktlf-tree-navigation .ktlf-tree-chevron{width:14px;height:14px;flex-basis:14px}.ktlf-tree-chevron svg{max-width:100%}
.ktlf-tree-navigation .ktlf-materials{display:flex;flex-direction:row;grid-column:1/-1;grid-row:2;overflow-x:auto;scroll-snap-type:x proximity;border:0;padding:0 0 3px;margin:0;gap:7px;scrollbar-width:none}
.ktlf-tree-navigation .ktlf-materials::-webkit-scrollbar{display:none}
.ktlf-tree-navigation .ktlf-materials>a,.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{flex:0 0 auto;width:auto;min-height:36px;padding:8px 12px;border:1px solid #dedee5;border-radius:20px;background:#f1f1f4;color:#746b7d;font-size:11px;font-weight:500;scroll-snap-align:start;white-space:nowrap}
.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{color:#fff;background:linear-gradient(110deg,#7626e8,#9747fa);border-color:#8232ef}
.ktlf-tree-navigation .ktlf-materials>a:before{display:none}
.ktlf-tree-navigation .ktlf-material-icon{display:none}
}
@media(max-width:600px){
.ktlf-tree-navigation .ktlf-tree-heading.is-active{color:#fff;background:linear-gradient(110deg,#7928ec,#984bfa);border-color:#8232ef!important;box-shadow:0 2px 8px #8232ef18}
.ktlf-tree-navigation .ktlf-tree-heading.is-active:before{content:'';display:block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#fff}
.ktlf-tree-navigation .ktlf-material-icon{display:flex;width:17px;height:17px;flex:0 0 17px}
.ktlf-tree-navigation .ktlf-material-icon svg{width:17px;height:17px}
.ktlf-tree-navigation .ktlf-materials>a{gap:6px}
}
/* Fast category-only entry, matching the app's photo accordion. */
.ktlf-entry{max-width:950px;margin:0 auto 20px}.ktlf-entry-hint{font-size:14px;color:#6b6b73;margin:0 0 12px}
.ktlf-entry-group{margin-bottom:10px;background:#f0f0f3;border:1px solid #d4d4dc;border-radius:20px;overflow:hidden}
.ktlf-entry-group>summary{list-style:none;display:flex;align-items:center;gap:15px;padding:0 16px 0 0;cursor:pointer;min-height:112px}
.ktlf-entry-group>summary::-webkit-details-marker{display:none}.ktlf-entry-thumb{width:112px;height:112px;flex:0 0 112px;overflow:hidden;border-radius:19px}
.ktlf-entry-thumb picture,.ktlf-entry-child-photo picture{display:block;width:100%;height:100%}
.ktlf-entry-thumb img,.ktlf-entry-child-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover}
.ktlf-entry-title{flex:1;min-width:0}.ktlf-entry-title strong{display:flex;align-items:center;gap:8px;font-size:19px;color:#33333b;line-height:1.2;font-weight:600}.ktlf-entry-title small{display:block;color:#777780;font-size:12px;margin-top:7px;line-height:1.4}
.ktlf-entry svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:#77737e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.ktlf-entry-group[open]>summary>svg{transform:rotate(180deg)}.ktlf-entry-group[open]{background:#f6f6f8}
.ktlf-entry-children{padding:0 9px 9px;display:flex;flex-direction:column;gap:7px}.ktlf-entry-children>a{display:flex;align-items:center;gap:12px;min-height:72px;background:#fff;border:1px solid #e1e1e6;border-radius:15px;padding-right:12px;color:#34343c;font-size:14px;font-weight:500;text-decoration:none}
.ktlf-entry-children>a:hover{background:#f7f7fa;border-color:#bdbdc8}.ktlf-entry-child-photo{width:72px;height:72px;flex:0 0 72px;border-radius:14px;overflow:hidden}.ktlf-entry-children .ktlf-material-icon{display:flex;width:22px;height:22px;flex:0 0 22px;color:#77737e}.ktlf-entry-children>a>svg{margin-left:auto}.ktlf-core-mark{display:inline-block;width:7px;height:7px;flex:0 0 7px;border:1.5px solid currentColor;border-radius:50%;box-sizing:border-box}.ktlf-core-mark.is-core{background:currentColor}
.ktlf-generic-navigation{padding:0;border:0;background:transparent}.ktlf-generic-navigation .ktlf-selector-preview{height:180px;position:relative;top:auto;border-radius:22px;overflow:hidden;border:1px solid #dedee4;background:#f5f5f7}.ktlf-generic-navigation .ktlf-selector-image{position:absolute;right:0;top:0;width:55%;height:100%;border-radius:0}.ktlf-generic-navigation .ktlf-selector-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f5f5f7 0%,#f5f5f7 35%,#f5f5f7e0 44%,#f5f5f700 75%);pointer-events:none}.ktlf-generic-navigation .ktlf-mobile-banner-copy{display:flex;position:relative;z-index:1;flex-direction:column;justify-content:center;gap:8px;width:55%;height:100%;padding:20px;box-sizing:border-box}.ktlf-generic-navigation .ktlf-mobile-banner-copy strong{font-size:22px;color:#34343b;line-height:1.2}.ktlf-generic-navigation .ktlf-mobile-banner-copy>span{font-size:13px;color:#74747d}.ktlf-generic-navigation .ktlf-generic-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.ktlf-generic-links .ktlf-material-photo{display:none}.ktlf-generic-navigation .ktlf-generic-links>a{width:auto;flex-direction:row;padding:9px 14px;font-size:13px;border-radius:20px;transform:none;box-shadow:none}
.ktlf-generic-navigation .ktlf-generic-links>a[aria-current=page]{padding:9px 14px;background:#e9e9ef;border:1px solid #bbbcc7;color:#33333c}
@media(max-width:600px){
.ktlf-entry{margin:0 0 14px}.ktlf-entry-group>summary{min-height:92px;gap:11px;padding-right:12px}.ktlf-entry-thumb{width:92px;height:92px;flex-basis:92px}.ktlf-entry-title strong{font-size:16px}.ktlf-entry-title small{font-size:10px}.ktlf-entry-child-photo{width:58px;height:64px;flex-basis:58px}.ktlf-entry-children>a{min-height:64px;font-size:12px;gap:9px}.ktlf-entry-children .ktlf-material-icon{width:19px;flex-basis:19px}.ktlf-entry-hint{font-size:12px}
.ktlf-generic-navigation .ktlf-selector-preview{height:164px}.ktlf-generic-navigation .ktlf-selector-image{width:70%}.ktlf-generic-navigation .ktlf-mobile-banner-copy{width:58%;padding:12px}.ktlf-generic-navigation .ktlf-mobile-banner-copy strong{font-size:15px}.ktlf-generic-navigation .ktlf-mobile-banner-copy>span{font-size:11px}.ktlf-generic-navigation .ktlf-generic-links{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.ktlf-generic-navigation .ktlf-generic-links>a{flex:0 0 auto;white-space:nowrap;font-size:11px}
.ktlf-tree-navigation .ktlf-tree-heading{background:#ededf0;color:#53535d;border-color:#d5d5dd!important}.ktlf-tree-navigation .ktlf-tree-heading.is-active{background:linear-gradient(110deg,#7928ec,#984bfa);color:#fff;border-color:#8232ef!important;box-shadow:none}
.ktlf-tree-navigation .ktlf-tree-heading:before{content:'';display:block;width:6px;height:6px;flex:0 0 6px;border:1.3px solid currentColor;border-radius:50%;background:transparent;box-sizing:border-box}.ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="1"]:before{background:currentColor}
.ktlf-tree-navigation .ktlf-materials>a{color:#55555e;background:#eeeeF1;border-color:#d7d7de}.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{background:#eee4fc;color:#7132bb;border-color:#c9a8ec}.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]>span:last-child,.ktlf-tree-navigation a[aria-current=page] .ktlf-material-icon{color:#7132bb}.ktlf-tree-navigation .ktlf-material-icon{color:#73737d}
.ktlf-tree-navigation .ktlf-selector-preview{background:#f5f5f7;border-color:#dddde3}.ktlf-tree-navigation .ktlf-selector-preview:after{background:linear-gradient(90deg,#f5f5f7 0%,#f5f5f7 33%,#f5f5f7e0 44%,#f5f5f700 70%)}
.ktlf-mobile-banner-copy strong{color:#33333c}.ktlf-mobile-banner-copy>span{color:#707079}
}

/* The marker describes cord construction, independently of selection. */
.ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="0"]:before{background:transparent}
.ktlf-generic-navigation .ktlf-generic-links>a[aria-current=page]{background:linear-gradient(110deg,#7928ec,#984bfa);border-color:#8232ef;color:#fff}

.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{background:#eee4fc;color:#7132bb;border-color:#c9a8ec}
.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]>span:last-child,.ktlf-tree-navigation a[aria-current=page] .ktlf-material-icon{color:#7132bb}

.ktlf-generic-navigation .ktlf-generic-links>a[aria-current=page]>span:last-child,.ktlf-generic-navigation .ktlf-generic-links>a[aria-current=page] .ktlf-material-icon{color:#fff}

.ktlf-entry-children{padding-top:4px}

/* Yarn archive: compact introduction with an independent rounded photo. */
.ktlf-yarn-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:28px;align-items:center;margin:16px 0 20px;padding:20px 24px;background:#fff;border:1px solid #e3e0e7;border-radius:24px}
.ktlf-yarn-copy{min-width:0;max-width:620px;padding:0}
.ktlf-yarn-copy h1{font-size:28px;line-height:1.2;margin:0 0 14px;color:#29262e;font-weight:700}
.ktlf-yarn-copy p{font-size:14px;line-height:1.55;color:#514c59;margin:0 0 12px}
.ktlf-yarn-copy p:last-child{margin-bottom:0}.ktlf-yarn-copy strong{font-weight:600;color:#39333f}
.ktlf-yarn-photo{margin:0 0 0 auto;width:100%;max-width:440px;min-width:0;border-radius:22px;overflow:hidden}
.ktlf-yarn-photo img{display:block;width:100%;height:340px;object-fit:cover;object-position:center 42%;border-radius:22px}
@media(min-width:1500px){.ktlf-yarn-photo{max-width:520px}.ktlf-yarn-photo img{height:360px}.ktlf-yarn-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}.ktlf-yarn-copy{max-width:680px}.ktlf-yarn-copy p{font-size:15px}}
@media(max-width:767px){.ktlf-yarn-intro{grid-template-columns:1fr;gap:14px;margin:12px 0 16px;padding:14px;border-radius:20px}.ktlf-yarn-copy h1{font-size:22px;margin-bottom:10px}.ktlf-yarn-copy p{font-size:13px;line-height:1.5}.ktlf-yarn-photo{max-width:none;border-radius:16px}.ktlf-yarn-photo img{height:260px;border-radius:16px}}

.ktlf-shop{padding:12px 6px 30px}.ktlf-shop>h1{font-size:30px;margin:18px 0}.ktlf-shop-sections{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 20px}.ktlf-shop-sections a{padding:10px 20px;border:1px solid #dcd2e9;border-radius:24px;background:#fff;color:#574561;font-size:15px}.ktlf-shop-sections a[aria-current]{background:#8232ef;color:#fff;border-color:#8232ef}@media(max-width:600px){.ktlf-shop>h1{font-size:23px}.ktlf-shop-sections{gap:6px}.ktlf-shop-sections a{font-size:13px;padding:8px 13px}}
@media(max-width:767px){.ktlf-yarn-intro{border:0;background:none;padding:0;margin:14px 0 20px;gap:16px}.ktlf-yarn-copy{padding:0 6px}.ktlf-yarn-copy h1{font-size:26px;margin-bottom:12px}.ktlf-yarn-copy p{font-size:14px;line-height:1.55}.ktlf-yarn-photo{border-radius:20px}.ktlf-yarn-photo img{height:auto;max-height:260px;object-fit:contain;border-radius:20px}}

@media(max-width:767px){.ktlf-yarn-intro{padding:12px;margin:8px 0 12px;gap:10px;border:1px solid #e3e0e7;border-radius:20px;background:#fff}.ktlf-yarn-copy{padding:0}.ktlf-yarn-copy h1{font-size:20px;margin:0 0 8px}.ktlf-yarn-copy p{font-size:12px;line-height:1.45;margin-bottom:8px}.ktlf-yarn-photo{width:100%;max-width:none;border-radius:18px;overflow:hidden}.ktlf-yarn-photo img{width:100%;height:180px;max-height:180px;object-fit:cover;object-position:center 42%;border-radius:18px}}

/* Wide cord selector: both material groups stay visible beside the photograph. */
@media(min-width:900px){
.ktlf-tree-navigation .ktlf-selector{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:stretch}
.ktlf-tree-navigation .ktlf-selector-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.ktlf-tree-navigation .ktlf-materials[hidden]{display:flex!important}
.ktlf-tree-navigation .ktlf-tree-heading{background:#f4f4f6;color:#514b59;border-bottom:1px solid #e0dbe7}
.ktlf-tree-navigation .ktlf-tree-heading.is-active{background:linear-gradient(110deg,#6920d8,#9747fa);color:#fff}
.ktlf-tree-navigation .ktlf-tree-chevron{display:none}
.ktlf-tree-navigation .ktlf-selector-preview{position:relative;top:auto;min-height:0;margin-bottom:24px}
.ktlf-tree-navigation .ktlf-selector-image{position:absolute;inset:0;height:100%;width:100%;aspect-ratio:auto;border-radius:20px}
.ktlf-tree-navigation .ktlf-selector-preview figcaption{position:absolute;top:100%;right:0;margin-top:6px}
.ktlf-tree-navigation .ktlf-selector-list{margin-bottom:24px}
}

/* Desktop category introductions follow the approved yarn layout. */
.ktlf-desktop-intro-description{display:none}
@media(min-width:768px){
.ktlf-shell:has(.ktlf-generic-navigation)>.ktlf-category-title{display:none}
.ktlf-generic-navigation .ktlf-selector-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:28px;height:auto;min-height:0;padding:20px 24px;background:#fff;border:1px solid #e3e0e7;border-radius:24px;overflow:hidden}
.ktlf-generic-navigation .ktlf-selector-preview:after{display:none}
.ktlf-generic-navigation .ktlf-mobile-banner-copy{grid-column:1;grid-row:1;display:flex;position:static;width:auto;height:auto;max-width:620px;padding:0;gap:12px}
.ktlf-generic-navigation .ktlf-mobile-banner-copy strong{font-size:28px;line-height:1.2;font-weight:700;color:#29262e}
.ktlf-generic-navigation .ktlf-mobile-banner-copy>span{font-size:14px;line-height:1.55;color:#514c59}
.ktlf-generic-navigation .ktlf-selector-image{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1/1;max-width:440px;justify-self:end;border-radius:22px;background:#f5f5f7;overflow:hidden}
.ktlf-generic-navigation .ktlf-selector-image img{object-fit:contain;object-position:center}
.ktlf-generic-navigation .ktlf-desktop-intro-description{display:block;font-size:14px;line-height:1.55;color:#514c59;}
.ktlf-desktop-intro-description:empty{display:none!important}
.ktlf-desktop-intro-description p{margin:0 0 10px}
.ktlf-generic-navigation .ktlf-generic-links{margin-top:12px}
.ktlf-shell .ktlc.ktlc-no-attributes .ktlc-controls{justify-content:flex-end}
}

/* Desktop cord entry: two balanced cards instead of long full-width strips. */
@media(min-width:900px){
.ktlf-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:none;width:100%;margin:16px 0 24px}
.ktlf-entry-hint{grid-column:1/-1;margin:0;font-size:14px}
.ktlf-entry-group{align-self:start;background:#fff;border-color:#e0d9e9;border-radius:22px;margin:0;box-shadow:0 5px 20px #33283e04}
.ktlf-entry-group>summary{min-height:130px;padding:0 18px 0 0;gap:18px}
.ktlf-entry-thumb{width:130px;height:130px;flex-basis:130px;border-radius:21px 0 0 0}
.ktlf-entry-title strong{font-size:20px;color:#33283e}
.ktlf-entry-title small{font-size:12px;margin-top:8px;color:#887c92}
.ktlf-entry-group[open]{background:#fff}
.ktlf-entry-group[open]>summary{background:#f6f2fc}
.ktlf-entry-children{padding:12px;gap:8px}
.ktlf-entry-children>a{min-height:68px;border-color:#ebe4f2;background:#faf8fd;border-radius:14px;font-size:14px;color:#51415e}
.ktlf-entry-children>a:hover{background:#f0e5ff;border-color:#cdb3ee}
.ktlf-entry-child-photo{width:68px;height:68px;flex-basis:68px}
}
@media(min-width:900px) and (max-width:1499px){
.ktlf-tree-navigation .ktlf-selector{gap:16px}
.ktlf-tree-navigation .ktlf-selector-list{gap:14px}
.ktlf-tree-navigation .ktlf-tree-heading{padding:12px;font-size:13px}
.ktlf-tree-navigation .ktlf-materials{margin:0 8px 10px;padding-left:8px}
.ktlf-tree-navigation .ktlf-materials>a{padding:8px;font-size:12px;gap:7px}
.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{padding:8px}
.ktlf-tree-navigation .ktlf-material-icon{width:20px;flex-basis:20px}
}

@media(min-width:900px) and (max-width:1099px){
.ktlf-tree-navigation{padding:14px}
.ktlf-tree-navigation .ktlf-selector{gap:10px}
.ktlf-tree-navigation .ktlf-selector-list{gap:10px}
.ktlf-tree-navigation .ktlf-tree-heading{font-size:12px;padding:10px}
.ktlf-tree-navigation .ktlf-materials{margin:0 5px 8px;padding-left:6px}
.ktlf-tree-navigation .ktlf-materials>a,.ktlf-tree-navigation .ktlf-materials>a[aria-current=page]{font-size:11px;padding:7px 5px;gap:5px;min-height:36px}
.ktlf-tree-navigation .ktlf-material-icon{width:18px;height:18px;flex-basis:18px}
.ktlf-entry{gap:12px}
.ktlf-entry-group>summary{gap:12px;padding-right:12px;min-height:108px}
.ktlf-entry-thumb{width:108px;height:108px;flex-basis:108px}
.ktlf-entry-title strong{font-size:17px}
.ktlf-entry-title small{font-size:11px}
}

@media(min-width:768px){
.ktlf-generic-navigation .ktlf-selector-preview{grid-template-columns:minmax(0,1fr) minmax(180px,250px);gap:24px;padding:18px 22px}
.ktlf-generic-navigation .ktlf-selector-image{width:100%;max-width:250px;height:auto;aspect-ratio:1/1}
.ktlf-generic-navigation .ktlf-mobile-banner-copy{gap:9px;max-width:720px}
.ktlf-generic-navigation .ktlf-mobile-banner-copy strong{font-size:25px}
.ktlf-generic-navigation .ktlf-desktop-intro-description{font-size:13px;line-height:1.5}
}

/* Compact vertical inset across desktop category introduction panels. */
@media(min-width:768px){
.ktlf-generic-navigation .ktlf-selector-preview,.ktlf-yarn-intro{padding-top:6px;padding-bottom:6px;min-height:0;height:auto}
.ktlf-generic-navigation .ktlf-selector-preview>figcaption[hidden]{display:none!important}
.ktlf-generic-navigation .ktlf-selector-image{margin-top:0;margin-bottom:0;align-self:center}
.ktlf-yarn-photo{margin-top:0;margin-bottom:0}
.ktlf-desktop-intro-description p:last-child,.ktlf-yarn-copy p:last-child{margin-bottom:0}
.ktlf-tree-navigation .ktlf-selector-preview{margin-bottom:6px}
}

/* Consistent desktop cursor on actual interactive controls and their contents. */
:is(.ktlf-shell,.ktlf-info-dialog) :is(a[href],button:not(:disabled),summary,[role="button"]:not([aria-disabled="true"])){cursor:pointer!important}
:is(.ktlf-shell,.ktlf-info-dialog) :is(a[href],button:not(:disabled),summary,[role="button"]:not([aria-disabled="true"])) :is(svg,path,span,img,strong,small,i){cursor:inherit!important}
:is(.ktlf-shell,.ktlf-info-dialog) :is(button:disabled,[aria-disabled="true"]),:is(.ktlf-shell,.ktlf-info-dialog) :is(button:disabled,[aria-disabled="true"]) *{cursor:default!important}

/* Full linked trail remains in HTML; narrow screens scroll instead of wrapping. */
.ktlf-shell>.woocommerce-breadcrumb{display:flex;flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;align-items:center;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.ktlf-shell>.woocommerce-breadcrumb>*{flex:0 0 auto;white-space:nowrap}
.ktlf-shell>.woocommerce-breadcrumb::-webkit-scrollbar{display:none}

/* 0.5.137 — product search results in catalogue style */
.ktlf-search{max-width:1440px;margin:0 auto}
.ktlf-search-form{display:flex;gap:8px;margin:0 0 14px;max-width:640px}
.ktlf-search-form input[type=search]{flex:1;min-width:0;height:46px;border:1px solid #ddd4e9;border-radius:14px;padding:0 14px;background:#fff;font-size:15px;color:#2c2236}
.ktlf-search-form input[type=search]:focus{border-color:#8a40f5;outline:none;box-shadow:0 0 0 3px #8a40f526}
.ktlf-search-form button{height:46px;padding:0 20px;border:0;border-radius:14px;background:#7e34ed;color:#fff;font-weight:600;font-size:14px;cursor:pointer}
.ktlf-search-form button:hover{background:#6a22d6}
.ktlf-search-count{margin:0 0 12px;color:#6f6479;font-size:14px}
.ktlf-search-empty{border:1px solid #e4dced;border-radius:18px;background:#fff;padding:18px;max-width:640px}
.ktlf-search-empty p{margin:0 0 8px;color:#5f536b;font-size:14px;line-height:1.5}
.ktlf-search-empty p strong{color:#2c2236;font-size:16px}
.ktlf-search-empty .ktlf-shop-sections{margin-top:12px}
.ktlf-search-pages{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:18px 0 6px}
.ktlf-search-pages .page-numbers{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e4dced;border-radius:12px;padding:0 10px;color:#4d3c60;text-decoration:none}
.ktlf-search-pages .page-numbers.current{background:#7e34ed;border-color:#7e34ed;color:#fff}
@media(max-width:600px){.ktlf-search-form button{padding:0 14px}.ktlf-search h1{font-size:22px}}

.ktlf-selector-image img{object-fit:contain;object-position:center;background:#f5f4f7}

/* Cord section photos fill their frames; captions are redundant here. */
.ktlf-tree-navigation .ktlf-selector-image img{width:100%!important;height:100%!important;object-fit:cover;object-position:center}
.ktlf-tree-navigation .ktlf-selector-preview figcaption{display:none!important}
.ktlf-tree-group{position:relative}
.ktlf-tree-group .ktlf-tree-heading{padding-right:112px}
.ktlf-core-info{position:absolute;right:12px;top:11px;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid #cdb9e7;border-radius:12px;background:#f5ecff;color:#6523ad;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;z-index:1}
.ktlf-core-info:focus-visible{outline:3px solid #ad70ef;outline-offset:3px}
.ktlf-core-dialog{width:min(620px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:22px;border:1px solid #dfd3ec;border-radius:24px;background:#fff;color:#33283e;box-sizing:border-box}
.ktlf-core-dialog::backdrop{background:#24133080;backdrop-filter:blur(4px)}
.ktlf-core-dialog h2{margin:0 44px 14px 0;font-size:22px;line-height:1.25}
.ktlf-core-dialog img{display:block;width:100%;height:auto;max-height:58dvh;object-fit:contain;border-radius:14px}
.ktlf-core-dialog p{font-size:15px;line-height:1.55;margin:16px 0 0}
.ktlf-core-close{position:absolute;right:12px;top:12px;width:36px;height:36px;border:1px solid #e1d7eb;border-radius:50%;background:#f6f1fb;color:#51415f;font-size:24px;cursor:pointer}
@media(max-width:600px){.ktlf-core-info{right:6px;top:5px;min-height:28px;padding:4px 7px;font-size:11px}.ktlf-tree-group .ktlf-tree-heading{padding-right:100px}.ktlf-core-dialog{padding:18px}.ktlf-core-dialog h2{font-size:19px}}

/* Align the help button with the centre of its heading, not the group body. */
.ktlf-tree-group{--ktlf-heading-height:48px}
.ktlf-tree-group .ktlf-tree-heading{box-sizing:border-box;min-height:var(--ktlf-heading-height);height:var(--ktlf-heading-height);display:flex;align-items:center}
.ktlf-tree-group .ktlf-core-info{top:calc(var(--ktlf-heading-height)/2);transform:translateY(-50%)}
@media(max-width:600px){.ktlf-tree-group{--ktlf-heading-height:44px}}

/* Keep the cord selector inside a phone viewport and anchor its help control. */
@media(max-width:600px){
 .ktlf-tree-navigation .ktlf-selector-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ktlf-tree-navigation .ktlf-tree-heading{min-width:0;width:100%;box-sizing:border-box;padding-right:10px}
 .ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="1"]{padding-right:38px}
 .ktlf-tree-navigation .ktlf-materials{min-width:0;max-width:100%;box-sizing:border-box}
 .ktlf-tree-navigation .ktlf-core-info{position:relative;grid-column:2;grid-row:1;justify-self:end;align-self:center;top:auto;right:auto;transform:none;margin-right:5px;width:28px;min-width:28px;height:28px;padding:0;display:grid;place-items:center;font-size:0}
 .ktlf-tree-navigation .ktlf-core-info span{font-size:15px}
}

@media(max-width:600px){
 .ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="0"]{grid-column:1;grid-row:1}
 .ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="1"]{grid-column:2;grid-row:1}
}
