/* ============================================================
   Akkivinaya Assistant – Chatbot Styles
   ============================================================ */

/* ---- Launcher ---- */
.av-chatbot-launcher {
  align-items: center;
  background: linear-gradient(135deg, #149bd7 0%, #0f7cae 100%);
  border: none;
  border-radius: 50%;
  bottom: 18px;
  box-shadow: 0 8px 22px rgba(20, 155, 215, 0.38);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  outline: none;
  position: fixed;
  right: 18px;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.2s ease, opacity 0.2s ease;
  width: 54px;
  z-index: 200;
}

.av-chatbot-launcher:hover {
  background: linear-gradient(135deg, #1aaee7 0%, #0f8ac4 100%);
  box-shadow: 0 12px 28px rgba(20, 155, 215, 0.46);
  transform: translateY(-2px) scale(1.04);
}

.av-chatbot-launcher:focus-visible {
  outline: 2px solid #149bd7;
  outline-offset: 3px;
}

.av-chatbot-launcher:active {
  transform: scale(0.97);
}

.av-chatbot-launcher-icon {
  align-items: center;
  display: flex;
  height: 26px;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
  width: 26px;
}

.av-chatbot-launcher-icon-open {
  display: none;
}

.av-chatbot-launcher.is-open .av-chatbot-launcher-icon-chat {
  display: none;
}

.av-chatbot-launcher.is-open .av-chatbot-launcher-icon-open {
  display: flex;
}

/* Notification badge */
.av-chatbot-badge {
  background: #f5d242;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #0d1520;
  font-size: 9px;
  font-weight: 900;
  height: 18px;
  line-height: 1;
  min-width: 18px;
  padding: 2px 4px;
  place-items: center;
  position: absolute;
  right: -2px;
  top: -2px;
  display: none;
}

/* Hide launcher when other overlay modals are open */
.cart-open .av-chatbot-launcher,
body.product-detail-open .av-chatbot-launcher,
body.nav-drawer-open .av-chatbot-launcher,
body.review-modal-open .av-chatbot-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
}

/* When chatbot panel is open, hide the launcher */
body.av-chatbot-open .av-chatbot-launcher {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  visibility: hidden;
}

/* ---- Panel ---- */
.av-chatbot-panel {
  background: #ffffff;
  border: 1px solid rgba(20, 155, 215, 0.14);
  border-radius: 20px;
  bottom: 82px;
  box-shadow: 0 24px 64px rgba(13, 21, 32, 0.18), 0 4px 14px rgba(13, 21, 32, 0.08);
  display: flex;
  flex-direction: column;
  max-height: min(600px, calc(100vh - 130px));
  overflow: hidden;
  position: fixed;
  right: 18px;
  width: 390px;
  z-index: 1100;
  transform-origin: bottom right;
}

.av-chatbot-panel[hidden] {
  display: none;
}

.av-chatbot-panel.is-opening {
  animation: av-chatbot-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.av-chatbot-panel.is-closing {
  animation: av-chatbot-panel-out 0.2s cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes av-chatbot-panel-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes av-chatbot-panel-out {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
}

/* ---- Header ---- */
.av-chatbot-header {
  align-items: center;
  background: linear-gradient(135deg, #063755 0%, #0a5270 50%, #0d6e8a 100%);
  border-radius: 20px 20px 0 0;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 14px;
  position: relative;
}

.av-chatbot-header::after {
  background: radial-gradient(circle at 80% 40%, rgba(20, 155, 215, 0.28), transparent 58%);
  border-radius: 20px 20px 0 0;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.av-chatbot-header-brand {
  align-items: center;
  display: flex;
  gap: 9px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.av-chatbot-header-logo {
  background: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  flex-shrink: 0;
  height: 32px;
  object-fit: contain;
  padding: 2px;
  width: 32px;
}

.av-chatbot-header-copy {
  min-width: 0;
}

.av-chatbot-header-name {
  color: #ffffff;
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.av-chatbot-header-status {
  align-items: center;
  color: rgba(200, 236, 252, 0.92);
  display: flex;
  font-size: 10px;
  font-weight: 600;
  gap: 5px;
  margin-top: 1px;
}

.av-chatbot-header-status::before {
  background: #4dde82;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(77, 222, 130, 0.6);
  content: "";
  flex-shrink: 0;
  height: 6px;
  width: 6px;
}

.av-chatbot-header-actions {
  align-items: center;
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.av-chatbot-header-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease;
  width: 32px;
}

.av-chatbot-header-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.av-chatbot-header-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* ---- Messages area ---- */
.av-chatbot-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px 10px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 155, 215, 0.2) transparent;
}

.av-chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.av-chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(20, 155, 215, 0.24);
  border-radius: 99px;
}

/* Bot message bubble */
.av-chatbot-msg-bot {
  align-self: flex-start;
  background: #f0f7fb;
  border: 1px solid rgba(20, 155, 215, 0.16);
  border-left: 3px solid #149bd7;
  border-radius: 8px;
  color: #0d1520;
  font-size: 13px;
  line-height: 1.5;
  max-width: 100%;
  padding: 11px 13px;
  width: 100%;
}

.av-chatbot-msg-bot p {
  margin: 0 0 6px;
}

.av-chatbot-msg-bot p:last-child {
  margin-bottom: 0;
}

.av-chatbot-msg-bot a {
  color: #075f9d;
  font-weight: 700;
  text-decoration: none;
}

.av-chatbot-msg-bot a:hover {
  text-decoration: underline;
}

/* User message bubble */
.av-chatbot-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #149bd7 0%, #0f7cae 100%);
  border-radius: 16px 4px 16px 16px;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 82%;
  padding: 10px 14px;
}

/* Error state */
.av-chatbot-msg-error {
  border-color: rgba(180, 35, 24, 0.2);
  background: #fdf4f4;
}

/* Welcome message */
.av-chatbot-greeting {
  color: #0a1e2e;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px !important;
}

.av-chatbot-sub {
  color: #4d6b7f;
  font-size: 13px;
  margin: 0 !important;
}

/* Section title */
.av-chatbot-section-title {
  color: #0a2b40;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 6px !important;
}

/* Typing indicator */
.av-chatbot-typing {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  height: 20px;
}

.av-chatbot-typing span {
  animation: av-chatbot-bounce 1.4s ease-in-out infinite;
  background: #90b8cc;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.av-chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.av-chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes av-chatbot-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    background: #90b8cc;
  }
  30% {
    transform: translateY(-5px);
    background: #149bd7;
  }
}

/* ---- Quick Replies / Footer ---- */
.av-chatbot-footer {
  background: #f9fbfd;
  border-top: 1px solid #e8eef4;
  flex-shrink: 0;
  padding: 10px 12px 12px;
}

.av-chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 148px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.av-chatbot-quick-replies::-webkit-scrollbar {
  display: none;
}

.av-chatbot-qr {
  background: #ffffff;
  border: 1.5px solid #d9e5f0;
  border-radius: 8px;
  color: #1a3c54;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 36px;
  padding: 8px 12px;
  text-align: center;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.1s ease, box-shadow 0.1s ease;
  white-space: nowrap;
}

.av-chatbot-qr:hover {
  background: #e8f5fd;
  border-color: #149bd7;
  box-shadow: 0 2px 8px rgba(20, 155, 215, 0.14);
  color: #075f9d;
  transform: translateY(-1px);
}

.av-chatbot-qr:focus-visible {
  outline: 2px solid #149bd7;
  outline-offset: 2px;
}

.av-chatbot-qr:active {
  transform: translateY(0);
}

.av-chatbot-qr.is-nav {
  background: #f0f7fa;
  border-color: #c8dae8;
  color: #4d7087;
  font-size: 11.5px;
  font-weight: 600;
}

.av-chatbot-qr.is-nav:hover {
  background: #dceefa;
  border-color: #b5cfe0;
  color: #1a3c54;
}

.av-chatbot-qr.is-primary {
  background: linear-gradient(135deg, #149bd7 0%, #0f7cae 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 155, 215, 0.28);
}

.av-chatbot-qr.is-primary:hover {
  background: linear-gradient(135deg, #1aaee7 0%, #0f8ac4 100%);
  box-shadow: 0 6px 16px rgba(20, 155, 215, 0.36);
  transform: translateY(-1px);
}

/* ---- Free-text Input ---- */
.av-chatbot-input-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.av-chatbot-input {
  background: #fff;
  border: 1.5px solid #cddde9;
  border-radius: 12px;
  color: #0d1520;
  flex: 1;
  font-family: inherit;
  font-size: 13px;
  min-height: 38px;
  padding: 8px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.av-chatbot-input::placeholder {
  color: #7a96a8;
  font-weight: 500;
}

.av-chatbot-input:focus {
  border-color: #149bd7;
  box-shadow: 0 0 0 3px rgba(20, 155, 215, 0.13);
  outline: none;
}

.av-chatbot-input-submit {
  align-items: center;
  background: linear-gradient(135deg, #149bd7 0%, #0f7cae 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 15px;
  height: 38px;
  justify-content: center;
  transition: background 0.15s ease, transform 0.12s ease;
  width: 38px;
}

.av-chatbot-input-submit:hover {
  background: linear-gradient(135deg, #1aaee7 0%, #0f8ac4 100%);
  transform: translateY(-1px);
}

.av-chatbot-input-submit:focus-visible {
  outline: 2px solid #149bd7;
  outline-offset: 2px;
}

/* ---- Product Cards ---- */
.av-chatbot-product-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.av-chatbot-product-card {
  background: #ffffff;
  border: 1.5px solid #d2e3ef;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.av-chatbot-product-card:hover {
  border-color: rgba(20, 155, 215, 0.55);
  box-shadow: 0 8px 18px rgba(20, 155, 215, 0.1);
}

.av-chatbot-product-card-inner {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.av-chatbot-product-img {
  background: #eef3f8;
  border-radius: 9px;
  flex-shrink: 0;
  height: 70px;
  object-fit: cover;
  width: 56px;
}

.av-chatbot-product-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.av-chatbot-product-category {
  color: #0f7cae;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.av-chatbot-product-name {
  color: #0a1e2e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.av-chatbot-product-meta {
  align-items: center;
  color: #4e6779;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 600;
  gap: 4px 8px;
  margin-top: 1px;
}

.av-chatbot-product-meta span::before {
  content: "· ";
}

.av-chatbot-product-meta span:first-child::before {
  content: "";
}

.av-chatbot-product-price-row {
  align-items: center;
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.av-chatbot-product-price {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.av-chatbot-product-mrp {
  color: #7a96a8;
  font-size: 11px;
  font-weight: 600;
  text-decoration: line-through;
}

.av-chatbot-product-badge {
  background: #ebf5fc;
  border: 1px solid #bee5f5;
  border-radius: 999px;
  color: #0874a3;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  text-transform: uppercase;
}

.av-chatbot-product-coming-soon {
  background: #f4f8fc;
  border-radius: 999px;
  color: #5b7a91;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  text-transform: uppercase;
}

.av-chatbot-product-card-actions {
  border-top: 1px solid #e8eef4;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
}

.av-chatbot-product-card-actions button {
  background: #f3f8fc;
  border: 1px solid #c8d9e8;
  border-radius: 8px;
  color: #1a3c54;
  cursor: pointer;
  flex: 1;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  min-height: 32px;
  padding: 6px 8px;
  text-align: center;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.av-chatbot-product-card-actions button:hover {
  background: #dceefa;
  border-color: #149bd7;
  color: #075f9d;
}

.av-chatbot-product-card-actions button.primary-action {
  background: #0a1118;
  border-color: #0a1118;
  color: #fff;
}

.av-chatbot-product-card-actions button.primary-action:hover {
  background: #063755;
}

/* ---- Category Cards ---- */
.av-chatbot-cat-grid {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.av-chatbot-cat-card {
  align-items: center;
  background: #f2f8fc;
  border: 1px solid #d0e3ef;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
}

.av-chatbot-cat-card strong {
  color: #0a2b40;
  font-size: 13px;
  font-weight: 800;
}

.av-chatbot-cat-card span {
  color: #4d7087;
  font-size: 11px;
  font-weight: 700;
}

.av-chatbot-coming-soon {
  background: #f7f9fc;
  border: 1px solid #d4e1ec;
  border-radius: 999px;
  color: #6d8699 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 7px;
  text-transform: uppercase;
}

/* ---- Offer Cards ---- */
.av-chatbot-offer-grid {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.av-chatbot-offer-card {
  background: linear-gradient(135deg, #fff8ef 0%, #fffbf3 100%);
  border: 1.5px solid #edcf9d;
  border-left: 3px solid rgba(165, 96, 9, 0.7);
  border-radius: 12px;
  overflow: hidden;
  padding: 11px 12px;
  position: relative;
}

.av-chatbot-offer-code {
  background: rgba(165, 96, 9, 0.1);
  border: 1px dashed rgba(165, 96, 9, 0.4);
  border-radius: 7px;
  color: #5e3400;
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  padding: 4px 10px;
  text-transform: uppercase;
}

.av-chatbot-offer-title {
  color: #3d2200;
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 3px;
}

.av-chatbot-offer-desc {
  color: #6b4400;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.av-chatbot-offer-meta {
  color: #7a5524;
  font-size: 11px;
  font-weight: 700;
  margin-top: 5px;
}

.av-chatbot-offer-empty {
  background: #f6f9fb;
  border: 1px dashed #c8d9e8;
  border-radius: 12px;
  color: #5e7887;
  font-size: 13px;
  font-weight: 700;
  padding: 16px;
  text-align: center;
}

/* ---- Shipping ---- */
.av-chatbot-bullet-list {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.av-chatbot-bullet-list li {
  align-items: flex-start;
  color: #1c3a50;
  display: flex;
  font-size: 13px;
  gap: 6px;
  line-height: 1.5;
}

.av-chatbot-countries-list {
  column-count: 2;
  column-gap: 10px;
  font-size: 12px;
  margin-top: 8px;
}

.av-chatbot-country-item {
  break-inside: avoid;
  color: #2e4b60;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 0;
}

.av-chatbot-country-item.is-india {
  color: #13795b;
  font-weight: 800;
}

/* ---- Info sections ---- */
.av-chatbot-info-grid {
  display: grid;
  gap: 7px;
  margin-top: 6px;
}

.av-chatbot-info-row {
  align-items: flex-start;
  background: #f4f9fd;
  border: 1px solid #daeaf5;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

.av-chatbot-info-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
  width: 22px;
}

.av-chatbot-info-text strong {
  color: #0a2637;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.av-chatbot-info-text span {
  color: #3e5d73;
  font-size: 12px;
  line-height: 1.4;
}

/* Product care tips */
.av-chatbot-tip-grid {
  display: grid;
  gap: 7px;
  margin-top: 6px;
}

.av-chatbot-tip-card {
  align-items: flex-start;
  background: #f4f9fd;
  border: 1px solid #d9eaf5;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  padding: 9px 12px;
}

.av-chatbot-tip-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
  width: 22px;
}

.av-chatbot-tip-text strong {
  color: #0a2637;
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 2px;
}

.av-chatbot-tip-text p {
  color: #3e5d73;
  font-size: 12px;
  line-height: 1.42;
  margin: 0;
}

/* Compare */
.av-chatbot-compare-grid {
  display: grid;
  font-size: 12px;
  gap: 0;
  margin-top: 8px;
  overflow-x: auto;
}

.av-chatbot-compare-row {
  border-bottom: 1px solid #e2edf6;
  display: grid;
  gap: 4px;
  padding: 5px 0;
}

.av-chatbot-compare-label {
  color: #5b7a91;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.av-chatbot-compare-values {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.av-chatbot-compare-value {
  color: #0a2637;
  font-weight: 700;
}

/* Support */
.av-chatbot-contact-grid {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.av-chatbot-contact-item {
  align-items: center;
  background: #f4f9fd;
  border: 1px solid #d6e7f2;
  border-radius: 12px;
  color: inherit;
  display: flex;
  gap: 10px;
  padding: 11px 13px;
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.av-chatbot-contact-item:hover {
  background: #e6f4fc;
  border-color: #99cadf;
  text-decoration: none;
}

.av-chatbot-contact-icon {
  align-items: center;
  background: #eef6fd;
  border: 1px solid #cde0ef;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.av-chatbot-contact-icon svg {
  color: #0f6b9c;
  height: 16px;
  width: 16px;
}

.av-chatbot-contact-text strong {
  color: #0a2637;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.av-chatbot-contact-text span {
  color: #3e5d73;
  font-size: 11.5px;
}

/* Points list */
.av-chatbot-points {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.av-chatbot-point {
  align-items: center;
  background: #eaf4fb;
  border: 1px solid #c4def1;
  border-radius: 999px;
  color: #0d3f5c;
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 700;
  gap: 5px;
  padding: 4px 10px;
}

.av-chatbot-point::before {
  color: #149bd7;
  content: "✓";
  font-weight: 900;
}

/* Note/Callout box */
.av-chatbot-note {
  background: rgba(20, 155, 215, 0.07);
  border: 1px solid rgba(20, 155, 215, 0.22);
  border-radius: 10px;
  color: #0a3a58;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 10px;
  padding: 10px 12px;
}

/* ---- Mobile (full-screen) ---- */
@media (max-width: 639px) {
  .av-chatbot-launcher {
    bottom: 16px;
    right: 16px;
    height: 50px;
    width: 50px;
  }

  .av-chatbot-panel {
    border-radius: 0;
    bottom: 0;
    inset: 0;
    max-height: 100%;
    right: 0;
    width: 100%;
  }

  .av-chatbot-panel.is-opening {
    animation: av-chatbot-panel-slide-up 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes av-chatbot-panel-slide-up {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .av-chatbot-header {
    border-radius: 0;
    padding-top: max(14px, env(safe-area-inset-top, 14px));
  }

  .av-chatbot-footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  }

  .av-chatbot-messages {
    padding: 14px 12px 8px;
  }

  .av-chatbot-product-card-inner {
    gap: 12px;
  }

  .av-chatbot-product-img {
    height: 80px;
    width: 62px;
  }

  body.av-chatbot-open {
    overflow: hidden;
  }
}

/* ---- Tablet ---- */
@media (min-width: 640px) and (max-width: 1023px) {
  .av-chatbot-panel {
    width: 360px;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .av-chatbot-panel.is-opening,
  .av-chatbot-panel.is-closing,
  .av-chatbot-launcher,
  .av-chatbot-qr {
    animation: none;
    transition: none;
  }

  .av-chatbot-typing span {
    animation: none;
    background: #149bd7;
  }
}
