/* HOME - S1 */
.home-s1-title {
  position: relative;
}
.home-s1-title:after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  top: 50%;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.home-s1-title .elementor-widget-heading {
  z-index: 2;
}

/* NEWS PAGE */
.news-style-wrapper {
  max-width: 1240px;
  margin: 80px auto;
  width: 100%;
}
.title-page {
  text-align: center;
  text-transform: uppercase;
  color: #224c48;
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 40px;
}

.house-style-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}

.house-style-item {
  width: calc(100% / 3 - 14px);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.house-style-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding-top: 155%;
  background: #fafafa;
  display: block;
}
.house-style-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PAGINATION */
.house-style-pagination {
  margin-top: 30px;
}
.house-style-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 6px;
}

.house-style-pagination a.page-numbers,
.house-style-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #fafafa;
  color: #666;
}

.house-style-pagination span.page-numbers.current {
  background: #224c48;
  color: #fff;
}
.single-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 14px;
  margin-top: 4px;
}

/* CONTACT */
.contact-box--card {
  display: flex;
  gap: 20px;
}
.contact-box--item {
  width: calc(50% - 10px);
  margin-bottom: 15px;
}
.contact-box--label {
  margin-bottom: 4px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}
.contact-box--label p {
  margin-bottom: 0;
}
.contact-box--input p {
  margin-bottom: 0;
}
.contact-box--fullcard .contact-box--item {
  width: 100%;
}

.contact-box--fullcard .contact-box--item textarea {
  height: 120px !important;
}
.contact-box--item textarea,
.contact-box--item input {
  border-radius: 0;
  box-shadow: none;
}
.contact-box--sbumit p {
  margin-bottom: 0;
}
.contact-box--sbumit input {
  background: #224c48;
  border-radius: 0 !important;
}
.wpcf7-response-output {
  width: 100%;
  margin: 0 !important;
  margin-top: 20px !important;
  background: #fafafa;
  border: none !important;
  padding: 10px 20px !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 13px !important;
}

/* CỬA HÀNG */
.product-wrapper {
  background: #f0f5fa;
  padding: 80px 0;
  width: 100%;
}
.product-container {
  width: 100%;
  display: flex;
  max-width: 1240px;
  margin: auto;
  flex-wrap: wrap;
}
.product-container .site-main {
  max-width: 1240px;
  margin: auto !important;
  width: 100%;
}

.product-sidebar {
  width: 25%;
  padding-right: 30px;
  position: sticky;
  top: 30px;
  align-self: flex-start;
}

.product-sidebar-title {
  text-align: center;
  margin: 0 !important;
  font-size: 16px;
  padding: 12px;
  background: #224c48;
  color: #fff;
  border-radius: 12px 12px 0 0;
}
.product-category-menu {
  background: #fff;
  margin: 0;
  list-style: none;
  border-radius: 0 0 12px 12px;
}
.product-category-parent {
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-category-parent a {
  color: #333;
  font-size: 14px;
}
.product-category-parent a:hover {
  color: #224c48;
}
.product-category-parent a.is-current {
  color: #224c48;
  font-weight: 700;
}
.product-category-toggle {
  background: none !important;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 30px;
  text-align: right;
}
.product-category-children {
  margin: 0;
  list-style: none;
  padding: 0 20px;
}
.product-category-children a {
  color: #666;
  font-size: 13px;
}
.product-category-children a:hover {
  color: #224c48;
}
.product-category-children a.is-current {
  color: #224c48;
  font-weight: 700;
}

.product-detail {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.product-title-main {
  width: 100%;
}

.product-thumbnails {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.product-thumbnails::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
  width: 0;
  height: 0;
}

.product-gallery {
  width: 50%;
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
}

.product-main-image {
  width: calc(100% - 80px);
  padding-left: 12px;
}

.product-main-image img {
  width: 100%;
  display: block;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 80px;
  overflow-y: scroll;
}

.product-thumbnails .swiper-slide {
  height: 120px;
}

.product-thumbnails .swiper-wrapper {
  /* justify-content: center; */
}

.product-thumbnails .swiper-button-next,
.product-thumbnails .swiper-button-prev {
  display: none;
}

.thumb {
  cursor: pointer;
  /* border: 1px solid #ddd; */
  padding: 2px;
}

.thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-content {
  width: 75%;
}

.product-title {
  margin-bottom: 20px;
}
.single-product {
  width: 100%;
  background: #f0f5fa;
}
.single-product--container {
  max-width: 1240px;
  margin: auto;
  padding: 80px 0;
}
.product-title {
  color: #224c48;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
}
.product-short-description {
  color: #333;
  font-weight: 400;
  font-size: 15px;
}
.product-single-button {
  padding: 0 10px;
}
.product-single-button,
.product-single-button:hover {
  background-color: #224c48;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  fill: #224c48;
  color: #fff;
  border-radius: 0px 0px 0px 0px;
  min-width: 120px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-single-button span {
  position: relative;
  z-index: 2;
}

.product-single-button {
  position: relative;
}
.related-products {
  margin-top: 60px;
}
/* .product-single-button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f3e9dc;
  transition: all ease 0.2s;
  z-index: 1;
  opacity: 0.2;
}
.product-single-button:hover:after {
  top: -4px;
  left: -4px;
} */

.product-description {
  margin-top: 60px;
}

.product-info-price {
  margin-bottom: 30px;
}

.product-info-price .lcpe-featured-product-rental-price,
.product-info-price .lcpe-featured-product-price {
  color: #333;
  font-size: 16px;
}

.product-info-price .woocommerce-Price-amount,
.product-info-price .lcpe-product-rental-unit,
.product-info-price .lcpe-product-sale-unit {
  color: red;
}

.product-short-description ul {
  margin-left: 20px;
}
.related-products-title {
  font-size: 36px;
  text-align: center;
  color: #224c48;
  margin-top: 80px;
}
.woocommerce-message,
.woocommerce-info {
  border-top-color: #224c48;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: #224c48;
}

/* NEWS */
.news-style-item {
  width: calc(100% / 3 - 14px);
}
.news-style-thumb {
  position: relative;
  overflow: hidden;
  padding-top: 65%;
  display: block;
  border-radius: 10px;
}
.news-style-thumb img,
.news-style-thumb span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-style-thumb span {
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.news-style-date {
  margin: 12px 0;
  font-size: 14px;
}
.news-style-title {
  margin-bottom: 12px !important;
}
.news-style-title a {
  display: inline-block;
  font-size: 16px;
  line-height: 140%;
  color: #333;
}
.news-style-excerpt {
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.news-style-excerpt p:last-child {
  margin-bottom: 0;
}
