/* ==========================================================================
   BestPrice Travel Style Design System for HP China Tour
   Theme: Vibrant Orange & Warm White Luxury Layout
   ========================================================================== */

:root {
  --bp-orange: #ff6b00;
  --bp-orange-hover: #e05d00;
  --bp-orange-light: #fff5ed;
  --bp-red-badge: #ea580c;
  --bp-dark: #1e293b;
  --bp-gray-text: #64748b;
  --bp-light-gray: #f8fafc;
  --bp-border: #e2e8f0;
  --bp-gold: #f59e0b;
  --bp-green: #10b981;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 30px rgba(255, 107, 0, 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--bp-dark);
  background-color: var(--bp-light-gray);
  line-height: 1.5;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Navigation Bar */
.top-nav {
  background-color: #fff;
  border-bottom: 1px solid var(--bp-border);
  padding: 8px 0;
}

.top-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  gap: 25px;
}

.top-link {
  color: var(--bp-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: var(--transition);
}

.top-link.active, .top-link:hover {
  color: var(--bp-orange);
  border-bottom: 2px solid var(--bp-orange);
}

.top-link i {
  color: var(--bp-orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hotline-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotline-icon {
  font-size: 1.5rem;
  color: var(--bp-orange);
}

.hotline-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bp-orange);
  display: block;
}

.hotline-sub {
  font-size: 0.75rem;
  color: var(--bp-gray-text);
  display: block;
}

.user-action, .search-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bp-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-dark);
  text-decoration: none;
  transition: var(--transition);
}

.user-action:hover, .search-action:hover {
  background: var(--bp-orange-light);
  color: var(--bp-orange);
}

/* Main Header */
.main-header {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-accent {
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--bp-orange);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--bp-dark);
  letter-spacing: 0.5px;
  background: var(--bp-orange-light);
  padding: 2px 8px;
  border-radius: 6px;
}

.breadcrumb-bar {
  font-size: 0.85rem;
  color: var(--bp-gray-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-bar a {
  color: var(--bp-gray-text);
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  color: var(--bp-orange);
}

/* Hero Banner (BestPrice Autumn Theme) */
.hero-banner {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.85), rgba(255, 107, 0, 0.75)),
              url('https://images.unsplash.com/photo-1508804185872-d7badad00f7d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 60px 0 80px 0;
  color: #fff;
  position: relative;
}

.hero-banner-wrapper {
  max-width: 900px;
}

.banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-heading {
  font-size: 3.2rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  margin-bottom: 12px;
}

.highlight-text {
  color: #fef08a;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subheading {
  font-size: 1.2rem;
  color: #ffedd5;
  margin-bottom: 35px;
}

/* Commitments Bar Floating */
.commitments-bar {
  background: #fff;
  border-radius: 50px;
  padding: 12px 25px;
  display: inline-flex;
  gap: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  color: var(--bp-dark);
}

.commit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.commit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bp-orange-light);
  color: var(--bp-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.commit-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.commit-text strong {
  font-size: 0.85rem;
  color: var(--bp-orange);
  line-height: 1.2;
}

.commit-text span {
  font-size: 0.75rem;
  color: var(--bp-gray-text);
}

/* Trust Bar Ribbon */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--bp-border);
  padding: 16px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.trust-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.trust-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed var(--bp-orange);
  color: var(--bp-orange);
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.trust-icon {
  font-size: 1.5rem;
  color: var(--bp-orange);
}

.trust-item strong {
  color: var(--bp-dark);
  display: block;
}

.trust-item p {
  color: var(--bp-gray-text);
}

.trust-divider {
  width: 1px;
  height: 35px;
  background: var(--bp-border);
}

/* Section Common */
.destinations-section, .tours-listing-section, .why-bestprice {
  padding: 50px 0;
}

.section-title-box {
  margin-bottom: 30px;
}

.section-title-box h2 {
  font-size: 1.8rem;
  color: var(--bp-dark);
  font-weight: 800;
}

.section-title-box p {
  color: var(--bp-gray-text);
  font-size: 0.95rem;
  margin-top: 5px;
}

.promo-sub {
  color: var(--bp-orange) !important;
  font-weight: 600;
}

/* Destination Carousel */
.destination-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.destination-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  scrollbar-width: none;
}

.destination-track::-webkit-scrollbar {
  display: none;
}

.dest-card {
  min-width: 270px;
  height: 320px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  flex-shrink: 0;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover img {
  transform: scale(1.08);
}

.dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}

.dest-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.dest-overlay p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.dest-link {
  font-size: 0.85rem;
  color: var(--bp-orange);
  font-weight: 700;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--bp-border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  color: var(--bp-dark);
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--bp-orange);
  color: #fff;
  border-color: var(--bp-orange);
}

.prev-arrow { left: -15px; }
.next-arrow { right: -15px; }

/* Filter & Sort Bar */
.filter-sort-bar {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.filter-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.select-wrapper {
  position: relative;
  flex: 1;
}

.select-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bp-orange);
  font-size: 0.95rem;
  pointer-events: none;
}

.select-wrapper select {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bp-border);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-dark);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.select-wrapper select:focus {
  border-color: var(--bp-orange);
}

/* Quick Filter Pills */
.filter-pills-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: none;
}

.filter-pills-scroll::-webkit-scrollbar {
  display: none;
}

.pill-btn {
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--bp-border);
  background: var(--bp-light-gray);
  color: var(--bp-dark);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover, .pill-btn.active {
  background: var(--bp-orange);
  color: #fff;
  border-color: var(--bp-orange);
}

/* BestPrice Tour Card Component */
.tours-bestprice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
}

.bp-tour-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--bp-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.bp-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--bp-orange);
}

.bp-card-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.bp-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bp-tour-card:hover .bp-card-img-box img {
  transform: scale(1.06);
}

/* Promo Badges on Image */
.badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bp-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}

.stamp-promo {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Card Body Content */
.bp-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bp-tour-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bp-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
}

.bp-meta-route {
  font-size: 0.825rem;
  color: var(--bp-gray-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-meta-tags {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--bp-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.bp-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.bp-stars {
  color: var(--bp-gold);
  font-size: 0.85rem;
}

.bp-score {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bp-dark);
}

.bp-reviews-count {
  font-size: 0.8rem;
  color: var(--bp-gray-text);
}

/* Departure Dates Pills Section */
.departure-dates-box {
  margin-bottom: 15px;
}

.departure-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bp-gray-text);
  margin-bottom: 6px;
}

.date-pills-grid {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.date-pill {
  padding: 4px 10px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--bp-dark);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: var(--transition);
}

.date-pill:hover, .date-pill.active {
  background: var(--bp-orange-light);
  color: var(--bp-orange);
  border-color: var(--bp-orange);
}

/* Offer highlight line */
.offer-highlight {
  font-size: 0.8rem;
  color: var(--bp-orange);
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Price & Button Footer */
.bp-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed var(--bp-border);
}

.price-col {
  display: flex;
  flex-direction: column;
}

.original-price-strike {
  font-size: 0.8rem;
  color: var(--bp-gray-text);
  text-decoration: line-through;
}

.main-price-orange {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bp-orange);
  line-height: 1.1;
}

.reward-pts {
  font-size: 0.72rem;
  color: var(--bp-gold);
  margin-top: 3px;
  font-weight: 600;
}

.btn-bp-orange {
  background: var(--bp-orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.btn-bp-orange:hover {
  background: var(--bp-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

/* Why BestPrice Section */
.why-bestprice {
  background: #fff;
  border-top: 1px solid var(--bp-border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 25px;
  border-radius: var(--radius-md);
  background: var(--bp-light-gray);
  border: 1px solid var(--bp-border);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bp-orange-light);
  color: var(--bp-orange);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--bp-gray-text);
}

/* Footer BestPrice */
.footer-bestprice {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--bp-orange);
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--bp-orange);
}

.footer-bottom {
  padding: 20px 0;
  font-size: 0.8rem;
}

/* Floating Widgets Right Side */
.floating-widgets {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.widget-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  position: relative;
  transition: var(--transition);
  text-decoration: none;
}

.widget-btn:hover {
  transform: scale(1.1);
}

.bell-btn {
  background: var(--bp-orange);
  color: #fff;
}

.widget-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.calendar-btn {
  background: #fff;
  color: var(--bp-orange);
  border: 1px solid var(--bp-border);
}

.zalo-btn {
  background: #0084ff;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-card.modal-lg {
  max-width: 850px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-heading { font-size: 2.3rem; }
  .commitments-bar { flex-direction: column; border-radius: 16px; gap: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-left { display: none; }
  .filter-controls { flex-direction: column; }
  .tours-bestprice-grid { grid-template-columns: 1fr; }
  .chatbot-window { width: 330px; height: 460px; right: -10px; }
}

/* ==========================================================================
   FLOATING AI CHATBOT 24/7 DESIGN SYSTEM
   ========================================================================== */
.chatbot-widget-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 10000;
  font-family: var(--font-main);
}

.chatbot-launcher-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff6b00 0%, #e05d00 100%);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.chatbot-launcher-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
}

.launcher-icon {
  position: relative;
  font-size: 1.4rem;
}

.online-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
}

.launcher-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.launcher-text strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.launcher-text span {
  font-size: 0.72rem;
  opacity: 0.9;
}

/* Chat Window Box */
.chatbot-window {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  height: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-direction: column;
  overflow: hidden;
  animation: slideUpFade 0.3s ease-out forwards;
}

.chatbot-window.active {
  display: flex;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #ff6b00;
}

.bot-avatar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  width: 36px;
  height: 36px;
  background: #ff6b00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.bot-status-text h4 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.bot-status-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.close-chat-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-chat-btn:hover {
  color: #ff6b00;
}

/* Chat Messages */
.chat-messages-container {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.chat-msg.bot-msg {
  align-self: flex-start;
}

.chat-msg.user-msg {
  align-self: flex-end;
}

.msg-bubble {
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.bot-msg .msg-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 2px;
}

.user-msg .msg-bubble {
  background: #ff6b00;
  color: #ffffff;
  border-top-right-radius: 2px;
}

/* Suggested FAQ Pills inside Chat */
.chat-quick-faqs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chat-quick-faqs button {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  text-align: left;
}

.chat-quick-faqs button:hover {
  border-color: #ff6b00;
  color: #ff6b00;
  background: #fff7ed;
}

/* Form Action Button inside Chat Bubble */
.chat-buy-action-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: #ff6b00;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}

.chat-buy-action-btn:hover {
  transform: scale(1.03);
  background: #e05d00;
}

/* Chat Input Bar */
.chat-input-bar {
  display: flex;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  gap: 8px;
}

.chat-input-bar input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.88rem;
  outline: none;
}

.chat-input-bar input:focus {
  border-color: #ff6b00;
}

.chat-input-bar button {
  width: 36px;
  height: 36px;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-input-bar button:hover {
  background: #e05d00;
}
