/* ===== ciggclub support chat ===== */
.cc-chat { --cc-ink: #111010; --cc-surface: #1A1817; --cc-raise: #242120; --cc-line: #3A3531; --cc-bone: #EDE6DA; --cc-muted: #B3AA9E; --cc-ember: var(--wp--preset--color--ember, #FF5B1F); position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-family: var(--wp--preset--font-family--body, system-ui, sans-serif); color: var(--cc-bone); }
.cc-chat__launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--cc-ember); color: var(--cc-ink); font-weight: 800; font-size: 1rem; letter-spacing: .02em; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.cc-chat__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cc-ink); box-shadow: 0 0 0 3px rgba(17, 16, 16, .25); }
.cc-chat.is-open .cc-chat__launcher { display: none; }
.cc-chat__panel { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(390px, calc(100vw - 40px)); height: min(620px, calc(100vh - 40px)); background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); animation: cc-chat-in .22s ease-out; }
.cc-chat__panel[hidden] { display: none; }
@keyframes cc-chat-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cc-chat__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--cc-line); background: radial-gradient(120% 160% at 100% 0%, rgba(255, 91, 31, .25), transparent 60%), var(--cc-surface); }
.cc-chat__title { margin: 0; font-family: var(--wp--preset--font-family--display, inherit); font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.cc-chat__sub { margin: 4px 0 0; font-size: .8rem; color: var(--cc-muted); }
.cc-chat__close { min-width: 44px; min-height: 44px; border: 1px solid var(--cc-line); border-radius: 12px; background: transparent; color: var(--cc-bone); font-size: 1.5rem; cursor: pointer; }
.cc-chat__body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.cc-chat__greeting { margin: 0; font-size: 1rem; }
.cc-chat__products { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cc-chat__product { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--cc-line); border-radius: 12px; color: var(--cc-bone); text-decoration: none; background: var(--cc-raise); }
.cc-chat__product-img { display: block; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--cc-bone); }
.cc-chat__product-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cc-chat__price { display: block; color: var(--cc-muted); font-size: .85rem; }
.cc-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip { min-height: 40px; padding: 8px 14px; border: 1px solid var(--cc-ember); border-radius: 999px; background: transparent; color: var(--cc-bone); font: inherit; font-size: .9rem; text-align: left; cursor: pointer; }
.cc-chip:hover, .cc-chip:focus-visible { background: rgba(255, 91, 31, .15); }
.cc-chat__thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cc-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cc-msg--customer { align-self: flex-end; background: var(--cc-ember); color: var(--cc-ink); border-bottom-right-radius: 4px; }
.cc-msg--customer.is-pending { opacity: .6; }
.cc-msg--bot, .cc-msg--agent { align-self: flex-start; background: var(--cc-raise); border: 1px solid var(--cc-line); border-bottom-left-radius: 4px; }
.cc-msg--agent { border-color: var(--cc-ember); }
.cc-msg--system { align-self: center; max-width: 100%; padding: 6px 10px; font-size: .85rem; color: var(--cc-muted); text-align: center; }
.cc-msg__who { display: block; font-family: var(--wp--preset--font-family--mono, monospace); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cc-ember); margin-bottom: 2px; }
.cc-chat__capture { padding: 14px; border: 1px solid var(--cc-ember); border-radius: 14px; background: var(--cc-raise); }
.cc-chat__capture p { margin: 0 0 10px; }
.cc-chat__capture label { display: block; font-size: .8rem; color: var(--cc-muted); margin-bottom: 4px; }
.cc-chat__capture input, .cc-chat__composer textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid var(--cc-line); border-radius: 10px; background: var(--cc-ink); color: var(--cc-bone); font: inherit; }
.cc-chat__signin { color: var(--cc-ember); }
.cc-chat__primary, .cc-chat__send { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--cc-ember); color: var(--cc-ink); font-weight: 800; cursor: pointer; }
.cc-chat__error { color: #FF8A65; }
.cc-chat__notice { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 91, 31, .12); font-size: .9rem; }
.cc-chat__reconnecting { margin: 0; font-size: .85rem; color: var(--cc-muted); }
.cc-chat__composer { display: flex; gap: 8px; padding: 12px 18px 8px; border-top: 1px solid var(--cc-line); }
.cc-chat__composer textarea { resize: none; max-height: 120px; }
.cc-chat__foot { padding: 0 18px 12px; }
.cc-chat__person { min-height: 36px; padding: 0; border: 0; background: none; color: var(--cc-muted); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; }
.cc-chat .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .cc-chat { right: 12px; bottom: 12px; }
  .cc-chat.is-open { inset: 0; }
  .cc-chat__panel { position: fixed; inset: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .cc-chat__panel { animation: none; } }
.cc-chat__track { padding: 14px; border: 1px solid var(--cc-line); border-radius: 14px; background: var(--cc-raise); }
.cc-chat__track p { margin: 0 0 10px; }
.cc-chat__track label { display: block; font-size: .8rem; color: var(--cc-muted); margin-bottom: 4px; }
.cc-chat__track input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid var(--cc-line); border-radius: 10px; background: var(--cc-ink); color: var(--cc-bone); font: inherit; }
.cc-chip--track { border-style: dashed; }
.cc-track-card { display: grid; gap: 6px; margin: 12px 0 0; padding: 12px; border-radius: 12px; border: 1px solid var(--cc-ember); }
.cc-track-card div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.cc-track-card dt { color: var(--cc-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--wp--preset--font-family--mono, monospace); }
.cc-track-card dd { margin: 0; }
.cc-track-card a { color: var(--cc-ember); }
