/* Tokri Bar · DS-056 · .tk- prefixed */
.tk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(18,22,31,.92); backdrop-filter: blur(12px);
  border-top: 1px solid #232A3A;
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.9,.3,1);
  font: 500 13px/1.3 ui-sans-serif, system-ui, sans-serif;
}
.tk.tk-in { transform: translateY(0); }
.tk-info { flex: 1; min-width: 0; }
.tk-name { color: #F5F1E8; font-weight: 700; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-price { color: #F59E0B; font-weight: 700; font-size: 12px; margin-top: 2px; }
.tk-cart {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px;
  font: 700 13px/1 inherit; color: #0B0E14; background: #F59E0B;
  border: none; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: transform .06s, background .2s;
}
.tk-cart:hover { background: #FBBF24; }
.tk-cart:active { transform: scale(.96); }
.tk-cart:focus-visible { outline: 2px solid #F9A8D4; outline-offset: 2px; }
.tk-n {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: #0B0E14; color: #FBBF24; font: 800 11px/18px inherit;
  text-align: center;
}
.tk-wa {
  display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px;
  font: 700 13px/1 inherit; color: #4ADE80; text-decoration: none;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3);
  border-radius: 10px; white-space: nowrap; transition: background .2s;
}
.tk-wa:hover { background: rgba(74,222,128,.18); }
.tk-wa:focus-visible { outline: 2px solid #4ADE80; outline-offset: 2px; }
@media (min-width: 720px) {
  .tk { max-width: 560px; left: 50%; transform: translate(-50%, 110%);
    border: 1px solid #232A3A; border-radius: 14px 14px 0 0; }
  .tk.tk-in { transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) { .tk { transition: none; } }

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
