/*
Theme Name: MeatHouse Child
Theme URI: https://meathouse.jwsuperthemes.com
Template: meathouse
Author: the JWSThemes team
Author URI: https://jwsuperthemes.com
Description: MeatHouse is a meat shop WordPress theme perfectly suitable for meat box, meat delivery and butcher store store sites with a flexible design. It supports many great features with its theme options panel. The theme provides professionally designed 5+ homepages, creative headers, and powerful animations. There is no need for coding skills here either. You can drag and drop everything to build the store site you want.
Tags: one-column,flexible-header,accessibility-ready,custom-colors,custom-menu,custom-logo,editor-style,featured-images,footer-widgets,rtl-language-support,sticky-post,threaded-comments,translation-ready
Version: 2.0.6
Updated: 2022-11-30 09:03:43
*/

:root {
  --main: #000000;
  --secondary: #a3714e;
  --light: #ffffff;
  --dark: #000000;
  --heading: #000000;
  --body: #727272;
  --bodybg: #ffffff;
  --btn-bgcolor: #ffffff;
  --btn-color: #000000;
  --btn-bgcolor2: #000000;
  --btn-color2: #ffffff;
}
body {
    background-color: #ffffff !important;
}
.btn-theme {
  background: var(--main);
  color: #ffffff;
  height: 50px;
  padding: 0 40px;
  text-align: center;
  line-height: 50px;
}

button.btn-theme {
  border: 0;
}

.home .jws_header > .elementor-4204 {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}
.products-tab.layout1 .product-item-inner {
    background: #fff;
    padding-bottom: 30px;
}

/* layout2 cards sit on a coloured section background (#D6D6D6 on the home
   page), so give the card its own white surface instead of letting the
   section colour show under the title, price and add-to-cart row. */
.products-tab.layout2 .product-item-inner {
    background: #fff;
    padding-bottom: 20px;
    overflow: hidden;
}

/* Product photos vary in ratio (some thumbnails are 500x360, most are
   500x500), which pushed the titles to different heights. Normalise to a
   square box and letterbox rather than crop. */
.products-tab.layout2 .product-image {
    background: #fff;
}
.products-tab.layout2 .product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}

/* Inset the card text; the photo stays full-bleed. */
.products-tab.layout2 .grid_top > *:not(.product-image),
.products-tab.layout2 .grid_bottom {
    padding-left: 20px;
    padding-right: 20px;
}
.products-tab.layout2 .woocommerce-loop-product__title {
    min-height: 2.5em;
}
.products-tab.layout2 .price {
    margin-bottom: 14px;
}
.products-tab.layout1 a.button {
    color: var(--btn-color2);
    background: var(--btn-bgcolor2);
}
footer#colophon p, footer#colophon a {
    color: #fff;
}
.jws-filter-modal .modal-content {
    padding: 20px !important;
}

.category-tab-item a {
    display: block;
    background: #fff;
    height: 100%;
}
.jws-category-list .category-content.layout1 .category-tab-item .category-image {
    display: block;
    min-height: auto;
    margin-bottom: 0;
}

.jws-category-list .category-content.layout1 .category-tab-item {
    margin-bottom: 30px;
}
.jws-category-list .category-content.layout1 .category-tab-item h4 {
    font-size: 27px;
    padding: 10px;
    line-height: 28px;
    text-transform: capitalize;
    background: #000000;
    color: #fff;
}
 @media only screen and (max-width: 1400px) {
  .home .jws_header > .elementor-4204 {
      position: inherit;
  }
  .elementor-section.elementor-section-height-full {
      height: auto;
  }
}

.pum-theme-12761 .pum-content, .pum-theme-default-theme .pum-content {
    color: #000000 !important;
}
/* ---------- Category tiles (Home) ----------
   4 equal tiles (Lamb / Beef / Poultry / BBQ) + full-width Specials tile. */
.elementor-element-1727b52 > .elementor-container,
.elementor-element-d9346c0 > .elementor-container,
.elementor-element-catrow3x > .elementor-container {
    align-items: stretch;
}
.elementor-element-1727b52 .elementor-widget-wrap,
.elementor-element-d9346c0 .elementor-widget-wrap,
.elementor-element-catrow3x .elementor-widget-wrap {
    align-content: stretch;
}
.elementor-widget-image-box.cat-item {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}
.cat-item .elementor-widget-container,
.cat-item .elementor-image-box-wrapper {
    height: 100%;
}
.cat-item .elementor-image-box-wrapper {
    display: flex;
    flex-direction: column;
}
.cat-item .elementor-image-box-img {
    width: 100% !important;
    margin: 0 !important;
    flex: 1 1 auto;
    min-height: 0;
}
.cat-item .elementor-image-box-img a {
    display: block;
    height: 100%;
}
.cat-item .elementor-image-box-img img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.cat-item .elementor-image-box-content {
    background: #000;
    padding: 5px 15px;
    text-transform: uppercase;
    flex: 0 0 auto;
}
.cat-item .elementor-image-box-title {
    margin: 0;
}
.cat-item .elementor-image-box-description {
    display: none;
}

/* Specials: full width, image kept whole rather than cropped */
.cat-item-wide .elementor-image-box-img img {
    aspect-ratio: 16 / 5;
    object-fit: contain;
    background: #fff;
}
@media only screen and (max-width: 767px) {
    .cat-item .elementor-image-box-img img,
    .cat-item-wide .elementor-image-box-img img {
        aspect-ratio: 16 / 9;
    }
}

.quantity {
    display: flex;
    align-items: center;
    gap: 6px;
}
.qty-unit{
    font-weight: 600;
    margin-left: 6px;
}

/* Unit moved out of the product name and printed after the price. */
.product-unit {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.8em;
    font-weight: 400;
    color: var(--body);
    white-space: nowrap;
}
