:root {
  --glz-accent: #cb342d;
  --glz-accent-2: #e85d54;
  --glz-soft: #ffe5e3;
  --glz-pink-bg: #fff0ef;
  --glz-white: #fff;
  --glz-border: #e5e5e5;
  --glz-gray: #f9f9f9;
  --glz-dark: #2d2d2d;
  --muted: #6b7280;
  --glz-radius: 20px;
  --glz-radius-sm: 6px;
  --glz-radius-md: 12px;
  --glz-radius-lg: 16px;
  --glz-radius-xl: 24px;
  --glz-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --glz-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --glz-gradient-main: linear-gradient(to right, #d81e16 0%, #ff8c87 100%);
  --glz-gradient-bubble-assistant: linear-gradient(
    to right,
    #ffc8ca 0%,
    #fff1d2 100%
  );
  --glz-gradient-bubble-user: linear-gradient(
    to left,
    #ffc8ca 0%,
    #fff1d2 100%
  );
  --glz-gradient-chip: linear-gradient(135deg, #fff8f7 0%, #fff8f7 100%);
  --glz-shadow-lg: 0 10px 40px rgba(203, 52, 45, 0.15);
}

* {
  box-sizing: border-box;
}

.glz-btn,
.widget-menu-btn,
.widget-close,
.send-btn,
.btn-wishlist {
  border: 0;
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  place-items: center;
}
.glz-flex {
  display: flex;
  align-items: center;
}
.glz-card {
  background: var(--glz-white);
  border-radius: var(--glz-radius-lg);
  box-shadow: var(--glz-shadow-md);
}
.glz-border {
  border: 1px solid var(--glz-border);
}
.glz-radius-sm {
  border-radius: var(--glz-radius-sm);
}
.glz-radius-md {
  border-radius: var(--glz-radius-md);
}
.glz-radius-lg {
  border-radius: var(--glz-radius-lg);
}
.glz-radius-xl {
  border-radius: var(--glz-radius-xl);
}

#gluzo-assist-root {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  transition:
    left 0.3s ease,
    right 0.3s ease !important;
}
#gluzo-assist-root.position-left {
  left: 20px !important;
  right: auto !important;
}

.gluzo-widget-root {
  position: relative;
  width: 360px;
  min-width: 300px;
  max-width: 500px;
  height: 480px;
  min-height: 400px;
  max-height: 600px;
  z-index: 9999999;
  resize: none;
  overflow: visible;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.widget-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--glz-radius-xl);
  overflow: visible;
  background: var(--glz-white);
  border: 4px solid transparent;
  background:
    linear-gradient(var(--glz-white), var(--glz-white)) padding-box,
    var(--glz-gradient-main) border-box;
}

.resize-handle {
  position: absolute;
  background: transparent;
  z-index: 10;
  transition: background 0.2s ease;
}
.resize-handle-top {
  top: -4px;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
  border-radius: 4px 4px 0 0;
}
.resize-handle-left {
  top: 0;
  left: -4px;
  bottom: 0;
  width: 8px;
  cursor: ew-resize;
  border-radius: 4px 0 0 4px;
}
.resize-handle-right {
  top: 0;
  right: -4px;
  bottom: 0;
  width: 8px;
  cursor: ew-resize;
  border-radius: 0 4px 4px 0;
}
.resize-handle:hover {
  background: rgba(203, 52, 45, 0.2);
}
.resize-handle:active {
  background: rgba(203, 52, 45, 0.3);
}
.gluzo-widget-root.collapsed .resize-handle {
  display: none;
}
.gluzo-widget-root.resizing {
  transition: none;
}
.gluzo-widget-root.resizing .widget-card {
  box-shadow: 0 8px 32px rgba(203, 52, 45, 0.2);
}
.gluzo-widget-root.resizing .resize-handle {
  background: rgba(203, 52, 45, 0.3) !important;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glz-gradient-main);
  color: var(--glz-white);
  gap: 8px;
  z-index: 1;
  padding: 0 0 20px 5px;
  min-height: 56px;
  border-radius: var(--glz-radius) var(--glz-radius) 0 0;
  position: relative;
}
.widget-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.widget-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--glz-white);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.widget-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.widget-menu-btn {
  width: 26px;
  height: 26px;
  margin-top: 7px !important;
  border-radius: var(--glz-radius-sm);
  background: transparent;
  color: var(--glz-white);
  font-size: 15px;
}
.widget-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  opacity: 0.85;
}
.widget-close:hover {
  opacity: 1;
}

.widget-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--glz-white);
  border-radius: var(--glz-radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  min-width: 160px;
  margin-top: 5px;
}
.position-left .widget-dropdown {
  right: 0;
  left: auto;
}
.widget-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.widget-dropdown-item {
  padding: 8px 10px;
  color: var(--glz-dark);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  position: relative;
  z-index: 1;
}
.widget-dropdown-item:last-child {
  border-bottom: none;
}
.widget-dropdown-item:hover {
  background: #f9f9f9;
}

.widget-body {
  background: var(--glz-white) !important;
  padding: 7px;
  padding-bottom: 80px;
  height: calc(100% - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  flex: 1;
  border-radius: 20px;
  margin-top: -17px;
  z-index: 2;
}
.widget-body::-webkit-scrollbar {
  display: none;
}

.message {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.message.typing {
  margin-bottom: 6px;
  margin-top: 10px;
}
.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 36px;
  background: var(--glz-white);
  border: 2px solid var(--glz-white);
}
.msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bubble {
  background: var(--glz-white);
  border-radius: var(--glz-radius-lg);
  padding: 12px 14px;
  max-width: 100%;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: 0.3px;
  color: var(--glz-dark);
}
.bubble.assistant {
  background: var(--glz-gradient-bubble-assistant);
  border-radius: var(--glz-radius-lg) var(--glz-radius-lg) var(--glz-radius-lg)
    4px;
  border: 1px solid #fff1d2;
  box-shadow: var(--glz-shadow-sm);
}
.bubble.user {
  background: var(--glz-gradient-bubble-user);
  border: 1px solid #fff1d2;
  margin-left: auto;
  border-radius: var(--glz-radius-lg) var(--glz-radius-lg) 4px
    var(--glz-radius-lg);
  box-shadow: var(--glz-shadow-sm);
}

.msg-timestamp {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  font-weight: 500;
}
.saying {
  display: block;
  color: var(--glz-dark);
  margin-bottom: 4px;
}
.muted {
  display: block;
  color: var(--glz-dark);
  margin-top: 14px;
}

.chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.chips .chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  letter-spacing: 0.3px;
  background: var(--glz-gradient-chip);
  border-radius: var(--glz-radius);
  padding: 8px 14px;
  border: 1px solid var(--glz-border);
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s;
  color: var(--glz-dark);
  text-align: left;
  width: 100%;
}
.chip:hover {
  border-color: var(--glz-accent);
  background: var(--glz-soft);
}

.assistant-products {
  margin: 0 -16px 14px -16px;
  padding: 12px 16px;
  background: #ffdbdb;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  overflow: visible;
}
.assistant-products .product-cards-wrapper {
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.assistant-products .product-cards {
  padding: 8px 8px 12px;
  gap: 12px;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-cards-wrapper {
  position: relative;
  margin-top: 12px;
}
.product-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.product-cards::-webkit-scrollbar {
  display: none;
}

.product-card,
.gluzo-widget-root .assistant-products .product-card {
  background: var(--glz-white);
  border-radius: var(--glz-radius-lg);
  padding: 10px;
  min-width: 170px;
  max-width: 170px;
  flex-shrink: 0;
  border: 1px solid rgba(203, 52, 45, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.product-card.out-of-stock {
  opacity: 0.7;
}

.product-thumb {
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--glz-white);
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
}

.product-brand {
  font-size: 10px;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.product-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 30px;
  color: var(--glz-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.product-title a.pdp-link {
  color: var(--glz-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.product-title a.pdp-link:hover {
  color: var(--glz-accent);
}

.product-price-row,
.price-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.product-price {
  font-weight: 700;
  color: var(--glz-accent);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.original-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
  line-height: 1;
  margin-left: 2px;
}
.discount-badge {
  display: inline-block;
  background: transparent;
  color: #22c55e;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  margin-left: 2px;
}

.product-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}
.add-cart-btn {
  border: none;
  flex: 1;
  background: var(--glz-accent);
  color: var(--glz-white);
  border-radius: 50px;
  padding: 5px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.add-cart-btn:hover {
  background: #b02d28;
}
.add-cart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-wishlist {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  border: 1px solid var(--glz-border);
  background: var(--glz-white);
  color: #d81e16;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-wishlist:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: scale(1.05);
}
.btn-wishlist.wishlisted {
  color: #ff6b6b;
  background: #ffe5e5;
  border-color: #ff6b6b;
}
.btn-wishlist.wishlisted:hover {
  background: #ffcccc;
  border-color: #ff4444;
  color: #ff4444;
}
.btn-wishlist.wishlisted i {
  animation: heartBeat 0.3s ease;
}
.btn-wishlist i.fa-regular {
  color: #d81e16;
}
.btn-wishlist i.fa-solid {
  color: #ff6b6b;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.reaction-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.reaction-btn {
  background: transparent;
  border: 1px solid var(--glz-border);
  border-radius: 16px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 32px;
  justify-content: center;
}
.reaction-btn:hover {
  border-color: var(--glz-accent);
  color: var(--glz-accent);
  background: rgba(203, 52, 45, 0.05);
}
.reaction-btn.active {
  border-color: var(--glz-accent);
  color: var(--glz-accent);
  background: rgba(203, 52, 45, 0.1);
}
.reaction-btn i,
.widget-menu-btn i,
.widget-close i,
.widget-dropdown-item i,
.send-btn i {
  font-family:
    "Font Awesome 6 Free", "Font Awesome 5 Free", Arial, sans-serif !important;
  font-weight: 900 !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.reaction-btn .fa-thumbs-down {
  color: inherit !important;
}

.fa-ellipsis.fa-beat,
.fa-solid.fa-ellipsis.fa-beat {
  animation: fa-beat 1.5s ease-in-out infinite !important;
}
@keyframes fa-beat {
  0%,
  90% {
    opacity: 1;
  }
  45% {
    opacity: 0.3;
  }
}

.follow-up-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.follow-up-questions {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  padding: 4px 0 8px 0;
  width: 100%;
}
.follow-up-btn {
  background: var(--glz-gradient-chip);
  border: 1px solid var(--glz-border);
  border-radius: var(--glz-radius);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--glz-dark);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  text-align: left;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
.follow-up-btn:hover {
  border-color: var(--glz-accent);
  background: var(--glz-soft);
}

.view-all-container {
  display: flex;
  justify-content: center;
  margin-top: 8px !important;
  padding-top: 0 !important;
}
.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--glz-accent);
  color: var(--glz-white);
  text-decoration: none;
  border-radius: var(--glz-radius);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(203, 52, 45, 0.25);
  border: none;
  cursor: pointer;
}
.view-all-btn:hover {
  background: #b02d28;
  box-shadow: 0 4px 12px rgba(203, 52, 45, 0.35);
  transform: translateY(-1px);
}

.widget-footer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-radius: 0 0 var(--glz-radius-xl) var(--glz-radius-xl);
  pointer-events: none;
}
.widget-footer > * {
  pointer-events: auto;
}

.input {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f7f7f7;
  border-radius: var(--glz-radius-xl);
  padding: 8px 14px;
  border: 1px solid var(--glz-border);
  transition: all 0.2s;
}
.input:focus-within {
  border-color: var(--glz-accent);
  background: #fff;
}
.image-preview-container {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.preview-thumb {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--glz-border);
  background: #fff;
  flex-shrink: 0;
}
.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.remove-preview {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  font-size: 9px;
  cursor: pointer;
  transition: background 0.2s;
}
.remove-preview:hover {
  background: rgba(0, 0, 0, 0.9);
}

.input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.input button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: grid;
  place-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.input button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.input button i {
  font-size: 16px;
  color: var(--muted);
}
.input button:hover {
  color: var(--glz-accent);
}
.input textarea {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  resize: none;
  font-size: 14px;
  font-family: inherit;
  min-height: 24px;
  max-height: 100px;
  padding: 4px 0;
  color: var(--glz-dark);
}
.input textarea::placeholder {
  color: #9ca3af;
}

.send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glz-accent);
  color: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(203, 52, 45, 0.3);
  flex-shrink: 0;
}
.send-btn:hover {
  background: #b02d28;
  box-shadow: 0 6px 16px rgba(203, 52, 45, 0.4);
  color: #fff;
}
.send-btn:active {
  transform: scale(0.95);
}
.send-btn i {
  opacity: 0.9;
}

.gluzo-widget-root.collapsed {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  transform: scale(1);
}
.gluzo-widget-root:not(.collapsed) {
  animation: widgetPopup 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes widgetPopup {
  0% {
    transform: scale(0.3) translateY(20px);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) translateY(-5px);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.gluzo-widget-root.collapsed .widget-card {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(135deg, #ff6b66 0%, #ff8a84 100%);
  border: 3px solid #fff;
  cursor: pointer;
}
.gluzo-widget-root.collapsed .widget-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background: transparent;
}
.gluzo-widget-root.collapsed .widget-header-left::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-image: url("https://www.gluzo.in/wp-content/uploads/2025/10/WhatsApp-Image-2025-10-13-at-1.30.59-PM-1-e1760432825162.jpeg");
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
}
.gluzo-widget-root.collapsed .widget-title,
.gluzo-widget-root.collapsed .widget-actions,
.gluzo-widget-root.collapsed .widget-menu-btn,
.gluzo-widget-root.collapsed .widget-dropdown {
  display: none;
}
.gluzo-widget-root.collapsed .widget-body,
.gluzo-widget-root.collapsed .widget-footer {
  display: none !important;
}

.toast-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--glz-gradient-main);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10000000;
  box-shadow: 0 10px 25px rgba(203, 52, 45, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.context-message {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.thumbs-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--glz-border);
}
.message.typing .bubble {
  padding: 12px 16px;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--glz-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  font-size: 14px;
  color: var(--glz-dark);
}
.scroll-arrow:hover {
  background: var(--glz-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
}
.scroll-arrow-left {
  left: -8px;
}
.scroll-arrow-right {
  right: -8px;
}
.gluzo-widget-root .assistant-products .scroll-arrow-left {
  left: 4px;
}
.gluzo-widget-root .assistant-products .scroll-arrow-right {
  right: 4px;
}

@media (max-width: 420px) {
  #gluzo-assist-root {
    right: 12px !important;
    bottom: 12px !important;
  }
  #gluzo-assist-root.position-left {
    left: 12px !important;
    right: auto !important;
  }
  .gluzo-widget-root {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: calc(100vw - 24px);
  }
  .gluzo-widget-root.collapsed {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }
  .resize-handle-top {
    height: 12px;
    top: -6px;
  }
  .resize-handle-left,
  .resize-handle-right {
    width: 12px;
  }
  .resize-handle-left {
    left: -6px;
  }
  .resize-handle-right {
    right: -6px;
  }
  .product-card {
    min-width: 150px;
    max-width: 150px;
  }
  .product-thumb {
    height: 110px;
  }
  .widget-body {
    height: calc(100% - 56px);
  }
  .scroll-arrow {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .scroll-arrow-left {
    left: -6px;
  }
  .scroll-arrow-right {
    right: -6px;
  }
  .preview-thumb {
    width: 32px;
    height: 32px;
  }

  /* Improve mobile text readability */
  .message-bubble {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  /* Better mobile input */
  .input textarea {
    font-size: 16px !important; /* Prevents iOS zoom */
    line-height: 1.3 !important;
  }

  /* Improve touch targets */
  .send-btn,
  .glz-btn {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

@media (max-width: 360px) {
  .product-card {
    min-width: 140px;
    max-width: 140px;
  }
}
