/*

 Theme Name:   Thien Ha Child
 Description:  Thien Ha Child Theme
 Author:       Hoangbily
 Template:     thienha
 Version:      1.0.0
 Text Domain:  thienha

*/

:root {
  --red: #dd3333;
}

h2,
h3,
h4,
h5,
h6 {
  color: #2b2b2b;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

p {
  margin-bottom: 10px;
}

.term-description h1,
.article-inner h1 {
  color: var(--wd-primary-color);
}

.term-description h2,
.article-inner h2 {
  border-left: 4px solid var(--wd-primary-color);
  padding-left: 10px;
  color: var(--wd-primary-color);
}

.home .main-page-wrapper {
  margin-top: -40px;
  padding-top: 5px;
}

.price,
.amount {
  font-weight: 600;
}

.ttc,
.ttc a,
.ttc-color,
.ttc-color a {
  color: var(--wd-primary-color);
}

.line-description {
  border-top: 1px solid #0000001b;
}

.wd-nav-vertical > li > a {
  text-transform: capitalize !important;
}

.wd-nav-vertical > li > a {
  padding: 7.1px 18px !important;
  text-transform: capitalize !important;
}

.wd-info-box .info-box-content {
  margin-left: 10px;
}

.custom-contact-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-input {
  flex: 70%;
  margin-right: 10px;
}

.phone-input input {
  border-radius: inherit;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.submit-button {
  flex: 30%;
}

.submit-button input {
  background: #83b735;
  color: white;
}

.submit-button input[type="submit"] {
  height: 100%;
}

.searchform.wd-style-with-bg .searchsubmit {
  border-start-end-radius: 15px;
  border-end-end-radius: 15px;
}

.wd-search-full-screen-2 {
  padding-top: 20px;
}

div.quantity .minus {
  border-start-start-radius: 4px;
  border-end-start-radius: 4px;
}

div.quantity .plus {
  border-start-end-radius: 4px;
  border-end-end-radius: 4px;
}

div.quantity input[type="button"] {
  min-width: 28px;
}

.comment-form-comment textarea {
  border-radius: 10px;
}

.thong-tin-chinh li {
  font-weight: 600;
  margin-bottom: 5px !important;
}

.product-discounts
  .elementor-column-gap-default
  > .elementor-column
  > .elementor-element-populated {
  padding: 0 10px;
}

.product-discounts .liner-continer {
  margin-bottom: 0;
}

.term-description {
  padding-top: 30px;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
}

.term-description img {
  border-radius: 10px;
}

.kk-star-ratings.kksr-align-left {
  align-items: baseline;
}

.table-container {
  border-collapse: collapse;
  width: 100%;
}

.blog-post-loop .entry-meta-list .meta-author,
.blog-post-loop .post-date,
.single-post .post-single-page .meta-author,
.single-post .post-date,
.post-single-page.has-post-thumbnail .article-inner > .entry-header,
.wd-entry-meta .meta-author,
.popup-quick-view .entry-summary .wd-product-brands,
.shop-content-area .elementor-widget-wd_shop_archive_archive_description,
.basel-switch-to-register,
body .woodmart-entry-meta .meta-author,
.blog-design-meta-image .wd-meta-author,
.blog-design-meta-image .wd-post-entry-meta {
  display: none !important;
}

.form-phone-footer {
  display: flex;
  gap: 5px;
}

.form-phone-footer-input input {
  padding: 0 15px;
  max-width: 100%;
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: inherit;
  vertical-align: middle;
  font-size: 14px;
  transition: border-color 0.5s ease;
}

.form-phone-footer-btn {
  background-color: #83b735;
  color: #fff;
  width: 60px;
}

.term-description {
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 25px;
}

.devvn_readmore_taxonomy_flatsome {
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 100%, 0),
    hsla(0, 0%, 100%, 0.91) 50%,
    #fff 55%
  );
  border-radius: 10px;
  bottom: 0;
  display: block;
  left: 0;
  margin-bottom: 0;
  padding-top: 50px;
  position: absolute;
  right: 0;
  text-align: center;
  width: 100%;
}

.devvn_readmore_taxonomy_flatsome a {
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.1),
    0 2px 6px 2px rgba(60, 64, 67, 0.15);
  color: #333333;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  max-width: 335px;
  -webkit-text-decoration: none;
  text-decoration: none;
  width: 100%;
}

.devvn_readmore_taxonomy_flatsome a:after {
  content: "";
  width: 0;
  right: 0;
  border-top: 6px solid #333333;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  display: inline-block;
  vertical-align: middle;
  margin: -2px 0 0 5px;
}

.product-element-bottom {
  padding: 15px 5px !important;
}

.tabs-product {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  border-radius: 5px !important;
}

.box-content-product {
  background-color: #fff;
  -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 5px;
}

.nasa-delivery-icon {
  transform: scaleY(-1);
  margin-right: 5px;
}

.du-kien-date {
  color: var(--wd-primary-color);
}

.du-kien-note small {
  display: block;
  font-size: 90%;
}

.nasa-est-delivery-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
  font-weight: 600;
}

.wd-count-number {
  margin-inline-end: 0 !important;
}

.box-viewer .wd-count-number,
.box-viewer .wd-count-msg {
  font-weight: 600;
  color: #777;
}

.box-line-single {
  margin-block-end: 10px !important;
}

.box-popup-single .wd-btn-text {
  color: #777;
  font-size: 15px;
}

.box-dam-bao {
  display: flex;
  align-items: center;
}

.box-luu-y {
  font-weight: 600;
  color: var(--wd-primary-color);
  font-size: 90%;
  border: 1px dashed;
  border-radius: 4px;
  padding: 10px;
}

.box-luu-y ul {
  margin-bottom: 0;
}

.box-luu-y p,
.box-luu-y li {
  margin-bottom: 5px;
}

.box-luu-y .elementor-shortcode:empty {
  display: none;
}

.box-luu-y:has(.elementor-shortcode:empty) {
  display: none;
}

.devvn-star:before {
  content: "\f148";
  font-family: "woodmart-font";
}

span.btn-attach {
  color: #333;
  background-image: url("/wp-content/uploads/2024/05/camera.svg") !important;
}

#comments a.btn-reviews-now,
.woocommerce #review_form #respond p.form-submit input#submit,
.woocommerce
  #reviews
  #comments
  ol.commentlist
  #respond
  p.form-submit
  input#submit,
button#devvn_cmt_submit,
button#devvn_cmt_replysubmit {
  background-color: var(--wd-primary-color);
}

#review_form .comment-form-rating p.stars a:before {
  content: "\f148";
  font-family: "woodmart-font";
}

#review_form .comment-form-rating:hover p.stars a:before {
  content: "\f148";
  color: #999;
}

div#review_form_wrapper span#reply-title,
.woocommerce #reviews #comments ol.commentlist #respond span#reply-title {
  text-transform: uppercase;
}

.wrap-attaddsend {
  width: 100%;
}

button#devvn_cmt_submit,
button#devvn_cmt_replysubmit {
  color: white;
}

.comment-form-rating {
  display: grid !important;
}

.wd-nav-vertical > li.wd-more-cat-btn > a:after {
  padding: 3px 0;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px !important;
  text-align: left;
}

table tr:nth-child(even) {
  background-color: #f5f5f5;
}

table ul {
  margin-bottom: 0 !important;
}

table {
  table-layout: fixed;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
  margin: 10px auto;
  position: relative;
  font-size: 90%;
  border-collapse: collapse;
  border-style: hidden;
  box-shadow: rgba(0, 0, 0, 0.01) 0px 1px 1px 0px,
    rgba(27, 31, 35, 0.1) 0px 0px 0px 1px;
}

table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
}

table td {
  padding: 14px;
}

table th {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* 
#review_form .comment-form-rating,
.woocommerce #reviews #comments ol.commentlist #respond .comment-form-rating {
  justify-content: normal;
}

#review_form .comment-form-rating label {
  width: 100%;
  text-align: center;
  color: #333;
} */

.comment-form > .comment-form-rating {
  display: flex !important;
}

.comment-form .comment-form-rating label:after {
  content: "" !important;
}

.form-submit {
  padding-top: 10px;
}

span.devvn_num_reviews {
  color: var(--wd-primary-color);
}

.product-wrapper img {
  max-height: 295px;
}

.box-img-single .wd-carousel-item {
  display: flex;
  justify-content: center;
}

.wd-dropdown-menu:is(
    .wd-design-sized,
    .wd-design-full-width,
    .wd-design-full-height
  )
  .wd-sub-menu
  > li
  > a,
.mega-menu-list > li > a {
  text-transform: capitalize;
}

.wd-dropdown-menu {
  padding: 10px 20px !important;
}

.wd-dropdown-menu .wd-sub-menu {
  gap: 5px !important;
}

.wd-dropdown-menu:is(.wd-design-sized,.wd-design-full-width,.wd-design-full-height)>.container>.wd-grid-f-inline {
  --wd-f-basis: 215px;
}

#menu-item-22923 .wd-dropdown-menu:is(.wd-design-sized,.wd-design-full-width,.wd-design-full-height)>.container>.wd-grid-f-inline,
#menu-item-8870 .wd-dropdown-menu:is(.wd-design-sized,.wd-design-full-width,.wd-design-full-height)>.container>.wd-grid-f-inline{
  --wd-f-basis: 285px;
}

.box-category-mb .category-grid-item {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
}

.box-category-mb .category-grid-item .hover-mask {
  padding: 5px !important;
}

.page-title .title {
  text-transform: capitalize;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-title .wd-back-btn a {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.woocommerce-checkout .container {
  max-width: 1400px !important;
}

.widget-ct::-webkit-scrollbar {
  width: 10px;
}

.color-red {
  color: #e31937;
}

.nasa-purchase {
  display: flex;
}

.nasa-purchase strong,
.nasa-purchase b {
  display: flex;
  align-items: end;
}

.create-account-link {
  display: none;
}

.form-tv-product-info {
  background: #f2f2f2;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #777;
  justify-content: space-between;
}

.form-tv-product-body {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: 70%;
}

.form-tv-product-info .product-image {
  flex: 1;
  display: flex;
  justify-content: end;
}

.form-tv-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.form-tv-top .form-tu-van-div {
  margin-bottom: 5px;
}

.form-tv-title {
  font-size: 110%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  padding-bottom: 5px;
}

.form-tv-title-input {
  display: none;
}

.form-tu-van-textarea {
  min-height: 75px !important;
}

.form-tu-van label {
  font-weight: 600;
  max-height: 90px;
}

.form-tu-van p {
  margin-bottom: 0 !important;
}

.form-tu-van .wpcf7-not-valid-tip {
  font-weight: 500;
  font-size: 88%;
}

.form-tu-van button {
  margin: 10px 0;
  background: var(--wd-primary-color);
  color: #fff;
  border-radius: 5px;
  width: 100%;
}

.form-tu-van-div {
  margin-bottom: 15px;
}

.box-lap-dat .elementor-widget-wrap {
  border: 2px solid var(--wd-primary-color);
  gap: 10px;
  border-radius: 5px;
  justify-content: space-between;
}

.box-lap-dat .btn.btn-style-link:hover,
.box-lap-dat .btn:hover .wd-btn-text {
  color: var(--wd-primary-color);
}

input::placeholder {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
}

.box-search-mobile .searchform.wd-style-with-bg .searchsubmit {
  border-start-end-radius: 5px;
  border-end-end-radius: 5px;
}

.box-bai-viet .wd-entities-title {
  height: 50px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icons-design-colored .wd-social-icon {
  width: 40px !important;
  border-radius: 2px;
}

.box-mua-cung .product-wrapper img {
  height: 150px;
}

.box-mua-cung .wd-product .star-rating {
  display: none;
}

.box-mua-cung .wd-fbt-product-heading .wd-entities-title {
  display: block;
}

.social-form-circle .wd-social-icon {
  border-radius: 4px !important;
}

#menu-item-8881 > a:not(:has(a)) {
  color: var(--red);
}

.wp-caption-text {
  text-align: center;
  font-size: 90%;
  margin-top: 5px;
}

.wp-caption {
  max-width: 100%;
}

.collapsed-description {
  max-height: 450px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  transition: max-height 0.3s ease-out;
}

/* Hiệu ứng mờ dần ở cuối text bị cắt */
.collapsed-description::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
}

/* Style cho nút toggle */
.toggle-description {
  display: block !important;
  width: 140px;
  padding: 8px 16px;
  margin: 5px auto;
  font-family: inherit;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--wd-primary-color) !important;
  transition: color 0.5s;
  z-index: 1;
  border-radius: 6px !important;
  font-weight: 500;
  color: var(--wd-primary-color) !important;
}

.toggle-description:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--wd-primary-color);
  height: 150px;
  width: 200px;
  border-radius: 50%;
}

.toggle-description:hover {
  color: #fff !important;
}

.toggle-description:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

.toggle-description:hover:before {
  top: -30px;
  left: -30px;
}

.toggle-description:active:before {
  background: var(--wd-primary-color);
  transition: background 0s;
}

.toggle-description.expand::after {
  font-size: 10px;
  margin-inline-start: auto;
  content: "\f129";
  font-family: "woodmart-font";
  padding-left: 5px;
}

.toggle-description.collapse::after {
  font-size: 10px;
  margin-inline-start: auto;
  content: "\f115";
  font-family: "woodmart-font";
  padding-left: 5px;
}

.term-description {
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
}

#menu-top-right-menu li a {
  font-weight: 600;
  text-transform: none;
}

.box-lap-dat .btn.btn-style-link {
  --btn-brd-width: 0;
}

.thong-tin-chinh {
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.thong-tin-chinh ul {
  list-style: none;
  padding: 0;
}

.thong-tin-chinh li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #eaeaea;
}

.thong-tin-chinh li:last-child {
  border-bottom: none;
}

.thong-tin-chinh li:before {
  content: "•";
  margin-right: 10px;
  color: #383838;
  font-weight: 600;
}

.thong-tin-chinh li strong {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.thong-tin-chinh li a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.thong-tin-chinh li span:first-child {
  text-align: left;
  font-weight: normal;
  flex: 1;
}

.thong-tin-chinh li span:last-child {
  text-align: right;
  font-weight: 600;
  flex: 1;
}

.woocommerce-product-details__short-description .thong-tin-chinh li {
  display: block;
}

.woocommerce-product-details__short-description .thong-tin-chinh ul {
  margin-bottom: 0;
}

.wd-post-thumb {
  height: 190px;
}

.post.wd-post .wd-entities-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widgettitle {
  color: #777;
  font-size: 22px;
  text-transform: none;
}

.recent-posts-with-thumbnail {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-post-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.recent-post-item .post-thumbnail {
  flex: 0 0 80px;
  margin-right: 10px;
}
.recent-post-item .post-thumbnail img {
  width: 80px;
  height: 55px;
  object-fit: cover;
}
.recent-post-item .post-title {
  flex: 1;
  display: flex;
  align-items: center;
}
.recent-post-item .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}

.widget-area .widget_media_image {
  margin-bottom: 20px;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.widget-area .widget_media_image img,
.promo-banner .banner-image img {
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.wd-filter-list li {
  font-size: 14px;
}

.related-posts {
  margin-bottom: 3.5em;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  background: rgb(243, 243, 243);
  border-radius: 5px;
  padding: 15px;
}

.related-posts h3 {
  color: var(--wd-primary-color);
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}
.related-posts-list {
  display: flex;
  flex-direction: column;
}
.related-post-item {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted var(--wd-primary-color);
}
.related-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.related-post-image {
  width: 95px;
  min-width: 80px;
  height: 55px;
  margin-right: 15px;
  overflow: hidden;
}
.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-post-content {
  flex: 1;
}
.related-post-content h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Giới hạn 3 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-post-content h4 a:hover {
  color: var(--wd-primary-color);
}

.box-commitment {
  background-color: #fff;
  margin-left: 10px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.commitment-box {
  font-family: "Segoe UI", sans-serif;
}

.commitment-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
}

.commitment-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.commitment-list li {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: start;
}

.tag-meta-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.tag-meta-post > div:not(.box-danh-muc) {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: rgba(0, 0, 0, 0.3); /* Nền mờ nhẹ giúp phân biệt */
  border-radius: 4px;
}

.tag-meta-post svg {
  fill: white;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tag-meta-post span,
.tag-meta-post a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.tag-meta-post .box-danh-muc .danh-muc {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-meta-post .box-danh-muc .danh-muc ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  list-style: none;
}

.tag-meta-post .box-danh-muc .danh-muc ul li {
  margin-bottom: 0 !important;
}

.tag-meta-post .box-danh-muc .danh-muc li a {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}

.blog-single .entry-title {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-top: 15px;
}

.wd-page-content .wd-post-meta {
  display: none !important;
}

.category-1491-post-new {
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.category-1491-ctl-item .promo-banner {
  border-radius: 8px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.category-1491-title .liner-continer {
  margin-bottom: 0;
}

.category-1491-post-ctg .banner-title {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.duoc-dam-bao img {
  max-height: 60px;
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 40px;
  z-index: 999;
}

.elementor-widget-wd_sidebar .elementor-widget-container {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.btn-thanh-ly .btn {
  color: #ee0909;
  font-weight: 500;
  border-radius: 4px;
  border-style: dashed;
  border-color: #eb0909;
  border-width: 1px 1px 1px 1px;
}

.wd-page-content .page-title-default {
  background-image: url(https://thienhafloor.vn/wp-content/uploads/2025/10/bg-catalog.png) !important;
  background-position: bottom;
}

.ftwp-heading {
  margin-bottom: 10px;
  margin-top: 20px;
}

blockquote {
  font-style: italic;
  background: #f9f9f9;
  border-left: 5px solid #b48d6a;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  color: #555;
  position: relative;
}

blockquote cite {
  display: block;
  margin-top: 0.5em;
  text-align: right;
  font-size: 0.9em;
  color: #888;
}

blockquote em {
  font-size: 15px;
}

blockquote p {
  margin-bottom: 0;
}

.watermark-img {
  opacity: 0.2;
}

.section-tan-tam {
  border-radius: 10px 10px 0 0;
}

.section-tan-tam-bottom {
  border-radius: 0 0 10px 10px;
}

/* --- FORM YÊU CẦU GỌI LẠI --- */
.callback-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.callback-wrap input {
  flex: 1 1 220px;
  padding: 6px 10px;
  margin-right: 10px;
}
.callback-wrap button {
  padding: 6px 16px;
  background: black;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.callback-wrap button:hover {
  background: #1d1616 !important;
  color: #fff !important;
}
.callback-wrap .is-invalid {
  border: 2px solid #dc3545;
}
.callback-wrap .error-message {
  color: #dc3545;
  font-size: 90%;
}
.is-hidden {
  display: none;
}

.btn-mini {
  background: #83b735 !important;
  padding: 6px 22px !important;
}

.callback-error {
  width: 100%;
  margin-top: 6px;
  color: #dc3545;
  font-size: 90%;
  font-weight: 500;
}

.callback-success {
  font-weight: 500;
  color: #16a34a;
  font-size: 95%;
}

/* --- HẾT FORM YÊU CẦU GỌI LẠI --- */

.hidden-fields-container {
  display: none !important;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.3s;
}

.post-single-page .wd-entry-content {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

/* Khởi tạo bộ đếm cho nội dung bài viết */
.post-single-page .wd-entry-content,
.term-description,
.tabs-product {
  counter-reset: section-counter;
}

.post-single-page .wd-entry-content h2,
.term-description h2,
.tabs-product h2 {
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
  border-left: none;
  border-bottom: 3px solid var(--wd-primary-color);
  text-transform: capitalize;
  color: var(--wd-primary-color);
  font-weight: 600;
}

/* Tạo ô đánh số */
.post-single-page .wd-entry-content h2::before,
.term-description h2::before,
.tabs-product h2::before {
  counter-increment: section-counter;
  content: counter(section-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 33px;
  height: 33px;
  background-color: var(--wd-primary-color);
  color: white;
  font-weight: 600;
  text-align: center;
  line-height: 33px;
  border-radius: 2px;
  font-size: 16px;
}

.wd-social-icons > a {
  width: var(--wd-social-size, 35px) !important;
  height: var(--wd-social-size, 35px) !important;
  border-radius: 4px !important;
}

.wd-post-content .wd-post-desc {
  font-size: 14px;
}

/* Hover Intent styles removed */

/* ====== Khối “bài viết cùng chủ đề” ====== */
.bai-viet-lien-quan {
  margin: 1.5rem 0;
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.xem-them {
  margin-top: 20px;
}

.bai-viet-lien-quan h2,
.tieu-de-xem-them {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wd-primary-color);
  border-left: 4px solid var(--wd-primary-color);
  padding-left: 0.625rem;
  margin-bottom: 10px;
  text-transform: capitalize;
}
/* Grid linh hoạt thay float */
.list-bai-viet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.list-bai-viet li {
  list-style: none;
}
.box-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.tieu-de-bai-viet {
  font-size: 14px;
  line-height: 1.35;
  color: #222;
  margin: 0.5rem 0 0;
  height: 2.6em; /* 2 dòng */
  overflow: hidden;
}

@media (max-width: 480px) {
  .box-image img {
    height: 120px;
  }
  .tieu-de-bai-viet {
    font-size: 0.875rem;
  }
}

/* ====== Khối “bài viết mới cập nhật” ====== */
.newpost {
  background: #daefff;
  padding: 12px 15px;
  border: 1px dashed var(--wd-primary-color);
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.newpost li {
  margin-left: 1.25rem;
  list-style: disc;
}
.newpost a {
  color: var(--wd-primary-color);
  font-weight: 500;
  transition: color 0.2s ease;
}
.newpost a:hover {
  color: var(--wd-link-color-hover);
}

.box-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.slider-1-title .title {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.section-tan-tam img {
  border-radius: 5px 0 0 0 !important;
}

#slider-1379.wd-slider {
  background-image: url("https://thienhafloor.vn/wp-content/uploads/2025/07/san-nhua-hem-khoa-galaxy-eco-spc.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.wd-single-price .gia-lien-he {
  text-transform: uppercase;
}

.wd-single-price {
  margin-bottom: 8px !important;
}

.thf-price-zero table.variations {
  margin-bottom: 5px !important;
}

.thf-price-zero .single_variation_wrap,
.wd-reset-var,
table.variations select {
  display: none !important;
}

.wd-swatches-product {
  overflow: hidden;
  max-height: 240px;
  transition: max-height 0.5s ease-out;
  gap: 10px !important;
}

.wd-swatches-product.expanded {
  max-height: 2000px;
}

/* Giữ nguyên CSS cho nút "Xem thêm" */
.load-more-swatches {
  font-size: 13px;
  display: block;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: var(--wd-primary-color);
  text-decoration: underline;
}

.single-countdown-cs .elementor-widget-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--wd-primary-color);
  padding: 5px;
  border-radius: 4px;
}

.single-countdown-cs .elementor-widget-container h4 {
  margin-bottom: 0;
}

/* ----- CSS cho thanh tiến trình nhiều cấp độ ----- */

/* 1. Kiểu dáng chung (giống như trước) */
.progress-area {
  background-color: #e0e0e0;
  border-radius: 25px;
  height: 25px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 25px;
  transition: width 0.5s ease-in-out;
  color: white;
  text-align: center;
  font-weight: bold;
}

.progress-bar.low {
  background-color: #4caf50 !important;
}

.progress-bar.medium {
  background: linear-gradient(to right, #4caf50, #ffeb3b) !important;
}

.progress-bar.high {
  background: linear-gradient(to right, #4caf50, #ffeb3b, #f44336) !important;
}

.wd-stock-progress-bar {
  font-size: 90%;
}

.banner-km {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 8px;
}

.text-hem-khoa-sale {
  color: #ca261b;
}

.cl-6ld .box-icon-simple {
  text-shadow: -1px 1px 0 rgba(0, 0, 0, 0.3);
}

.wd-timer-days,
.wd-timer-hours,
.wd-timer-min,
.wd-timer-sec {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px !important;
}

.whb-header_659569 {
  background: linear-gradient(#e15023, #be1c19) !important;
  border-bottom: 2px solid #e5d251;
}

.whb-header_659569 .whb-general-header,
.whb-header_659569 .whb-header-bottom {
  background-color: transparent;
}

.whb-header_659569 .wd-header-cats .menu-opener.color-scheme-light {
  color: #d82d27;
}

.whb-header_659569 .menu-item a:not(#menu-vertical-menu .menu-item a),
.whb-header_659569 .wd-tools-inner,
.whb-header_659569 .wd-tools-icon {
  color: #e5d251 !important;
}

.whb-header_659569 .wd-tools-count {
  background-color: #e5d251 !important;
  color: rgb(214 55 33) !important;
}

.whb-header_659569 .wd-header-cart .wd-tools-inner {
  color: rgb(188 29 25) !important;
  background-color: rgb(226 194 67) !important;
}

.whb-header_659569 .wd-header-cart .wd-tools-inner .wd-tools-icon {
  color: rgb(188 29 25) !important;
}

.wd-search-form .s {
  border-radius: 4px;
}

.page-id-62944 .wd-content-layout {
  padding-block: 0;
}

.page-id-62944 .thf-layout-2 {
  background: linear-gradient(#e5cd4f, #c14d21) !important;
}

.page-id-62944 .thf-layout-3 {
  background: linear-gradient(#c14d21, #e5cd4f) !important;
}

.page-id-62944 .thf-lyaout-4 {
  background: linear-gradient(#e5cd4f, #c14d21) !important;
}

.page-id-62944 .footer-container {
  background: linear-gradient(#c14d21, #e5cd4f) !important;
  border-top: 2px solid #ffffff;
}

.page-id-62944 .footer-container section {
  background-color: transparent !important;
}

.box-san-dan {
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  border: 2px solid #ffffff;
  border-radius: 5px;
}

.border-title-box-hk {
  border: 2px solid #ffffff;
  border-radius: 5px;
}

.wd-dropdown-menu li > a + .sub-sub-menu {
  margin-left: 7px;
  list-style: none;
  padding-left: 0;
  position: relative;
}

.wd-dropdown-menu li > a + .sub-sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 16px;
  width: 1px;
  background: #cccccc7a;
}

.wd-dropdown-menu li > a + .sub-sub-menu > li {
  position: relative;
  padding-left: 16px;
}

.wd-dropdown-menu li > a + .sub-sub-menu > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: #cccccc7a;
}

.variations_form .wd-swatch {
  position: relative !important;
  height: 111px !important;
  width: 111px !important;
}

.variations_form .wd-swatch .wd-swatch-text {
  color: #fff;
  background: #1212124f;
  padding: 5px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-size: 10px;
  line-height: 1;
}

table.variations .label .wd-attr-selected {
  font-weight: 600;
  color: var(--wd-primary-color);
}

/* ======================================================================== */
/* TÙY CHỈNH WIDGET DANH MỤC CON (PHIÊN BẢN HOVER)
/* ======================================================================== */

/* 1. VÙNG CHỨA VÀ THANH CUỘN (SCROLL) */
.widget_product_subcategories_widget .wd-nav-product-cat {
  max-height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 15px;
  border: none !important;
  margin: 0;
}

/* Tùy chỉnh thanh cuộn */
.widget_product_subcategories_widget .wd-nav-product-cat::-webkit-scrollbar {
  width: 5px;
}
.widget_product_subcategories_widget
  .wd-nav-product-cat::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.widget_product_subcategories_widget
  .wd-nav-product-cat::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.widget_product_subcategories_widget
  .wd-nav-product-cat::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* 2. KIỂU DÁNG CHUNG CHO TỪNG MỤC */
.widget_product_subcategories_widget ul.wd-nav-product-cat li.cat-item {
  padding: 0 !important;
  list-style: none;
  width: 100%;
  margin-bottom: 5px;
}
.widget_product_subcategories_widget
  ul.wd-nav-product-cat
  li.cat-item:last-child {
  border-bottom: none;
}
.widget_product_subcategories_widget
  ul.wd-nav-product-cat
  li.cat-item
  a.category-nav-link {
  display: block !important;
  padding: 5px 0;
  text-decoration: none !important;
}

/* 3. SẮP XẾP LẠI BỐ CỤC (QUAN TRỌNG NHẤT) */
.widget_product_subcategories_widget .nav-link-summary {
  display: flex !important;
  justify-content: space-between; /* Đẩy tên và số lượng ra 2 bên */
  align-items: center;
  width: 100%;
}
.widget_product_subcategories_widget .nav-link-summary::after {
  display: none !important; /* Đảm bảo không có gạch chân */
}

/* 4. CHECKBOX VÀ TÊN DANH MỤC */
.widget_product_subcategories_widget .nav-link-text {
  display: flex !important;
  align-items: center;
  color: #767676;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s ease;
  text-transform: capitalize;
}
/* Thêm checkbox vào trước tên danh mục */
.widget_product_subcategories_widget .nav-link-text::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.widget_product_subcategories_widget
  .wd-nav[class*="wd-style-underline"]
  .nav-link-text:after {
  display: none !important; /* Loại bỏ gạch chân mặc định */
}

/* 5. ĐỊNH DẠNG SỐ LƯỢNG SẢN PHẨM */
.widget_product_subcategories_widget .nav-link-count {
  width: 33px;
  text-align: center;
  border: 1px solid #ccc;
  color: #666;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 12px;
  font-weight: 500;
  margin-left: 5px;
  white-space: nowrap;
  text-transform: lowercase;
  transition: all 0.2s ease;
}

/* 6. HIỆU ỨNG KHI ACTIVE HOẶC HOVER */
/* Áp dụng cho cả hai trạng thái: đang được chọn (.wd-active) hoặc đang di chuột (:hover) */

/* Tên danh mục */
.widget_product_subcategories_widget li.cat-item.wd-active > a .nav-link-text,
.widget_product_subcategories_widget li.cat-item a:hover .nav-link-text {
  color: var(--wd-primary-color, #83b735);
  font-weight: 600; /* In đậm */
}

/* Checkbox */
.widget_product_subcategories_widget
  li.cat-item.wd-active
  > a
  .nav-link-text::before,
.widget_product_subcategories_widget
  li.cat-item
  a:hover
  .nav-link-text::before {
  border-color: var(--wd-primary-color, #83b735);
  background-color: var(--wd-primary-color, #83b735);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

/* Số lượng sản phẩm */
.widget_product_subcategories_widget li.cat-item.wd-active .nav-link-count,
.widget_product_subcategories_widget li.cat-item a:hover .nav-link-count {
  background-color: var(--wd-primary-color, #83b735);
  color: #fff;
}

/* =============================================
 * Shortcode: thf_category_grid (bài lớn + list nhỏ)
 * Scope theo .thf-cat để tránh xung đột
 * Giao diện khớp với template category-1495.php
 * ============================================= */
.thf-cat .cat-col {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.thf-cat .featured-post {
  padding: 1rem;
  border-bottom: 1px solid rgba(204, 204, 204, 0.71);
}
.thf-cat .featured-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.thf-cat .featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.thf-cat .featured-thumb:hover img {
  transform: scale(1.03);
}
.thf-cat .featured-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}
.thf-cat .featured-excerpt {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.thf-cat .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #6b7280;
  align-items: center;
}
.thf-cat .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.thf-cat .meta-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.thf-cat .small-posts {
  list-style: none;
  margin: 0;
  padding: 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
}
.thf-cat .small-post {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.9rem;
  align-items: flex-start;
  border-bottom: 1px solid rgba(204, 204, 204, 0.71);
  padding-bottom: 0.75rem;
}
.thf-cat .small-thumb {
  width: 80px;
  height: 55px;
  border-radius: 8px;
  overflow: hidden;
}
.thf-cat .small-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.thf-cat .small-thumb:hover img {
  transform: scale(1.04);
}
.thf-cat .small-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.thf-cat .small-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  display: flex;
  gap: 0.5rem;
}
.thf-cat .cat-col-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(204, 204, 204, 0.71);
}
.thf-cat .cat-col-title {
  color: var(--wd-primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.thf-cat .cat-col-title a {
  font-weight: 700;
}
.thf-cat .cat-col-footer {
  padding: 0 1.25rem 1.25rem;
  margin-top: auto;
  text-align: center;
}
.thf-cat .view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(204, 204, 204, 0.71);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  color: #6b7280;
  background: #fff;
}
.thf-cat .view-more-btn:hover {
  color: #b48d6a;
  border-color: rgba(204, 204, 204, 0.9);
}

.short-code-1495 .elementor-widget-wrap {
  background: #ffffff82 !important;
  padding: 0 !important;
  border-radius: 8px;
}

/**
* Ẩn các tiêu đề trang
*/
.page-id-62944 .wd-page-title,
.page-id-29 .wd-page-title,
.page-id-31 .wd-page-title {
  display: none !important;
}

.category-1495 .title {
  text-shadow: 1px 1px 2px rgb(0 0 0 / .5);
}

.woocommerce-Reviews .woocommerce-Reviews-title {
  font-size: 22px !important;
}