/* @import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@200;400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Viaoda+Libre&display=swap'); */

/* #5c5f63 */

/* @font-face {} */

header {
  font-weight: 400;
}

.nav-main-item>a {
  font-size: 14px;
}

.btn-visites a {
  /* background-color: #5c5f63; */
}

.btn-visites a.efruitjs {
  display: none !important;
}

.btn-visites a:hover {
  background: -webkit-linear-gradient(left, #5c5f63 70%, #959aa1 100%);
}

.nav-main-item {
  margin: 0 0 10px;
}

.nav-main-item>a {
  padding-bottom: 10px;
}

.nav-cart {
  top: 12px;
}

#loading img {
  background: white;
}

body {
  font-family: 'Questrial', sans-serif !important;
  font-size: 14px;
  overflow: hidden;
  overflow-y: auto;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Sub nav */

.navbar-toggler {
  font-size: 1em;
  padding: .15rem .35rem;
  border: none;
}

.sub-nav {
  background-color: #72a499;
  box-shadow: 0 0 7px rgba(0, 0, 0, .25);
}

.sub-nav .navbar-nav .nav-link {
  border-right: 1px solid rgba(255, 255, 255, .25);
  margin-right: 15px;
  padding-right: 15px;
  padding-left: 0;
  color: #fff;
}

.sub-nav .navbar-nav .nav-item:last-child .nav-link {
  border-right: none
}

/* Main nav */

.logo-nav {
  padding: 3em 0;
}

.logo-nav .navbar-brand img {
  width: 218px;
}

.main-nav .navbar-nav .nav-link {
  color: #333;
  padding-right: .75rem;
  padding-left: .75rem;
  text-align: center;
}

.main-nav .navbar-nav .has-megamenu a:hover {
  color: #72a499;
  text-decoration: none;
}

.main-nav {
  padding: 1em 0;
  border-top: 1px dashed rgba(0, 0, 0, .07);
  margin-bottom: 25px;
}

.navbar-expand-lg .navbar-nav.sub-cart {
  flex-direction: row;
}

.navbar-expand-lg .navbar-nav.sub-cart .nav-link {
  padding: 0 1em;
}

.navbar-expand-lg .navbar-nav.right-main-nav .nav-link {
  padding-left: 1em;
  padding-right: 1em;
}

.bg-cart {
  background: #dde9ed;
  color: #000;
  top: 10px;
  left: 40px;
  font-weight: normal;
  font-size: .65em;
}

.dropdown-toggle::after {
  border-top: 4px solid;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  margin-left: .4em;
}

.navbar .megamenu {
  padding: 1rem;
}

.col-megamenu .list-unstyled li a {
  display: block;
  color: #777;
  padding: 4px;
  font-family: 'Questrial', sans-serif;
  /* font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
}

.col-megamenu .list-unstyled li a:hover {
  background-color: #f1f2f6;
  color: #eccc68;
}

.container-mega {
  max-width: 1100px;
  margin: 0 auto;
}

.main-nav .navbar-nav .nav-item .nav-link {
  position: relative;
}

.main-nav .navbar-nav .nav-item .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 2px solid #98D8CA;
  transform: scaleX(0);
  transition: .3s;
}

.main-nav .navbar-nav .nav-item .nav-link:hover::before {
  transform: scaleX(1);
  top: 20px;
}

.navbar .megamenu {
  box-shadow: 0 0px 15px rgb(0 0 0 / 16%);
  border: none;
}

.navbar-brand-centered {
  position: absolute;
  left: 0;
}

#searchModal {
  background: rgb(0 0 0 / 50%);
}

#searchModal .modal-dialog {
  top: 50%;
  transform: translateY(-50%)
}

;

#searchModal input.form-control {
  padding: 1.5em !important;
}

/* 
 @ CSS: Cart model
 @ Author: Lê Anh Vũ
 */
.main-cart-btn {
  display: none;
}

.cart-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
}

.cart-modal .cart-lightbox {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(0 0 0 /50%);
}

.offcanvas-cart {
  font-size: 16px;
  font-weight: 400;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  padding: 20px;
  transition: all .5s ease 0s;
  background-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.animate-fade-in {
  animation: fade-in 300ms;
}

.animate-fade-out {
  animation: fade-out 300ms forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.title {
  font-size: 18px;
  line-height: 1;
  color: #333;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #999;
  margin-bottom: 25px;
  padding-bottom: 15px;
}

.offcanvas-close {
  all: unset;
  font-size: 2rem;
  position: relative;
}

.right .count {
  width: 18px;
  height: 18px;
  line-height: 20px;
  background: #DDE9ED;
  text-align: center;
  line-height: 18px;
  border-radius: 100%;
  font-size: .7em;
  font-weight: 700;
  color: #202020;
  margin: 0;
  display: inline-block;
  position: absolute;
  top: -5px;
  right: -12px;
}

.right>div.favourite-block .fav-title {
  display: block;
  font-size: .6em;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.35;
  font-weight: 700;
  cursor: pointer;
  color: #474747;
}

.right .cart-block .cart-amount {
  font-size: .6em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #474747;
}

.modal-open {
  overflow: hidden;
}

/* End Cart model */


/* Cart */
/* 
.main-cart-btn {
  display: none;
}

.cart-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
}

.cart-modal .cart-lightbox {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(0 0 0 /50%);
}

.offcanvas-cart {
  font-size: 16px;
  font-weight: 400;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  padding: 20px;
  transition: all .5s ease 0s;
  background-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.animate-fade-in {
  animation: fade-in 300ms;
}

.animate-fade-out {
  animation: fade-out 300ms forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.title {
  font-size: 18px;
  line-height: 1;
  color: #333;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #999;
  margin-bottom: 25px;
  padding-bottom: 15px;
}

.offcanvas-close {
  all: unset;
  font-size: 2rem;
  position: relative;
}

.right .count {
  width: 18px;
  height: 18px;
  line-height: 20px;
  background: #DDE9ED;
  text-align: center;
  line-height: 18px;
  border-radius: 100%;
  font-size: .7em;
  font-weight: 700;
  color: #202020;
  margin: 0;
  display: inline-block;
  position: absolute;
  top: -5px;
  right: -12px;
}

.right>div.favourite-block .fav-title {
  display: block;
  font-size: .6em;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.35;
  font-weight: 700;
  cursor: pointer;
  color: #474747;
}

.right .cart-block .cart-amount {
  font-size: .6em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #474747;
} */

/* Slideshow */

.carousel-caption {
  bottom: 40%;
  left: 10%;
  right: auto;
  text-align: left;
}

.carousel-caption a.sub-caption {
  font-weight: 300;
  font-size: 1.3em;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.carousel-caption a.sub-caption::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 120%;
  right: -300px;
  border-top: 1px solid #fff;
}

.carousel-caption h2 {
  font-size: 3.7em;
  margin: .5em 0;
}

.carousel-img {
  position: relative;
}

.carousel-img::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(0 0 0 / 25%);
}

.carousel-indicators {
  bottom: 10%;
}

/* --------------------PRODUCCT------------- */
/*css ribbon*/


.half-circle-ribbon {
  background: #9BC90D;
  color: #fff !important;
  height: 40px;
  width: 40px;
  padding-top: 15px;
  padding-right: 2px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 0 0 100%;
  border: 1px dashed #fff;
  box-shadow: 0 0 0 3px #9BC90D;
  font-size: 15px;
  text-align: right;
  font-weight: bold;
  z-index: 1;
}

.y-grid-card.animate .half-circle-ribbon {
  opacity: 0.6;
}

.y-grid-card.animate:hover .half-circle-ribbon {
  opacity: 0.8;
}

.y-grid-card .half-circle-ribbon, .product-image-container .half-circle-ribbon {
  padding-top: 5px;
  font-size: 13px;
}

.half-circle-ribbon.ribbon-left {
  right: auto;
  left: 0;
  border-radius: 0 0 100% 0;
  text-align: left;
  padding-left: 2px;
  padding-right: 0;
}

.ribbon {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  width: 100px;
  height: 100px;
  text-align: right;
}

.ribbon span {
  font-size: 12px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 120px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#9BC90D 0%, #79A70A 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 25px;
  right: -25px;
}

.ribbon.ribbon-left {
  right: auto;
  left: 0;
}

.ribbon.ribbon-left span {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  left: -25px;
  right: auto;
}

/*end css ribbon*/
.product-item {
  font-family: 'Questrial', sans-serif;
  /* margin-top: 2rem; */
  position: relative;
  /* display: flex; */
  /* flex-direction: column; */
  align-items: center;

  justify-content: center;
}

.product-info {
  width: 100%;
  display: flex;
}

.item-center {
  justify-content: center;
}

.product-item .top-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-item .product-photo img {
  /* width: 358.16px;
  height: 358.16px; */
  max-width: 100%;
  transition: all ease 0.35s;
  /* background-size: cover; */
  /* object-fit: cover;*/
}


.top-img>img {
  width: 100%;
  transition: all ease 0.35s;
  position: relative;
  height: 100%;
  background-size: cover;
}

.category-desc {
  position: absolute;
  z-index: 1000;
  top: 32%;
  margin: 0 auto;
  padding: 0 50px;
  display: none;
  animation: showDesc linear 0.5s forwards;
}

.category-home-page {
  display: flex;
  align-content: center;
  align-items: center;
  flex-flow: column;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.category-home-page .top-img {
  /* height: 100%; */
  margin-bottom: 0;
  /* transform: scale(1); */
  transition: all 1s ease;
  height: 100%;
  width: 100%;
  text-align: center;
  position: relative;
}

.category-home-page .top-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.category-home-page .top-img a img {
  object-fit: cover;
  width: 100%;
  height: 100%;

}

.category-home-page {
  /* grid-area: category-home-page; */
  height: 100%;
  background-color: #72a499;
}


.category-home-page .top-img:hover .category-desc {
  display: block;
}

.category-home-page .top-img:hover .category-desc p {
  display: block;
  color: #fff;
}


.category-home-page .top-img:hover img {
  transform: scale(0.95);
  filter: blur(6px);
}

.product-itemm {
  /* grid-area: product-itemm; */
  /* background-color: #a0a0a0; */
}

.product-main-home-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* grid-template-areas:"product-itemm category-home-page " " product-itemm category-home-page" ; */
  grid-gap: 2rem;
}





@keyframes showDesc {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  100% {
    transform: translate(0, -65px);
    opacity: 1;
  }
}

.category-desc span {
  color: #fff;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  display: -webkit-box;
  height: auto;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* .product-item .top-img:hover .category-desc {
  display: block;
} */


.product-item .product-photo {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  height: 254px;
  /* width: 220px; */
}

.product-item .product-photo a.photo-link::before {
  content: '';
  position: absolute;
  z-index: 5;
  /* border: 1px solid rgb(255 255 255/70%); */
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
}

.product-item .product-name a {
  display: block;
  text-decoration: none;
  color: #000;
  background: #fff;
  position: relative;
  /* padding-right: 20px; */
  padding-right: 10px;
  /* padding-left: 5px; */
}

.product-item .product-name {
  position: relative;
  text-transform: capitalize;
  font-weight: bold;
  padding-left: 0;
  /* padding-right: 35px; */
}

/* .col-lg-4 {
  padding-right: 40px;
} */

/* .col-lg-4{
  padding-right: 40px;
} */

.product-item .product-name::before {
  content: '';
  position: absolute;
  top: .6em;
  right: 0;
  left: 20%;
  border-top: 1px solid #ccc;
}

.product-detail .input-group>.form-control, .product-detail .input-group>.form-select {
  flex: .03 .03 auto;
}

/* delete price */

.product-price {
  text-align: right;
}


.product-detail .product-price {
  text-align: left;
  font-size: 2em;
}

.product-price .price {
  text-decoration: none;
}

.product-price .delete-price {
  font-weight: 300;
  color: #a0a0a0;
  text-decoration: line-through;
  font-size: .9em;
}

.section-heading {
  font-family: inherit;
  text-align: center;
  position: relative;
}

.section-heading::before {
  content: '';
  border-top: 1px dashed #72a499;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}

.section-heading span {
  background: #fff;
  padding: 0 25px;
  position: relative;
}

/*css cart-navi and cart right*/
.cart-navi {}

.now-order-card-group .order-card-item .note-order input {
  font-size: 12px;
  border: 0;
  padding: 0;
  width: 210px
}

.now-order-card-group .order-card-item .note-order input:focus {
  outline: none
}

.now-order-card-group .order-card-item .note-order ::-webkit-input-placeholder {
  opacity: .6
}

.now-order-card-group .order-card-item .note-order ::-ms-input-placeholder {
  opacity: .6
}

.now-order-card-group .order-card-item .note-order ::placeholder {
  opacity: .6
}

/*end css cart-navi*/

/* button add to cart  */

.btn-cart {
  position: absolute !important;
  transition: all ease 0.35s;
  opacity: 0;
  font-size: .9em;
  padding: 7px 15px !important;
}

/* NEW CHANGE */
/* 
.btn-yum {
  bottom: 5%;
  cursor: pointer;
  font-size: 18px;
  height: 55px;
  left: auto;
  position: absolute;
  right: 5%;
  top: auto;
  width: 74px;
}

.btn-yum .yum, .btn-yum .count {
  background: url("../../img/add-to-cart.png") no-repeat scroll center center / 90% auto;
  border-radius: 4em;
  bottom: 0;
  color: #aaa;
  height: 2em;
  left: auto;
  line-height: 1;
  margin: 0;
  position: absolute;
  right: 0;
  text-shadow: none;
  top: auto;
  transform: rotateZ( 0deg);
  transition: transform 1s ease 0s;
  width: 2em;
  z-index: 10;
  opacity: 1;
} */

.shopping-cart {
  display: inline-block;
  background: url(../../img/cart.png) no-repeat 0 0;
  width: 24px;
  height: 24px;
  margin: 0 10px 0 0;
}

/* hover button add to cart  */

.product-item:hover .btn-cart {
  background: rgb(152 182 22 / 80%);
  transition: .5s cubic-bezier(0.39, 0.575, 0.565, 1);
  color: #72a499 !important;
  opacity: 1;
}

.product-item:hover .product-photo img {
  transform: scale(1.1);
}

/* button shop now*/

.category-caption {
  background: #72a499;
  padding: 35px;
  position: relative;
  /* box-shadow: 0 0 10px rgb(0 0 0 / 50%); */
  font-family: inherit;
  /* height: 100%; */
}

.category-caption h3 {
  position: relative;
  color: #fff;
  font-size: 2.5em;
}

.category-caption h3 span {
  background: #72a499;
  position: relative;
  padding-right: 25px;
  font-size: 38px;
}

.category-caption h3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px dashed #fff;
}

.btn-shop {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 32px;
  position: relative;
  overflow: hidden;
  /* màu cho đường viền và làm cho phần  */
  border: 1px solid #fff;
  border-radius: 100px 100px 15px 100px;
  cursor: pointer;
  text-decoration: none;
  z-index: 0;
}

.product-detail .btn-shop {
  border: 1px solid #5b857b;
  background: #72a499;
}

.btn-shop::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  left: 100%;
  top: 0;
  /* hiệu ứng*/
  transition: .6s cubic-bezier(0.65, 0.05, 0.36, 1);
  /* tạo cái tam giác phía dưới bên phải */
  transform: translateX(-17px) skewX(-45deg);
  transform-origin: bottom;
  /* thay đổi màu cho hiệu ứng */
  background-color: #fff;
  z-index: 1;
}

.product-detail .btn-shop::before {
  background-color: #7cb3a7;
}

/* hover và chuyển động hình */

.btn-shop:hover .button-text {
  color: #72a499;
}

.product-detail .btn-shop:hover .button-text {
  color: #fff;
}

.btn-shop:hover::before {
  transform: translateX(calc(-100% - 17px)) skewX(-45deg);
}
a.btn-shop:hover {
  text-decoration: none;
}
/* chữ bị che => hiện chữ lên */

.button-content-wrapper {
  position: relative;
  z-index: 2;
}

/* cài đặt lại style cho chữ */

.button-text {
  line-height: 1.1;
  color: #fff;
  transition: 1s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.category-full {
  background: #72a499;
}

.category-full .category-caption {
  box-shadow: none;
  text-align: center;
  padding-top: 80px;
}

.category-full .category-caption h3 span {
  padding-left: 25px;
}

.category-full .category-caption p {
  color: #fff;
  font-size: 1.5em;
  font-weight: 300;
  padding: 30px;
}

.carousel-control-next, .carousel-control-prev {
  z-index: 10;
  width: 10%;
}

/* About */

.about-content {
  font-size: 2em;
  text-align: center;
  padding: 0 10%;
}

/* -----------------------------------------------DISSCOUNT---------------------------------------------- */

.email-wrapper {
  background-color: #dde9ed;
  margin-top: 50px;
  padding: 100px 0;
}

.subscribe-name-email {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.subscribe-name {
  all: unset;
  height: 40px;
  width: 200px;
  background: none;
  border: none;
  padding-left: 0;
  font-size: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  margin-right: 2%;
  text-align: left;
  font-size: 1.2rem;
}

.subscribe-email {
  all: unset;
  height: 40px;
  width: 200px;
  background: none;
  border: none;
  padding-left: 0;
  font-size: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  margin-right: 2%;
  text-align: left;
  font-size: 1.2rem;
}

.text-holder h3 {
  font-size: 2.5rem;
}

.text-holder span {
  font-size: 20px;
}

.subscribe-submit {
  background-color: #000;
  width: 40px;
  height: 40px;
  text-align: center;
  padding-top: 5px;
}

/* section */

.section-1 {
  padding: 50px 0;
  background: #72a499;
}

.section-3 {
  padding: 50px 0;
  /* background: #72a499; */
}

/* config icon */

svg.infobox_icon {
  width: 2.5rem;
  height: 2.5rem;
}

/* section_col */

.section_col {
  transition: all .3s;
  background-color: #fff;
  margin: -30px 15px 0 15px;
  border-radius: 5px;
  box-shadow: 0px 0px 15px 1px rgba(197, 197, 197, 0.39);
  position: relative;
  z-index: 1;
}

.section_wrap-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.section_col-item {
  width: 100%;
  height: 100%;
  position: relative;
}

.infobox {
  width: 100%;
  height: 100%;
  padding: 27px 0;
}

.infobox_link {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.infobox_wrapper {
  display: grid;
  grid-template-columns: 3fr 5fr;
  width: 100%;
  height: 100%;
}

.icon_wrapper {
  text-align: right;
}

.icon_wrapper>.infobox_icon {
  fill: #72a499;
  margin: 2px 20px 0px 0px;
  ;
}

.content_wrapper {
  text-align: left;
}

.content_wrapper>.infobox-title>h3 {
  font-size: 18px;
  margin: 0px 0px 8px 0px;
  color: #232323;
  font-weight: 600;
}

.content_wrapper>.infobox-content {
  font-size: .9rem;
  color: #4f555a;
  font-weight: 100;
}

.section_wrap-col .section_col-item::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  height: 70%;
  border-right: 1px solid #72a499;
}

.section_wrap-col .section_col-item:first-child:before {
  border: none;
}

.infobox:hover {
  transition: .35s;
  background-color: #72a499;
  color: #fff;
}

.infobox:hover>.infobox_wrapper>.icon_wrapper>.infobox_icon {
  fill: #fff;
}

.infobox:hover>.infobox_wrapper>.content_wrapper>.infobox-title>h3 {
  color: #fff;
}

.infobox:hover>.infobox_wrapper>.content_wrapper>.infobox-content {
  color: #fff;
}

/* Product detail */

.product-name {
  font-weight: bold;
  color: #72a499;
  text-align: left;
}

.product-sku {
  font-weight: 300;
}

/*css owl-carousel 3th end category  */

.owl-carousel img {
  object-fit: cover;
  width: 100%;
  height: 60vh;
}

.owl-prev span {
  left: -30px;
}

.owl-next span {
  right: -30px;
}

.owl-next span, .owl-prev span {
  position: absolute;
  top: 90px;
  color: black;
  font-size: 60px;
}

.main-cart-btn {
  display: block;
  position: fixed;
  right: 55px;
}

/* ============ desktop view ============ */


@media all and (min-width: 992px) {
  .navbar .has-megamenu {
    position: static !important;
    font-size: 14px;
    color: #232323;
    font-weight: 600;
  }

  .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
  }

  .navbar .nav-item .dropdown-menu {
    top: 50px;
    display: none;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }

  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
  }

  .sub-cart {
    display: none;
  }

  .btn-cart-nav {
    width: 30px;
    height: 30px;
  }

  .navbar-brand-centered {
    left: 50%;
  }

  .navbar>.container .navbar-brand-centered, .navbar>.container-fluid .navbar-brand-centered {
    transform: translateX(-50%);
  }

}

@media (min-width: 1024px) {
  .navbar .has-megamenu {
    font-size: 18px;
    font-weight: 600;
  }

}

/* ============ mobile view ============ */

@media(max-width: 991px) {
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
    overflow-y: auto;
    max-height: 90vh;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {

  /* .product-item .product-photo img{
   height: 169px;
  } */
  .section_col {
    margin: 15px;
  }

  .section_col-item {
    grid-column: 1/7;
  }

  .cart-navi {
    display: none;
  }

  .product-item .product-photo {
    height: 200px;
  }
}


/* medium and up screens */

@media (min-width: 768px) {
  .product-photo img {
    /* height: auto;*/
  }


}

/*css response-mega mega-menu*/

@media (min-width:250px) and (max-width:766px) {
  .response-mega {
    display: block;
  }

  .product-item .product-name {
    padding-right: 25px;
    font-size: 13px;
  }

  .product-item .product-name a {
    /* padding-left: 13px; */
    padding-right: 0;
  }

  .product-item .product-name::before {
    right: 5px;
    left: 0%;
  }

  .logo-nav .navbar-brand img {
    width: 118px;
  }
}

@media all and (min-width: 992px) and (max-width: 1200px) {
  .main-cart-btn {
    display: block;
    position: fixed;
    right: 150px;
  }

}














/*css danh cho hien thi san pham nhu web cu*/






@font-face {
  font-family: 'ClickerScript-Regular';
  src: url('../fonts/ClickerScript-Regular.eot');
  src: local('?'), url('../fonts/ClickerScript-Regular.woff') format('woff'), url('../fonts/ClickerScript-Regular.ttf') format('truetype'), url('../fonts/ClickerScript-Regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "UTM";
  src: url("../fonts/UTM.eot");
  /* this line made the difference */
  src: local("UTM"),
    url("../fonts/UTM.ttf") format("truetype"),
    url("../fonts/UTM.eot?"),
    url("../fonts/UTM.woff") format("woff"),
    url("../fonts/UTM.svg#UTM") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VPSHANO';
  src: url("../fonts/VPSHANO.eot");
  /* this line made the difference */
  src: local("VPSHANO"),
    url("../fonts/VPSHANO.ttf") format("truetype"),
    url("../fonts/VPSHANO.eot?"),
    url("../fonts/VPSHANO.woff") format("woff"),
    url("../fonts/VPSHANO.svg#VPSHANO") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'American Typewriter';
  font-style: normal;
  src: url(../fonts/AmericanTypewriter.eot) format("embedded-opentype"), url(../fonts/AmericanTypewriter.woff) format("woff"), url(../fonts/AmericanTypewriter.ttf) format("truetype"), url(../fonts/AmericanTypewriter.svg#AmericanTypewriter) format("svg");
  font-display: swap;
}

@font-face {
  font-family: 'American Typewriter Bold';
  src: url(../fonts/AmericanTypewriter-Bold.eot);
  src: url(../fonts/AmericanTypewriter-Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/AmericanTypewriter-Bold.woff2) format("woff2"), url(../fonts/AmericanTypewriter-Bold.woff) format("woff"), url(../fonts/AmericanTypewriter-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v21/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDYbtPY_Q.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  font-display: swap;
}

@font-face {
  font-family: "UVNBaiSau_R";
  src: url("../fonts/UVNBaiSau_R.eot");
  /* this line made the difference */
  src: local("UVNBaiSau_R"),
    url("../fonts/UVNBaiSau_R.ttf") format("truetype"),
    url("../fonts/UVNBaiSau_R.eot?"),
    url("../fonts/UVNBaiSau_R.woff") format("woff"),
    url("../fonts/UVNBaiSau_R.svg#UVNBaiSau_R") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.btn-yum {
  bottom: 5%;
  cursor: pointer;
  font-size: 18px;
  height: 55px;
  left: auto;
  position: absolute;
  right: 5%;
  top: auto;
  width: 74px;
}

.btn-yum .yum, .btn-yum .count {
  background: url("../img/add-to-cart.png") no-repeat scroll center center / 90% auto;
  border-radius: 4em;
  bottom: 0;
  color: #aaa;
  height: 2em;
  left: auto;
  line-height: 1;
  margin: 0;
  position: absolute;
  right: 0;
  text-shadow: none;
  top: auto;
  transform: rotateZ(0deg);
  transition: transform 1s ease 0s;
  width: 2em;
  z-index: 10;
  opacity: 0.5;
}

.btn-yum .count {
  background: #efefef none repeat scroll 0 0;
  color: #51bd36;
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 3;
  margin: 0;
  text-align: center;
  z-index: 20;
}

.btn-yum.yummed .yum {
  background: #fff url("../img/yum-orange.png") no-repeat scroll center center / 90% auto;
  text-shadow: 0 0 1px #fff;
  transform: rotateZ(-1turn);
}

.btn-yum.yummed .count {
  background: #58b720 none repeat scroll 0 0;
  color: #fff;
  transform: rotateZ(1turn);
}

.btn-yum~.overlay-wrapper {
  font-size: 14px;
  left: 10%;
  line-height: 20px;
  top: 98%;
  width: 80%;
  z-index: 1000000;
}

.btn-yum~.overlay-wrapper::after {
  border-bottom: 9px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  bottom: auto;
  content: "";
  display: block;
  left: auto;
  position: absolute;
  right: 25px;
  top: -8px;
}

.btn-yum~.overlay-wrapper .overlay-title {
  line-height: 1.5;
  text-align: left;
}

.btn-yum~.overlay-wrapper .item-container {
  max-height: 175px;
}

.btn-yum~.overlay-wrapper .item-container>.checkbox span {
  width: 85%;
}

.btn-yum~.overlay-wrapper .create-collection .ingredient-suggest {
  width: 150px;
}

@media only screen and (min-width: 480px) and (max-width: 839px) {
  .btn-yum {
    height: 50px;
    width: 65px;
  }

  .btn-yum .yum {
    height: 2.45em;
    right: -4px;
    width: 2.45em;
  }

  .btn-yum .count {
    font-size: 8px;
  }
}

.cards {
  background: #383838 none repeat scroll 0 0;
  bottom: auto;
  display: table;
  font-size: 0;
  left: auto;
  line-height: 0;
  position: relative;
  right: auto;
  text-align: left;
  top: auto;
  width: 100%;
  z-index: 1;
}

.y-grid-card {
  cursor: pointer;
  display: inline-block;
  overflow: visible;
  position: relative;
  text-align: center;
  width: 100%;
  height: 100%;
}

.half-circle-ribbon {
  background: #9BC90D;
  color: #fff !important;
  height: 40px;
  width: 40px;
  padding-top: 15px;
  padding-right: 2px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 0 0 100%;
  border: 1px dashed #fff;
  box-shadow: 0 0 0 3px #9BC90D;
  font-size: 15px;
  text-align: right;
  font-weight: bold;
  z-index: 1;
}

.y-grid-card.animate .half-circle-ribbon {
  opacity: 0.6;
}

.y-grid-card.animate:hover .half-circle-ribbon {
  opacity: 0.8;
}

.y-grid-card .half-circle-ribbon, .product-image-container .half-circle-ribbon {
  padding-top: 5px;
  font-size: 13px;
}

.half-circle-ribbon.ribbon-left {
  right: auto;
  left: 0;
  border-radius: 0 0 100% 0;
  text-align: left;
  padding-left: 2px;
  padding-right: 0;
}

.ribbon {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  width: 100px;
  height: 100px;
  text-align: right;
}

.ribbon span {
  font-size: 12px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 120px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#9BC90D 0%, #79A70A 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 25px;
  right: -25px;
}

.ribbon.ribbon-left {
  right: auto;
  left: 0;
}

.ribbon.ribbon-left span {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  left: -25px;
  right: auto;
}

.y-grid-card .y-image {
  background: #323232 none no-repeat scroll center center / cover;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
  display: block;
  font-size: 0;
  height: 100%;
  line-height: 0;
  outline: medium none;
}

.y-grid-card .y-image img {
  height: 100%;
  transition: opacity 200ms ease-out 0s;
  visibility: hidden;
  width: 100%;
}

.y-grid-card .y-image img.postload {
  opacity: 0;
}

.y-grid-card .y-info {
  bottom: auto;
  left: 5%;
  position: absolute;
  right: auto;
  top: 33%;
  width: 90%;
}

.y-grid-card .y-info a {
  color: #fff;
  text-decoration: none;
}

.y-grid-card .y-title, .y-grid-card .y-source, .y-grid-card .y-ingredients {
  display: block;
  font-size: 13px;
  line-height: 18px;
  text-shadow: 0 1px 2px #000, 0 0 0;
}

.y-grid-card .y-title {
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}

.y-grid-card .y-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: auto;
}

.y-grid-card .y-source {
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 7px 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
  width: auto;
}

.y-grid-card .y-ingredients {
  color: #e1ddd2;
  margin: 0 auto;
  opacity: 0.75;
}

.y-grid-card .y-ingredients b {
  text-shadow: none;
}

.y-grid-card .pronoun {
  display: none;
}

.y-grid-card .sponsored {
  bottom: auto;
  font-size: 14px;
  left: 0;
  line-height: 20px;
  position: absolute;
  right: auto;
  top: 5%;
  z-index: 0;
}

.y-grid-card .sponsored span {
  background: #e1ddd2 none repeat scroll 0 0;
  border-top-right-radius: 2px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
  color: #383838;
  display: block;
  font-family: "Hoefler Text", "Baskerville old face", Garamond, "Times New Roman", serif;
  font-style: italic;
  padding: 2px 12px 0;
}

.y-grid-card .sponsored::before, .y-grid-card .sponsored::after {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #cbc4b1 transparent #cbc4b1 #cbc4b1;
  border-image: none;
  border-style: solid;
  border-width: 11px 9px 11px 13px;
  bottom: auto;
  content: "";
  display: block;
  left: auto;
  position: absolute;
  right: -15px;
  top: 5px;
  z-index: -1;
}

.y-grid-card .sponsored::after {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #a89c7c transparent transparent;
  border-image: none;
  border-style: solid;
  border-width: 5px 7px 7px 0;
  bottom: auto;
  left: auto;
  position: absolute;
  right: 0;
  top: 100%;
}

.y-grid-card .sponsored-image {
  bottom: auto;
  left: auto;
  position: absolute;
  right: 5%;
  top: 5%;
  width: 15.625%;
}

.y-grid-card .sponsored-image img {
  height: auto;
  width: 100%;
}

.y-grid-card:nth-child(2n) .y-image {
  background-color: #2d2d2d;
}

.y-grid-card:nth-child(3n) .y-image {
  background-color: #272727;
}

.y-grid-card:nth-child(4n) .y-image {
  background-color: #222;
}

.y-grid-card:nth-child(5n) .y-image {
  background-color: #1c1c1c;
}

.y-grid-card.has-image .y-info {
  bottom: 5%;
  left: 5%;
  top: auto;
  width: 80%;
}

.y-grid-card.has-image .y-title, .y-grid-card.has-image .y-source, .y-grid-card.has-image .y-ingredients {
  text-align: left;
}

.y-grid-card.has-image .y-ingredients {
  margin: 0;
  width: 98%;
}

.y-grid-card.has-image .y-image img {
  visibility: visible;
}

.y-grid-card.has-image .gradient {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.y-grid-card.has-image.has-sponsor .y-image .gradient {
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
}

.y-grid-card.compact .y-ingredients {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1s ease 0s;
}

.y-grid-card.compact:hover .y-ingredients {
  filter: none;
  opacity: 1;
}

.y-grid-card.urb-card .y-ingredients {
  display: block;
}

@media only screen and (min-device-width: 1025px) {
  .y-grid-card.animate .gradient {
    transform: scale(1.001);
  }

  .y-grid-card.animate .y-image {
    overflow: hidden;
  }

  .y-grid-card.animate .y-image .recipe-image {
    transform: scale(1);
    transition: transform 1s ease 0s, opacity 200ms ease-out 0s;
  }

  .y-grid-card.animate .btn-yum .yum {
    transform: scale(1) rotateZ(0deg);
  }

  .y-grid-card.animate .btn-yum .yum:hover {
    transform: scale(1.07) rotateZ(0deg);
  }

  .y-grid-card.animate .yummed .yum {
    transform: scale(1) rotateZ(-1turn);
  }

  .y-grid-card.animate .yummed .yum:hover {
    transform: scale(1.07) rotateZ(-1turn);
  }

  .y-grid-card.animate:hover .y-image .recipe-image {
    transform: scale(1.1);
    opacity: 0.7;
  }

  .y-grid-card.animate:hover .btn-yum .yum {
    opacity: 1;
  }
}

@media only screen and (min-width: 480px) {
  .y-grid-card {
    width: 50%;
    float: left;
  }

  .y-grid-card .y-source {
    font-size: 11px;
    line-height: 15px;
  }

  .y-grid-card .y-title {
    font-size: 17px;
  }

}

@media only screen and (min-width: 840px) {
  .y-grid-card {
    width: 33.3333%;
    float: left;
  }

  .y-grid-card .y-source {
    font-size: 13px;
    line-height: 18px;
  }

  .y-grid-card .y-title {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1200px) {
  .y-grid-card {
    width: 25%;
    float: left;
  }

  .menu-items .y-grid-card {
    width: 33.33%;
    float: left;
  }
}

@media only screen and (min-width: 1600px) {
  .y-grid-card {
    width: 20%;
  }
}

@media only screen and (min-width: 1920px) {
  .y-grid-card {
    width: 16.6666%;
  }
}

@media only screen and (min-width: 2240px) {
  .y-grid-card {
    width: 14.2857%;
  }
}

@media only screen and (min-width: 2560px) {
  .y-grid-card {
    width: 12.5%;
  }
}

@media only screen and (min-width: 2880px) {
  .y-grid-card {
    width: 11.1111%;
  }
}

@media only screen and (min-width: 3200px) {
  .y-grid-card {
    width: 10%;
  }
}

@media only screen and (min-width: 992px) {
  .views-recipe-search .y-grid-card {
    width: 50%;
  }

  .views-recipe-search .y-grid-card .y-source {
    font-size: 11px;
    line-height: 15px;
  }

  .views-recipe-search .y-grid-card .y-title {
    font-size: 17px;
  }
}

@media only screen and (min-width: 1140px) {
  .views-recipe-search .y-grid-card {
    width: 33.3333%;
  }

  .views-recipe-search .y-grid-card .y-source {
    font-size: 13px;
    line-height: 18px;
  }

  .views-recipe-search .y-grid-card .y-title {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1500px) {
  .views-recipe-search .y-grid-card {
    width: 25%;
  }
}

@media only screen and (min-width: 1900px) {
  .views-recipe-search .y-grid-card {
    width: 20%;
  }
}

@media only screen and (min-width: 2220px) {
  .views-recipe-search .y-grid-card {
    width: 16.6666%;
  }
}

@media only screen and (min-width: 2540px) {
  .views-recipe-search .y-grid-card {
    width: 14.2857%;
  }
}

@media only screen and (min-width: 2860px) {
  .views-recipe-search .y-grid-card {
    width: 12.5%;
  }
}

@media only screen and (min-width: 3180px) {
  .views-recipe-search .y-grid-card {
    width: 11.1111%;
  }
}

@media only screen and (min-width: 3500px) {
  .views-recipe-search .y-grid-card {
    width: 10%;
  }
}

.views-page.tab-featured .cards {
  margin: 20px auto;
  max-width: 980px;
}

@media only screen and (max-width: 991px) {
  .views-page.tab-featured .cards {
    text-align: center;
  }
}

@media only screen and (min-width: 960px) {
  .views-page.tab-featured .y-grid-card {
    width: 33.3333%;
  }

  .views-page.tab-featured .y-grid-card .y-source {
    font-size: 13px;
    line-height: 18px;
  }

  .views-page.tab-featured .y-grid-card .y-title {
    font-size: 18px;
  }
}

@media screen and (max-width : 1700px) {

  /* .y-grid-card{
    height: 280px;
  } */
  .product-main-home-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-areas: "category-home-page product-itemm" "category-home-page product-itemm"; */
    grid-gap: 2rem;
  }
}

@media screen and (max-width : 1500px) {

  /* .y-grid-card{
    height: 275px;
  } */
  .product-main-home-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-areas: "category-home-page product-itemm" "category-home-page product-itemm"; */
    grid-gap: 2rem;
  }
}

@media screen and (max-width : 1200px) {

  /* .y-grid-card{
    height: 275px;
  } */
  .product-main-home-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-areas: "category-home-page product-itemm" "category-home-page product-itemm"; */
    grid-gap: 2rem;
  }
}

@media screen and (max-width : 992px) {

  /* .y-grid-card{
    height: 275px;
  } */
  .product-main-home-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-areas: "category-home-page product-itemm" "category-home-page product-itemm"; */
    grid-gap: 2rem;
  }
}


@media screen and (max-width:710px) {
  .product-main-home-page {
    display: grid;
    grid-template-columns: 1fr;
    /* grid-template-areas: "category-home-page" "product-itemm"; */
    grid-gap: 2rem;
  }

  /* .y-grid-card{
    height: 250px;
  } */
  .y-grid-card.compact .y-ingredients {
    display: none;
  }

  #language_selector ul li {
    margin-right: 0;
  }

  .efruit-phone {
    display: block;
  }

  .efruit-ph-circle {
    height: 120px;
    width: 120px;
    top: 20px;
    left: 20px;
  }

  .efruit-ph-circle-fill {
    height: 75px;
    width: 75px;
    top: 42.5px;
    left: 42.5px;
  }

  .efruit-ph-img-circle {
    height: 45px;
    width: 45px;
    top: 57.5px;
    left: 57.5px;
    background-size: 80% auto;
  }

  .efruit-phone {
    height: 150px;
    width: 150px;
    bottom: -25px;
    left: -25px;
  }
}

@media screen and (max-width:480px) {
  .product-main-home-page {
    display: grid;
    grid-template-columns: 1fr;
    /* grid-template-areas: "category-home-page" "product-itemm"; */
    grid-gap: 2rem;
  }

  /* .y-grid-card{
    height: 213px;
  } */
  .y-grid-card .y-title {
    font-size: 13px;
  }

  .btn-yum .yum, .btn-yum .count {
    height: 28px;
    width: 28px;
  }

  .y-grid-card .y-source {
    margin: 0;
  }

  #language_selector {
    position: absolute;
    right: 45px;
    top: 20px;
    width: 50px;
    z-index: 999;
  }

  .efruit-ph-circle {
    height: 80px;
    width: 80px;
    top: 10px;
    left: 10px;
  }

  .efruit-ph-circle-fill {
    height: 50px;
    width: 50px;
    top: 25px;
    left: 25px;
  }

  .efruit-ph-img-circle {
    height: 30px;
    width: 30px;
    top: 35px;
    left: 35px;
    background-size: 80% auto;
  }

  .efruit-phone {
    height: 100px;
    width: 100px;
    bottom: 0px;
    left: 0px;
  }
}