.grwp-ew-placeholder {
  padding: 40px 20px !important;
  text-align: center !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  background: #f9fafb !important;
  border: 2px dashed #d1d5db !important;
  border-radius: 12px !important;
}

.grwp-ew-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif !important;
  border: 0 solid transparent !important;
  overflow: hidden !important;
}

.grwp-ew-row {
  display: flex !important;
  gap: 16px !important;
  align-items: stretch !important;
}

/* ---- AI Card ---- */
.grwp-ew-ai-card {
  width: 280px !important;
  min-width: 280px !important;
  flex-shrink: 0 !important;
  background: #f7f5ff !important;
  border: 1px solid #e0e7ff !important;
  border-radius: 14px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.grwp-ew-ai-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.grwp-ew-ai-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
}

.grwp-ew-ai-icon svg {
  stroke: #7c3aed !important;
}

.grwp-ew-ai-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #6d28d9 !important;
  margin: 0 !important;
}

.grwp-ew-ai-text {
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: #374151 !important;
}

.grwp-ew-ai-read-more {
  display: none !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #7c3aed !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  text-decoration: underline !important;
  line-height: 1 !important;
  text-align: left !important;
  align-self: flex-start !important;
}

/* ---- Carousel ---- */
.grwp-ew-carousel {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.grwp-ew-track {
  display: flex !important;
  gap: 16px !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth !important;
  flex: 1 !important;
}

/* ---- Review Card ---- */
.grwp-ew-card {
  flex: 0 0 calc(25% - 12px) !important;
  min-width: 0 !important;
  max-height: 280px !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  transition: opacity .3s ease !important;
  overflow: hidden !important;
}

.grwp-ew-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.grwp-ew-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  flex-shrink: 0 !important;
}

.grwp-ew-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.grwp-ew-name {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.grwp-ew-date {
  font-size: 11px !important;
  color: #9ca3af !important;
}

.grwp-ew-stars {
  display: flex !important;
  gap: 2px !important;
}

.grwp-ew-stars .grwp-star {
  font-size: 16px !important;
  color: #d1d5db !important;
}

.grwp-ew-stars .grwp-star.filled {
  color: #FBBC05 !important;
}

.grwp-ew-text {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #6b7280 !important;
  margin: 0 !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.grwp-ew-text::-webkit-scrollbar {
  display: none !important;
}

/* ---- Dots ---- */
.grwp-ew-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 12px 0 0 !important;
}

.grwp-ew-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: 1.5px solid #7c3aed !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background .2s ease !important;
}

.grwp-ew-dot.active {
  background: #7c3aed !important;
}

/* ---- Footer ---- */
.grwp-ew-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 0 0 !important;
  margin-top: 12px !important;
  border-top: 1px solid #e5e7eb !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.grwp-ew-biz {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.grwp-ew-biz-photo {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.grwp-ew-biz-initials {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.grwp-ew-biz-meta {
  display: flex !important;
  flex-direction: column !important;
}

.grwp-ew-biz-meta strong {
  font-size: 13px !important;
  color: #1f2937 !important;
}

.grwp-ew-biz-meta > span {
  font-size: 11px !important;
  color: #6b7280 !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.grwp-ew-biz-meta > span .grwp-star {
  font-size: 12px !important;
  color: #d1d5db !important;
}

.grwp-ew-biz-meta > span .grwp-star.filled {
  color: #FBBC05 !important;
}

.grwp-ew-rating-val {
  color: #6b7280 !important;
}

.grwp-ew-review-count {
  color: #6b7280 !important;
}

.grwp-ew-review-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1.5px solid #7c3aed !important;
  color: #7c3aed !important;
  background: transparent !important;
  transition: all .2s ease !important;
  white-space: nowrap !important;
}

.grwp-ew-review-btn:hover {
  background: #7c3aed !important;
  color: #fff !important;
}

/* ---- Powered By ---- */
.grwp-ew-powered-by {
  text-align: right !important;
  padding: 10px 0 0 !important;
  font-size: 11px !important;
  font-style: italic !important;
  line-height: 1.4 !important;
}

.grwp-ew-powered-by em {
  font-style: italic !important;
}

.grwp-ew-powered-by .grwp-powered-text {
  color: #1f2937 !important;
}

.grwp-ew-powered-by .grwp-brand-link {
  background: linear-gradient(135deg, #7c3aed, #a855f7, #c084fc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: opacity .2s ease !important;
}

.grwp-ew-powered-by .grwp-brand-link:hover {
  opacity: .8 !important;
}

.grwp-ew-powered-by.grwp-dark-bg .grwp-powered-text {
  color: #ffffff !important;
}

.grwp-ew-powered-by.grwp-dark-bg .grwp-brand-link {
  background: linear-gradient(135deg, #a855f7, #c084fc, #e9d5ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .grwp-ew-row {
    flex-direction: column !important;
  }

  .grwp-ew-carousel {
    order: 1 !important;
  }

  .grwp-ew-card {
    flex: 0 0 calc(50% - 8px) !important;
    max-height: 280px !important;
  }

  .grwp-ew-ai-card {
    width: 100% !important;
    min-width: 0 !important;
    order: 2 !important;
    margin-top: 12px !important;
    max-height: 150px !important;
    overflow: hidden !important;
    transition: max-height .3s ease !important;
  }

  .grwp-ew-ai-card.grwp-ew-ai-expanded {
    max-height: none !important;
  }

  .grwp-ew-ai-read-more {
    display: inline-block !important;
    margin-top: auto !important;
  }

  .grwp-ew-ai-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .grwp-ew-ai-card.grwp-ew-ai-expanded .grwp-ew-ai-text {
    -webkit-line-clamp: unset !important;
    display: block !important;
  }

  .grwp-ew-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .grwp-ew-review-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .grwp-ew-powered-by {
    text-align: right !important;
    padding: 8px 0 0 !important;
    font-size: 10px !important;
  }
}
