/**
* Theme Name:     Wineyard 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-button-height: 42px;
    --global-button-max-height: 42px;
}
// Maximum Button Height
.woocommerce ul.products li.product {

	.product-action-wrap  {
		button,
		a.button,
		.added_to_cart {
			max-height: var(--global-button-max-height);
		}
	}

	&.action-style-default,
	&.action-style-icon_button {
		button {
			max-height: var(--global-button-max-height);
		}
	}
}

.action-style-icon_button {
	.woosc_page .woosc_table .button,
	.woosc-quick-table .woosc-quick-table-products .woosc_table .button {
        max-height: var(--global-button-max-height);
    }
}

.woocommerce div.product div.summary .button.single_add_to_cart_button {
	height: var(--global-button-height);
    line-height: var(--global-button-height);
}
*/
:root {
  --global-gray-400: #e5e5e5;
  --global-button-height: 45px;
  --global-button-max-height: 45px;
}

b,
strong,
.woocommerce form .form-row label {
  font-weight: 400;
  color: var(--global-palette4);
}

.woocommerce form .form-row label, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 400;
  color: var(--global-palette4);
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
  font-weight: 400;
  color: var(--global-palette4);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600;
}

#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 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

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

.comment-form {
  background-color: var(--global-palette9);
}

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

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

.mobile-navigation .woocommerce ul li a {
  padding: 9px 20px;
}

.welcome-newsletter input[type=email] {
  min-height: 45px;
  min-width: 210px;
  max-width: 210px;
  border-radius: 0px;
  margin-bottom: 10px;
}

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

.tax-product_brands .archive-description {
  color: var(--global-palette3);
}

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

.products-list .product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.primary-sidebar.widget-area .widget, #filter-drawer .widget {
  background-color: var(--global-palette9);
  padding: 15px 20px;
  border-radius: 0px;
}
.primary-sidebar.widget-area .widget-content, #filter-drawer .widget-content {
  padding: 10px 0px 0px 0px;
  margin-top: 3px;
}
.primary-sidebar.widget-area .wp-widget-group__inner-blocks, #filter-drawer .wp-widget-group__inner-blocks {
  padding: 0 0 15px 0px;
}
.primary-sidebar.widget-area ol, #filter-drawer ol {
  margin: 0;
}
.primary-sidebar.widget-area .widget-title, #filter-drawer .widget-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--global-gray-400);
}
.primary-sidebar.widget-area .widget-title:after, #filter-drawer .widget-title:after {
  top: -5px;
}

.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: capitalize;
  color: var(--global-palette3);
  padding-bottom: 5px;
}
.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap:hover {
  color: var(--global-palette1);
}

.site-header .site-top-header-inner-wrap .header-html-inner a {
  font-weight: 600;
}
.site-header .site-top-header-inner-wrap .secondary-navigation .secondary-menu-container > ul li.menu-item:not(:last-child) > a::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 14px;
  background-color: rgba(155, 155, 155, 0.3);
  right: 0;
  bottom: 0;
  top: 12px;
}
.site-header .site-top-header-inner-wrap .secondary-menu-container > ul li.menu-item:last-child a {
  padding-right: 0;
}
.site-header .site-main-header-inner-wrap .header-search-advanced .search-form {
  height: 45px;
}
.site-header .site-main-header-inner-wrap .header-search-advanced .search-form .base-svg-iconset {
  font-size: 22px;
}
.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-wishlist-button .header-wishlist-total, .site-header .site-main-header-inner-wrap .header-wishlist-button .header-cart-total, .site-header .site-main-header-inner-wrap .header-cart-button .header-wishlist-total, .site-header .site-main-header-inner-wrap .header-cart-button .header-cart-total {
  margin-left: -0.9em;
  margin-top: -1.8em;
}
.site-header .site-main-header-inner-wrap .header-wishlist-button .header-wishlist-total, .site-header .site-main-header-inner-wrap .header-wishlist-button .header-cart-total, .site-header .site-main-header-inner-wrap .header-cart-button .header-wishlist-total, .site-header .site-main-header-inner-wrap .header-cart-button .header-cart-total {
  font-size: 12px;
}
.site-header .site-bottom-header-inner-wrap .main-navigation .primary-menu-container > ul > li.menu-item:not(:last-child) > a::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.44);
  right: -8px;
  bottom: 0;
  top: 30px;
}

.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form {
  margin-top: 30px;
}
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form input[type=email] {
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 0 15px;
  height: 45px;
  border-radius: 0;
  border: none;
  max-width: 650px;
  width: 100%;
}
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form input[type=submit] {
  vertical-align: top;
  height: 45px;
  background-color: var(--global-palette9);
  color: var(--global-palette3);
}
.site-footer .site-top-footer-wrap .widget-area .widget-title {
  margin-bottom: 0;
}
.site-footer .site-middle-footer-wrap .wp-block-columns {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 1em;
}
.site-footer .site-middle-footer-wrap .footer-widget-area .widget li + li {
  margin: 6px 0 0;
}
.site-footer .site-middle-footer-wrap .contact_info .contact-info-container p {
  margin: 14px 0;
}
.site-footer .site-middle-footer-wrap .site-footer-middle-section-3 .contact_info .contact-info-container p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}
.site-footer .site-middle-footer-wrap .footer-widget-area.content-valign-middle {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.site-footer .site-middle-footer-wrap .widget-area .widget-title {
  margin-bottom: 15px;
}

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

.offer-banner .tmcore-marquee_text {
  -webkit-text-stroke: 1px var(--global-palette1);
  color: transparent;
}

.cat-section .elementor-column .elementor-image-box-img {
  overflow: hidden;
}

.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.entry-hero-container-inner {
  margin-top: 15px;
}

.woocommerce-cart .cart-collaterals .cart_totals_summary {
  background-color: var(--global-palette9);
}

.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) {
  text-align: center;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0;
  border: none;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
  padding: 15px 15px 25px 15px;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .woocommerce-loop-product__title {
  padding-bottom: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .star-rating {
  margin: 6px auto;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .product-action-wrap {
  width: 100%;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  margin: auto;
}
.woocommerce ul.products-list-view li.product {
  background-color: var(--global-palette9);
  border: none;
  border-radius: 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) {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 25px;
  text-transform: uppercase;
  line-height: 28px;
  border-radius: 0px;
  letter-spacing: 0.5px;
}
.woocommerce .related.products > h2, .woocommerce .woosc-quick-table > h2, .woocommerce .up-sells.upsells.products > h2, .woocommerce .cross-sells > h2 {
  margin-bottom: 25px;
  text-align: center;
}
.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-weight: 500;
}
.woocommerce .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(.tmcore-product-price-filter .woocommerce-Price-amount) {
  color: var(--global-palette1);
  font-weight: 600;
}
.woocommerce .tr-price,
.woocommerce .price,
.woocommerce .woocommerce-grouped-product-list-item__price {
  color: var(--global-palette1);
  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: 400;
}
.woocommerce table.shop_table {
  font-size: 100%;
}
.woocommerce #cart-drawer h2.side-cart-header {
  font-size: 14px;
}
.woocommerce #reviews #comments h2 {
  font-size: 20px;
}
.woocommerce #reviews .comment-reply-title {
  font-size: 20px;
}
.woocommerce form .form-row label {
  font-size: 100%;
}
.woocommerce table.shop_table {
  font-size: 100%;
}
.woocommerce span.onsale {
  width: 42px;
  height: 42px;
  line-height: 42px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 0 5px;
  border-radius: 50px;
}
.woocommerce div.product div.summary .product-onsale span.onsale {
  padding: 0 10px;
  font-size: 12px;
}

.menu .menu-item .woocommerce ul.products li.product .onsale {
  padding: 0;
  font-size: 12px;
}

.woocommerce div.product div.summary span.onsale {
  padding: 0;
}

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

.woocommerce div.product div.summary form.cart .button.button-buy-now {
  background-color: var(--global-palette2);
  color: var(--global-palette9);
}

.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: 32px;
  width: calc(25% - 24px);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

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

.elementor-post-wrapper .splide__track .column-item {
  width: 33.33%;
  padding-left: 10px;
  padding-right: 10px;
}

.color-switch-dark .site-header .header-search-advanced form.search-form {
  background: var(--global-palette9);
}
.color-switch-dark .elementor-brand-image img {
  -webkit-filter: invert(1);
          filter: invert(1);
}
.color-switch-dark.woocommerce div.product div.summary form.cart .button.button-buy-now {
  background-color: var(--global-palette-btn-bg);
  color: var(--global-palette-btn);
}
.color-switch-dark.woocommerce div.product div.summary form.cart .button.button-buy-now:hover {
  background-color: var(--global-palette-btn-bg-hover);
  color: var(--global-palette-btn-hover);
}

@media (max-width: 1366px) {
  .site-footer .site-middle-footer-inner-wrap .widget-area .widget-title {
    font-size: 18px;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 25px;
    width: calc(25% - 18.75px);
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .woocommerce div.product div.images {
    width: 600px !important;
  }
}
@media (max-width: 1024px) {
  .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: 10px 20px;
    font-size: 13px;
    line-height: 26px;
  }
  .woocommerce ul.products:not(.products-list-view) li.product .product-details.entry-content-wrap {
    padding: 15px 20px;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 20px;
    width: calc(33.3333% - 13.3333px);
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 50%;
  }
}
@media (max-width: 768px) {
  .menu .menu-item .woocommerce ul.products li.product .woocommerce-loop-product__title a, .woocommerce .woocommerce-loop-product__title {
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 767px) {
  .cms-banner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .cms-banner .elementor-column {
    margin: auto;
    width: auto;
  }
  .cat-section .col-1 {
    width: 250px !important;
  }
  .woocommerce ul.products:not(.products-list-view) li.product .product-details.entry-content-wrap {
    padding: 10px 15px;
  }
  .woocommerce ul.products li.product .product-details.entry-content-wrap .product-action-wrap {
    padding-top: 10px;
  }
  .woocommerce span.onsale {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }
  .site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form {
    margin-top: 20px;
  }
  .site-footer .site-top-footer-wrap .widget-area .widget-title {
    margin-bottom: 5px;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 15px;
    width: calc(33.3333% - 10px);
  }
}
@media (max-width: 1024px) and (min-width: 541px) {
  .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: 600px) {
  .site-header .mobile-html-inner {
    text-align: center;
    margin: 8px 0px;
  }
}
@media (max-width: 540px) {
  .site-header .custom-logo-link img, .site-header img.base-dark-mode-logo {
    width: 150px;
  }
  .site-header .site-header-item {
    margin-right: 12px;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    width: calc(50% - 7.5px);
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 100%;
  }
}
@media (max-width: 430px) {
  .cms-banner .elementor-column .cms-heading .elementor-heading-title {
    font-size: 19px !important;
    line-height: 26px !important;
  }
}
@media (max-width: 380px) {
  .site-header .custom-logo-link img, .site-header img.base-dark-mode-logo {
    width: 120px;
  }
}