/* Product detail */
.product-detail-section .breadcrumb a { color: #02569f; text-decoration: none; }
.product-detail-image {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #eef1f5;
}
.product-detail-image img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.product-detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: #02569f;
}
.product-detail-meta {
  background: #f4f8fb;
  padding: 14px 18px;
  border-radius: 8px;
}
.product-detail-desc h5 {
  font-weight: 700;
  margin-bottom: 10px;
}
.product-detail-desc p {
  color: #444;
  line-height: 1.7;
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}
.lang-switch select {
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
  background: #fff;
  color: #02569f;
  cursor: pointer;
}
.footer-lang {
  margin-top: 12px;
}
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }
#google_translate_element { display: none !important; }

/* Chatbot */
.vm-chat-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #02569f;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(2, 86, 159, 0.35);
  cursor: pointer;
}
.vm-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: min(360px, calc(100vw - 30px));
  height: 460px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6edf5;
}
.vm-chat-panel.open { display: flex; }
.vm-chat-head {
  background: linear-gradient(135deg, #02569f, #0670c7);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vm-chat-head strong { font-size: 15px; }
.vm-chat-head button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.vm-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f5f8fb;
}
.vm-msg {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.vm-msg.bot {
  background: #fff;
  border: 1px solid #e7eef6;
  color: #233;
}
.vm-msg.user {
  background: #02569f;
  color: #fff;
  margin-left: auto;
}
.vm-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid #eef2f7;
  background: #fff;
}
.vm-quick button {
  border: 1px solid #cfe0f0;
  background: #f3f8fc;
  color: #02569f;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
.vm-chat-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eef2f7;
  background: #fff;
}
.vm-chat-input input {
  flex: 1;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}
.vm-chat-input button {
  border: none;
  background: #02569f;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 576px) {
  .vm-chat-panel { right: 12px; bottom: 80px; height: 70vh; }
  .vm-chat-toggle { right: 12px; bottom: 16px; }
}
