/**
* Theme Name:     Macfood Layout
* Theme URI:      https://templatemela.com/
* Author:         TemplateMela
* Author URI:     https://templatemela.com
* Description:    This is a child theme of Avanam, generated by TemplateMela.
* Version:        1.0.0
* License:        GNU General Public License v3.0 (or later)
* License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
:root {
  --global-gray-400: #e5e5e5;
}

:root .color-switch-dark .sub-menu {
  --global-palette9: #181818;
}

.woocommerce form .form-row label {
  font-weight: 500;
  color: var(--global-palette3);
}

.welcome-newsletter input[type=email] {
  min-height: 45px;
  min-width: 220px;
  padding-left: 15px;
  border-radius: 0;
  max-width: 220px;
}

.welcome-newsletter {
  text-align: center;
}

.site-header .elementor-section .elementor-element.elementor-widget-tmcore-product-categories .product-cat:hover .cat-image img {
  border-color: var(--global-palette2);
}
.site-header .site-main-header-inner-wrap .header-search-advanced .tmc-suggestion .tmc-product-search-item {
  display: block;
}
.site-header .site-main-header-inner-wrap .header-search-advanced .tmc-suggestion .tmc-product-search-item .tmc-product-search-item-content {
  padding: 10px 0 0 0px;
}
.site-header .site-main-header-inner-wrap .header-search-advanced .search-results .search-data {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.site-header .site-main-header-inner-wrap .header-search-advanced form.search-form {
  height: 35px;
}
.site-header .site-main-header-inner-wrap .header-search-advanced form.search-form input.search-field {
  height: auto;
}
.site-header .site-main-header-inner-wrap .header-search-advanced form.search-form .search-category-field {
  display: none;
}
.site-header .site-bottom-header-wrap .header-cart-button .header-cart-total {
  margin-left: -0.8em;
  margin-top: -1.5em;
}

.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap {
  font-weight: 500;
  font-size: 15px;
  color: var(--global-palette3);
}
.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap:hover {
  color: var(--global-palette2);
}

#masthead .base-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.46);
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.46);
}

.site-footer .site-middle-footer-inner-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.site-footer .site-middle-footer-inner-wrap .contact_info .contact-info-container p {
  margin: 8px 0;
}
.site-footer .site-middle-footer-inner-wrap .widget-title {
  margin-bottom: 1.4em;
}
.site-footer .site-middle-footer-inner-wrap .footer-widget-area .widget li + li {
  margin: 9px 0 0;
}
.site-footer .site-middle-footer-inner-wrap .ft-ro-dir-row .footer-section-inner-items-2 .footer-widget-area {
  -webkit-box-flex: 1;
      -ms-flex: auto;
          flex: auto;
}
.site-footer .site-middle-footer-inner-wrap .footer-widget-area-inner .widget .wp-block-columns {
  gap: 0.8em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.site-footer .site-middle-footer-inner-wrap .wp-widget-group__inner-blocks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.site-footer .site-middle-footer-inner-wrap .wp-widget-group__inner-blocks .wp-block-latest-posts__featured-image {
  margin-right: 20px;
}
.site-footer .site-middle-footer-inner-wrap .wp-widget-group__inner-blocks .wp-block-latest-posts__post-date {
  color: var(--global-palette1);
  display: block;
}
.site-footer .site-bottom-footer-inner-wrap .site-footer-bottom-section-1, .site-footer .site-bottom-footer-inner-wrap .site-footer-bottom-section-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.site-footer .site-bottom-footer-inner-wrap .footer-navigation {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
}

.newsletter {
  width: 580px;
  position: relative;
}
.newsletter input[type=email] {
  width: 100%;
  background-color: var(--global-palette8);
  height: 50px;
  padding: 5px 150px 5px 15px;
  border-radius: 0px;
  border: none;
}
.newsletter input[type=submit] {
  height: 50px;
  position: absolute;
  right: 0;
}
.newsletter input[type=submit]:hover {
  background-color: var(--global-palette3);
  color: var(--global-palette9);
}

.wp-block-latest-posts__post-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cms-banner .elementor-column .elementor-widget-image {
  overflow: hidden;
}

.bt-layout-left .thumb-wrapper.splide__slider .splide__arrow, .bt-layout-right .thumb-wrapper.splide__slider .splide__arrow {
  background-color: var(--global-palette9);
}

.woocommerce .woocommerce-checkout .shop_table {
  background: var(--global-palette7);
}

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .single-product-payments {
  background-color: var(--global-palette9);
}

.cms-banner-hover {
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  display: inline-block;
}
.cms-banner-hover .banner-anchor {
  position: relative;
  display: block;
}
.cms-banner-hover .banner-anchor a::before {
  background: rgba(255, 255, 255, 0.4) none repeat scroll 0 0;
  top: 0;
  bottom: 0;
  opacity: 1;
  filter: alpha(opacity=100);
  content: "";
  left: 50%;
  right: 50%;
  position: absolute;
  z-index: 1;
}
.cms-banner-hover:hover .banner-anchor a::before {
  left: 0;
  right: 0;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  opacity: 0;
  filter: alpha(opacity=0);
}

#filter-drawer .drawer-inner {
  background: var(--global-palette7);
}

.primary-sidebar.widget-area .widget, #filter-drawer .widget {
  background-color: var(--global-palette9);
  padding: 20px;
}
.primary-sidebar.widget-area .widget-content, #filter-drawer .widget-content {
  margin-top: 15px;
}
.primary-sidebar.widget-area .widget-title, #filter-drawer .widget-title {
  border-bottom: 1px solid var(--global-gray-400);
  padding-bottom: 15px;
}

.service-section .elementor-icon {
  -webkit-box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);
}

.testimonial-section .item-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.testimonial-section .item-box .details, .testimonial-section .item-box .title, .testimonial-section .item-box .content {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.product-tab .elementor-widget-tmcore-products-tabs .elementor-tab-title.elementor-active .elementor-tab-image img {
  -webkit-filter: none;
          filter: none;
}
.product-tab .elementor-widget-tmcore-products-tabs .elementor-tab-title:hover .elementor-tab-image img {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}

#bt-reviews-overview .bt_reviews_stats_total, #bt-reviews-overview .bt_rating_bar_bg {
  background-color: var(--global-palette9);
}

.archive.category .entry-hero.post-archive-hero-section .entry-hero-container-inner, .archive.tag .entry-hero.post-archive-hero-section .entry-hero-container-inner {
  padding: 10px 0;
}
.archive.category .entry-hero.post-archive-hero-section .entry-header P, .archive.tag .entry-hero.post-archive-hero-section .entry-header P {
  margin-top: 5px;
}

.archive.tax-product_brands .entry-hero.product-archive-hero-section .entry-hero-container-inner {
  padding: 10px 0;
}
.archive.tax-product_brands .entry-hero.product-archive-hero-section .entry-header P {
  margin-top: 5px;
}

.primary-sidebar .widget .wp-block-latest-posts__list li {
  line-height: 1.5;
}

.mobile-navigation .woocommerce ul.products li.product .product-action-wrap a {
  padding: 8px 20px;
}

.woocommerce-carousel .splide__track ul.products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transform-style: unset;
          transform-style: unset;
}
.woocommerce-carousel .splide__track ul.products li.product {
  margin: 0;
  margin-right: 28px;
  width: calc(25% - 21px);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
  width: 33.3333%;
  padding-left: 15px;
  padding-right: 15px;
}

.menu .menu-item .woocommerce ul.products li.product .woocommerce-loop-product__title a, .woocommerce .woocommerce-loop-product__title, .products-list .product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.products-list .product-title {
  -webkit-line-clamp: 3;
}

.woosq-product .thumbnails .slick-arrow {
  width: 45px;
  height: 45px;
}
.woosq-product .thumbnails .slick-arrow:hover:before, .woosq-product .thumbnails .slick-arrow:focus:before {
  color: var(--global-palette9);
}
.woosq-product .thumbnails .slick-arrow:before {
  font-size: 24px;
  line-height: 44px;
}

.woocommerce ul.products li.product .entry-content-wrap .woocommerce-loop-category__title a:hover, .woocommerce ul.products li.product .entry-content-wrap .woocommerce-loop-product__title a:hover, .woocommerce ul.products li.product .entry-content-wrap h3 a:hover {
  color: var(--global-palette2);
}

.woocommerce ul.products:not(.products-list-view) li.product {
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0;
  border-radius: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product .product-details.entry-content-wrap {
  border-radius: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product .product-details.entry-content-wrap .star-rating {
  margin: 5px 0;
  float: none;
}
.woocommerce ul.products:not(.products-list-view) li.product .product-details.entry-content-wrap .woocommerce-loop-product__title {
  padding-bottom: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product .product-details.entry-content-wrap .product-action-wrap.style-button {
  padding: 0;
}
.woocommerce .related.products > h2, .woocommerce .woosc-quick-table > h2, .woocommerce .up-sells.upsells.products > h2, .woocommerce .cross-sells > h2 {
  text-align: center;
  text-transform: capitalize;
  margin-bottom: 30px;
}
.woocommerce .related.products > h2::after, .woocommerce .woosc-quick-table > h2::after, .woocommerce .up-sells.upsells.products > h2::after, .woocommerce .cross-sells > h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background-color: var(--global-palette1);
  margin: 8px auto;
}
.woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
.woocommerce div.product div.summary .added_to_cart,
.woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
  font-weight: 500;
  line-height: 1.9;
  font-size: 15px;
  padding: 7px 28px;
  text-transform: capitalize;
  border-radius: 0px;
  letter-spacing: 0.5px;
}
.woocommerce ul.cart_list li a,
.woocommerce ul.cart_list li .quantity,
.woocommerce ul.product_list_widget li a,
.woocommerce ul.product_list_widget li .quantity {
  font-size: 15px;
  font-weight: 400;
}
.woocommerce .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(.tmcore-product-price-filter .woocommerce-Price-amount) {
  color: var(--global-palette2);
  font-weight: 600;
}
.woocommerce .tr-price,
.woocommerce .price,
.woocommerce .woocommerce-grouped-product-list-item__price {
  color: var(--global-palette2);
  font-weight: 600;
}
.woocommerce .tr-price del,
.woocommerce .price del,
.woocommerce .woocommerce-grouped-product-list-item__price del {
  color: var(--global-palette4);
  text-decoration-color: var(--global-palette4);
  font-weight: 600;
}
.woocommerce form .form-row label {
  font-size: 100%;
}
.woocommerce table.shop_table {
  font-size: 100%;
}
.woocommerce #cart-drawer h2.side-cart-header {
  font-size: 15px;
}
.woocommerce #reviews #comments h2 {
  font-size: 19px;
  color: var(--global-palette3);
}
.woocommerce #reviews .comment-reply-title {
  font-size: 20px;
  color: var(--global-palette3);
}
.woocommerce span.onsale {
  background-color: #ef2d2d;
  font-size: 0.8em;
  padding: 0.3em 0.7em;
}
.woocommerce .wc-block-components-notice-banner {
  font-size: 1em;
}
.woocommerce .products-list-view .product-thumbnail {
  border-right: 1px solid var(--global-gray-400);
}
.woocommerce div.product div.summary button.woosc-btn-has-icon.woosc-btn-icon-text:hover, .woocommerce div.product div.summary button.woosw-btn-has-icon.woosw-btn-icon-text:hover {
  color: var(--global-palette2);
}

.home-product-category .product-cat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.home-product-category .product-cat .product-cat-caption {
  margin-top: 0;
}

.woocommerce:not(.products-list) ul.products-list-view li.product {
  border-radius: 0;
  border: none;
  background-color: var(--global-palette9);
}

#payment ul.wc_payment_methods li.wc_payment_method > label {
  background-color: var(--global-palette9);
}

.base-sticky-add-to-cart-title-wrap .base-sticky-add-to-cart-title {
  font-size: 15px;
  font-weight: 400;
}

.base-product-toggle-container .base-toggle-shop-layout.toggle-active {
  background: var(--global-palette2);
  color: var(--global-palette9);
}

.base-product-toggle-container .base-toggle-shop-layout {
  background-color: var(--global-palette9);
  color: var(--global-palette5);
}
.base-product-toggle-container .base-toggle-shop-layout:hover {
  background: var(--global-palette2);
  color: var(--global-palette9);
}

.woosw-btn-icon-text .woosw-btn-text, .woosc-btn-icon-text .woosc-btn-text {
  text-transform: capitalize;
  font-weight: 500;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  border: 1px solid var(--global-gray-400);
}

.color-switch-dark .elementor-brand-image img {
  -webkit-filter: invert(1);
          filter: invert(1);
}
.color-switch-dark .newsletter-color {
  -webkit-filter: grayscale(100%) brightness(0%) contrast(0%);
          filter: grayscale(100%) brightness(0%) contrast(0%);
}
.color-switch-dark .site-main-header-wrap .site-header-row-container-inner, .color-switch-dark #masthead .base-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
  background-color: #212121;
}
.color-switch-dark .product-tab .elementor-widget-tmcore-products-tabs .elementor-tab-title .elementor-tab-image img {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}
.color-switch-dark .elementor-widget-divider:not(.divider-border-home):not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon) .elementor-divider-separator {
  border: 2px solid #ffd21d !important;
}
.color-switch-dark .home-product-category {
  background-color: #212121 !important;
}
.color-switch-dark span.onsale {
  color: #fff;
}
.color-switch-dark .elementor-2 .elementor-element.elementor-element-762ce63 .item-box, .color-switch-dark .service-section .elementor-icon {
  -webkit-box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.5);
          box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1366px) {
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 20px;
    width: calc(25% - 15px);
  }
  .elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
    width: 33.3333%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (min-width: 768px) {
  .woocommerce ul.products.woo-archive-action-on-hover:not(.products-list-view) li.product:focus-within .entry-content-wrap, .woocommerce ul.products.woo-archive-action-on-hover:not(.products-list-view) li.product:hover .entry-content-wrap {
    -webkit-transform: none;
    transform: none;
  }
}
@media (min-width: 1200px) and (max-width: 1366px) {
  .site-header .site-main-header-wrap .main-navigation .primary-menu-container > ul > li.menu-item > a {
    padding-left: 0.7em;
    padding-right: 0.7em;
  }
  .site-header .header-search-advanced form.search-form {
    width: 170px;
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .site-header .site-main-header-wrap .main-navigation .primary-menu-container > ul > li.menu-item > a {
    padding-left: 0.6em;
    padding-right: 0.6em;
  }
  .site-header .site-main-header-wrap .site-header-item {
    margin-right: 15px;
  }
  .site-header .site-main-header-wrap .header-search-advanced form.search-form {
    display: none;
  }
  .site-middle-footer-inner-wrap {
    grid-column-gap: 30px;
  }
  .has-left-sidebar ul.product-archive {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1025px) and (max-width: 1366px) {
  .related.products ul.products, .upsells.products ul.products, .cross-sells ul.products {
    -ms-grid-columns: (minmax(0, 1fr))[4];
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 541px) and (max-width: 1024px) {
  .archive ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list), .single-product ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list), .woocommerce-cart ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list) {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .site-bottom-footer-inner-wrap .footer-html-inner {
    text-align: center;
  }
}
@media (max-width: 1024px) {
  .newsletter {
    width: 85%;
  }
  .archive ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .archive .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(.has-1-columns) .wc-block-grid__products, .single-product ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .single-product .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(.has-1-columns) .wc-block-grid__products, .woocommerce-cart ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .woocommerce-cart .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(.has-1-columns) .wc-block-grid__products {
    -webkit-column-gap: 1em;
       -moz-column-gap: 1em;
            column-gap: 1em;
    row-gap: 1em;
  }
  .woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
  .woocommerce div.product div.summary .added_to_cart,
  .woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
    padding: 8px 20px;
  }
  .menu .menu-item .woocommerce ul.products li.product {
    margin-bottom: 15px;
  }
  .menu .menu-item .woocommerce ul.products li.product:hover {
    border: 0;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 15px;
    width: calc(33.3333% - 10px);
  }
  .elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 767px) {
  .site-header .site-main-header-inner-wrap .custom-logo-link img, .site-header .site-main-header-inner-wrap img.base-dark-mode-logo {
    width: 140px;
  }
  .newsletter {
    margin: 0 auto;
  }
  .menu .menu-item .woocommerce ul.products li.product .woocommerce-loop-product__title a, .woocommerce .woocommerce-loop-product__title {
    -webkit-line-clamp: 2;
  }
  .home-tab-product .elementor-widget-tmcore-products-tabs .elementor-tabs-wrapper .elementor-tabs-items {
    padding: 0;
  }
  .woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
  .woocommerce div.product div.summary .added_to_cart,
  .woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
    line-height: 2;
    font-size: 14px;
  }
  .woocommerce ul.cart_list li a,
  .woocommerce ul.cart_list li .quantity,
  .woocommerce ul.product_list_widget li a,
  .woocommerce ul.product_list_widget li .quantity {
    font-size: 14px;
  }
  .site-footer .site-middle-footer-wrap .widget-title {
    margin-bottom: 0.6em;
  }
  .site-footer .site-middle-footer-wrap .footer-widget-area .widget li + li {
    margin: 3px 0 0;
  }
  .site-footer .site-middle-footer-wrap .footer-social-wrap {
    margin: 0px;
  }
  .woocommerce ul.products.products-list-view li.product .woocommerce-loop-product__title {
    font-size: 15px;
  }
  .elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }
}
.ft-ro-dir-row .footer-section-inner-items-2 .footer-widget-area {
  margin-left: 0px;
}

@media (max-width: 575px) {
  .woocommerce ul.products.products-list-view li.product .product-thumbnail {
    max-width: 250px;
    padding: 0.6rem;
    border-right: 0;
  }
  .woocommerce ul.products.products-list-view li.product .product-details.entry-content-wrap {
    padding-left: 0.6rem;
  }
  .woocommerce ul.products.products-list-view li.product .product-details.entry-content-wrap .product-action-wrap {
    margin-top: 5px;
  }
}
@media (max-width: 540px) {
  .site-header .site-header-item {
    margin-right: 15px;
  }
  .site-header .site-main-header-inner-wrap .custom-logo-link img, .site-header .site-main-header-inner-wrap img.base-dark-mode-logo {
    width: 120px;
  }
  .newsletter {
    text-align: center;
  }
  .newsletter input[type=email] {
    padding: 5px 40px 5px 15px;
    margin-bottom: 10px;
  }
  .newsletter input[type=submit] {
    position: static;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    width: calc(50% - 7.5px);
  }
}