/* Chattoko sample shops: the bar every sample-shop page carries (sample-shop.js).
   Chattoko's navy, so it reads as Chattoko's note on top of the made-up shop. */
.cks-bar { position: sticky; top: 0; z-index: 2147482000; background: #1F2F4A; color: #FBF4E6; font: 400 14px/1.4 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 8px max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.cks-bar * { box-sizing: border-box; }
.cks-bar__top { display: flex; align-items: center; gap: 12px; max-width: 1100px; margin: 0 auto; }
.cks-bar__note { flex: 1; min-width: 0; margin: 0; font-size: 13px; color: #FBF4E6; }
.cks-bar__note strong { color: #F0C98C; }
.cks-bar a { color: #FBF4E6; text-decoration: none; white-space: nowrap; font-weight: 600; }
.cks-bar__back { font-size: 13px; opacity: 0.9; }
.cks-bar__trial { background: #F0C98C; color: #1F2F4A !important; padding: 7px 12px; border-radius: 999px; font-size: 13px; }
.cks-bar a:focus-visible, .cks-chip:focus-visible, .cks-note button:focus-visible { outline: 2px solid #F0C98C; outline-offset: 2px; }
.cks-bar__asks { display: flex; align-items: center; gap: 8px; max-width: 1100px; margin: 8px auto 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cks-bar__asks::-webkit-scrollbar { display: none; }
.cks-bar__label { font-size: 12px; opacity: 0.8; white-space: nowrap; }
.cks-chip { flex: none; font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.2; color: #1F2F4A; background: #FBF4E6; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.cks-chip:hover { background: #FFFFFF; }
.cks-note { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483600; width: min(92vw, 420px); background: #1F2F4A; color: #FBF4E6; border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; font: 400 14px/1.45 Inter, system-ui, -apple-system, sans-serif; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3); }
.cks-note p { margin: 0; flex: 1; }
.cks-note button { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; background: #F0C98C; color: #1F2F4A; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.cks-chip--owner { background: #F0C98C; font-weight: 600; }
/* The invite (after three AI replies): bottom left, under the chat widget, clear of its launcher. */
.cks-invite { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 2147482500; width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px - env(safe-area-inset-bottom, 0px)); overflow: auto; background: #FBF4E6; color: #1F2F4A; border: 1px solid #E6D8C3; border-radius: 16px; padding: 16px 18px; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22); }
.cks-invite * { box-sizing: border-box; }
.cks-invite [hidden] { display: none !important; }
.cks-invite__close { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: #1F2F4A; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 999px; }
.cks-invite__title { margin: 0 28px 4px 0; font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.25; }
.cks-invite__text { margin: 0 0 12px; }
.cks-invite__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cks-invite__trial, .cks-invite__more, .cks-send__submit { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; border-radius: 999px; padding: 10px 14px; cursor: pointer; text-decoration: none; }
.cks-invite__trial, .cks-send__submit { background: #1F2F4A; color: #FBF4E6; border: 1px solid #1F2F4A; }
.cks-invite__more { background: transparent; color: #1F2F4A; border: 1px solid #1F2F4A; }
.cks-send { display: grid; gap: 8px; margin-top: 12px; }
.cks-send__label { font-weight: 600; font-size: 13px; }
.cks-send input[type="email"] { width: 100%; font-family: inherit; font-size: 16px; line-height: 1.3; color: #1F2F4A; background: #FFFFFF; border: 1px solid #B9AE9C; border-radius: 10px; padding: 9px 12px; }
.cks-send__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cks-send__tick { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.cks-send__tick input { margin: 2px 0 0; width: 16px; height: 16px; flex: none; }
.cks-send__small { margin: 0; font-size: 12px; color: #4D5A70; }
.cks-send__small a { color: #1F2F4A; }
.cks-send__submit { justify-self: start; }
.cks-send__submit[disabled] { opacity: 0.6; cursor: default; }
.cks-send__status { margin: 0; font-size: 13px; color: #A8323A; min-height: 0; }
.cks-send__status:empty { display: none; }
.cks-send__done { margin: 12px 0 0; font-weight: 600; }
.cks-invite a:focus-visible, .cks-invite button:focus-visible, .cks-invite input:focus-visible, .cks-owner button:focus-visible { outline: 2px solid #C98A2E; outline-offset: 2px; }
/* What the shop owner sees: a dialog over the page and the widget. */
.cks-owner { position: fixed; inset: 0; z-index: 2147483640; background: rgba(20, 28, 44, 0.72); display: flex; align-items: center; justify-content: center; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.cks-owner[hidden] { display: none; }
.cks-owner * { box-sizing: border-box; }
.cks-owner__box { background: #FBF4E6; color: #1F2F4A; border-radius: 18px; width: min(880px, 100%); max-height: 100%; overflow: auto; padding: 18px 20px 22px; -webkit-overflow-scrolling: touch; }
.cks-owner__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cks-owner__head h2 { margin: 0; font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1.2; }
.cks-owner__close { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; background: #1F2F4A; color: #FBF4E6; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.cks-owner__lead { margin: 6px 0 14px; font-size: 14px; line-height: 1.45; color: #4D5A70; }
.cks-owner__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cks-owner__list figure { margin: 0; }
.cks-owner__list img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #E6D8C3; background: #FFFFFF; }
.cks-owner__list figcaption { margin-top: 6px; font-size: 13px; line-height: 1.4; }
@media (max-width: 560px) {
  .cks-bar__top { flex-wrap: wrap; gap: 6px 10px; }
  .cks-bar__note { order: 3; flex-basis: 100%; }
  .cks-bar__trial { margin-left: auto; }
  /* The chat button sits bottom right at 16px on a phone: the invite goes above it, never over it. */
  .cks-invite { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px)); }
}
