/* v1.3 — scoped product-only styles. Does not affect the existing finder. */
.kztm-selector{font-family:inherit;color:#172333;background:#fff;border:1px solid #e2e6eb;border-radius:10px;padding:18px;margin:10px 0 23px;min-width:0;clear:both}
.kztm-selector *{box-sizing:border-box}
.kztm-selector__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:14px}
.kztm-selector__heading strong{display:block;color:#1f2935;font-size:15px;font-weight:700;line-height:1.4}
.kztm-selector__heading strong span{color:#c34236}
.kztm-selector__heading p{font-size:12px!important;color:#718096!important;margin:5px 0 0!important;line-height:1.4!important}
.kztm-selector__heading a{font-size:12px;color:#214d7e;text-decoration:none;white-space:nowrap}
.kztm-selector__search-label{font-size:12px;font-weight:600;color:#424c58;display:block;margin:0 0 7px}
.kztm-selector__search-wrap{display:flex;align-items:center;background:#fafbfc;border:1px solid #d8dee7;border-radius:7px;overflow:hidden;min-height:44px}
.kztm-selector__search-wrap>span{padding-left:13px;font-size:26px;line-height:1;color:#637083}
.kztm-selector__search{min-width:0!important;flex:1!important;width:auto!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font-size:13px!important;padding:10px!important;margin:0!important;height:44px!important}
.kztm-selector__browse{border:0!important;border-left:1px solid #e1e5eb!important;background:#f3f6f9!important;color:#254f7d!important;font-size:12px!important;font-weight:600!important;padding:10px 12px!important;height:44px!important;white-space:nowrap;cursor:pointer!important}
.kztm-selector__search-wrap:focus-within{border-color:#285886;box-shadow:0 0 0 2px rgba(40,88,134,.12)}
.kztm-selector__results,.kztm-selector__modal-results{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin:12px 0}
.kztm-selector__tile{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;min-width:0!important;padding:3px!important;border:2px solid transparent!important;border-radius:5px!important;background:transparent!important;color:#53606e!important;cursor:pointer!important;text-align:center!important;box-shadow:none!important;font-weight:400!important;text-transform:none!important;height:auto!important;min-height:0!important;line-height:1.2!important}
.kztm-selector__tile:hover,.kztm-selector__tile:focus-visible{border-color:#7c94b2!important;background:#f6f8fb!important}
.kztm-selector__tile.is-active{border-color:#275d92!important;background:#eef4fa!important}
.kztm-selector__tile img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;display:block!important;border-radius:3px!important;margin:0!important}
.kztm-selector__tile span{font-size:10px!important;line-height:1.3!important;min-height:26px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kztm-selector__status{min-height:18px;color:#677483;font-size:12px}
.kztm-selector__selected{display:flex;align-items:center;gap:11px;border:1px solid #dfe6ed;background:#f7f9fb;padding:10px;border-radius:8px;margin-top:8px;min-width:0}
.kztm-selector__selected.is-selected{background:#eff6fd;border-color:#cee0f1}
.kztm-selector__selected-image{display:block;width:64px!important;height:64px!important;object-fit:cover!important;border-radius:5px!important;flex:none;margin:0!important}
.kztm-selector__selected-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.kztm-selector__selected-caption{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#5f7691;font-weight:600}
.kztm-selector__selected-name{font-size:14px;line-height:1.35;color:#18283b}
.kztm-selector__selected-colors{font-size:11px;color:#6b7787;line-height:1.4;overflow-wrap:anywhere}
.kztm-selector__change{border:0!important;background:transparent!important;color:#255889!important;font-size:12px!important;line-height:1.3!important;padding:7px 4px!important;cursor:pointer!important;text-decoration:underline!important;text-transform:none!important;box-shadow:none!important}
.kztm-selector__validation{font-size:12px;color:#aa271a;margin-top:10px}
.kztm-selector__modal[hidden],.kztm-selector__validation[hidden]{display:none!important}
.kztm-selector__modal{position:fixed!important;inset:0;z-index:999999;display:grid;place-items:center;padding:16px}
.kztm-selector__shade{position:absolute;inset:0;background:rgba(20,32,45,.67)}
.kztm-selector__panel{position:relative;z-index:1;background:#fff;border-radius:11px;padding:22px;width:min(780px,100%);max-height:min(85vh,900px);overflow:auto;box-shadow:0 18px 60px rgba(0,0,0,.2)}
.kztm-selector__panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.kztm-selector__panel-head h3{margin:0!important;font-size:21px!important;color:#1b2938!important;line-height:1.3!important}
.kztm-selector__close{border:0!important;background:#f2f5f8!important;color:#1b2938!important;font-size:25px!important;line-height:30px!important;min-width:34px;min-height:34px;padding:1px!important;border-radius:50%;cursor:pointer;text-transform:none!important}
.kztm-selector__panel label{display:block;font-size:12px;font-weight:600;color:#435466;margin-bottom:7px}
.kztm-selector__modal-search{height:47px!important;width:100%!important;border:1px solid #c7d2dc!important;background:#fff!important;border-radius:6px!important;padding:10px 13px!important;font-size:14px!important}
.kztm-selector__modal-results{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-height:50vh;overflow-y:auto}
.kztm-selector__modal-feedback{font-size:12px;color:#5b6b7a;margin:8px 0 0}
body.kztm-selector-modal-open{overflow:hidden}
@media(max-width:800px){.kztm-selector__results{grid-template-columns:repeat(5,minmax(0,1fr))}.kztm-selector__modal-results{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.kztm-selector{padding:13px;margin:9px 0 19px}.kztm-selector__heading{flex-direction:column;gap:5px}.kztm-selector__results{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.kztm-selector__modal-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.kztm-selector__tile span{font-size:9px!important}.kztm-selector__panel{padding:14px;max-height:90vh}.kztm-selector__selected-image{height:52px!important;width:52px!important}.kztm-selector__browse{font-size:11px!important;padding:7px!important}}

.kztm-selector__load-more{display:block!important;margin:10px auto!important;padding:10px 18px!important;border:1px solid #2d5d8f!important;border-radius:6px!important;background:#fff!important;color:#2d5d8f!important;font-size:13px!important;text-transform:none!important;cursor:pointer!important}
.kztm-selector__load-more[hidden]{display:none!important}

/* v1.3: optional extra kilt pricing and live selected price. */
.kztm-selector__tile span{min-height:32px;-webkit-line-clamp:3}
.kztm-selector__price[hidden]{display:none!important}
.kztm-selector__price{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px;margin-top:9px;padding:12px 14px;border:1px solid #dfe6ed;border-radius:8px;background:#fbfcfd;color:#263e53}
.kztm-selector__price>span{font-size:12px;font-weight:600}
.kztm-selector__price-total{font-size:18px;line-height:1.3;color:#193e64;white-space:nowrap}
.kztm-selector__price small{grid-column:1/-1;color:#6b7787;font-size:11px}
@media(max-width:520px){.kztm-selector__price{padding:11px}.kztm-selector__price-total{font-size:16px}}
