/**
* Theme Name:     Petory 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-gray-500: #dddddd;
  --global-button-height: 45px;
  --global-button-max-height: 45px;
}

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

.welcome-newsletter {
  text-align: center;
}
.welcome-newsletter input[type=email] {
  min-height: 50px;
  max-width: 210px;
  min-width: 210px;
  border-radius: 5px;
  margin-bottom: 10px;
}

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

.wp-site-blocks {
  position: relative;
}

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

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

.woocommerce ul.products li.product:not(.product-item) .product-thumbnail, .blog.content-style-unboxed .entry .post-thumbnail-inner img, .archive.content-style-unboxed .entry .post-thumbnail-inner img, .single-post .post-thumbnail-inner img, .elementor-widget-image img {
  border-radius: 5px;
  overflow: hidden;
}

.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) {
  -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-thumbnail {
  border: 1px solid var(--global-gray-400);
  border-radius: 5px;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
  text-align: left;
  padding: 15px 0 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .star-rating {
  float: none;
  margin: 5px 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .woocommerce-loop-product__title a {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .product-action-wrap {
  top: -60px;
  bottom: auto;
}

.woocommerce ul.products.products-list-view li.product {
  border: none;
  padding: 0;
}
.woocommerce ul.products.products-list-view li.product .product-thumbnail {
  border: 1px solid var(--global-gray-400);
  border-radius: 5px;
}
.woocommerce ul.products.products-list-view li.product .woocommerce-loop-product__title {
  font-size: 18px;
}
.woocommerce ul.products.products-list-view li.product .product-details.entry-content-wrap .product-action-wrap {
  padding-top: 5px;
  margin-top: 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: 800;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 10px 26px;
  line-height: 30px;
  max-height: var(--global-button-max-height);
  height: var(--global-button-max-height);
}

.primary-sidebar.widget-area .widget {
  border: 1px solid var(--global-gray-400);
  padding: 15px;
  border-radius: 5px;
}
.primary-sidebar.widget-area .widget .widget-title {
  border-bottom: 1px solid var(--global-gray-400);
  padding-bottom: 10px;
}

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

.woocommerce span.onsale, .menu .menu-item .woocommerce ul.products li.product .onsale, .single-product div.product div.summary .product-onsale span.onsale {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
}

.woocommerce ul.products li.product .onsale, .woocommerce ul.products li.product .product-onsale .onsale {
  top: 10px;
  left: 10px;
}

.base-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
  -webkit-box-shadow: 0px -20px 30px 6px rgba(0, 0, 0, 0.21);
          box-shadow: 0px -20px 30px 6px rgba(0, 0, 0, 0.21);
}

.header-cart-button .header-cart-total {
  margin-left: -0.5em;
}

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

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;
}

.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 div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 700;
}

.service-section .service-col .elementor-icon-box-icon {
  position: absolute;
  right: 0;
  left: 0;
  top: -150px;
}

.gallery-section .col .elementor-widget-image {
  overflow: hidden;
  border-radius: 5px;
}
.gallery-section .gallery {
  margin: 0 -50px -50px 0;
}
.gallery-section .gallery-item {
  padding: 0 50px 50px 0;
}
.gallery-section .gallery-item .gallery-icon {
  overflow: hidden;
  border-radius: 5px;
}
.gallery-section .gallery-item .gallery-icon img {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}
.gallery-section .gallery-item .gallery-icon:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.about-2-section .accordion-col .elementor-accordion .elementor-accordion-item {
  border-radius: 5px;
  -webkit-margin-after: 30px;
          margin-block-end: 30px;
  border: 1px solid var(--global-gray-400);
}
.about-2-section .accordion-col .elementor-accordion .elementor-tab-content {
  border: none;
}
.about-2-section .accordion-col .elementor-accordion .elementor-accordion-icon {
  margin: 5px 5px 0 0;
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}
.about-1-section .about_image, .about-2-section .about_image {
  overflow: hidden;
}
.about-1-section .about_image::before, .about-2-section .about_image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  width: 50%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.3)));
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}

.about-1-section .about_image:hover::before, .about-2-section .about_image:hover::before {
  -webkit-animation: shine 0.75s;
          animation: shine 0.75s;
}

.img-box-section .img-box .elementor-image-box-img {
  overflow: hidden;
}
.img-box-section .img-box .elementor-image-box-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}
.img-box-section .img-box .elementor-image-box-content .elementor-image-box-description {
  margin-bottom: 10px;
}

.home-contact-form .wpcf7-form-control-wrap input, .home-contact-form textarea {
  border-radius: 5px;
  padding: 12px;
  width: 100%;
}
.home-contact-form textarea {
  height: 65px;
}
.home-contact-form .col-btn .wpcf7-submit {
  background-color: var(--global-palette2);
}

.testimonial .splide__pagination {
  margin-top: 20px;
  padding: 0;
}

.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-title, .elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-excerpt {
  -webkit-line-clamp: 2;
}
.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .post-button:hover {
  text-decoration: none;
}

.site-middle-footer-inner-wrap .site-info-inner .contact-info-container p + p {
  margin: 10px 0;
}
.site-middle-footer-inner-wrap .widget-area .widget-title {
  margin-bottom: 30px;
}
.site-middle-footer-inner-wrap .widget-area .widget li + li {
  margin: 10px 0 0;
}
.site-middle-footer-inner-wrap .mc4wp-form-fields .newsletter-form input[type=email] {
  margin-top: 20px;
  width: 320px;
  height: 50px;
  border-radius: 5px;
  padding: 10px 15px;
  border: none;
}
.site-middle-footer-inner-wrap .mc4wp-form-fields .newsletter-form input[type=submit] {
  margin-top: 15px;
}
.site-middle-footer-inner-wrap .mc4wp-form-fields .newsletter-form input[type=submit]:hover {
  background-color: var(--global-palette1);
  color: var(--global-palette9);
}

@media (min-width: 1900px) {
  .site-header .site-container {
    width: 1900px;
    margin: auto;
  }
}
@media (max-width: 1366px) and (min-width: 1025px) {
  .site-header .site-main-header-wrap .site-header-row-container-inner > .site-container {
    padding: 0 15px;
  }
  .gallery-section .gallery {
    margin: 0 -40px -40px 0;
  }
  .gallery-section .elementor-element.img-gallery .gallery-item {
    padding: 0 40px 40px 0;
  }
  section.related.products ul.product-archive, section.up-sells.upsells.products .product-archive, .cross-sells .product-archive {
    -ms-grid-columns: (minmax(0, 1fr))[4];
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  .main-navigation .primary-menu-container > ul > li.menu-item > a {
    padding: 3.15em 0.6em;
  }
  .site-header-item {
    margin-right: 14px;
  }
  .woocommerce div.product div.images {
    width: 600px !important;
  }
}
@media (max-width: 1200px) {
  .has-left-sidebar ul.product-archive:not(.products-list-view) {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .elementor-post-wrapper .splide__track .column-item {
    width: 50%;
  }
  .site-main-header-wrap .site-header-row-container-inner > .site-container {
    padding: 0px 15px;
  }
  .site-header .custom-logo-link, .site-header .brand {
    width: 165px;
    display: block;
  }
  .sub-menu .menu-item .woocommerce ul.products li.product {
    margin-bottom: 15px;
  }
  #filter-drawer .widget-area .widget {
    border: 1px solid var(--global-gray-400);
    padding: 15px;
    border-radius: 5px;
  }
  #filter-drawer .widget-area .widget .widget-title {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid var(--global-gray-400);
    padding-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: 9px 24px;
  }
  .mobile-navigation .woocommerce ul.products.woo-archive-btn-button .product-action-wrap .button:not(.kb-button) {
    padding: 9px 24px;
  }
  .about-2-section .accordion-col .elementor-accordion .elementor-accordion-item {
    -webkit-margin-after: 20px;
            margin-block-end: 20px;
  }
  .img-box-section .img-box {
    width: 331px;
  }
  .gallery-section .gallery {
    margin: 0 -30px -30px 0;
  }
  .gallery-section .elementor-element.img-gallery .gallery-item {
    padding: 0 30px 30px 0;
  }
  .site-middle-footer-inner-wrap .widget-area .widget-title {
    margin-bottom: 20px;
  }
}
@media (min-width: 768px) {
  .woocommerce ul.products:not(.products-list-view).woo-archive-action-on-hover li.product:hover .entry-content-wrap {
    -webkit-transform: none;
            transform: none;
  }
}
@media (max-width: 767px) and (min-width: 541px) {
  .woocommerce ul.products:not(.products-list-view):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) {
  .gallery-section .gallery {
    margin: 0 -25px -25px 0;
  }
  .gallery-section .elementor-element.img-gallery .gallery-item {
    padding: 0 25px 25px 0;
  }
  .gallery-section .col .elementor-widget-image {
    width: auto;
    margin: 0 auto;
  }
  .img-box-section .img-box {
    width: 290px;
  }
  .img-box-section .img-box .elementor-image-box-content .elementor-image-box-description {
    margin-bottom: 5px;
  }
  .about-2-section .accordion-col .elementor-accordion .elementor-accordion-icon {
    margin-top: 2px;
  }
}
@media (max-width: 575px) {
  .woocommerce ul.products.products-list-view li.product .product-thumbnail {
    margin: 0.2rem;
  }
  .woocommerce ul.products.products-list-view li.product .entry-content-wrap {
    padding: 0.2rem;
    padding-left: 0;
  }
}
@media (max-width: 540px) {
  .elementor-post-wrapper .splide__track .column-item {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .site-header .custom-logo-link, .site-header .brand {
    width: 130px;
  }
  .site-header-item {
    margin-right: 12px;
  }
  .woocommerce span.onsale, .menu .menu-item .woocommerce ul.products li.product .onsale, .single-product div.product div.summary .product-onsale span.onsale {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 6px;
  }
}
@media (max-width: 360px) {
  .woocommerce ul.products li.product:not(.product-item) .product-thumbnail .product-actions .button, .woocommerce ul.products li.product:not(.product-item) .product-thumbnail .product-actions a.button, .woocommerce ul.products li.product:not(.product-item) .product-thumbnail .product-actions button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
.color-switch-dark .elementor-brand-image img {
  -webkit-filter: invert(1);
          filter: invert(1);
}
.color-switch-dark ul.sub-menu .elementor-element.menu-product-tab {
  background-color: #212121;
}
.color-switch-dark .home-contact-form .wpcf7 .wpcf7-submit, .color-switch-dark .site-middle-footer-inner-wrap .mc4wp-form-fields .newsletter-form input[type=submit]:hover {
  background: var(--global-palette-btn-bg);
  color: var(--global-palette-btn);
}
.color-switch-dark .home-contact-form .elementor-element.form-col:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap {
  background-color: var(--global-palette9);
}
.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);
}