﻿@import url("https://fonts.googleapis.com/css?family=Roboto Condensed:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800");

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size-adjust: 100%;
}

:root {
  --btn-main: #6ebe44;
  --text-main:#703F74
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}



ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

b,
strong {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 3rem auto 2.5rem;
}

sub,
sup {
  position: relative;
  font-size: 70%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* aboutSection */
.about-images {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 763px;
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Chiều cao của container hình ảnh */
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.4s ease;
}

.mmenu-active .page-wrapper {
  transform: translateX(200px);
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .page-wrapper {
    display: block;
  }
}


.image-top {
  width: 60%;
  /* Kích thước hình ảnh trên */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-bottom {
  width: 60%;
  /* Kích thước hình ảnh dưới */
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 30%;
}

.btn__more {
  font-size: 24px;
  margin-right: auto;
}

/* Đảm bảo hình ảnh co giãn khi responsive */
@media (max-width: 1199.98px) {
  .image-bottom {
    top: 30% !important;
  }
}

/* Stack Slider Custom Style */
.mySwiper {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.stack-slide {
  position: relative;
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  transform-origin: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.stack-slide:nth-child(1) {
  z-index: 3;
  transform: scale(1) translateY(0);
}

.stack-slide:nth-child(2) {
  z-index: 2;
  transform: scale(0.9) translateY(10%);
}

.stack-slide:nth-child(3) {
  z-index: 1;
  transform: scale(0.8) translateY(20%);
}

.stack-image {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.language-dropdown {
  position: relative;
}

.language-dropdown .dropdown-menu {
  position: absolute;
  top: 40px;
  display: block;
  left: -45px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: block;
  z-index: 1000;
  list-style: none;
  font-size: 16px;
  margin: 0;
}

.language-dropdown .dropdown-menu li:hover {
  background-color: #f5f5f5;
}

/* Person Review Card */
.review-card {
  width: 100%;
  border-radius: 15px;
  /* padding: 20px; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: white;
  position: relative;
  height: 500px;
  overflow: hidden;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}

.user-image {
  width: 200px !important;
  height: 200px !important;
  object-fit: cover;
  top: 0;
  left: 0;
  /* transform: translate(-50%, -50%); */
  border-bottom-right-radius: 50%;
  transition: all 0.3s ease;
  /* Mượt hiệu ứng hình ảnh */
}

.review__heading {
  font-size: 14px;
  text-align: left;
  color: #fff;
}

.review__heading .review__heading-title {
  padding: 0px 38px;
  transition: opacity 0.3s ease;
  opacity: 1;
  /* Luôn hiển thị ban đầu */
  visibility: visible;
  /* Đảm bảo phần tử không bị giật */
  z-index: 2;
  margin-top: 25px;
  font-size: '16px';
  color: #000;
  /* Giới hạn chiều rộng */
  max-width: 100%;
  /* Điều chỉnh theo witd của card */
  white-space: normal;
  /* Cho phép xuống dòng */
  /* Cắt chữ sau 2 dòng */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review__heading .review__heading-desc {
  font-size: 14px;
  color: #fff;
  display: none;
  padding: 0px 38px;
  visibility: hidden;
  /* Loại bỏ khỏi luồng hiển thị */
  opacity: 0;
  z-index: 2;

  /* Giới hạn chiều cao và cắt chữ */

}

.review-card:hover .user-image {
  transform: translate(0, 0);
  width: 100% !important;
  height: 100% !important;
  border-bottom-right-radius: 0;
  z-index: 1;
}

.review-card:hover .review__heading-title {
  opacity: 0;
  /* Làm mờ */
  visibility: hidden;
  /* Loại khỏi luồng hiển thị */
}

.review-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.review-card:hover::after {
  opacity: 1;
}

.review-card:hover .review__heading-desc {
  display: -webkit-box;
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 3;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  /* Cắt nội dung khi vượt quá chiều cao */
  -webkit-line-clamp: 15;
  /* Hiển thị tối đa 3 dòng (điều chỉnh nếu cần) */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.review-card .ratings-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 3;
  transition: color 0.3s ease;
}

.review-card:hover .ratings-container .review-author {
  color: #fff;
}

.form__group {
  background: #FFFFFF;
  border: 1px solid var(--text-main);
}

.contact-card {
  border-bottom: 1px solid #000;
  text-align: left;
  padding: 10px;
}

.contact-card a {
  font-size: 18px;
}

/* //Slider */
.swiper-container {
  width: 100%;
  height: 100vh;
}

.swiper-container .container {
  position: relative;
  /* height: 100%; */
  height: 100%;
}

.slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 11;
}

.slide-content-heading {
  max-width: 600px;
  padding: 62px 72px;
  box-shadow: 2px 2px 5px #897b7b;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) -22%,
      rgba(255, 255, 255, 0.8) 20%,
      rgba(255, 255, 255, 0.4) 70%,
      rgba(255, 255, 255, 0.4) 70%);
}

.slide-content-heading .title {
  color: #506c26;
  font-size: 50px;
  font-weight: bold;
}

.slide-content-heading .des {
  color: #3c3c3c;
  font-size: 24px;
  font-weight: 500;
}

.swiper-slide {
  color: #fff;
}

.slide-content-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  top: 0;
  left: 0;
}



@media (max-width: 1200px) and (min-width: 992px) {
  .aboutSc {
    margin-top: 285px !important;
  }
}

@media (max-width: 768px) and (min-width: 575.98px) {
  .aboutSc {
    flex-direction: column-reverse;
    margin-top: 220px !important;
  }
}

@media (max-width: 991.98px) {
  .aboutSc {
    flex-direction: column-reverse;
    margin-top: 200px
  }

  */ .slide-content-heading {
    padding: 23px 33px;
    max-width: 600px;
  }

  .slide-content-heading .title {
    font-size: 24px;
  }

  .slide-content-heading .des {
    font-size: 16px;
  }

  .underline-box {
    width: 60px;
    height: 5px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .list__button .btn {
    padding: 5px 14px;
    font-size: 18px;
  }

  /* .swiper-container {
    height: 430px !important;
  } */

  p {
    font-size: 16px;
  }

  .quality__img {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {

  .slide-content-heading {
    padding: 13px 23px;
    width: 250px;
  }

  .underline-box {
    width: 40px;
    height: 3px;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  /* .swiper-container {
    max-height: 341px !important;
  } */

  .list__button {
    flex-direction: column;
    width: 100%;
  }

  .list__button .btn {
    padding: 5px 15px;
    font-size: 16px;
    margin-right: 0px;
    width: 100%;
  }

  .about-images {
    height: 230px;
  }

  .btn__more {
    font-size: 16px;
  }

  .aboutSc {
    flex-direction: column-reverse;
    margin-top: 0px;
    margin-top: 210px;
  }

  .deal-content .product-title {
    font-size: 24px;
    max-width: 200px;
  }

  .deal {
    height: 350px;
  }

  .deal-content .btn {
    font-size: 18px;
    padding: 5px 15px;
  }
}

.category-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.chevron {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.chevron.rotated {
  transform: rotate(90deg);
}

.subcategories {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.subcategories.open {
  max-height: 200px;
  /* Giá trị này có thể thay đổi tùy theo nội dung */
  opacity: 1;
}

.swiper-button-prev, .swiper-button-next {
  color: #20cb55 !important;
}

.swiper-pagination-bullet-active {
  background: #fcb941 !important;
}

/* Filter  */
.collapse-icon {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
}

.horizontal,
.vertical {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: black;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.vertical {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rotate {
  transform: translate(-50%, -50%) rotate(0deg);
}

.btn.btn-outline-primary-2.btn-order {
  width: 100% !important;
}
.swiper-wrapper{
  padding-bottom: 10px !important;
}
.ratings-container {
  font-size: 16px;
  margin-bottom: 1.7rem;
  line-height: 1;
  white-space: nowrap;
  text-align: left;
  padding-left: 38px;
}


.bg-light {
  background-color: #f8f8f8 !important;
}

.bg-light-2 {
  background-color: #f9f9f9 !important;
}

.bg-lighter {
  background-color: #fafafa !important;
}

.bg-gray {
  background-color: #f4f5f8 !important;
}

.bg-primary {
  background-color: #fcb941 !important;
}

.bg-secondary {
  background-color: #a6c76c !important;
}

.bg-image {
  background-color: #ccc;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.bg-overlay {
  position: relative;
}

.bg-overlay:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.3;
  background-color: #1a1a1a;
}

.bg-overlay .container,
.bg-overlay .container-fluid {
  position: relative;
  z-index: 2;
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

h1,
.h1 {
  font-size: 4rem;
}

h2,
.h2 {
  font-size: 3.6rem;
}

h3,
.h3 {
  font-size: 2.6rem;
}

h4,
.h4 {
  font-size: 2.2rem;
}

h5,
.h5 {
  font-size: 2rem;
  letter-spacing: -0.025em;
}

h6,
.h6 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

a {
  color: #06A10B;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #06A10B;
  text-decoration: none;
}




.main {
  flex: 1;
  width: 100%;
}

.page-content {
  padding-bottom: 5rem;
}
