/* AIShopper v2 — landing + chat (from design export) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
::placeholder { color: #a3a79e; opacity: 1; }

@keyframes aishop-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes aishop-blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

.v2-root {
  min-height: 100vh;
  background: #f4f3ef;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: #191b18;
  -webkit-font-smoothing: antialiased;
}
.v2-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 28px);
}

.v2-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e6e4dd;
}
.v2-back {
  border: 1px solid #e6e4dd;
  background: #fff;
  color: #191b18;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  flex: none;
  transition: background 0.15s;
}
.v2-root.is-chat .v2-back { display: flex; }
.v2-back:hover { background: #ecebe5; }
.v2-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #00684a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex: none;
}
.v2-header-text { flex: 1; min-width: 0; }
.v2-header-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.v2-header-title {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.1;
}
.v2-header-badge {
  margin: 0;
  font-size: 11px;
  padding: 4px 10px;
  flex: none;
}
.v2-header-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}
.v2-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a06b;
  animation: aishop-pulse 2s infinite;
  flex: none;
}
.v2-status-label { font-size: 13px; color: #6f746c; }

.v2-view { display: none; }
.v2-view.is-active { display: block; }

/* —— Home —— */
.v2-hero {
  padding: clamp(14px, 2.5vw, 22px) 0 clamp(10px, 2vw, 16px);
  text-align: center;
}
.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e7f1ec;
  color: #0e5b46;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
}
.v2-hero h1 {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(23px, 3.6vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 24ch;
  text-wrap: balance;
}
.v2-hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  max-width: 640px;
  width: 100%;
}
.v2-hero-cats-wrap {
  width: 100%;
  text-align: center;
}
.v2-hero-cats-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8f84;
}
.v2-hero-cats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}
.v2-hero-cat {
  cursor: pointer;
  border: 1px solid #d4e8df;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: inherit;
  text-align: left;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 300px;
  box-shadow: 0 4px 16px rgba(0, 104, 74, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.v2-hero-cat:hover {
  border-color: #8ecfb8;
  box-shadow: 0 8px 24px rgba(0, 104, 74, 0.12);
  transform: translateY(-2px);
}
.v2-hero-cat-visual {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00684a;
  background: linear-gradient(145deg, #e8f5ef 0%, #f4faf7 55%, #dceee4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.v2-hero-cat-visual--phone {
  background: linear-gradient(145deg, #e6f0ec 0%, #f2f8f5 55%, #d8ebe3 100%);
}
.v2-hero-cat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.v2-hero-cat-name {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #14241d;
  line-height: 1.2;
}
.v2-hero-cat-tag {
  font-size: 12px;
  color: #6f746c;
  line-height: 1.2;
}
.v2-hero-sub {
  font-size: clamp(13px, 1.7vw, 15px);
  color: #5c615a;
  line-height: 1.4;
  max-width: 52ch;
  margin: 8px auto 0;
  text-wrap: pretty;
}
.v2-search-row {
  display: flex;
  gap: 10px;
  max-width: 580px;
  margin: 16px auto 0;
}
.v2-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e0ded6;
  border-radius: 14px;
  padding: 4px 4px 4px 18px;
  box-shadow: 0 4px 20px rgba(20, 23, 26, 0.05);
}
.v2-search-icon { color: #9aa097; font-size: 18px; flex: none; }
.v2-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #191b18;
  padding: 10px 0;
}
.v2-btn-primary {
  flex: none;
  border: none;
  cursor: pointer;
  background: #00684a;
  color: #fff;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 11px;
  padding: 12px 22px;
  transition: background 0.15s;
}
.v2-btn-primary:hover { background: #0e5b46; }
.v2-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 10px;
  font-size: 13px;
  color: #7a7f76;
}
/* —— Landing spotlight —— */
.v2-spotlight {
  position: relative;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d4e8df;
  background: linear-gradient(135deg, #f7fcfa 0%, #eef8f3 45%, #fff 100%);
  box-shadow: 0 14px 40px rgba(0, 104, 74, 0.1);
  animation: v2-spotlight-in 0.55s ease-out;
}
.v2-spotlight--loading .v2-spotlight-name,
.v2-spotlight--loading .v2-spotlight-price,
.v2-spotlight--loading .v2-spotlight-cat,
.v2-spotlight--loading .v2-spotlight-desc-shell,
.v2-spotlight--loading .v2-spotlight-actions {
  visibility: hidden;
}
.v2-spotlight--loading .v2-spotlight-img {
  opacity: 0.35;
  animation: v2-spotlight-pulse 1.2s ease-in-out infinite;
}
.v2-spotlight:not(.v2-spotlight--loading) .v2-spotlight-img {
  opacity: 1;
}
@keyframes v2-spotlight-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.5; }
}
@keyframes v2-spotlight-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.v2-spotlight-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 104, 74, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.v2-spotlight-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  gap: 0;
  min-height: 220px;
}
.v2-spotlight-visual {
  position: relative;
  background: linear-gradient(160deg, #e8f5ef 0%, #f8fbf9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  min-height: 220px;
  overflow: hidden;
}
@keyframes v2-spotlight-float {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
  }
  50% {
    transform: translateY(-7px) scale(1.02);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.1));
  }
}
.v2-spotlight-img {
  width: 100%;
  max-width: 220px;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s ease, filter 0.35s ease;
  background: transparent;
  animation: v2-spotlight-float 4.8s ease-in-out infinite;
  will-change: transform;
}
.v2-spotlight-img.is-bg-removed {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.14));
}
.v2-spotlight-img.is-blend-multiply {
  mix-blend-mode: multiply;
}
.v2-spotlight:hover .v2-spotlight-img {
  animation-play-state: paused;
  transform: scale(1.04) translateY(-4px);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.14));
}
@media (prefers-reduced-motion: reduce) {
  .v2-spotlight-img,
  .v2-spotlight--loading .v2-spotlight-img {
    animation: none;
  }
}
.v2-spotlight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #00684a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 10px;
}
.v2-spotlight-copy {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.v2-spotlight-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a8f7b;
}
.v2-spotlight-name {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #14241d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v2-spotlight-price {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  color: #00684a;
  letter-spacing: -0.02em;
}
.v2-spotlight-desc-shell {
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e2eee8;
  height: 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.v2-spotlight-desc-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  height: 42px;
  padding: 0 16px;
  animation: v2-spotlight-marquee 28s linear infinite;
  will-change: transform;
}
.v2-spotlight-desc-track span {
  font-size: 13px;
  color: #4a524c;
  line-height: 1.3;
}
.v2-spotlight-desc-shell:hover .v2-spotlight-desc-track {
  animation-play-state: paused;
}
@keyframes v2-spotlight-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.v2-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.v2-spotlight-cta {
  border: none;
  cursor: pointer;
  background: #00684a;
  color: #fff;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.15s, transform 0.15s;
}
.v2-spotlight-cta:hover {
  background: #0e5b46;
  transform: translateY(-1px);
}
.v2-spotlight-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #bfe0d4;
  background: #f0f9f6;
  color: #00684a;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  padding: 9px 16px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.v2-spotlight-shop:hover {
  background: #e7f1ec;
  border-color: #8ecfb8;
  transform: translateY(-1px);
}
.v2-spotlight-shop[hidden] {
  display: none !important;
}
.v2-spotlight-refresh {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d4e8df;
  background: #fff;
  color: #00684a;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.2s;
}
.v2-spotlight-refresh:hover {
  border-color: #8ecfb8;
  background: #f0f9f6;
  transform: rotate(90deg);
}
@media (max-width: 720px) {
  .v2-spotlight-inner {
    grid-template-columns: 1fr;
  }
  .v2-spotlight-visual {
    min-height: 170px;
    padding: 16px;
  }
  .v2-spotlight-img {
    max-height: 140px;
  }
  .v2-spotlight-copy {
    padding: 16px 16px 18px;
  }
}
.v2-section { margin-top: 14px; }
.v2-section h2 {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 10px;
}
.v2-section-sub {
  font-size: 13px;
  color: #7a7f76;
  margin: 0 0 12px;
}
.v2-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.v2-cat-card {
  text-align: left;
  cursor: pointer;
  border: 1px solid #e6e4dd;
  background: #fff;
  border-radius: 14px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font-family: inherit;
  width: 100%;
}
.v2-cat-card:hover:not(:disabled) {
  border-color: #bcdccd;
  box-shadow: 0 6px 22px rgba(20, 23, 26, 0.07);
  transform: translateY(-2px);
}
.v2-cat-card:disabled { cursor: default; opacity: 0.6; }
.v2-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #e7f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #157a5e;
}
.v2-cat-name {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.v2-cat-tag { font-size: 12px; color: #7a7f76; margin-top: 2px; }
.v2-soon {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8f86;
  background: #efeee9;
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 8px;
}
.v2-prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.v2-prompt-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #3a3e38;
}
.v2-prompt-list { display: flex; flex-direction: column; gap: 8px; }
.v2-prompt-btn {
  text-align: left;
  cursor: pointer;
  border: 1px solid #e6e4dd;
  background: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  font-family: inherit;
  font-size: 13px;
  color: #3a3e38;
  line-height: 1.3;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.v2-prompt-btn:hover {
  border-color: #bcdccd;
  background: #fbfbf9;
  color: #0e5b46;
}
.v2-prompt-btn.v2-prompt-anim {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.v2-prompt-btn.v2-prompt-out {
  opacity: 0;
  transform: translateY(-8px);
}
.v2-prompt-btn.v2-prompt-in {
  opacity: 0;
  transform: translateY(8px);
}
@media (prefers-reduced-motion: reduce) {
  .v2-prompt-btn.v2-prompt-anim { transition: opacity 0.15s ease; }
  .v2-prompt-btn.v2-prompt-out,
  .v2-prompt-btn.v2-prompt-in { transform: none; }
}

/* —— Chat —— */
.v2-chat-panel {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 130px);
  min-height: 480px;
}
.v2-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 10px 24px 2px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(90, 100, 90, 0.45) transparent;
}
.v2-messages::-webkit-scrollbar {
  width: 6px;
}
.v2-messages::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}
.v2-messages::-webkit-scrollbar-thumb {
  background: rgba(90, 100, 90, 0.32);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}
.v2-messages:hover::-webkit-scrollbar-thumb {
  background: rgba(90, 100, 90, 0.52);
}
.v2-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(21, 122, 94, 0.55);
}
.v2-messages::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}
.v2-msg-user {
  display: flex;
  justify-content: flex-end;
}
.v2-bubble-user {
  background: #00684a;
  color: #fff;
  border-radius: 18px 18px 6px 18px;
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.55;
  max-width: min(560px, 82%);
  white-space: pre-wrap;
  box-shadow: 0 1px 3px rgba(0, 60, 40, 0.12);
}
.v2-msg-ai {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.v2-ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #00684a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex: none;
  margin-top: 4px;
}
.v2-ai-body {
  flex: 1;
  min-width: 0;
  max-width: min(760px, 92%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-bubble-ai {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: #1a1c19;
  white-space: normal;
  word-break: break-word;
  box-shadow: none;
}
.v2-bubble-ai p {
  margin: 0 0 0.65em;
}
.v2-bubble-ai p:last-child {
  margin-bottom: 0;
}
/* Product chip — mint pill, thumb + name + price */
.v2-product-chip,
.v2-bubble-ai a.product-link-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 8px;
  margin: 3px 6px 3px 0;
  background: #f0f9f6;
  border: 1px solid #bfe0d4;
  border-radius: 999px;
  padding: 4px 14px 4px 5px;
  text-decoration: none;
  line-height: 1.2;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  max-width: 100%;
}
.v2-product-chip:hover,
.v2-bubble-ai a.product-link-inline:hover {
  border-color: #8ecfb8;
  background: #e8f5f0;
  box-shadow: 0 2px 8px rgba(0, 104, 74, 0.1);
}
.v2-product-chip-thumb {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex: none;
  background: repeating-linear-gradient(
    135deg,
    #e4ebe8 0,
    #e4ebe8 4px,
    #d2ddd8 4px,
    #d2ddd8 8px
  );
  background-size: cover;
  background-position: center;
}
.v2-product-chip-name,
.v2-bubble-ai .product-mention-name {
  font-weight: 600;
  font-size: 14px;
  color: #00684a;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.v2-product-chip-buy,
.v2-bubble-ai .product-mention-buy {
  flex: none;
  margin-left: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #00684a;
  color: #fff;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
}
.v2-product-chip:hover .v2-product-chip-buy,
.v2-bubble-ai a.product-link-inline:hover .product-mention-buy {
  background: #00553d;
}
.v2-product-chip-price,
.v2-bubble-ai .product-mention-price {
  font-weight: 700;
  font-size: 14px;
  color: #00684a;
  flex: none;
}
.v2-bubble-ai .v2-line-desc {
  color: #5c615a;
  font-weight: 400;
}
.v2-bubble-ai .v2-product-line {
  display: block;
  margin-top: 0.8em;
}
.v2-bubble-ai .v2-product-line:first-child {
  margin-top: 0;
}
.v2-bubble-ai code.product-id-inline {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  background: #f3f8f5;
  border: 1px solid #cfe5d9;
  border-radius: 8px;
  padding: 2px 8px;
}
.v2-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 2px;
}
.v2-followup-btn {
  cursor: pointer;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #1a1c19;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.v2-followup-btn:hover {
  border-color: #bfe0d4;
  color: #00684a;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 104, 74, 0.08);
}
/* Typing / waiting indicator */
.v2-typing-indicator {
  display: none;
  gap: 12px;
  align-items: flex-start;
  padding: 0 2px;
  flex: none;
}
.v2-typing-indicator.is-visible {
  display: flex;
}
.v2-typing-bubble {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.5;
  min-height: 48px;
}
.v2-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
}
.v2-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa097;
  animation: v2-typing-bounce 1.4s infinite ease-in-out;
}
.v2-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.v2-typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes v2-typing-bounce {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.45; }
  40% { transform: scale(1); opacity: 1; }
}
.v2-typing-text {
  font-size: 14px;
  color: #5c615a;
  font-style: italic;
}
.v2-chat-panel .v2-typing-indicator {
  margin-top: auto;
}
.v2-chat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e0ded6;
  border-radius: 14px;
  padding: 5px 5px 5px 18px;
  box-shadow: 0 4px 20px rgba(20, 23, 26, 0.05);
  margin-top: 8px;
  flex: none;
}
.v2-chat-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #191b18;
  padding: 11px 0;
  overflow: hidden;
}
.v2-btn-send {
  flex: none;
  border: none;
  cursor: pointer;
  background: #00684a;
  color: #fff;
  border-radius: 11px;
  width: 44px;
  height: 44px;
  font-size: 18px;
  transition: background 0.15s, opacity 0.15s;
}
.v2-btn-send:hover:not(:disabled) { background: #0e5b46; }
.v2-btn-send:disabled { opacity: 0.45; cursor: not-allowed; }

.v2-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 9999;
  max-width: 90vw;
}
.v2-toast.error { background: #b91c1c; }

.product-image-tooltip {
  position: fixed;
  z-index: 10000;
  background: #fff;
  border: 1px solid #e6e4dd;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.product-image-tooltip img {
  display: block;
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
}
.product-image-tooltip.loading {
  width: 80px;
  height: 80px;
  background: #f3f4f6;
}

@media (max-width: 600px) {
  .v2-search-row { flex-direction: column; }
  .v2-btn-primary { width: 100%; }
}
