/* gạch ngang bs tuvan-tĩnh mạch */

.hr-dashed {
  border: none;
  border-top: 2px dashed #999; /* độ dày và màu */
  margin: 20px 0;
}
/*  */
/* Responsive đặt hàng */
@media (max-width: 768px) {
  .answer-wrapper > div {
    flex-wrap: wrap;
  }

  .answer-wrapper > div > div {
    min-width: 100%;
  }

  .answer-text {
    font-size: clamp(14px, 1.05rem, 16px);
    line-height: 1.9;
  }

  button {
    min-width: 120px;
  }

  .box-menu h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .qa-card {
    padding: 1rem;
  }

  .answer-wrapper > div {
    gap: 0.5rem;
  }

  .answer-text {
    font-size: 14px;
  }

  button {
    padding: 6px 12px;
  }
}
/* respo hướng dẫn */
@media (max-width: 576px) {
  .box-menu h1 {
    font-size: 1.2rem;
    padding: 0.5rem;
  }
  .qa-card {
    padding: 1rem !important;
  }
  .answer-text {
    font-size: 0.9rem;
  }
  .product-list {
    margin-left: 0.5rem;
  }
}
.hotline-phone-ring-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999999;
}

.hotline-phone-ring {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 110px;
  height: 110px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility 0馡0.5s;
  left: 0;
  bottom: 0;
  display: block;
}

.hotline-phone-ring-circle {
  width: 85px;
  height: 85px;
  top: 10px;
  left: 10px;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid #007bff; /* Changed to blue */
  -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
  width: 55px;
  height: 55px;
  top: 25px;
  left: 25px;
  position: absolute;
  background-color: rgba(51, 134, 224, 0.7); /* Changed to blue with opacity */
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
  background-color: #4c96e4; /* Changed to blue */
  width: 33px;
  height: 33px;
  top: 37px;
  left: 37px;
  position: absolute;
  background-size: 20px;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-img {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
  width: 20px;
  height: 20px;
}

.hotline-bar {
  position: absolute;
  background: rgba(13, 125, 245, 0.75); /* Changed to blue with opacity */
  height: 40px;
  width: 200px;
  line-height: 40px;
  border-radius: 3px;
  padding: 0 10px;
  background-size: 100%;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  z-index: 9;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px !important;
  left: 33px;
  bottom: 37px;
}

@-webkit-keyframes phonering-alo-circle-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }

  30% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }

  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}
@-webkit-keyframes phonering-alo-circle-fill-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.6;
  }

  100% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
}
@-webkit-keyframes phonering-alo-circle-img-anim {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
}
@media (max-width: 768px) {
  .hotline-bar {
    display: none;
  }
}

/* blog */

.bar-right {
  width: 100%;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.box-menu {
  background: linear-gradient(45deg, var(--brand), var(--brand2));
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.box-menu h2 {
  margin: 0;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

.related-links-container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 100%; /* Đảm bảo container chiếm hết chiều rộng */
}

.blog-mini {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  flex: 2; /* Chiếm 2 phần */
}

.blog-lienket {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  flex: 1; /* Chiếm 1 phần */
}

.blog-mini .tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  border-bottom: 2px solid #ff3333;
  text-align: center;
}

.blog-mini .tabs li {
  display: inline-block;
}

.blog-mini .tabs li a {
  display: block;
  padding: 8px 15px;
  color: #ff3333;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
}

.blog-mini .tabs li a:hover {
  background: #ff3333;
  color: white;
  border-radius: 5px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #e0e0e0;
  transition: border-color 0.3s;
}

.news-list li:hover {
  border-left-color: #ff3333;
}

.news-list li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.news-list li a:hover {
  color: #ff3333;
  text-decoration: underline;
}

.blog-lienket-content {
  padding: 10px 0;
}

.blog-lienket-content select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  background: #f9f9f9;
  transition: border-color 0.3s;
}

.blog-lienket-content select:focus {
  outline: none;
  border-color: #ff3333;
  background: #fff;
}

@media (max-width: 768px) {
  .bar-right {
    width: 100%;
    margin-top: 20px;
  }

  .related-links-container {
    flex-direction: column;
  }

  .blog-mini,
  .blog-lienket {
    flex: 1; /* Trên mobile, cả hai chiếm toàn bộ chiều rộng */
  }
}

.bogoc {
  border-radius: 25px;
}
.bogoc2 {
  border-radius: 20px;
}
.bogoc3 {
  border-radius: 16px;
}
.mauchu {
  color: white;
  font-weight: 500;
}
.mauchu2 {
  color: red;
  font-weight: 400;
}

.top {
  padding-top: 60px;
}
.trochuot:hover {
  cursor: pointer;
}
/* chi tiet */
.css-new {
  line-height: 1.3;
  font-size: 16px;
}
.css-new2 {
  margin-bottom: 0.4rem;
  font-size: inherit;
}
.css-new3 {
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.css-new4 {
  color: blue;
  cursor: pointer;
  display: block;
  margin-bottom: 0.4rem;
  text-align: right;
}
.css-new5 {
  text-align: right;
  padding-top: 24px;
}
/* chi tiet */
/*  */
.tar {
  text-align: right;
}
.cssez {
  margin-bottom: 0.4rem;
  font-size: inherit;
}
.csszz {
  line-height: 1.3;
  font-size: 16px;
}

/*  */

/* CSS LIÊN KẾT TIKTOK, SHOPEE */
.parent {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}

select {
  padding: 10px 30px 10px 10px; /* Padding bên phải lớn hơn để chừa chỗ cho mũi tên */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  background-color: #fff;
  color: #333;
  /* Tùy chỉnh mũi tên dropdown */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M0 3l5 5 5-5H0z" fill="%23333"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); /* Hiệu ứng sáng nhẹ khi focus */
}

.question-form1 .mauchu {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

/* Xếp dọc trên màn hình nhỏ */
@media (max-width: 600px) {
  .parent {
    flex-direction: column;
    align-items: end;
    gap: 10px;
  }
}
/*  */
/*  */
.text {
  color: white;
}
/*  */

/* CSS FORM MODAL GỬI CÂU HỎI */
.question-form {
  display: flex;
  justify-content: flex-end;
  max-width: 500px;
  margin-left: auto;
}

.question-form button {
  padding: 8px 16px;
  background: #ff3333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.question-form button:hover {
  background: #e62e2e;
}

.question-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  width: 90%;
  max-width: 500px;
}

.question-modal.active {
  display: block;
}

.question-modal input,
.question-modal textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
}

.question-modal input:focus,
.question-modal textarea:focus {
  border-color: #e62e2e;
  outline: none;
}

.question-modal textarea {
  height: 100px;
  resize: none;
}

.question-modal .button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.question-modal .button-group button {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.question-modal .button-group .submit-btn {
  background: #ff3333;
  color: white;
}

.question-modal .button-group .submit-btn:hover {
  background: #e62e2e;
}

.question-modal .button-group .cancel-btn {
  background: #ccc;
  color: #333;
}

.question-modal .button-group .cancel-btn:hover {
  background: #b3b3b3;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}
/* CSS FORM MODAL MUA NGAY  */
.question-modal1 {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  display: none;
}

.question-modal1 input,
.question-modal1 select,
.question-modal1 textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.question-modal1 input:focus,
.question-modal1 select:focus,
.question-modal1 textarea:focus {
  border-color: #ff3333;
  outline: none;
}

.question-modal1 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M0 3l5 5 5-5H0z" fill="%23333"/></svg>') no-repeat right 10px center;
  background-size: 10px;
}

.question-modal1 textarea {
  height: 100px;
  resize: vertical;
}

.button-group1 {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cancel-btn1,
.submit-btn1 {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.cancel-btn1 {
  background: #ccc;
  color: #333;
}

.submit-btn1 {
  background: #ff3333;
  color: #fff;
}

.overlay1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.overlay1.active1,
.question-modal1.active1 {
  display: block;
}

/* content sản phẩm hướng dẫn  */
/* Danh sách chính */
.contact-list,
.contact-list .sub-list,
.product-list {
  list-style: none;
  padding-left: 0.5rem;
  margin: 0 0 1.2rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Icon trước mỗi mục chính */
.contact-list > li::before {
  content: '– ';
  color: #555;
  font-weight: bold;
  margin-right: 6px;
}

/* Icon trước mỗi mục phụ (Cách 1, 2, 3...) */
.sub-list > li::before {
  content: '+ ';
  color: #2a8;
  font-weight: bold;
  margin-right: 6px;
}

/* Icon trước các sản phẩm */
.product-list li::before {
  content: '❤️ ';
  margin-right: 6px;
  color: red;
  font-weight: bold;
}

/* Khoảng cách từng dòng li */
.contact-list li,
.sub-list li,
.product-list li {
  margin-bottom: 0.5rem;
}

/* Định dạng link trong danh sách */
.contact-list a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

/*  */
.h5-text {
  margin-bottom: 0.4rem;
  font-size: inherit;
}
.brg {
  background: url(images/banner/breadcrumb.png) no-repeat;
}
/* CSS TRANG ĐẶT HÀNG */
/*  sản phẩm mục đặt hàng */
.product-dathang {
  line-height: 1.3;
  font-size: 16px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* tiêu đề sản phẩm đặt hàng */
.title-h5 {
  margin-bottom: 0.4rem;
  font-size: inherit;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
/*  */
.sanpham {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.4rem;
  align-items: center;
}
.fl1 {
  flex: 1;
}
.img-sp {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.text-sp {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.9;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
.fw6 {
  font-weight: 600;
}
.nut {
  background-color: #ff3333;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}
.nut2 {
  background-color: transparent; /* nền trong suốt */
  color: red; /* màu chữ đỏ */
  border: 1px solid red; /* viền đỏ */
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block; /* cho nút gọn lại */
}

.tieude-form {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}
/* CSS TRANG ĐẶT HÀNG */
/* 4 cục đỏ trang chủ */
#services .row {
  display: flex;
  flex-wrap: wrap;
}

#services .col-lg-3,
#services .col-md-6,
#services .col-sm-6 {
  display: flex; /* để cột co giãn bằng nhau */
}

#services .content-block {
  flex: 1;
  background: #ff3b3b; /* màu nền của bạn */
  border-radius: 15px;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column; /* để nội dung xếp dọc */
  justify-content: center; /* căn giữa theo chiều cao */
  min-height: 300px; /* ép chiều cao tối thiểu bằng nhau */
  transition: transform 0.3s ease;
}

#services .content-block:hover {
  transform: translateY(-8px);
}

#services .content-block i {
  font-size: 48px;
  margin-bottom: 15px;
}

#services h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

#services p {
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase; /* ép chữ in hoa */
}
/* Áp dụng cho màn hình nhỏ hơn hoặc bằng 768px (mobile, tablet) */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden; /* Tắt cuộn ngang */
    overflow-y: scroll; /* Vẫn cho cuộn dọc */
    -ms-overflow-style: none; /* IE và Edge */
    scrollbar-width: none; /* Firefox */
  }

  /* Ẩn scrollbar trên Chrome, Safari */
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
  }
}
/*  */
.zindex {
  z-index: 9999;
}

/* 3 cục đỏ */
.row {
  display: flex;
  flex-wrap: wrap;
}

.row > .col-lg-3 {
  flex: 1; /* mỗi cục chiếm đều */
  max-width: 33.33%; /* chia 3 đều nhau */
}
@media (max-width: 768px) {
  .row > .col-lg-3 {
    max-width: 100%; /* mobile: 1 cục */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .row > .col-lg-3 {
    max-width: 50%; /* tablet: 2 cục */
  }
}

@media (min-width: 1025px) {
  .row > .col-lg-3 {
    max-width: 33.33%; /* desktop: 3 cục */
  }
}
/* đánh giá sản phẩm */

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.testimonial-role {
  color: #777;
  font-size: 14px;
  margin-bottom: 6px;
}

.testimonial-stars {
  color: #f39c12;
  font-size: 18px;
}

.testimonial-text {
  color: #555;
  font-size: 15px;
  margin-top: 12px;
  line-height: 1.6;
}

.testimonial-box::after {
  content: '❞';
  color: #f39c12;
  font-size: 40px;
  position: absolute;
  top: 10px;
  right: 20px;
  opacity: 0.8;
}

/* đánh giá home */
/* Tổng thể */
.feedback-section {
  padding: 50px 20px;
  background-color: #fafafa;
}

/* Tiêu đề */
.feedback-header {
  margin-bottom: 30px;
}
.feedback-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

/* Lưới hiển thị */
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr; /* mặc định 1 cột */
  gap: 25px;
}

/* Khi màn hình to (desktop, laptop): 3 cột */
@media (min-width: 992px) {
  .feedback-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Thẻ đánh giá */
.feedback-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feedback-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Header: ảnh + thông tin */
.feedback-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.feedback-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.feedback-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.feedback-role {
  font-size: 14px;
  color: #777;
  margin: 2px 0 5px;
}
.feedback-stars {
  color: #f8b400;
  font-size: 16px;
}

/* Nội dung đánh giá */
.feedback-text {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* CKEditor image styling for disease content */
.blog-content p img,
.blog-content div img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure images in disease content are centered */
.blog-content .post-images-center img {
  display: block;
  margin: 15px auto;
  max-width: 100%;
  height: auto;
}

/* Image alignment for blog content */
.blog-content img.align-left {
  float: left;
  margin: 10px 20px 10px 0;
}

.blog-content img.align-right {
  float: right;
  margin: 10px 0 10px 20px;
}

.blog-content img.post-images-center {
  display: block;
  margin: 15px auto;
}

.blog-content p:after {
  content: '';
  display: block;
  clear: both;
}

/* CKEditor specific styling */
.cke_editable img {
  max-width: 100%;
  height: auto;
}

.cke_editable .image2 img {
  max-width: 100%;
  height: auto;
}

/* Responsive images in disease content */
@media (max-width: 768px) {
  .blog-content p img,
  .blog-content div img,
  .blog-content .post-images-center img {
    margin: 10px auto;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .blog-content p img,
  .blog-content div img,
  .blog-content .post-images-center img {
    margin: 8px auto;
    border-radius: 4px;
  }
}

/* Sản phẩm gợi ý - viền mờ đỏ */
.suggested-products {
  padding: 0;
}

.suggested-products .product-item {
  background: rgba(255, 255, 255, 0.5);
  border: 2px dashed rgba(255, 0, 0, 0.25);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.suggested-products .product-item:hover {
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
  transform: translateY(-2px);
}

.suggested-products .product-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.suggested-products .product-item h5 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.suggested-products .product-item .desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

.suggested-products .product-item .desc i {
  color: #ff3333;
  margin-right: 5px;
  font-size: 12px;
}

/* Responsive cho sản phẩm gợi ý */
@media (max-width: 768px) {
  .suggested-products .product-item {
    padding: 15px;
  }

  .suggested-products .product-item h5 {
    font-size: 15px;
  }

  .suggested-products .product-item .desc {
    font-size: 13px;
  }
}

/* css zalo */
.za-chat__head-box {
  position: fixed;
  bottom: 20px;
  right: -70px;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
