/**
* Theme Name:     Grace 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;
  --global-gray-500: #dddddd;
}

.woocommerce form .form-row label {
  font-weight: 500;
  font-size: 100%;
}

.woocommerce .wc-block-components-notice-banner {
  font-size: 1em;
}

b, strong {
  font-weight: 600;
}

#payment ul.wc_payment_methods li.wc_payment_method > label, .woocommerce ul#shipping_method li label,
.woocommerce div.product form.cart .variations label, .woocommerce #reviews #comments h2, .woocommerce #reviews .comment-reply-title,
.woocommerce table.shop_table th, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tbody th, .woocommerce td.product-name dl.variation dt,
.base-sticky-add-to-cart-title-wrap .base-sticky-add-to-cart-title, .woocommerce table.shop_attributes th {
  font-weight: 500;
}

.color-switch-dark .slider-btn {
  background-color: var(--global-palette-btn-bg) !important;
  color: var(--global-palette-btn) !important;
}
.color-switch-dark .slider-btn:hover {
  background-color: var(--global-palette-btn-bg-hover) !important;
  color: var(--global-palette-btn-hover) !important;
}
.color-switch-dark ul.sub-menu .elementor-element.menu-product-tab {
  background-color: #212121;
}
.color-switch-dark .elementor-widget-divider:not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon) .elementor-divider-separator {
  -webkit-border-before: 2px solid #ffd21d !important;
          border-block-start: 2px solid #ffd21d !important;
}
.color-switch-dark .elementor-element.brand-section {
  border-color: #2f3336;
}
.color-switch-dark .elementor-widget-tmcore-brand .elementor-brand-item .elementor-brand-image img {
  -webkit-filter: invert(1);
          filter: invert(1);
}
.color-switch-dark #colophon {
  --global-palette9: #fff;
}

.site-main-header-inner-wrap .site-header-item {
  margin-right: 25px;
}

.secondary-navigation .secondary-menu-container > ul > li.menu-item > a {
  padding: 5px 15px;
}
.secondary-navigation .secondary-menu-container > ul > li.menu-item > a::after {
  content: "";
  border-right: 1px solid var(--global-gray-400);
  display: block;
  position: absolute;
  top: 10px;
  right: 0;
  width: 1px;
  height: 16px;
}
.secondary-navigation .secondary-menu-container > ul > li.menu-item:last-of-type > a::after {
  display: none;
}

.cms-two-banner .col .elementor-element-populated {
  overflow: hidden;
}

.cms-three-banner .col .elementor-element-populated {
  overflow: hidden;
}
.cms-three-banner .elementor-element.cms-btn .elementor-button:hover {
  text-decoration: none;
}

ul.sub-menu .elementor-element.elementor-widget-tmcore-products .products-list .product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.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: 15px;
  padding-right: 15px;
}

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

.elementor-brand-wrapper .tmcore-carousel {
  display: block;
}
.elementor-brand-wrapper .splide__track .elementor-brand-item {
  width: 16.6667%;
}

.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item, .product-cat) {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item, .product-cat) .product-details.entry-content-wrap {
  padding: 15px 0 0px;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item, .product-cat) .product-details.entry-content-wrap .product-action-wrap {
  top: -55px;
  bottom: auto;
  -webkit-transition: all 500ms ease 0s;
  transition: all 500ms ease 0s;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item, .product-cat) .product-details.entry-content-wrap .woocommerce-loop-product__title a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item, .product-cat) .product-details.entry-content-wrap .star-rating {
  margin: 5px 0 10px 0px;
  float: none;
}

.woocommerce ul.products.products-list-view li.product {
  padding: 1rem;
  background: var(--global-palette9);
  border: 1px solid var(--global-gray-400);
}
.woocommerce ul.products.products-list-view li.product .woocommerce-loop-product__title {
  font-size: 17px;
}
.woocommerce ul.products.products-list-view li.product .woocommerce-loop-product__title a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.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: 16px;
  font-weight: 500;
  border-radius: 0px;
  text-transform: capitalize;
  padding: 8px 25px;
  line-height: 1.65;
}

.splide__list {
  -webkit-transform-style: unset;
          transform-style: unset;
}

.product-cat:not(.site-header .product-cat) {
  overflow: hidden;
}
.product-cat:not(.site-header .product-cat) .cat-image {
  border-radius: 0px;
}
.product-cat:not(.site-header .product-cat):hover .cat-image a img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.top-deal-section .elementor-element.elementor-widget-tmcore-product-categories .product-cat:hover .cat-image img {
  border-color: var(--global-palette1);
  -webkit-transform: none;
          transform: none;
}

.woocommerce span.onsale {
  font-size: 12px;
  height: 40px;
  width: 40px;
  line-height: 40px;
  border-radius: 100px;
  padding: 0;
}
.woocommerce div.product div.summary span.onsale {
  font-size: 12px;
  padding: 2px 10px;
}

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

.product-tab.elementor-element .elementor-widget-tmcore-products-tabs .elementor-tab-title.elementor-active {
  text-decoration: underline;
}
.product-tab.elementor-element .elementor-widget-tmcore-products-tabs .elementor-tabs-wrapper .elementor-tabs-items {
  padding: 0 0 25px 0;
}

.home-category .product-cat-style-5 .product-cat-caption {
  margin-top: 0px;
  position: absolute;
  bottom: 25px;
  left: 40px;
  text-align: left;
  opacity: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.product-cat:not(.site-header .product-cat):hover .product-cat-caption {
  opacity: 1;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.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;
}
.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.site-middle-footer-inner-wrap .widget-area {
  position: relative;
}
.site-middle-footer-inner-wrap .widget-area .widget-title {
  margin-bottom: 25px;
}
.site-middle-footer-inner-wrap .widget-area .widget-title:after {
  content: "";
  border-bottom: 2px solid var(--global-palette1);
  width: 40px;
  height: 36px;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}
.site-middle-footer-inner-wrap .site-info-inner .contact-info-container p + p {
  margin: 15px 0px;
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields input[type=email] {
  height: 45px;
  border-radius: 0px;
  border: none;
  width: 340px;
  padding: 0px 18px;
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields input[type=email]:hover, .site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields input[type=email]:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields input[type=submit] {
  height: 45px;
  margin-top: 10px;
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields input[type=submit]:hover {
  background: var(--global-palette1);
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields input[type=submit] p {
  margin: 0 0px;
}
.site-middle-footer-inner-wrap .site-info-inner .mc4wp-form-fields p {
  margin: 0 0px;
}

.welcome-newsletter {
  text-align: center;
}
.welcome-newsletter input[type=email] {
  min-height: 42px;
  min-width: 220px;
  border-radius: 0;
  margin-bottom: 10px;
}

.base-product-toggle-container .base-toggle-shop-layout.toggle-active, .base-product-toggle-container .base-toggle-shop-layout:hover {
  background: var(--global-palette-btn-bg);
}

.base-product-toggle-container .base-toggle-shop-layout.toggle, .base-product-toggle-container .base-toggle-shop-layout {
  background: var(--global-palette8);
}

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

.woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(.tmcore-product-price-filter .woocommerce-Price-amount) {
  color: var(--global-palette3);
  font-weight: 600;
}

.woocommerce table.shop_table {
  font-size: 100%;
}

@media (max-width: 1366px) {
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 20px;
    width: calc(25% - 15px);
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 33.3333%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 20%;
  }
}
@media (max-width: 1366px) and (min-width: 1025px) {
  .woocommerce-shop ul.product-archive.grid-cols:not(.sub-menu .products), section.related.products ul.products {
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
  }
  section.related.products ul.products, section.up-sells.upsells.products .product-archive {
    -ms-grid-columns: (minmax(0, 1fr))[4];
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .main-navigation .primary-menu-container > ul > li.menu-item > a {
    padding-left: 0.85em;
    padding-right: 0.85em;
  }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  .has-left-sidebar ul.product-archive {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .cross-sells ul.product-archive {
    -ms-grid-columns: (minmax(0, 1fr))[4];
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .site-main-header-inner-wrap .site-header-item {
    margin-right: 20px;
  }
  .site-top-header-inner-wrap .mobile-html-inner p {
    text-align: center;
    margin: 10px 0px;
  }
  .sub-menu .menu-item .woocommerce ul.products li.product {
    margin-bottom: 15px;
  }
  .mobile-navigation .woocommerce ul.products.woo-archive-btn-button .product-action-wrap .button:not(.kb-button) {
    padding: 8px 20px;
  }
  .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;
    line-height: 1.7;
  }
  #filter-drawer .drawer-inner .product-filter-widgets .widget-title {
    font-size: 22px;
  }
  .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%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 25%;
  }
}
@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 (max-width: 767px) 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));
  }
  .sub-menu .elementor-element.elementor-widget-tmcore-products ul.products {
    -ms-grid-columns: (minmax(0, 1fr))[1];
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .site-header .custom-logo-link, .site-header .brand {
    display: block;
    width: 120px;
  }
  .woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
    padding: 10px 0 0px;
  }
  .product-tab.elementor-element .elementor-widget-tmcore-products-tabs .elementor-tab-title:first-child {
    padding-left: 0;
  }
  .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;
  }
  .product-tab.elementor-element .elementor-widget-tmcore-products-tabs .elementor-tabs-wrapper .elementor-tabs-items {
    padding: 0 0 5px 0;
    margin: 0 0 20px 0;
  }
  .cms-three-banner .col {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  .cms-two-banner .elementor-animation-grow:hover {
    -webkit-transform: none;
            transform: none;
  }
  .woocommerce-carousel .splide__track ul.products li.product {
    margin-right: 15px;
    width: calc(33.3333% - 10px);
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 33.3333%;
  }
}
@media (max-width: 540px) {
  .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: 480px) {
  .site-header .custom-logo-link, .site-header .brand {
    width: 110px;
  }
  .site-main-header-inner-wrap .site-header-item {
    margin-right: 12px;
  }
  .woocommerce span.onsale {
    font-size: 11px;
    height: 35px;
    width: 35px;
    line-height: 35px;
  }
  .woocommerce div.product div.summary span.onsale {
    font-size: 11px;
  }
  .menu .menu-item .woocommerce ul.products li.product .onsale {
    font-size: 11px;
  }
  .cms-two-banner .elementor-element.cms-btn .elementor-button {
    padding: 0;
    text-decoration: underline;
    background: none;
    color: #000000;
  }
  .cms-two-banner .elementor-element.cms-btn .elementor-button:hover {
    text-decoration: none;
  }
  .cms-two-banner .elementor-element.head-1 .elementor-heading-title {
    font-size: 14px;
  }
  .cms-two-banner .elementor-element.head-2 .elementor-heading-title {
    font-size: 18px;
    line-height: 22px;
  }
  .cms-two-banner .col .head-2 {
    top: 35%;
  }
  .cms-two-banner .col .cms-btn {
    top: 68%;
  }
}