/**
* Theme Name:     Uphost 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
*/
/* .woocommerce ul.products li.product {

	.product-action-wrap  {
		button,
		a.button,
		.added_to_cart {
			max-height: 42px;
		}
	}

	&.action-style-default,
	&.action-style-icon_button {
		button {
			max-height: 42px;
		}
	}
}

.action-style-icon_button {
	.woosc_page .woosc_table .button,
	.woosc-quick-table .woosc-quick-table-products .woosc_table .button {
        max-height: 42px;
    }
} */
:root {
  --global-gray-400: #e5e5e5;
  --global-footer-border: #1b4a76;
  --global-button-height: 44px;
  --global-button-max-height: 44px;
}

b,
strong,
.woocommerce form .form-row label {
  font-weight: 500;
}

.woocommerce form .form-row label, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 500;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
  font-weight: 500;
}

b,
strong,
.woocommerce form .form-row label {
  font-weight: 500;
}

.woocommerce form .form-row label, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 500;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
  font-weight: 500;
}

.blog .post-thumbnail-inner img, .single-post .post-thumbnail-inner img, .category .post-thumbnail-inner img {
  border-radius: 5px;
}

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

.mobile-navigation .woocommerce ul li a {
  padding: 7px 25px;
}

.welcome-newsletter input[type=email] {
  min-height: 46px;
  min-width: 210px;
  max-width: 210px;
  border-radius: 5px;
  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, .products-list .product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.primary-sidebar.widget-area .widget, #filter-drawer .widget {
  border: 1px solid var(--global-gray-400);
  border-radius: 5px;
  padding: 20px;
}
.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);
}

.elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
  width: 33.3333%;
  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: 20%;
}

.site-header .site-top-header-wrap .header-contact-item .contact-content {
  margin-left: 0.3em;
}
.site-header #main-header .header-button {
  padding: 9px 25px;
}

.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap {
  font-weight: 500;
  font-size: 16px;
  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-footer .site-middle-footer-wrap .mc4wp-form .newsletter-form input[type=email] {
  height: 39px;
  width: 277px;
  margin: 15px 0 10px 0;
  padding: 0 15px;
  border-radius: 5px;
  background-color: var(--global-palette9);
}
.site-footer .site-middle-footer-wrap .mc4wp-form .newsletter-form input[type=submit] {
  margin-bottom: 25px;
}
.site-footer .site-middle-footer-wrap .mc4wp-form .newsletter-form input[type=submit]:hover {
  background-color: var(--global-palette1);
}
.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: 15px 0;
}
.site-footer .site-bottom-footer-wrap .footer-widget-area-inner p {
  color: #fff;
  margin: 0;
}
.site-footer .site-bottom-footer-wrap .widget-area a:where(:not(.button):not(.wp-block-button__link):not(.wp-element-button)) {
  color: #fff;
}
.site-footer .site-bottom-footer-wrap .widget-area a:where(:not(.button):not(.wp-block-button__link):not(.wp-element-button)):hover {
  color: var(--global-palette1);
  text-decoration: none;
}

.archive.content-style-unboxed .products.woo-archive-action-visible:not(.products-list-view) li.product.content-bg.loop-entry .content-bg:not(.loop-entry), .single-product.content-style-unboxed .products.woo-archive-action-visible:not(.products-list-view) li.product.content-bg.loop-entry .content-bg:not(.loop-entry), .post-type-archive.content-style-unboxed .products.woo-archive-action-visible:not(.products-list-view) li.product.content-bg.loop-entry .content-bg:not(.loop-entry) {
  padding: 15px 0 0 0;
}

.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) {
  text-align: left;
  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-thumbnail {
  border-radius: 5px;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
  padding-top: 15px;
  padding-left: 0px;
  padding-right: 0px;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .product-action-wrap.style-button {
  padding: 10px 0 0 0;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  width: 100%;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .star-rating {
  float: none;
  margin-bottom: 10px;
}
.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.products-list-view li.product .product-thumbnail {
  border-radius: 5px;
}
.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: 15px;
  font-weight: 600;
  border-radius: 0px;
  padding: 7px 30px;
  text-transform: capitalize;
  line-height: 2;
  border-radius: 5px;
}
.woocommerce .related.products > h2, .woocommerce .woosc-quick-table > h2, .woocommerce .up-sells.upsells.products > h2, .woocommerce .cross-sells > h2 {
  text-align: center;
  margin-bottom: 35px;
  text-transform: capitalize;
}
.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;
  font-weight: 400;
}
.woocommerce .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(.tmcore-product-price-filter .woocommerce-Price-amount) {
  color: var(--global-palette1);
  font-weight: 500;
}
.woocommerce .tr-price,
.woocommerce .price,
.woocommerce .woocommerce-grouped-product-list-item__price {
  color: var(--global-palette1);
  font-weight: 500;
}
.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: 19px;
  font-weight: 500;
  color: var(--global-palette3);
}
.woocommerce #reviews .comment-reply-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--global-palette3);
}
.woocommerce form .form-row label {
  font-size: 100%;
}
.woocommerce table.shop_table {
  font-size: 100%;
}
.woocommerce span.onsale {
  background-color: var(--global-palette1);
  color: var(--global-palette9);
  font-size: 0.8em;
  padding: 0;
  width: 40px;
  height: 20px;
  font-weight: 500;
  border-radius: 2px;
  line-height: 20px;
}
.woocommerce div.product div.summary .product-onsale span.onsale {
  padding: 2px 8px;
  font-size: 0.8em;
}

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

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

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

.blog-section .entry-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.blog-section .entry-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-search form.woocommerce-product-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.home-search form.woocommerce-product-search input[type=search] {
  border: none;
  -webkit-padding-start: 25px;
          padding-inline-start: 25px;
  border-radius: 5px;
  height: 52px;
}
.home-search form.woocommerce-product-search button[type=submit] {
  position: relative;
  height: auto;
  width: auto;
  color: var(--global-palette9) !important;
  background: var(--global-palette1) !important;
  -webkit-margin-start: 18px;
          margin-inline-start: 18px;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 41px;
}
.home-search form.woocommerce-product-search button[type=submit]::before {
  content: "";
  position: relative;
  height: 18px;
  width: 23px;
  margin: 0 auto;
  -webkit-margin-end: 5px;
          margin-inline-end: 5px;
  -webkit-mask-image: url(../default/img/home-search.svg);
          mask-image: url(../default/img/home-search.svg);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 15px;
          mask-size: 15px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background: #fff;
}
.home-search form.woocommerce-product-search .base-svg-iconset {
  display: none;
}

.testimonial-section .elementor-testimonial-image {
  float: left;
}
.testimonial-section .details {
  display: inline-block;
}

.button-hover .elementor-button:hover, .button-hover .post-button:hover {
  text-decoration: none !important;
}

.brand .elementor-brand-image {
  -webkit-filter: grayscale(20%) brightness(0%) contrast(0%);
          filter: grayscale(20%) brightness(0%) contrast(0%);
}
.brand .elementor-brand-image:hover {
  opacity: 1;
  -webkit-filter: none;
          filter: none;
}

.color-switch-dark #colophon {
  background: #1e1e1e;
}
.color-switch-dark .site-middle-footer-wrap .site-footer-row-container-inner {
  border-bottom: 1px solid var(--global-gray-400);
}
.color-switch-dark .home-search .domain-icon {
  -webkit-filter: invert(0.5);
          filter: invert(0.5);
}
.color-switch-dark .home-search form.woocommerce-product-search button[type=submit] {
  background-color: var(--global-palette-btn-bg) !important;
  color: var(--global-palette-btn) !important;
}
.color-switch-dark .power-section {
  background-color: #212121 !important;
}
.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);
}
.color-switch-dark #mobile-drawer .drawer-inner {
  background: var(--global-palette7);
}
.color-switch-dark #main-header .header-button {
  background: var(--global-palette-btn-bg);
  color: var(--global-palette-btn);
}
.color-switch-dark #main-header .header-button:hover {
  background: var(--global-palette1);
  color: var(--global-palette9);
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .has-left-sidebar ul.product-archive {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .single-product .grid-lg-col-5, .woocommerce-cart .grid-lg-col-5 {
    -ms-grid-columns: (minmax(0, 1fr))[4];
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .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));
  }
  .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;
  }
  .menu .menu-item .woocommerce ul.products li.product {
    margin-bottom: 10px;
  }
  .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: 7px 25px;
  }
  .elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .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%;
  }
  .service-section .service-box {
    width: 331px;
  }
}
@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: 767px) {
  .archive.content-style-unboxed .products.woo-archive-action-visible:not(.products-list-view) li.product.content-bg.loop-entry .content-bg:not(.loop-entry), .single-product.content-style-unboxed .products.woo-archive-action-visible:not(.products-list-view) li.product.content-bg.loop-entry .content-bg:not(.loop-entry), .post-type-archive.content-style-unboxed .products.woo-archive-action-visible:not(.products-list-view) li.product.content-bg.loop-entry .content-bg:not(.loop-entry) {
    padding: 10px 0 0 0;
  }
  .woocommerce ul.products li.product:not(.product-item) .product-thumbnail {
    overflow: hidden;
  }
  .elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 33.3333%;
  }
  .service-section .service-box {
    width: 300px;
  }
  .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: 2;
    -webkit-box-orient: vertical;
  }
  .site-header .header-button-wrap {
    display: none;
  }
}
@media screen and (max-width: 719px) {
  .ft-ro-m-dir-column .site-footer-section {
    grid-row-gap: 0;
  }
}
@media (max-width: 540px) {
  .site-header .custom-logo-link img, .site-header img.base-dark-mode-logo {
    width: 130px;
  }
  .site-header .site-header-item {
    margin-right: 10px;
  }
  .home-search form.woocommerce-product-search button[type=submit] {
    padding: 0 20px;
    font-size: 0;
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}