/* ── Homepage integration (this block is NOT in the standalone) ── */
.home > .cc-wrap { order: 4; width: 100%; max-width: 1180px; margin: clamp(64px, 9vh, 120px) 0 0; }
/* The standalone's `* { margin: 0 }` reset is dropped on the homepage, so zero
   the heading/body here (the flex gap owns the spacing). */
.cc-wrap :where(h1, h2, h3, h4, h5, h6, p) { margin: 0; }
/* NOTE: the responsive @media block is at the END of this file so it overrides
   the base .cc-row rule (same specificity → later wins). */

/* ── Section: grid of 2 — chat on the left, title aligned right ── */
  .cc-row {
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: clamp(40px, 8vw, 120px);
    max-width: 1180px;
  }
  /* Single-statement style — matches How It Works .hiw-title (muted base,
     white <span> accent). Body removed; heading carries the whole message. */
  .cc-heading {
    font-family: "Space Grotesk", "Wix Madefor Display", sans-serif;
    font-size: clamp(20px, 2.3vw, 25px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
    color: rgba(255,255,255,0.7);
  }
  .cc-heading span { color: #fff; }
  /* gap = the title→content spacing (matches How It Works' 26px); the larger
     row-to-row spacing is restored with a positive margin (flex gap is a
     minimum, so positive margins add, negative ones can't pull below it). */
  .cc-wrap { display: flex; flex-direction: column; gap: 26px; }
  .cc-wrap .cc-row + .cc-row { margin-top: 30px; }
  .cc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  /* small light-grey caveat under a heading (e.g. store-only features) */
  .cc-note { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.38); margin: -4px 0 0; }

  /* "Try it now" demo pill — opens a live article with the chat auto-running */
  .cc-try {
    display: inline-flex; align-items: center; gap: 6px;
    align-self: flex-start;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 100px;
    background: #fff; color: #000;
    font-family: "Space Grotesk", "Wix Madefor Display", sans-serif;
    font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  /* Chevron with a tail that draws out on hover (matches dashboard .auto-learn-more). */
  .cc-try-arrow { display: block; width: 15px; height: 15px; transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
  .cc-try-tail { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s linear; }
  .cc-try:hover { background: #f0f0f0; }
  .cc-try:hover .cc-try-tail { stroke-dashoffset: 0; opacity: 1; }
  .cc-try:hover .cc-try-arrow { transform: translateX(3px); }

  /* ══════════════════════════════════════════════════════════════════════
     EXACT concierge chat CSS (lifted from conciergeStyles.js — chat only).
     The ONLY change vs production: the panel is re-positioned from a fixed
     off-screen drawer into this inline stage (.cc-stage override below).
     ══════════════════════════════════════════════════════════════════════ */

  @property --w5-ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

  .fl-concierge-panel, .fl-concierge-panel *, .fl-c-shop, .fl-c-shop * { box-sizing: border-box; }

  /* Tokens (dark) */
  .fl-concierge-panel, .fl-c-shop {
    --fl-c-bg: #000;
    --fl-c-border: rgba(255,255,255,0.12);
    --fl-c-shadow: 0 24px 80px rgba(0,0,0,0.6);
    --fl-c-header-border: #2a2a2a;
    --fl-c-fg: #fff;
    --fl-c-fg-strong: #fff;
    --fl-c-fg-muted: rgba(255,255,255,0.5);
    --fl-c-fg-soft: rgba(255,255,255,0.6);
    --fl-c-fg-faint: rgba(255,255,255,0.35);
    --fl-c-icon-btn-bg: rgba(255,255,255,0.05);
    --fl-c-icon-btn-bg-hover: rgba(255,255,255,0.1);
    --fl-c-icon-btn-fg: rgba(255,255,255,0.5);
    --fl-c-icon-btn-fg-hover: #fff;
    --fl-c-scrollbar-thumb: rgba(255,255,255,0.12);
    --fl-c-scrollbar-thumb-hover: rgba(255,255,255,0.2);
    --fl-c-input-area-bg: rgba(0,0,0,0.2);
    --fl-c-input-row-bg: rgba(255,255,255,0.06);
    --fl-c-input-row-border: rgba(255,255,255,0.1);
    --fl-c-input-row-bg-focus: rgba(255,255,255,0.08);
    --fl-c-input-row-border-focus: rgba(255,255,255,0.2);
    --fl-c-input-fg: #fff;
    --fl-c-input-placeholder: rgba(255,255,255,0.3);
    --fl-c-send-bg: #fff;
    --fl-c-send-fg: #000;
    --fl-c-attach-fg: rgba(255,255,255,0.4);
    --fl-c-attach-fg-hover: rgba(255,255,255,0.85);
    --fl-c-attach-bg-hover: rgba(255,255,255,0.06);
    --fl-c-msg-user-bg: #121212;
    --fl-c-msg-user-fg: #fff;
    --fl-c-msg-ai-color: #e5e5e5;
    --fl-c-msg-ai-strong: #fff;
    --fl-c-msg-ai-list: rgba(255,255,255,0.8);
    --fl-c-msg-ai-marker: rgba(255,255,255,0.5);
    --fl-c-card-border: #121212;
    --fl-c-card-border-hover: rgba(255,255,255,0.15);
    --fl-c-card-bg-hover: rgba(255,255,255,0.02);
    --fl-c-selection-pill-bg: rgba(59,130,246,0.15);
    --fl-c-selection-pill-border: rgba(59,130,246,0.3);
    --fl-c-selection-pill-fg: #60a5fa;
    --fl-c-selection-pill-close: rgba(96,165,250,0.6);
    --fl-c-selection-pill-close-hover: #93bbfc;
  }

  /* Drawer shell — shown inline (the only change vs the fixed prod drawer) */
  .fl-concierge-panel {
    position: relative;
    width: 420px; height: 760px;
    background: var(--fl-c-bg);
    border: 1px solid var(--fl-c-border);
    border-radius: 0; overflow: hidden;
    box-shadow: var(--fl-c-shadow);
    display: flex; flex-direction: column;
    color: var(--fl-c-fg);
    font-family: "Wix Madefor Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  /* Header */
  .fl-c-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--fl-c-header-border);
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
  }
  .fl-c-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
  .fl-c-header-actions { display: flex; align-items: center; gap: 8px; }
  .fl-c-icon-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--fl-c-icon-btn-bg); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--fl-c-icon-btn-fg); transition: all 0.2s;
  }
  .fl-c-icon-btn:hover { background: var(--fl-c-icon-btn-bg-hover); color: var(--fl-c-icon-btn-fg-hover); }
  .fl-c-icon-btn svg { width: 16px; height: 16px; }

  @keyframes fl-c-fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

  /* Chat area */
  .fl-c-chat { scrollbar-width: thin; scrollbar-color: var(--fl-c-scrollbar-thumb) transparent; }
  .fl-c-chat::-webkit-scrollbar { width: 4px; }
  .fl-c-chat::-webkit-scrollbar-track { background: transparent; }
  .fl-c-chat::-webkit-scrollbar-thumb { background: var(--fl-c-scrollbar-thumb); border-radius: 4px; }
  .fl-c-chat::-webkit-scrollbar-thumb:hover { background: var(--fl-c-scrollbar-thumb-hover); }
  .fl-c-chat {
    flex: 1; min-height: 0; padding: 24px 24px 96px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 20px;
    animation: fl-c-fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto;
  }
  .fl-concierge-panel.pre-chat .fl-c-chat { padding-bottom: 24px; }

  /* ════════ Welcome — spotlight composer ════════ */
  .fl-c-welcome {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
    gap: 18px; padding: 0; flex: 1;
  }
  .fl-c-welcome-heading { font-size: 24px; font-weight: 600; color: var(--fl-c-fg-strong); letter-spacing: -0.02em; }
  .fl-c-welcome-text { font-size: 13px; line-height: 1.5; color: var(--fl-c-fg-faint); margin-top: 8px; }
  .fl-c-spot-head, .fl-c-spot-links { transition: opacity 0.35s ease; }
  .fl-c-spot-gap { height: 62px; width: 100%; flex-shrink: 0; }
  .fl-c-spot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
  .fl-c-spot-link {
    background: none; border: none; cursor: pointer; font-family: inherit;
    font-size: 12px; font-weight: 500; color: var(--fl-c-fg-muted);
    padding: 2px 0; transition: color 0.15s;
  }
  .fl-c-spot-link:hover { color: var(--fl-c-fg-strong); }
  .fl-c-welcome.enter .fl-c-spot-head  { animation: fl-c-spotRise 0.5s 0.10s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  .fl-c-welcome.enter .fl-c-spot-links { animation: fl-c-spotRise 0.5s 0.34s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  .fl-concierge-panel.pre-chat .fl-c-input-area.enter-rise { animation: fl-c-spotFade 0.5s 0.22s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  @keyframes fl-c-spotRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fl-c-spotFade { from { opacity: 0; } to { opacity: 1; } }

  /* ════════ Input dock — floating, transparent blur, no top border ════════ */
  .fl-c-input-area {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 12px 16px 16px;
    background: var(--fl-c-input-area-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    display: flex; flex-direction: column; gap: 8px;
    z-index: 5;
  }
  .fl-concierge-panel.pre-chat .fl-c-input-area { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fl-c-input-row {
    position: relative;
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--fl-c-input-row-bg); border: 1px solid var(--fl-c-input-row-border);
    border-radius: 14px; padding: 8px;
    transition: border-color 0.2s, background 0.2s;
  }
  .fl-c-input-row:focus-within { background: var(--fl-c-input-row-bg-focus); border-color: var(--fl-c-input-row-border-focus); }
  .fl-c-input-row > * { position: relative; z-index: 2; }
  .fl-c-input-main { display: flex; align-items: flex-end; gap: 8px; }
  .fl-c-spot-ring-wrap {
    display: none;
    position: absolute; inset: -1px; border-radius: 14px;
    pointer-events: none; z-index: 1;
    transition: opacity 0.35s ease;
  }
  .fl-concierge-panel.pre-chat .fl-c-spot-ring-wrap { display: block; }
  .fl-c-spot-ring {
    position: absolute; inset: 0; border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
      from var(--w5-ring-angle, 0deg),
      transparent 0deg, #00dcff 35deg, #a78bfa 80deg, transparent 140deg,
      transparent 195deg, #ff6eb4 230deg, #e88a3e 285deg, transparent 340deg, transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation:
      fl-c-w5RingOrbit 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
      fl-c-w5RingBreathe 4.3s ease-in-out infinite;
  }
  @keyframes fl-c-w5RingOrbit { to { --w5-ring-angle: 360deg; } }
  @keyframes fl-c-w5RingBreathe {
    0%, 100% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.2) saturate(1.15); }
  }
  .fl-c-input { flex: 1; background: transparent; border: none; outline: none; color: var(--fl-c-input-fg); font-size: 14px; font-family: inherit; resize: none; overflow-y: auto; min-height: 28px; max-height: 120px; line-height: 1.4; scrollbar-width: none; padding: 4px 0 4px 4px; }
  .fl-c-input::-webkit-scrollbar { display: none; }
  .fl-c-input::placeholder { color: var(--fl-c-input-placeholder); }
  .fl-c-attach-btn {
    width: 30px; height: 30px; border-radius: 50%;
    background: transparent; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--fl-c-attach-fg);
    transition: color 0.2s, background 0.2s; padding: 0; flex-shrink: 0;
  }
  .fl-c-attach-btn:hover { color: var(--fl-c-attach-fg-hover); background: var(--fl-c-attach-bg-hover); }
  .fl-c-attach-btn svg { width: 16px; height: 16px; }
  .fl-c-char-count {
    display: flex; align-items: center; justify-content: center;
    width: 0; height: 30px; opacity: 0; overflow: hidden;
    transition: opacity 0.2s, width 0.2s;
    flex-shrink: 0; align-self: flex-end;
  }
  .fl-c-char-count.visible { opacity: 1; width: 24px; }
  .fl-c-char-donut { width: 18px; height: 18px; transform: rotate(-90deg); }
  .fl-c-char-donut-bg { fill: none; stroke: var(--fl-c-input-row-border); stroke-width: 2.5; }
  .fl-c-char-donut-fill {
    fill: none; stroke: var(--fl-c-fg-faint); stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 43.98;
    stroke-dashoffset: 43.98;
    transition: stroke-dashoffset 0.15s ease, stroke 0.15s ease;
  }
  .fl-c-send { width: 30px; height: 30px; border-radius: 50%; background: var(--fl-c-send-bg); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fl-c-send-fg); transition: opacity 0.2s, transform 0.15s; flex-shrink: 0; }
  .fl-c-send:hover:not(:disabled) { opacity: 0.85; transform: scale(1.05); }
  .fl-c-send svg { width: 14px; height: 14px; }

  /* ── Messages (sent state) ── */
  .fl-c-msg { max-width: 85%; font-size: 14px; line-height: 1.5; padding: 14px 18px; border-radius: 20px; animation: fl-c-fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
  .fl-c-msg-user {
    align-self: flex-end;
    background: var(--fl-c-msg-user-bg); color: var(--fl-c-msg-user-fg);
    border-radius: 20px 20px 4px 20px; font-weight: 500;
  }
  .fl-c-msg-ai {
    align-self: flex-start;
    background: transparent; color: var(--fl-c-msg-ai-color);
    border-radius: 4px 20px 20px 20px; border: none;
    padding-left: 0; padding-bottom: 0;
  }
  .fl-c-msg-ai h1, .fl-c-msg-ai h2, .fl-c-msg-ai h3, .fl-c-msg-ai h4 { margin: 10px 0 4px 0; font-weight: 600; line-height: 1.3; color: var(--fl-c-msg-ai-strong); }
  .fl-c-msg-ai h1 { font-size: 1.2em; }
  .fl-c-msg-ai h2 { font-size: 1.1em; }
  .fl-c-msg-ai h3 { font-size: 1.0em; }
  .fl-c-msg-ai > h1:first-child, .fl-c-msg-ai > h2:first-child, .fl-c-msg-ai > h3:first-child { margin-top: 0; }
  .fl-c-msg-ai p { margin: 0 0 6px 0; }
  .fl-c-msg-ai p:last-child { margin-bottom: 0; }
  .fl-c-msg-ai strong { font-weight: 600; color: var(--fl-c-msg-ai-strong); }
  .fl-c-msg-ai em { font-style: italic; }
  .fl-c-msg-ai ul, .fl-c-msg-ai ol { margin: 8px 0; padding-left: 24px; font-size: 13px; }
  .fl-c-msg-ai li { margin: 6px 0; line-height: 1.5; color: var(--fl-c-msg-ai-list); }
  .fl-c-msg-ai li::marker { color: var(--fl-c-msg-ai-marker); font-weight: 500; }
  .fl-c-msg-ai ul { list-style-type: disc; }
  .fl-c-msg-ai ol { list-style-type: decimal; }

  /* ── Thinking indicator (spinner + shimmering label) ── */
  @keyframes fl-c-spin { to { transform: rotate(360deg); } }
  @keyframes fl-c-shimmer { to { background-position: -200% center; } }
  .fl-c-thinking {
    align-self: flex-start;
    display: flex; flex-direction: column; gap: 6px;
    padding: 4px 0; width: 85%;
    animation: fl-c-fadeIn 0.3s ease;
  }
  .fl-c-think-header { display: flex; align-items: center; gap: 10px; }
  .fl-c-think-icon {
    width: 22px; height: 22px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--fl-c-fg-muted); position: relative;
  }
  .fl-c-think-icon svg { width: 16px; height: 16px; animation: fl-c-spin 2s linear infinite; }
  .fl-c-think-icon .primary-spinner {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    background: var(--fl-c-bg); border-radius: 50%;
  }
  .fl-c-think-label {
    font-size: 13px; font-weight: 500;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.35) 25%,
      rgba(255,255,255,0.85) 50%,
      rgba(255,255,255,0.35) 75%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fl-c-shimmer 2s linear infinite;
  }

  /* Selection pill (kept — part of the composer markup) */
  .fl-c-selection-pill {
    display: none; align-items: center; gap: 6px;
    align-self: flex-start; max-width: 100%;
    padding: 4px 8px; border-radius: 8px;
    background: var(--fl-c-selection-pill-bg);
    border: 1px solid var(--fl-c-selection-pill-border);
    color: var(--fl-c-selection-pill-fg);
    font-size: 11px; font-weight: 600;
  }
  .fl-c-selection-pill.visible { display: inline-flex; }
  .fl-c-selection-pill svg { flex-shrink: 0; }
  .fl-c-pill-close { background: none; border: none; cursor: pointer; color: var(--fl-c-selection-pill-close); font-size: 14px; line-height: 1; padding: 0; }
  .fl-c-pill-close:hover { color: var(--fl-c-selection-pill-close-hover); }

  /* ══════════════════════════════════════════════════════════════════════
     EXACT shop browse CSS (lifted from shopStyles.js — browse view only).
     Same inline-showcase override: .fl-c-shop becomes a plain box.
     ══════════════════════════════════════════════════════════════════════ */
  .fl-c-shop {
    position: relative;
    width: 420px; height: 760px;
    background: var(--fl-c-bg);
    border: 1px solid var(--fl-c-border);
    overflow: hidden;
    box-shadow: var(--fl-c-shadow);
    display: flex; flex-direction: column;
    color: var(--fl-c-fg);
    font-family: "Wix Madefor Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .fl-c-shop .fls-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--fl-c-header-border);
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
  }
  .fl-c-shop .fls-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
  .fl-c-shop .fls-head-actions { display: flex; align-items: center; gap: 8px; }
  .fl-c-shop .fls-cart-btn { position: relative; }
  .fl-c-shop .fls-cart-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
    background: var(--fl-c-send-bg); color: var(--fl-c-send-fg);
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .fl-c-shop .fls-slider { position: relative; flex: 1; min-height: 0; }
  .fl-c-shop .fls-pane {
    position: absolute; inset: 0;
    padding: 24px; overflow-y: auto;
    overscroll-behavior: auto;
    display: flex; flex-direction: column; gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--fl-c-scrollbar-thumb) transparent;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
  }
  .fl-c-shop .fls-pane::-webkit-scrollbar { width: 4px; }
  .fl-c-shop .fls-pane::-webkit-scrollbar-thumb { background: var(--fl-c-scrollbar-thumb); border-radius: 4px; }
  /* Browse ⇄ detail slide (same mechanism as the real shop) */
  .fl-c-shop #fls-pane-browse { transform: translateX(0); opacity: 1; }
  .fl-c-shop #fls-pane-detail { transform: translateX(48px); opacity: 0; pointer-events: none; padding: 0; gap: 0; overflow: hidden; }
  .fl-c-shop .fls-slider.show-detail #fls-pane-browse { transform: translateX(-48px); opacity: 0; pointer-events: none; }
  .fl-c-shop .fls-slider.show-detail #fls-pane-detail { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .fl-c-shop .d-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; }
  .fl-c-shop .d-scroll::-webkit-scrollbar { display: none; }
  .fl-c-shop .d-back { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; color: var(--fl-c-fg-muted); text-align: left; padding: 0; width: fit-content; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; transition: color 0.15s; }
  .fl-c-shop .d-back svg { width: 13px; height: 13px; flex-shrink: 0; }
  .fl-c-shop .d-back:hover { color: var(--fl-c-fg-strong); }
  .fl-c-shop .d-img { height: 200px; border-radius: 14px; flex-shrink: 0; }
  .fl-c-shop .d-thumbs { display: flex; gap: 8px; flex-shrink: 0; }
  .fl-c-shop .d-thumb { width: 56px; height: 56px; border-radius: 9px; cursor: pointer; border: 2px solid transparent; padding: 0; flex-shrink: 0; transition: border-color 0.15s; }
  .fl-c-shop .d-thumb.active { border-color: var(--fl-c-fg-strong); }
  .fl-c-shop .d-thumb-ask { width: 56px; height: 56px; border-radius: 9px; flex-shrink: 0; margin-left: auto; background: transparent; border: 1.5px solid var(--fl-c-input-row-border); color: var(--fl-c-fg-strong); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s, color 0.2s; }
  .fl-c-shop .d-thumb-ask svg { width: 18px; height: 18px; overflow: visible; }
  .fl-c-shop .d-thumb-ask svg * { transform-box: fill-box; transform-origin: center; }
  .fl-c-shop .d-thumb-ask:hover { border-color: var(--fl-c-card-border-hover); background: var(--fl-c-card-bg-hover); color: #60a5fa; }
  .fl-c-shop .d-thumb-ask:hover svg { filter: drop-shadow(0 0 6px rgba(96,165,250,0.45)); }
  .fl-c-shop .d-thumb-ask:hover svg * { stroke-dasharray: 90; animation: aiDraw 0.55s ease-out both; }
  .fl-c-shop .d-form { display: flex; flex-direction: column; gap: 14px; }
  .fl-c-shop .d-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-shrink: 0; }
  .fl-c-shop .d-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--fl-c-fg-strong); line-height: 1.25; }
  .fl-c-shop .d-price { font-size: 16px; font-weight: 700; color: var(--fl-c-fg-strong); flex-shrink: 0; }
  .fl-c-shop .d-desc { font-size: 13px; line-height: 1.65; color: var(--fl-c-fg-soft); }
  .fl-c-shop .d-sub { font-size: 11px; color: var(--fl-c-fg-faint); margin-top: 2px; }
  .fl-c-shop .d-rate { display: flex; align-items: center; gap: 9px; flex-shrink: 0; margin-top: -6px; cursor: pointer; width: fit-content; }
  .fl-c-shop .stars { color: #f5b942; font-size: 15px; letter-spacing: 2px; }
  .fl-c-shop .d-rate .d-sub { transition: color 0.15s ease; }
  .fl-c-shop .d-rate:hover .d-sub { color: var(--fl-c-fg-strong); }
  .fl-c-shop .vcard { flex: 1; border: 1px solid var(--fl-c-card-border); border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left; background: transparent; color: inherit; font-family: inherit; transition: border-color 0.15s, background 0.15s; }
  .fl-c-shop .vcard:hover { border-color: var(--fl-c-card-border-hover); }
  .fl-c-shop .vcard.active { border-color: var(--fl-c-fg-strong); background: var(--fl-c-card-bg-hover); }
  .fl-c-shop .vcard .vn { display: block; font-size: 12.5px; font-weight: 600; color: var(--fl-c-fg-strong); line-height: 1.3; }
  .fl-c-shop .vcard .vp { display: block; font-size: 12px; color: var(--fl-c-fg-muted); margin-top: 3px; }
  .fl-c-shop .d-card { border: 1px solid var(--fl-c-card-border); border-radius: 14px; flex-shrink: 0; }
  .fl-c-shop .acc-item { border-top: 1px solid var(--fl-c-card-border); }
  .fl-c-shop .acc-item:first-child { border-top: none; }
  .fl-c-shop .acc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; width: 100%; background: none; border: none; color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
  .fl-c-shop .acc-head .al { font-size: 13px; font-weight: 600; color: var(--fl-c-fg-strong); display: flex; align-items: center; gap: 8px; }
  .fl-c-shop .acc-head > svg { width: 13px; height: 13px; color: var(--fl-c-fg-faint); transition: transform 0.2s; flex-shrink: 0; }
  .fl-c-shop .acc-item.open .acc-head > svg { transform: rotate(90deg); }
  .fl-c-shop .acc-ai-ico { display: inline-flex; flex-shrink: 0; color: var(--fl-c-fg-strong); transition: color 0.25s ease, filter 0.25s ease; }
  .fl-c-shop .acc-ai-ico svg { width: 15px; height: 15px; }
  .fl-c-shop .acc-item.open .acc-ai-ico { color: #60a5fa; filter: drop-shadow(0 0 6px rgba(96,165,250,0.45)); }
  .fl-c-shop .acc-ai-ico svg * { transform-box: fill-box; transform-origin: center; }
  .fl-c-shop .acc-item.open .acc-ai-ico svg * { stroke-dasharray: 90; animation: aiDraw 0.55s ease-out both; }
  @keyframes aiDraw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
  .fl-c-shop .acc-body { overflow: hidden; max-height: 0; padding: 0 16px; transition: max-height 0.3s ease, padding 0.3s ease; }
  .fl-c-shop .acc-item.open .acc-body { max-height: 480px; padding: 0 16px 14px; }
  .fl-c-shop .spec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--fl-c-card-border); }
  .fl-c-shop .spec-row:last-child { border-bottom: none; }
  .fl-c-shop .spec-lbl { font-size: 12.5px; color: var(--fl-c-fg-muted); }
  .fl-c-shop .spec-val { font-size: 12.5px; font-weight: 600; color: var(--fl-c-fg-strong); text-align: right; }
  .fl-c-shop .ai-txt { font-size: 12.5px; line-height: 1.55; color: var(--fl-c-fg-soft); }
  .fl-c-shop .ai-link { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 11.5px; font-weight: 600; color: var(--fl-c-fg-muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0 0; }
  .fl-c-shop .ai-link:hover { color: var(--fl-c-fg-strong); }
  .fl-c-shop .mini { display: flex; align-items: center; gap: 10px; border: 1px solid var(--fl-c-card-border); border-radius: 12px; padding: 8px; flex: 1; min-width: 0; }
  .fl-c-shop .m-img { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
  .fl-c-shop .mn { font-size: 11.5px; font-weight: 600; color: var(--fl-c-fg-strong); line-height: 1.25; }
  .fl-c-shop .mp { font-size: 11px; color: var(--fl-c-fg-muted); margin-top: 2px; }
  .fl-c-shop .m-add { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--fl-c-input-row-border); background: transparent; color: var(--fl-c-fg-muted); font-size: 13px; cursor: pointer; font-family: inherit; transition: color 0.15s, border-color 0.15s, background 0.15s; }
  .fl-c-shop .m-add:hover { color: var(--fl-c-fg-strong); border-color: var(--fl-c-card-border-hover); }
  .fl-c-shop .m-add.on { background: var(--fl-c-send-bg); color: var(--fl-c-send-fg); border-color: transparent; }
  .fl-c-shop .d-buybar { padding: 14px 24px 20px; background: var(--fl-c-bg); border-top: 1px solid var(--fl-c-header-border); display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
  .fl-c-shop .d-iconbtn { width: 44px; height: 44px; border-radius: 12px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; font-family: inherit; transition: opacity 0.15s, transform 0.15s, background 0.15s, border-color 0.15s; }
  .fl-c-shop .d-iconbtn svg { width: 19px; height: 19px; }
  .fl-c-shop .d-cart { background: var(--fl-c-send-bg); color: var(--fl-c-send-fg); }
  .fl-c-shop .d-cart:hover { opacity: 0.85; transform: translateY(-1px); }
  .fl-c-shop .d-ai { background: transparent; color: var(--fl-c-fg-strong); border: 1px solid var(--fl-c-input-row-border); }
  .fl-c-shop .d-ai::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--w5-ring-angle, 0deg), transparent 0deg, #00dcff 35deg, #a78bfa 80deg, transparent 140deg, transparent 195deg, #ff6eb4 230deg, #e88a3e 285deg, transparent 340deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
  .fl-c-shop .d-ai:hover { border-color: transparent; }
  .fl-c-shop .d-ai:hover::before { opacity: 1; animation: w5RingOrbit 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite, w5RingBreathe 4.3s ease-in-out infinite; }
  .fl-c-shop .d-ai:hover svg { animation: aiSlide 0.35s ease-out; }
  @keyframes aiSlide { from { transform: translateX(12px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
  @keyframes w5RingOrbit { to { --w5-ring-angle: 360deg; } }
  @keyframes w5RingBreathe { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.2) saturate(1.15); } }
  .fl-c-shop .fls-ask {
    font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18;
    color: var(--fl-c-fg-strong); margin: 6px 0 14px;
  }
  .fl-c-shop .fls-search {
    display: flex; align-items: center; gap: 10px;
    background: var(--fl-c-input-row-bg);
    border: 1px solid var(--fl-c-input-row-border);
    border-radius: 12px; padding: 4px 8px 4px 14px;
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
  }
  .fl-c-shop .fls-search:focus-within { background: var(--fl-c-input-row-bg-focus); border-color: var(--fl-c-input-row-border-focus); }
  .fl-c-shop .fls-search > svg { width: 15px; height: 15px; color: var(--fl-c-fg-faint); flex-shrink: 0; }
  .fl-c-shop .fls-search input {
    flex: 1; min-width: 0; background: transparent; border: none; outline: none;
    font-family: inherit; font-size: 13.5px; color: var(--fl-c-input-fg);
    padding: 9px 0;
  }
  .fl-c-shop .fls-search input::placeholder { color: var(--fl-c-input-placeholder); }
  .fl-c-shop .fls-clear { width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--fl-c-icon-btn-bg); color: var(--fl-c-icon-btn-fg); cursor: pointer; display: none; align-items: center; justify-content: center; flex-shrink: 0; transition: color 0.15s, background 0.15s; }
  .fl-c-shop .fls-clear.show { display: flex; }
  .fl-c-shop .fls-clear:hover { background: var(--fl-c-icon-btn-bg-hover); color: var(--fl-c-icon-btn-fg-hover); }
  .fl-c-shop .fls-clear svg { width: 12px; height: 12px; }
  .fl-c-shop .fls-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -24px; padding: 2px 24px; scrollbar-width: none; flex-shrink: 0; }
  .fl-c-shop .fls-chips::-webkit-scrollbar { display: none; }
  .fl-c-shop .fls-chip { padding: 7px 14px; border-radius: 50px; white-space: nowrap; background: var(--fl-c-icon-btn-bg); border: 1px solid var(--fl-c-input-row-border); color: var(--fl-c-fg-muted); font-size: 11.5px; font-weight: 600; font-family: inherit; cursor: pointer; flex-shrink: 0; transition: background 0.15s, color 0.15s; }
  .fl-c-shop .fls-chip:hover { color: var(--fl-c-fg-strong); }
  .fl-c-shop .fls-chip.active { background: var(--fl-c-icon-btn-bg-hover); color: var(--fl-c-fg-strong); }
  .fl-c-shop .fls-empty { text-align: center; padding: 28px 0; font-size: 13px; color: var(--fl-c-fg-faint); line-height: 1.6; }
  .fl-c-shop .fls-empty strong { color: var(--fl-c-fg-soft); font-weight: 600; }
  .fl-c-shop .fls-kicker { font-size: 12.5px; font-weight: 600; color: var(--fl-c-fg-soft); flex-shrink: 0; margin-top: 2px; }
  .fl-c-shop .fls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
  .fl-c-shop .fls-card {
    border: 1px solid var(--fl-c-card-border); border-radius: 12px;
    overflow: hidden; cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    animation: fls-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes fls-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .fl-c-shop .fls-card:hover { border-color: var(--fl-c-card-border-hover); background: var(--fl-c-card-bg-hover); }
  .fl-c-shop .fls-img { height: 120px; background-size: cover; background-position: center; background-color: var(--fl-c-msg-user-bg); position: relative; }
  .fl-c-shop .fls-tag {
    position: absolute; top: 8px; left: 8px;
    font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 6px;
    background: var(--fl-c-bg); color: var(--fl-c-fg); border: 1px solid var(--fl-c-border);
  }
  .fl-c-shop .fls-info { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
  .fl-c-shop .fls-name { font-size: 13px; font-weight: 600; color: var(--fl-c-fg-strong); }
  .fl-c-shop .fls-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
  .fl-c-shop .fls-price { font-size: 13px; font-weight: 700; color: var(--fl-c-fg-strong); }
  .fl-c-shop .fls-cta {
    font-size: 11px; font-weight: 600; font-family: inherit;
    color: var(--fl-c-send-fg); background: var(--fl-c-send-bg);
    border: none; border-radius: 6px; padding: 5px 12px; cursor: pointer;
  }
  .fl-c-shop .fls-ai {
    width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
    background: transparent; border: 1px solid var(--fl-c-input-row-border);
    color: var(--fl-c-fg-strong); cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, color 0.2s;
  }
  .fl-c-shop .fls-ai svg { width: 13px; height: 13px; overflow: visible; }
  .fl-c-shop .fls-ai svg * { transform-box: fill-box; transform-origin: center; }
  .fl-c-shop .fls-ai:hover { border-color: var(--fl-c-card-border-hover); color: #60a5fa; }
  .fl-c-shop .fls-ai:hover svg { filter: drop-shadow(0 0 5px rgba(96,165,250,0.45)); }
  .fl-c-shop .fls-ai:hover svg * { stroke-dasharray: 90; animation: fl-c-aiDraw 0.55s ease-out both; }
  @keyframes fl-c-aiDraw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
  .fl-c-icon-btn svg { width: 16px; height: 16px; }

/* ── Responsive (END of file so it overrides the base .cc-row above) ── */
@media (max-width: 920px) {
  .cc-row { grid-template-columns: 1fr; gap: 0; }
  .cc-wrap .fl-concierge-panel, .cc-wrap .fl-c-shop { width: 100%; max-width: 420px; margin: 0 auto; }
  /* Title sits in its own box joined seamlessly to the top of the panel below:
     same bg + border, no bottom border, flush (gap:0) → the panel's top border
     reads as the divider, so title + chat look like one continuous unit. */
  .cc-text {
    order: -1;
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    align-items: flex-start;
    gap: 6px;
    padding: clamp(32px, 4vw, 60px);
    background: #000;
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: none;
  }
  .cc-heading { text-align: left; }
  /* Store row: title + button sit at the top, the caveat note is pinned to the
     bottom of the joined container (min-height gives margin-top:auto room). */
  .cc-row:last-child .cc-text { min-height: 260px; }
  .cc-note { text-align: left; margin-top: auto; }
}
