:root {
  --brand:    #17a2b8;
  --brand-dk: #0d7a8a;
  --brand-lt: #e0f7fa;
  --dark:     #0d2e3f;
}

* { font-family: 'Inter', sans-serif; }
h1, h2, h3, .brand-font { font-family: 'Montserrat', sans-serif; }

/* ── Header ── */
#main-header {
  background: #fff;
  border-bottom: 1px solid #b2dde6;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: all 0.3s ease;
}

/* Header scrolled state - shrink to 80% */
#main-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.12);
}
#main-header.scrolled .max-w-7xl {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  transition: padding 0.3s ease;
}
#main-header.scrolled img {
  height: 2.8rem;
  transition: height 0.3s ease;
}
#main-header.scrolled i {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
#main-header.scrolled span {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
#main-header.scrolled .phone-buttons {
  transform: scale(0.85);
  transition: transform 0.3s ease;
}
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dk);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 4px;
  color: #888;
  text-transform: uppercase;
  margin-top: -4px;
}

/* ── Mobile menu ── */
#mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 998;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

/* ── Top nav ── */
#top-nav {
  background: rgb(8 145 178);
  border-bottom: 1px solid #07768f;
  position: sticky;
  top: 65px;
  z-index: 998;
  transition: all 0.3s ease;
}
#top-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 14px 16px;
  display: inline-block;
  transition: all .3s;
  white-space: nowrap;
}
#top-nav a:hover { 
  color: #ffffff;
  background: var(--brand);
}

/* Dropdown */
.nav-item { position: relative; display: inline-block; }
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border: 1px solid #b2dde6;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 10000;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
}
.dropdown-menu a {
  display: block !important;
  width: 100%;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .5px;
  color: #0d2e3f !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e0f2f5;
  text-transform: none;
  font-weight: 500;
  white-space: nowrap;
  transition: all .3s;
  clear: both;
  float: none;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { 
  background: var(--brand-lt) !important; 
  color: var(--brand-dk) !important;
  padding-left: 24px;
}

/* ── Hero ── */
.hero-slide {
  position: relative;
  line-height: 0;
}
.hero-slide img {
  width: 100%;
  display: block;
}

/* ── Section titles ── */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ── Category cards ── */
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  border: 2px solid #b2dde6;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .3s ease;
}
.cat-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(23,162,184,.15);
  transform: translateY(-2px);
}
.cat-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-label {
  color: #1a1a1a;
  text-align: center;
  padding: 10px 8px 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Product card ── */
.prod-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d0eef4;
  transition: box-shadow .25s, transform .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.prod-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.prod-card .p-4 {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-card .p-4 > .flex:last-child {
  margin-top: auto;
}
.prod-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.prod-badge-hot {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #ff9800, #ff6f00);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
  animation: pulse-hot 2s ease-in-out infinite;
}
@keyframes pulse-hot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.6);
  }
}
.prod-badge-new {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
  animation: pulse-new 2s ease-in-out infinite;
}
@keyframes pulse-new {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.6);
  }
}
.social-proof {
  background: rgba(23, 162, 184, 0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(23, 162, 184, 0.2);
}
.social-proof i {
  font-size: 12px;
}
.brand-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-dk);
  border: 1px solid var(--brand);
  padding: 2px 8px;
  border-radius: 99px;
  display: inline-block;
}
.btn-buy {
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
}
.btn-buy:hover { background: #b91c1c; }

/* ── Add to cart icon button ── */
.btn-add-cart {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}
.btn-add-cart:hover { 
  background: var(--brand-dk);
  transform: scale(1.05);
}

/* ── Service cards ── */
.svc-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 180px;
  cursor: pointer;
}
.svc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.svc-card:hover img { transform: scale(1.07); }
.svc-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

/* ── Back-to-top ── */
#back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--brand-dk);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 9999;
  transition: opacity .3s;
}

/* ── Flash sale badge ── */
.flash-badge {
  background: linear-gradient(135deg, #ff6b35, #f7c59f);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── Out of stock overlay ── */
.oos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.oos-text {
  background: #888;
  color: #fff;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ── Carousel dots  ── */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.hero-dot.active { background: #fff; }

/* ── Testimonials Carousel (Swiper) ── */
#testimonials-carousel {
  position: relative;
  min-height: 500px;
}

.testimonials-swiper {
  padding: 0 60px 60px;
}

.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Make all cards same height */
.swiper-slide > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.swiper-slide .flex.flex-col.items-center {
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiper-slide .italic {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Navigation Buttons */
.testimonial-button-prev,
.testimonial-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  color: #17a2b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-button-prev:hover,
.testimonial-button-next:hover {
  background: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-button-prev {
  left: 0;
}

.testimonial-button-next {
  right: 0;
}

.testimonial-button-prev.swiper-button-disabled,
.testimonial-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Pagination */
.testimonial-pagination {
  position: relative;
  margin-top: 32px;
  text-align: center;
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d1d5db;
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet:hover {
  background: #5eead4;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background: #17a2b8;
  width: 32px;
  border-radius: 8px;
}

/* Mobile: show 1 slide */
@media (max-width: 767px) {
  .testimonials-swiper {
    padding: 0 0 60px;
  }
  
  .testimonial-button-prev,
  .testimonial-button-next {
    width: 40px;
    height: 40px;
  }
  
  .swiper-slide .flex.flex-col.items-center {
    height: 440px;
  }
}

/* Tablet: show 2 slides */
@media (min-width: 768px) and (max-width: 1023px) {
  .swiper-slide .flex.flex-col.items-center {
    height: 460px;
  }
}

/* Smooth hover effect on testimonial cards */
.swiper-slide .bg-white {
  transition: all 0.3s ease;
}

/* ── Footer ── */
#main-footer {
  background: var(--dark);
  border-top: 3px solid var(--brand);
  color: #94a3b8;
}
.footer-inner {
  padding-top: 56px;
}
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23,162,184,.25);
}
.footer-desc {
  font-size: 12px;
  line-height: 1.8;
  color: #64748b;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  transition: color .2s, padding-left .2s;
}
.footer-link:hover {
  color: var(--brand);
  padding-left: 4px;
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  transition: color .2s;
}
.footer-contact-link i {
  color: var(--brand);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.footer-contact-link:hover { color: #e0f7fa; }
.footer-tag {
  font-size: 10px;
  background: rgba(23,162,184,.15);
  color: var(--brand);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 2px;
}
.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(23,162,184,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.footer-social:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.bct-badge {
  font-size: 11px;
  color: #64748b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 6px 10px;
  transition: color .2s;
}
.bct-badge:hover { color: #94a3b8; }
.footer-bottom {
  background: #071826;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  color: #475569;
}

/* ── Mini cart badge ── */
.cart-badge {
  background: var(--brand-dk);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
}

/* ══════════════════════════════════════════
   n8n Chat Widget Customization
════════════════════════════════════════════ */
:root {
  /* Chat colors matching brand */
  --chat--color--primary: #17a2b8;
  --chat--color--primary-shade-50: #0d7a8a;
  --chat--color--primary--shade-100: #0a5f6d;
  --chat--color--secondary: #17a2b8;
  --chat--color-secondary-shade-50: #0d7a8a;
  
  /* Toggle button */
  --chat--toggle--background: var(--brand);
  --chat--toggle--hover--background: var(--brand-dk);
  --chat--toggle--size: 60px;
  
  /* Header */
  --chat--header--background: var(--dark);
  --chat--header--color: #fff;
  
  /* Messages */
  --chat--message--bot--background: #f8f9fa;
  --chat--message--bot--color: #1f2937;
  --chat--message--user--background: var(--brand);
  --chat--message--user--color: #fff;
  
  /* Input */
  --chat--input--border-active: 2px solid var(--brand);
  --chat--input--send--button--color: var(--brand);
  --chat--input--send--button--color-hover: var(--brand-dk);
  
  /* Buttons */
  --chat--button--background--primary: var(--brand);
  --chat--button--background--primary--hover: var(--brand-dk);
}

/* Chat Launcher Button - AI Bot Avatar Style */
.chat-launcher {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #17a2b8 0%, #0d7a8a 100%) !important;
  box-shadow: 0 8px 24px rgba(23, 162, 184, 0.4) !important;
  border: 3px solid #e0f7fa !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 9998 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: chat-pulse 2s ease-in-out infinite;
}

.chat-launcher:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 32px rgba(23, 162, 184, 0.6) !important;
  animation: none !important;
}

/* AI Bot Avatar Icon */
.chat-launcher::before {
  content: '' !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background-image: url('images/chatbot.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 50% !important;
}

/* Hide default icon */
.chat-launcher svg,
.chat-launcher img {
  display: none !important;
}

/* Pulse animation for chat button */
@keyframes chat-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(23, 162, 184, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(23, 162, 184, 0.7);
  }
}

/* Chat Window / Box Customization */
#n8n-chat,
.chat-window,
[class*="chat-window"] {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 48px rgba(13, 122, 138, 0.3) !important;
}

/* Chat Header */
.chat-header,
[class*="chat-header"] {
  background: linear-gradient(135deg, #0d2e3f 0%, #17a2b8 100%) !important;
  color: #fff !important;
  padding: 20px !important;
  border-radius: 16px 16px 0 0 !important;
}

.chat-header h3,
.chat-header .title {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

.chat-header .subtitle {
  color: #e0f7fa !important;
  font-size: 13px !important;
  opacity: 0.9 !important;
}

/* Chat Messages Container */
.chat-messages,
.messages-container,
[class*="messages"] {
  background: #f8fafc !important;
  padding: 16px !important;
}

/* Bot Messages */
.message.bot,
.bot-message,
[class*="bot-message"] {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid #e0f7fa !important;
  border-radius: 12px 12px 12px 4px !important;
  padding: 12px 16px !important;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.08) !important;
}

/* User Messages */
.message.user,
.user-message,
[class*="user-message"] {
  background: linear-gradient(135deg, #17a2b8 0%, #0d7a8a 100%) !important;
  color: #ffffff !important;
  border-radius: 12px 12px 4px 12px !important;
  padding: 12px 16px !important;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2) !important;
}

/* Chat Input Area */
.chat-input-container,
.input-container,
[class*="input"] {
  background: #ffffff !important;
  border-top: 2px solid #e0f7fa !important;
  padding: 16px !important;
}

.chat-input,
input[type="text"].chat-input,
textarea.chat-input {
  background: #f8fafc !important;
  border: 2px solid #b2dde6 !important;
  border-radius: 24px !important;
  padding: 12px 20px !important;
  color: #1f2937 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

.chat-input:focus {
  border-color: #17a2b8 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1) !important;
}

/* Send Button */
.send-button,
button.send,
[class*="send-button"] {
  background: linear-gradient(135deg, #17a2b8 0%, #0d7a8a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.send-button:hover {
  background: linear-gradient(135deg, #0d7a8a 0%, #0a5f6d 100%) !important;
  transform: scale(1.05) !important;
}

/* Scrollbar customization */
.chat-messages::-webkit-scrollbar,
[class*="messages"]::-webkit-scrollbar {
  width: 8px !important;
}

.chat-messages::-webkit-scrollbar-track,
[class*="messages"]::-webkit-scrollbar-track {
  background: #f1f5f9 !important;
}

.chat-messages::-webkit-scrollbar-thumb,
[class*="messages"]::-webkit-scrollbar-thumb {
  background: #17a2b8 !important;
  border-radius: 4px !important;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
[class*="messages"]::-webkit-scrollbar-thumb:hover {
  background: #0d7a8a !important;
}

/* Typing indicator */
.typing-indicator {
  display: flex !important;
  gap: 4px !important;
  padding: 12px !important;
}

.typing-indicator span {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #17a2b8 !important;
  animation: typing 1.4s ease-in-out infinite !important;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s !important;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s !important;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0) !important;
    opacity: 0.7 !important;
  }
  30% {
    transform: translateY(-8px) !important;
    opacity: 1 !important;
  }
}

/* ══════════════════════════════════════════
   Floating Action Buttons
════════════════════════════════════════════ */
.floating-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.fb-btn {
  background: #1877f2;
  animation: phone-ring 1.5s ease-in-out infinite;
}

.fb-btn:hover {
  background: #145dbf;
  animation: none;
}

.tiktok-btn {
  background: #000000;
  animation: phone-ring 1.5s ease-in-out infinite;
}

.tiktok-btn:hover {
  background: #333333;
  animation: none;
}

.youtube-btn {
  background: #FF0000;
  animation: phone-ring 1.5s ease-in-out infinite;
}

.youtube-btn:hover {
  background: #cc0000;
  animation: none;
}

.zalo-btn {
  background: #0068FF;
}

.zalo-btn:hover {
  background: #0052cc;
}

.phone-btn {
  background: #E53E3E;
  animation: phone-ring 1.5s ease-in-out infinite;
}

.phone-btn:hover {
  background: #c53030;
  animation: none;
}

.chat-btn {
  background: linear-gradient(135deg, #FF6B9D 0%, #C239B3 100%);
  animation: phone-ring 1.5s ease-in-out infinite;
}

.chat-btn:hover {
  background: linear-gradient(135deg, #ff5a8d 0%, #b02ea3 100%);
  animation: none;
}

/* Animation keyframes */
@keyframes phone-ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e0e0e0;
}

.sticky-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.sticky-bar-btn i {
  font-size: 20px;
  margin-bottom: 2px;
}

.sticky-bar-btn.call-btn {
  background: linear-gradient(135deg, #E53E3E 0%, #c53030 100%);
}

.sticky-bar-btn.call-btn:hover {
  background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
}

.sticky-bar-btn.zalo-btn {
  background: linear-gradient(135deg, #0068FF 0%, #0052cc 100%);
}

.sticky-bar-btn.zalo-btn:hover {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .floating-buttons {
    right: 10px;
    gap: 10px;
    bottom: 80px; /* Move up to avoid overlapping with sticky bar */
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  /* Show mobile sticky bar on mobile devices */
  .mobile-sticky-bar {
    display: grid;
  }
  
  /* Adjust chat launcher on mobile */
  .chat-launcher {
    bottom: 90px !important; /* Move up to avoid overlapping with sticky bar */
  }
}
