/*--------------------------------------------------------------
--------------------------------------------------------------
# for landing page
--------------------------------------------------------------    
--------------------------------------------------------------*/
@media (max-width: 400px) {
  .header .logo img {
    max-width: 150px;
  }
}

/*--------------------------------------------------------------
# Button
--------------------------------------------------------------*/
.btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

/*--------------------------------------------------------------
# Input Group
--------------------------------------------------------------*/
.totachi-input-group-search {
  position: relative;
}

.totachi-input-group-search .icon {
  position: absolute;
  opacity: 0.5;
  top: 7px;
  left: 10px;
}

.totachi-input-group-search .form-control {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
.totachi-heading {
  color: var(--color-black);
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.totachi-content {
  color: var(--color-black);
}


/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
.product section,
.news section {
  overflow: hidden;
  padding: 80px 0;
}

.product .section-bg,
.news .section-bg {
  background-color: #eee;
}

.product .section-header,
.news .section-header{
  text-align: center;
  padding-bottom: 30px;
    border-bottom: none;
}

.product .section-header h2,
.news .section-header h2{
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #7f7f90;
  text-transform: uppercase;
  font-family: var(--font-default);
}

.product .section-header p,
.news .section-header p {
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  font-family: var(--font-primary);
}

.product .section-header p span,
.news .section-header p span {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Product Section
--------------------------------------------------------------*/
.product .nav-tabs {
  border: 0;
}

.product .nav-link {
  margin: 0 10px;
  padding: 10px 5px;
  transition: 0.3s;
  color: var(--color-secondary);
  border-radius: 0;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 2px solid #b6b6bf;
}

@media (max-width: 575px) {
  .product .nav-link {
    margin: 0 10px;
    padding: 10px 0;
  }
}

.product .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.product .nav-link h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  font-family: var(--font-secondary);
}

@media (max-width: 575px) {
  .product .nav-link h4 {
    font-size: 16px;
  }
}

.product .nav-link:hover {
  color: var(--color-primary);
}

.product .nav-link.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.product .tab-content .tab-header {
  padding: 30px 0;
}

.product .tab-content .tab-header p {
  font-size: 14px;
  text-transform: uppercase;
  color: #676775;
  margin-bottom: 0;
}

.product .tab-content .tab-header h3 {
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
}

.product .tab-content .product-item {
  -moz-text-align-last: center;
  text-align-last: center;
}

.product .tab-content .product-item .product-img {
  padding: 0 60px;
  margin-bottom: 15px;
}

.product .tab-content .product-item h4 {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  margin-bottom: 5px;
}

.product .tab-content .product-item .ingredients {
  font-family: var(--font-secondary);
  color: #8d8d9b;
  margin-bottom: 5px;
}

.product .tab-content .product-item .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

.product .tab-content .product-item .product-item-spec ul {
  list-style-type: none;
}



/*--------------------------------------------------------------
# News Section
--------------------------------------------------------------*/
.news .chef-member {
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 0 30px rgba(55, 55, 63, 0.08);
  transition: 0.3s;
}

.news .chef-member .member-img {
  position: relative;
  overflow: hidden;
}

.news .chef-member .member-img:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: url(../img/team-shape.svg) no-repeat center bottom;
  background-size: contain;
  z-index: 1;
}

.news .chef-member .social {
  position: absolute;
  right: -100%;
  top: 30px;
  opacity: 0;
  border-radius: 4px;
  transition: 0.5s;
  background: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.news .chef-member .social a {
  transition: color 0.3s;
  color: rgba(55, 55, 63, 0.4);
  margin: 15px 12px;
  display: block;
  line-height: 0;
  text-align: center;
}

.news .chef-member .social a:hover {
  color: rgba(55, 55, 63, 0.9);
}

.news .chef-member .social i {
  font-size: 18px;
}

.news .chef-member .member-info {
  padding: 10px 15px 20px 15px;
}

.news .chef-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: var(--color-secondary);
}

.news .chef-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(33, 37, 41, 0.4);
}

.news .chef-member .member-info p {
  font-style: italic;
  font-size: 14px;
  padding-top: 15px;
  line-height: 26px;
  color: rgba(33, 37, 41, 0.7);
}

.news .chef-member:hover {
  transform: scale(1.08);
  box-shadow: 0px 0 30px rgba(55, 55, 63, 0.15);
}

.news .chef-member:hover .social {
  right: 8px;
  opacity: 1;
}

.single-post .head-image {
  max-width: 70%;
  max-height: 70vh;

} 

.single-post .news-attachment .news-item {
  float: left;
  margin: 10px 0;
}

.single-post .news-attachment .news-item>img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  image-resolution: from-image;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}