/*
Theme Name: webpopular Child
Theme URI: https://webpopular.net/wordpress-theme
Description: Child theme of webpopular. Site-specific CSS lives here so the parent can stay stock.
Author: webpopular.net
Template: webpopular
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webpopular-child
*/

footer .menu li {
  padding: 5px 0;
}

.single-product.postid-5219 #tab-description > h2 {
  display: none;
}

#product-5219 > div.summary {
  width: 62%;
}

#product-5219 > div.images {
  width: 35%;
}

.woocommerce div.product div.images img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 8px;
  display: block;
}

@supports not (aspect-ratio: 1 / 1) {
  .woocommerce div.product div.images img,
  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    height: clamp(220px, 28vw, 360px);
  }
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  margin-top: auto;
  text-align: center;
}

.woocommerce.woocommerce-shop .content-area {
  margin: 50px auto;
}

.woocommerce .woocommerce-ordering select,
.wpfFilterWrapper select {
  padding: 10px;
  height: 50px;
}

.wpfMainWrapper {
  width: auto !important;
  justify-self: end;
  align-items: end;
  margin-bottom: 15px;
  order: 3;
}

.webpop-shop-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 50px;
}

.webpop-shop-filters .dgwt-wcas-style-pirx .dgwt-wcas-preloader {
  margin-right: 0;
}

.webpop-shop-filters .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  height: 50px;
  padding-left: 45px;
}

.webpop-shop-filters .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  padding: 0;
}

.webpop-shop-filters .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  left: 0;
  top: 50%;
  transform: translate(10px, -50%);
}

.webpop-shop-filters button.wpfClearButton.wpfButton {
  background: transparent;
  color: black;
  font-weight: 400;
  min-height: unset;
  width: auto;
  font-size: 14px !important;
  margin: 0;
}

.webpop-shop-filters .wpfFilterButtons {
  min-width: unset;
  text-align: right;
}

.webpop-shop-filters .wpfFilterWrapper[data-filter-type] {
  padding: 0;
  margin: 0;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
  height: auto;
}

body {
  overflow-x: hidden;
}

footer .contain > div:has(img) {
  display: flex;
  align-items: center;
}

.elementor-slideshow__header {
  box-sizing: border-box;
}

.custom-pricing-range {
  color: var(--e-global-color-accent);
}

.single-product .post-5219 .summary > p.price {
  display: none;
}

@media screen and (max-width: 770px) and (min-width: 580px) {
  .woocommerce.woocommerce-shop .content-area {
    margin: 30px auto;
    padding: 15px;
  }

  .webpop-shop-filters,
  .webpop-shop-filters .dgwt-wcas-search-wrapp {
    margin-bottom: 30px;
  }

  .wpfMainWrapper {
    float: right;
    margin-left: 20px;
  }

  .webpop-shop-filters,
  .wpfMainWrapper {
    display: inline-block;
  }

  #product-5219 > div.images,
  #product-5219 > div.summary {
    width: 100%;
    margin-bottom: 10px;
  }

  .woocommerce.single-product .content-area {
    margin-top: 20px;
  }
}

@media screen and (max-width: 580px) {
  .woocommerce #product-5219.product h1.product_title {
    line-height: 1;
    font-size: 28px;
  }

  .woocommerce.single-product .content-area {
    margin-top: 10px;
  }

  #product-5219 > div.images {
    width: 70%;
    margin-bottom: 10px;
  }

  #product-5219 > div.summary {
    width: 100%;
  }

  .woocommerce.woocommerce-shop .content-area {
    margin: 30px auto;
    padding: 15px;
  }

  .webpop-shop-filters,
  .webpop-shop-filters .dgwt-wcas-search-wrapp {
    margin-bottom: 30px;
  }

  .webpop-shop-filters {
    display: inline-block;
  }

  .wpfMainWrapper {
    display: block;
    width: 100% !important;
  }
}
