/* Kamanlend Store Directory — source frames 10461:58016 / 10667:19732 */
.kl-directory{background:#f5f6f8;color:#1d2433;min-height:2195px;overflow:clip;padding-bottom:0}
.kl-directory__hero-wrap{max-width:1280px;margin:52px auto 0}
.kl-directory__hero{height:239px;border-radius:16px;background:linear-gradient(90deg,#e9f2fe 0%,#eeeffa 38%,#f6ecf2 68%,#ffe9ed 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:28px}
.kl-directory__hero h1{font-size:32px;line-height:1.6;font-weight:800;letter-spacing:-.5px;color:#1d2433}.kl-directory__hero p{font-size:15px;font-weight:450;line-height:1.8;color:#303030}
.kl-directory__filters{max-width:1280px;margin:40px auto 0;display:flex;flex-direction:column;align-items:center;gap:24px;min-width:0}
.kl-directory__channel{width:535px;max-width:100%;min-height:72px;padding:4px;border-radius:12px;border:1px solid #e4e7ec;display:grid;grid-template-columns:1fr 1fr;gap:4px;background:white}
.kl-directory__channel button{border:1px solid transparent;background:white;border-radius:8px;min-width:0;color:#4d4d4d;font-weight:600;font-size:16px;transition:background .15s,border-color .15s,color .15s}
.kl-directory__channel button.is-active{border-color:#0158cc;color:#0158cc;font-weight:800}
.kl-directory__search{width:760px;max-width:100%;height:66px;display:flex;align-items:center;flex-direction:row;gap:12px;background:#fff;border:1px solid #e4e7ec;border-radius:10px;padding:8px;direction:rtl}
.kl-directory__search-label{display:flex;align-items:center;flex:1;gap:9px;padding-inline:4px;min-width:0;color:#a4a4a4}
.kl-directory__search-label svg{flex-shrink:0}.kl-directory__search input{border:0;outline:0;min-width:0;flex:1;font-size:14px;color:#303030;text-align:right;background:transparent}
.kl-directory__search input::placeholder{color:#a4a4a4}.kl-directory__search-btn{width:94px;height:48px;border:0;border-radius:8px;background:#0158cc;color:white;font-size:15px;font-weight:700;flex:0 0 94px}
.kl-directory__category-scroll{width:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;padding-block:0 5px}.kl-directory__category-scroll::-webkit-scrollbar{display:none}
.kl-directory__category-track{display:flex;gap:12px;align-items:center;justify-content:flex-start;min-width:max-content;direction:rtl;min-height:40px}
.kl-directory__category-track button{height:40px;padding:0 16px;background:#fff;border:1px solid #e4e7ec;border-radius:8px;font-size:13px;color:#303030;white-space:nowrap;font-weight:550;transition:all .15s}
.kl-directory__category-track button.is-active{background:#eaf2fd;border-color:#0158cc;color:#0158cc;font-weight:750}
.kl-directory__results{max-width:1280px;margin:16px auto 0}.kl-directory__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;direction:rtl}
.kl-directory__card{display:flex;flex-direction:column;min-width:0;border:1px solid #eef0f3;border-radius:10px;overflow:hidden;background:#fff;min-height:210px;transition:box-shadow .18s,transform .18s}
.kl-directory__card:hover{box-shadow:0 7px 22px rgba(29,36,51,.08);transform:translateY(-2px)}
.kl-directory__card-cover{height:128px;display:grid;place-items:center;background:var(--card-bg,#eaf2fd);overflow:hidden}
.kl-directory__card-cover img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:0 8px}
.kl-directory__card-details{min-height:80px;display:flex;align-items:center;gap:12px;padding:14px 16px;text-align:right;direction:rtl}
.kl-directory__card-logo{width:48px;height:48px;flex:0 0 48px;border:1px solid #eef0f3;border-radius:12px;background:#f7f8fa;display:grid;place-items:center;overflow:hidden;color:#9ca3af}
.kl-directory__card-logo img{max-width:44px;max-height:44px;width:auto;height:auto;object-fit:contain;padding:2px}
.kl-directory__card-logo svg{width:20px;height:20px}
.kl-directory__card-info{flex:1;min-width:0}.kl-directory__card-info strong{display:block;font-size:14px;line-height:24px;font-weight:750;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#1d2433}
.kl-directory__card-info span{display:block;font-size:12px;line-height:21px;color:#696969;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kl-directory__channels{display:none;gap:6px;flex-wrap:wrap;justify-content:flex-end}.kl-directory__channels span{padding:2px 8px;font-size:12px;line-height:19px;color:#696969;background:#f5f6f8;border-radius:5px}
.kl-directory__empty{text-align:center;padding:60px 16px;color:#4d4d4d}.kl-directory__empty strong{font-size:18px}.kl-directory__empty p{font-size:14px;margin:10px auto}.kl-directory__empty button{background:#0158cc;border:0;color:white;border-radius:8px;padding:10px 20px;margin-top:12px}
.kl-directory + .site-footer{margin:0}
@media (max-width:1360px) and (min-width:768px){.kl-directory__hero-wrap,.kl-directory__filters,.kl-directory__results{max-width:calc(100% - 64px)}.kl-directory__grid{gap:16px}}
@media(max-width:1000px) and (min-width:768px){.kl-directory__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kl-directory{min-height:0;padding-bottom:90px}}
@media(max-width:767px){
 .kl-directory{min-height:1562px;padding:0 14px 96px;overflow:hidden}
 .kl-directory__hero-wrap{margin:24px 4px 0;max-width:none}
 .kl-directory__hero{height:148px;padding:16px 16px;gap:10px;border-radius:16px}
 .kl-directory__hero h1{font-size:22px;line-height:34px;letter-spacing:0}
 .kl-directory__hero p{font-size:14px;line-height:24px;max-width:306px;color:#696969}
 .kl-directory__filters{margin-top:40px;max-width:none;align-items:stretch;gap:16px}
 .kl-directory__channel{width:100%;height:58px;min-height:58px;border-radius:9px}
 .kl-directory__channel button{font-size:14px;border-radius:8px}
 .kl-directory__search{width:100%;height:52px;border-radius:7px;gap:5px;padding:4px 8px}
 .kl-directory__search-label{gap:6px;padding:0 3px}.kl-directory__search-label svg{width:22px;height:22px}
 .kl-directory__search input{font-size:12px;min-width:0}
 .kl-directory__search-btn{height:44px;flex-basis:67px;width:67px;font-size:13px;border-radius:7px}
 .kl-directory__category-scroll{width:calc(100% + 14px);margin-inline-start:0}
 .kl-directory__category-track{gap:12px}.kl-directory__category-track button{height:40px;border-radius:8px;padding:0 14px;font-size:12px}
 .kl-directory__results{margin-top:16px;max-width:none;width:100%}
 .kl-directory__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .kl-directory__card{min-height:241px;border-radius:7px;transition:none}
 .kl-directory__card:hover{transform:none;box-shadow:none}
 .kl-directory__card-cover{height:128px}
 .kl-directory__card-cover img{padding:0 2px}
 .kl-directory__card-details{height:111px;min-height:111px;padding:14px 12px 12px;gap:0;flex-wrap:wrap;align-content:flex-start;position:relative}
 .kl-directory__card-logo{width:48px;height:48px;flex:0 0 48px;border-radius:14px;margin-left:12px}
 .kl-directory__card-info strong{font-size:13px;line-height:22px}.kl-directory__card-info span{font-size:12px;line-height:19px;color:#8993a3}
 .kl-directory__channels{display:flex;width:100%;margin-top:10px}
 .kl-directory__channels span{font-size:11px;line-height:18px;padding:0 7px}
 .kl-directory + .site-footer{margin-top:0}
}
@media(max-width:360px){.kl-directory{padding-inline:10px}.kl-directory__card-details{padding:11px 7px}.kl-directory__card-logo{margin-left:6px;width:40px;height:40px;flex-basis:40px}.kl-directory__hero h1{font-size:20px}}
/* Keep responsive image within the exact cover slot, never let intrinsic ratio expand the CSS grid track. */
.kl-directory__card-cover{position:relative}
.kl-directory__card-cover img{position:absolute;inset:0;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain}
/* Exact Figma section anchors (desktop cards begin around y=702; footer begins at y=2303). */
@media(min-width:768px){.kl-directory{display:flow-root}.kl-directory__results{margin-top:32px}}
@media(max-width:767px){.kl-directory__results{margin-top:19px}}

/* v1.3.56: theme integration (only archive markup; global header/footer are theme-owned). */
#kl-store-category-archive,#kl-store-category-archive *{box-sizing:border-box}
#kl-store-category-archive{min-height:0;padding-bottom:96px;width:100%;direction:rtl;font-family:inherit;}
#kl-store-category-archive a{text-decoration:none}
#kl-store-category-archive :is(button,input){font-family:inherit}
#kl-store-category-archive :is(.kl-directory__hero h1,.kl-directory__hero p){margin:0}
#kl-store-category-archive .kl-directory__channel a{border:1px solid transparent;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;min-width:0;color:#4d4d4d;font-weight:600;font-size:16px;transition:background .15s,border-color .15s,color .15s}
#kl-store-category-archive .kl-directory__channel a.is-active{border-color:#0158cc;color:#0158cc;font-weight:800}
#kl-store-category-archive .kl-directory__category-track a{height:40px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e4e7ec;border-radius:8px;font-size:13px;color:#303030;white-space:nowrap;font-weight:550}
#kl-store-category-archive .kl-directory__category-track a.is-active{background:#eaf2fd;border-color:#0158cc;color:#0158cc;font-weight:750}
#kl-store-category-archive .kl-directory__card{color:inherit;cursor:pointer;text-align:right}
#kl-store-category-archive .kl-directory__card-cover.is-empty{background:#f1f5fb;}
#kl-store-category-archive .kl-directory__card-logo svg{max-width:22px;max-height:22px}
#kl-store-category-archive .kl-directory__empty a,#kl-store-category-archive .kl-directory__pagination button{display:inline-flex;align-items:center;justify-content:center;background:#0158cc;border:1px solid #0158cc;color:#fff;border-radius:8px;min-height:43px;padding:8px 24px;font-weight:600;font-size:14px;cursor:pointer}
#kl-store-category-archive .kl-directory__pagination{display:flex;justify-content:center;padding:32px 0 0}
#kl-store-category-archive .kl-directory__pagination button:disabled{opacity:.6;cursor:wait}
#kl-store-category-archive :is(.kl-directory__api-error,.kl-directory__api-notice){color:#a43a3a;padding:15px;text-align:center;border-radius:10px;background:#fff4f4;max-width:760px;margin:20px auto}
#kl-store-category-archive .kl-directory__api-notice{font-size:13px;color:#696969;background:#f8fafc;margin:0}
#kl-store-category-archive [hidden]{display:none!important}
#kl-store-category-archive :is(a,button,input):focus-visible{outline:2px solid #0158cc;outline-offset:3px}
@media(max-width:767px){#kl-store-category-archive{min-height:0;padding-bottom:60px}#kl-store-category-archive .kl-directory__channel a{font-size:14px}#kl-store-category-archive .kl-directory__category-track a{font-size:12px;padding:0 14px}#kl-store-category-archive .kl-directory__card-details{gap:0}}
/* Assistive-only heading must remain hidden even if the parent theme lacks WP's utility class. */
#kl-store-category-archive .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
