/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.product-short-description {
    padding: 20px;
}
p.from_the_blog_excerpt{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 0;
}
h5.post-title.is-large{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 0;
}
bdi {
    color: red;
}
.nav-spacing-xlarge>li {
    margin: 0 16px;
}
h1.page-title.is-large.uppercase {
    text-align: left;
    color: #ed3026;
}
.icon-box.featured-box.icon-box-left.text-left>.icon-box-img>.icon {
    margin-top: -6px;
}
.qrcode-footer>.img-inner.dark>img.attachment-original.size-original {
    border-radius: 4px;
}
p {
    margin-bottom: 0.6em;
}
aside#categories-2 {
    padding: 30px 20px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-bottom: 30px;
}
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

/* Áp dụng cho tất cả bảng trên trang */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  text-align: left;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
}

/* Viền cho ô */
th, td {
  border: 1px solid #ccc;
  padding: 10px 15px;
}

/* Tiêu đề bảng */
th {
  background-color: #f7f7f7;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
}

/* Cột tiêu đề (nếu bảng 2 cột) */
td:first-child {
  font-weight: 600;
  width: 220px;
}
th:first-child, td:first-child {
  padding-left: 10px;
}

/* Tạo thanh trượt ngang cho bảng trên mobile */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Giúp cuộn mượt trên iPhone/iPad */
}

/* Giữ bảng hiển thị nguyên dạng, không bị bóp */
.table-scroll table {
  min-width: 600px;
}
