/* SAFSAN — Ürün karşılaştırma (kr- önekli) */
.kr-card{position:relative}
.kr-tog{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 11px 0 7px;border:1px solid #d5e2ea;border-radius:999px;background:rgba(255,255,255,.94);color:#0b3768;font:700 12.5px Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 2px 8px rgba(11,55,104,.08);transition:background .15s,border-color .15s}
.kr-tog:hover{border-color:#07537f}
.kr-tog:focus-visible,.kr-cd:focus-visible,.kr-tray button:focus-visible,.kr-panel button:focus-visible{outline:3px solid rgba(7,83,127,.35);outline-offset:2px}
.kr-box{width:18px;height:18px;border:2px solid #9db3c2;border-radius:5px;display:grid;place-items:center;background:#fff}
.kr-box svg{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:3;opacity:0}
.kr-tog.on{background:#0b3768;border-color:#0b3768;color:#fff}
.kr-tog.on .kr-box{background:#3aa63a;border-color:#3aa63a}.kr-tog.on .kr-box svg{opacity:1}
.kr-cd{height:42px;border:1.5px solid #0b3768;border-radius:10px;background:#fff;color:#0b3768;font-weight:700;font-size:14px;cursor:pointer;margin-top:2px}
.kr-cd.on{background:#eaf3fb}

.kr-tray{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:14px;padding:10px 12px 10px 10px;background:#fff;border:1px solid #d9e6ec;border-radius:16px;box-shadow:0 16px 40px rgba(8,63,103,.22);font-family:Arial,Helvetica,sans-serif;max-width:calc(100vw - 32px)}
.kr-tray[hidden]{display:none}
.kr-slots{display:flex;gap:8px}
.kr-slot{position:relative;width:52px;height:52px;border:1px solid #e3ebf0;border-radius:10px;background:#fff;display:grid;place-items:center}
.kr-slot img{max-width:44px;max-height:44px;object-fit:contain}
.kr-empty{border-style:dashed;color:#9db3c2;font-size:20px}
.kr-x{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border:0;border-radius:50%;background:#0b3768;color:#fff;font-size:15px;line-height:1;cursor:pointer}
.kr-tray-tx{display:flex;flex-direction:column;gap:2px;min-width:110px}
.kr-tray-tx b{color:#0b3768;font-size:14px}.kr-tray-tx small{color:#5f7789;font-size:12px}
.kr-go{height:44px;padding:0 20px;border:0;border-radius:11px;background:#3aa63a;color:#fff;font:700 14.5px Poppins,Arial,sans-serif;cursor:pointer}
.kr-go:hover{background:#2f9230}.kr-go:disabled{background:#b8c9d3;cursor:not-allowed}
.kr-clear{border:0;background:none;color:#5f7789;font-size:13px;text-decoration:underline;cursor:pointer;padding:6px}

body.kr-lock{overflow:hidden}
.kr-modal{position:fixed;inset:0;z-index:2147482000;display:flex;align-items:flex-start;justify-content:center;padding:28px 16px;overflow:auto;font-family:Arial,Helvetica,sans-serif}
.kr-modal[hidden]{display:none}
.kr-back{position:fixed;inset:0;background:rgba(6,26,48,.55)}
.kr-panel{position:relative;background:#fff;border-radius:18px;width:min(1180px,100%);box-shadow:0 24px 70px rgba(0,0,0,.3);color:#0b3768}
.kr-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 64px 16px 24px;border-bottom:1px solid #edf2f5}
.kr-head h2{margin:0;font:700 21px Poppins,Arial,sans-serif;color:#0b3768}
.kr-count{color:#5f7789;font-size:13px}
.kr-switch{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:#083f67;cursor:pointer}
.kr-switch input{width:18px;height:18px;accent-color:#3aa63a}
.kr-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:10px;background:#eef3f6;color:#5f7789;font-size:24px;line-height:1;cursor:pointer}
.kr-body{padding:6px 24px 24px}
.kr-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.kr-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:calc(150px + var(--n) * 210px)}
.kr-table th,.kr-table td{padding:12px 14px;border-bottom:1px solid #edf2f5;text-align:left;vertical-align:top;font-size:14px;line-height:1.45;color:#1d2f3f}
.kr-table thead th{border-bottom:2px solid #dbe6ed;background:#fff}
.kr-rowh{width:150px;position:sticky;left:0;background:#f7fafb;color:#45606f!important;font-weight:700;font-size:13px!important;z-index:1}
thead .kr-rowh{background:#fff}
.kr-ph{height:130px;display:grid;place-items:center;margin-bottom:8px}
.kr-ph img{max-width:100%;max-height:130px;object-fit:contain}
.kr-name{display:block;border:0;background:none;padding:0;text-align:left;font:700 15px/1.35 Poppins,Arial,sans-serif;color:#0b3768;cursor:pointer;min-height:42px}
.kr-name:hover{text-decoration:underline}
.kr-actions{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.kr-add{height:38px;border:0;border-radius:9px;background:#3aa63a;color:#fff;font-weight:700;font-size:13px;cursor:pointer}
.kr-add:hover{background:#2f9230}
.kr-rm{height:30px;border:0;background:none;color:#5f7789;font-size:12.5px;text-decoration:underline;cursor:pointer}
.kr-diff td{background:#fffaf0}
.kr-diff .kr-rowh{background:#fff3dc}
.kr-dtag{display:block;margin-top:4px;width:max-content;padding:2px 7px;border-radius:999px;background:#f3d7a3;color:#6b4300;font-size:11px;font-weight:700}
.kr-long td{font-size:13px;color:#45606f}
.kr-na{color:#9db3c2}
.kr-same{text-align:center!important;color:#5f7789!important;padding:24px!important}
.kr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.kr-note{margin:12px 0 0;font-size:12.5px;color:#5f7789;line-height:1.5}
.kr-sug{margin-top:18px;padding-top:16px;border-top:1px solid #edf2f5}
.kr-sug h4{margin:0 0 10px;font:700 15px Poppins,Arial,sans-serif;color:#0b3768}
.kr-sug-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.kr-sug-it{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e3ebf0;border-radius:12px;background:#fff;cursor:pointer;text-align:left;font-size:13px;color:#1d2f3f}
.kr-sug-it:hover{border-color:#07537f;background:#f6fafc}
.kr-sug-it img{width:44px;height:44px;object-fit:contain;flex:none}
.kr-sug-it span{flex:1;line-height:1.35}
.kr-sug-it b{color:#2f7d12;font-size:12.5px;white-space:nowrap}
.kr-toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%,16px);opacity:0;background:#0b3768;color:#fff;padding:11px 16px;border-radius:10px;font:600 13.5px Arial,Helvetica,sans-serif;z-index:2147483001;transition:all .25s;pointer-events:none;max-width:calc(100vw - 32px);text-align:center}
.kr-toast.in{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){
  .kr-tog{height:30px;font-size:12px;top:8px;left:8px}
  .kr-tray{left:12px;right:84px;transform:none;bottom:12px;gap:10px;padding:8px}
  .kr-slot{width:40px;height:40px}.kr-slot img{max-width:34px;max-height:34px}
  .kr-slots .kr-empty{display:none}
  .kr-tray-tx{display:none}
  .kr-go{padding:0 14px;margin-left:auto}
  .kr-clear{display:none}
  .kr-modal{padding:0}
  .kr-panel{border-radius:0;min-height:100%}
  .kr-head{padding:16px 60px 12px 16px}.kr-switch{margin-left:0}
  .kr-body{padding:4px 12px 20px}
  .kr-rowh{width:104px}
  .kr-table{min-width:calc(104px + var(--n) * 170px)}
  .kr-ph{height:96px}.kr-ph img{max-height:96px}
}
