/* Klean Kanteen skin for the chat widget, matched to kleankanteen.com: Montserrat, #1c1c1c ink
   on white, 12px-rounded buttons, light-gray (#f5f5f5) product tiles, black square badges.
   Load after chat-widget.css. The page must load Montserrat (kleankanteen.com already does). */
.rw-widget {
  --rw-font: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  --rw-text: #1c1c1c;
  --rw-text-secondary: #6d6a6a;
  --rw-border: rgba(28, 28, 28, 0.15);
  --rw-bubble-user: #1c1c1c;
  --rw-bubble-agent: #f5f5f5;
  --rw-accent: #1c1c1c;
  --rw-shadow: rgba(28, 28, 28, 0.18);
  font-weight: 500;
}

.rw-widget :focus-visible {
  outline-color: #7dbd04 !important;
}

/* Launcher */
.rw-widget .rw-minimized-button {
  /* No shadow: the 56px launcher container clips it into a gray square. */
  border: 0;
  box-shadow: none;
}

/* Panel and header */
.rw-widget .rw-panel {
  border-radius: 16px;
  border: 1px solid rgba(28, 28, 28, 0.12);
  box-shadow: 0 24px 60px rgba(28, 28, 28, 0.18);
}

.rw-widget .rw-header {
  border-bottom-color: rgba(28, 28, 28, 0.12);
}

.rw-widget .rw-header-title img {
  height: 26px;
  max-width: 140px;
}

.rw-widget .rw-header-status {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6d6a6a;
  opacity: 1;
}

/* Messages */
.rw-widget .rw-bubble {
  font-size: 14px;
  line-height: 1.6;
}

.rw-widget .rw-bubble-agent {
  border: 0;
  box-shadow: none;
  color: #1c1c1c;
}

.rw-widget .rw-bubble-user {
  color: #ffffff;
}

.rw-widget .rw-bubble-agent a {
  color: #1c1c1c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quick replies */
.rw-widget .rw-bubble-options button {
  border-radius: 0.75rem;
  border: 1px solid #1c1c1c;
  background: #ffffff;
  color: #1c1c1c;
  font-weight: 700;
  font-size: 13px;
  box-shadow: none;
}

.rw-widget .rw-bubble-options button:hover {
  background: #1c1c1c;
  color: #ffffff;
}

/* Composer: square field as on kleankanteen.com, white icon on the black send button. */
.rw-widget .rw-composer-field textarea {
  border-radius: 0;
  border-color: rgba(28, 28, 28, 0.25);
  font-size: 14px;
  font-weight: 500;
}

.rw-widget .rw-composer-field textarea:focus {
  border-color: #1c1c1c;
}

.rw-widget .rw-send-button {
  /* The widget sets the icon color inline from theme.text, which is ink here. */
  color: #ffffff !important;
  box-shadow: none;
}

/* Product cards: their collection tile, inside a white card. */
.rw-widget .rw-product-card {
  border-radius: 12px;
  border: 1px solid rgba(28, 28, 28, 0.12);
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.rw-widget .rw-product-media {
  height: 220px;
  background: #f5f5f5;
}

.rw-widget .rw-product-media img {
  padding: 12px;
  object-fit: contain;
}

.rw-widget .rw-product-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  color: #1c1c1c;
}

.rw-widget .rw-product-price {
  font-weight: 600;
  font-size: 14px;
  color: #6d6a6a;
}

.rw-widget .rw-product-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #6d6a6a;
  font-size: 12px;
  line-height: 1.55;
}

.rw-widget .rw-product-link {
  color: #1c1c1c;
  font-weight: 700;
  text-underline-offset: 3px;
}

.rw-widget .rw-product-badge {
  border-radius: 0;
  border: 0;
  background: #efefef;
  color: #1c1c1c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rw-widget .rw-product-badge-sale {
  background: #1c1c1c;
  color: #ffffff;
}

.rw-widget .rw-product-variant-label {
  font-weight: 700;
  color: #1c1c1c;
}

.rw-widget .rw-product-variant-select {
  border-radius: 0;
  border-color: rgba(28, 28, 28, 0.25);
  font-family: inherit;
  font-weight: 500;
  color: #1c1c1c;
}

.rw-widget .rw-product-swatch-selected {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #1c1c1c;
}

.rw-widget .rw-product-action {
  border-radius: 0.75rem;
  border-color: #1c1c1c;
  color: #1c1c1c;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 12px;
}

.rw-widget .rw-product-action-primary {
  background: #1c1c1c;
  color: #ffffff;
}

.rw-widget .rw-product-action:not(:disabled):hover {
  background: #3e3e3e;
  border-color: #3e3e3e;
  color: #ffffff;
}

.rw-widget .rw-product-action:disabled {
  opacity: 0.35;
}

.rw-widget .rw-product-action-hint {
  color: #6d6a6a;
}

.rw-widget .rw-products-headline {
  font-weight: 700;
  color: #1c1c1c;
}
