/* Konsept Kutu gift finder + undecided-visitor mascot. Mobile first; loaded lazily by partials/gift_finder_loader.twig */
.kkHB, .kkHB *, .kkHBm, .kkHBm * { box-sizing: border-box; }
.kkHB { --pink: #da3e5d; --pinkd: #b8304d; --ink: #2b2126; --muted: #6f6168; --line: #f0e5e8; --soft: #fbf5f7; font-family: Quicksand, system-ui, sans-serif; color: var(--ink); }
.kkHB-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(43, 33, 38, .45); opacity: 0; transition: opacity .25s; }
.kkHB-overlay.on { opacity: 1; }
.kkHB-box { position: fixed; z-index: 99991; left: 0; right: 0; bottom: 0; height: 100%; height: 100dvh; display: flex; flex-direction: column; background: #fff;
  transform: translateY(100%); transition: transform .3s ease; }
.kkHB-box.on { transform: none; }
.kkHB.inline .kkHB-box { position: relative; z-index: auto; height: min(680px, calc(100vh - 120px)); min-height: 460px; transform: none; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(189, 68, 96, .55); overflow: hidden; }
@media (min-width: 768px) {
  .kkHB-box { left: auto; top: 0; width: 440px; transform: translateX(100%); border-radius: 22px 0 0 22px; box-shadow: -20px 0 50px -30px rgba(43, 33, 38, .45); }
  .kkHB.inline .kkHB-box { width: auto; max-width: 720px; margin: 0 auto; border-radius: 22px; }
}
.kkHB-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.kkHB-head img { width: 40px; height: 49px; }
.kkHB-head b { display: block; font-size: 16px; }
.kkHB-head small { color: var(--muted); font-size: 12px; }
.kkHB-x { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.kkHB.inline .kkHB-x { display: none; }
.kkHB-prog { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 12px; color: var(--muted); }
.kkHB-prog svg { width: 30px; height: 28px; flex: 0 0 30px; }
.kkHB-prog .bar { flex: 1; height: 8px; border-radius: 6px; background: #f3e8ec; overflow: hidden; }
.kkHB-prog .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f08aa0, var(--pink)); border-radius: 6px; transition: width .4s; }
.kkHB-msgs { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.kkHB-msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: kkHBin .25s ease; }
.kkHB-msg.bot { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.kkHB-msg.me { align-self: flex-end; background: var(--pink); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.kkHB-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.kkHB-typing i { width: 7px; height: 7px; border-radius: 50%; background: #c9b6bd; animation: kkHBdot 1s infinite; }
.kkHB-typing i:nth-child(2) { animation-delay: .15s; } .kkHB-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kkHBdot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes kkHBin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kkHB-opts { padding: 10px 16px 6px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); max-height: 46vh; overflow-y: auto; }
.kkHB-opt { min-height: 44px; padding: 10px 16px; border-radius: 22px; border: 1.5px solid #ecd6dd; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.25; font-family: inherit; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.kkHB-opt:hover, .kkHB-opt:focus-visible { border-color: var(--pink); background: #fff5f7; outline: none; }
.kkHB-opt:focus-visible { box-shadow: 0 0 0 3px rgba(218, 62, 93, .35); }
.kkHB-opt.go { background: var(--pink); border-color: var(--pink); color: #fff; }
.kkHB-opt.go:hover { background: var(--pinkd); }
.kkHB-nav { display: flex; justify-content: space-between; padding: 6px 16px 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.kkHB-nav button { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13px; font-family: inherit; cursor: pointer; padding: 8px 4px; min-height: 40px; }
.kkHB-nav button:hover { color: var(--pink); }
.kkHB-nav button[disabled] { visibility: hidden; }
.kkHB-form { width: 100%; display: grid; gap: 8px; }
.kkHB-form input[type=text], .kkHB-form input[type=email], .kkHB-form input[type=tel], .kkHB-form input[type=date] { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid #ecd6dd; border-radius: 12px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; }
.kkHB-form input:focus { border-color: var(--pink); outline: none; }
.kkHB-form label.ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.kkHB-form label.ok input { margin-top: 2px; width: 18px; height: 18px; accent-color: #da3e5d; flex: 0 0 18px; }
.kkHB-form .err { color: #b3213f; font-size: 13px; min-height: 1em; }
.kkHB-hp { position: absolute !important; left: -9999px !important; }
.kkHB-cards { display: grid; gap: 12px; width: 100%; }
.kkHB-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.kkHB-card img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: #f6eef1; }
.kkHB-card h4 { margin: 0; font-size: 14.5px; line-height: 1.3; }
.kkHB-card .pr { margin: 3px 0; font-weight: 700; color: var(--pink); }
.kkHB-card .pr s { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: 12px; }
.kkHB-card .why { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.kkHB-card .badge { display: inline-block; margin-top: 5px; padding: 3px 9px; border-radius: 10px; background: #e8f7f0; color: #0e6b4b; font-size: 11.5px; font-weight: 700; }
.kkHB-card a.buy { display: inline-block; margin-top: 7px; padding: 8px 14px; border-radius: 12px; background: var(--pink); color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.kkHB-card a.buy:hover { background: var(--pinkd); }
.kkHB-links { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.kkHB-links a { color: var(--pink); font-weight: 700; font-size: 14px; }
.kkHB-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.kk-hb-open, html.kk-hb-open body { overflow: hidden; }
html.kk-hb-open .kkWA, html.kk-hb-open .kkHBm { display: none !important; }

/* mascot */
.kkHBm { position: fixed; right: 16px; bottom: 86px; z-index: 9990; display: flex; align-items: flex-end; gap: 8px; max-width: 360px; font-family: Quicksand, system-ui, sans-serif; color: #2b2126;
  transform: translateX(130%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.kkHBm.on { transform: none; }
.kkHBm-bubble { position: relative; padding: 12px 14px 12px; border-radius: 18px 18px 6px 18px; background: #fff; border: 1px solid #f0e5e8; box-shadow: 0 16px 40px -18px rgba(43, 33, 38, .45); font-size: 14px; line-height: 1.4; }
.kkHBm-bubble p { margin: 0 22px 10px 0; }
.kkHBm-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.kkHBm-btns button { min-height: 38px; padding: 7px 13px; border-radius: 14px; border: 1.5px solid #ecd6dd; background: #fff; font-weight: 700; font-size: 13px; font-family: inherit; color: #2b2126; cursor: pointer; }
.kkHBm-btns button.go { background: #da3e5d; border-color: #da3e5d; color: #fff; }
.kkHBm-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; background: none; font-size: 18px; color: #9a8d93; cursor: pointer; }
.kkHBm-face { flex: 0 0 auto; width: 56px; height: 68px; border: 0; padding: 0; background: none; cursor: pointer; }
.kkHBm-face img { width: 56px; height: 68px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }
.kkHBm.min .kkHBm-bubble { display: none; }
.kkHBm.min .kkHBm-face { width: 46px; height: 56px; }
.kkHBm.min .kkHBm-face img { width: 46px; height: 56px; }
@media (max-width: 767.98px) {
  .kkHBm { left: 10px; right: 10px; max-width: none; }
  .kkHBm.min { left: auto; }
  .kkHBm-bubble { flex: 1; font-size: 13.5px; padding: 10px 12px; }
  .kkHBm-bubble p { margin-bottom: 8px; }
  .kkHBm-face, .kkHBm-face img { width: 44px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .kkHB-box, .kkHB-overlay, .kkHBm, .kkHB-msg, .kkHB-prog .bar span { transition: none !important; animation: none !important; }
  .kkHB-typing i { animation: none; opacity: .6; }
}
@media print { .kkHB, .kkHBm { display: none !important; } }
