/*
Theme Name: cabinetmeisters
Theme URI: https://dev.snworks.com/whatsnew/wp-content/themes/whatsnew
Author: Synergy Web Design and Marketing - Lora Champion
Author URI: https://snwebdm.com/
Description: This theme works best with Elementor, although you can also use blocks with it (remove bottom section from functions.php to enable block editor). Recommended plugins: Elementor, Yoast, Contact7, woocommerce, ultimate member
Version: 1:012422
Requires at least: 5.0
Tested up to: 5.8.3
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cabinetmeisters
This theme, like WordPress, is licensed under the GPL.
Tested up to: 5.8
Requires PHP: 7.0
Tags: woocommerce
*/

body,
body p {
  font-family: "Roboto", Sans-serif !important;
}

.site-header {
  border-bottom: 1px #ccc solid;
}

.top-phone-link {
  font-size: 24px;
  color: #1a1718;
}

#marquee .textwidget.custom-html-widget {
  color: #fff !important;
  font-size: 24px !important;
}

a.social {
  margin: 12px;
}

h2,
h1 {
  /* font-family: "Cinzel", Sans-serif !important; */
  font-family: "Roboto", Sans-serif !important;
}

h2 a {
  /* font-family: "Cinzel", Sans-serif !important; */
  font-family: "Roboto", Sans-serif !important;
  color: #800000;
}

.widget-image-caption {
  color: #1a1718 !important;
}

/* pages */
.post-0.page.type-page {
  /* category results page */
  display: none !important;
}

.wc_payment_methods.payment_methods img {
  display: inline-flex !important;
}

.woocommerce div.product div.images img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: none;
  max-width: 200px !important;
}

p.filter-title {
  text-align: center;
  margin-bottom: 0;
  font-family: "Cinzel", Sans-serif !important;
}

#categoryresults .category-image img {
  max-width: 300px !important;
  margin: 0 auto !important;
}

body.woocommerce-checkout .page-layout {
  max-width: 1280px;
  margin: auto;
  padding: 20px;
}

.category-header {
  display: inline-flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

/*   woocom styles */

body.woocommerce.woocommerce-page
  a.woocommerce-LoopProduct-link.woocommerce-loop-product__link
  h2.woocommerce-loop-product__title {
  color: #800000 !important;
}

.woocommerce-checkout-payment {
  padding: 20px;
}

a.woocommerce-terms-and-conditions-link {
  color: black;
  text-transform: uppercase;
  text-decoration: underline !important;
}

.woocommerce-terms-and-conditions-checkbox-text {
  color: black;
}

ins {
  text-decoration: none !important;
}

.woocommerce .products ul,
.woocommerce ul.products {
  margin: 0 0 1em;
  padding: 0;
  list-style: none outside;
  clear: both;
  width: 100% !important;
  text-align: center;
}

.woocommerce-products-header__title.page-title,
.filtered-products img,
body.wholesale_customer
  .original-computed-price
  ins
  .woocommerce-Price-amount.amount,
.wc-block-grid__product-onsale {
  display: none !important;
}

body.wholesale_customer ins .woocommerce-Price-amount::after {
  content: " ";
}

del .woocommerce-Price-amount::after {
  content: " Retail";
}

.category-image,
.products,
.product-category img {
  width: 200px !important;
  height: auto !important;
}

.related.products {
  width: 100% !important;
  display: none !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000' stroke='%23000000' stroke-width='0.5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

a.button.view-cart {
  background-color: #000 !important;
  color: #fff;
  padding: 6px 10px;
}

.accordion-header h2 {
  font-size: 36px;
  color: black;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #fff;
  box-shadow: none;
}

.accordion-button {
  color: #fff;
  background-color: #fff;
  box-shadow: none;
  border: 1 px solid black;
}

.accordion-item {
  background-color: #fff;
  border: 1px solid #800000;
}

/* product page styles */

.single-product .woocommerce div.product div.images img {
  width: 300px;
  max-width: 100% !important;
  height: auto;
  object-fit: contain;
  /* or contain depending on effect desired */
}

.woocommerce-Price-amount.amount {
  color: black;
}

body.single.single-product #main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

.single_add_to_cart_button {
  margin-bottom: 12px;
}

.single_add_to_cart_button.button.alt {
  background-color: #800000 !important;
  color: #fff;
  padding: 6px 10px;
  border: 1px solid #800000;
}

.single_add_to_cart_button.button.alt:hover {
  background-color: #fff !important;
  color: #800000;
  padding: 6px 10px;
  border: 1px solid #800000;
}

.single-product .post {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

.single-product .post-meta,
.single-product .onsale {
  display: none !important;
}

.row.category-accessories img,
.row.category-sample img {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  max-width: 100%;
  max-height: 100px;
  width: auto;
}

.category-accessories a h2,
.category-sample a h2 {
  /* filter results */
  color: #800000 !important;
  font-size: 20px;
  padding: 6px 0 0;
  margin: 0;
}

.category-accessories .product-description,
.category-sample .product-description {
  font-size: 12px;
  font-weight: normal;
  width: 200px;
  margin-bottom: 20px;
}

.category-accessories p,
.category-sample p {
  margin-bottom: 0 !important;
}

.product-item {
  margin: 0;
  background: white;
  border-bottom: solid #ccc 1px;
}

.quantity-input {
  width: 50px !important;
  text-align: center;
  padding: 5px;
}

.woocommerce .quantity::before {
  content: "Quantity: ";
  font-weight: bold;
  margin-right: 5px;
}

.woocommerce div.quantity {
  display: flex;
  align-items: center;
}

.woocommerce div.quantity::before {
  content: "Quantity: ";
  font-weight: bold;
  margin-right: 5px;
}

.eael-view-cart-btn {
  display: inline-block;
  background-color: #0071a1;
  color: #fff;
  padding: 10px 15px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: background 0.3s ease-in-out;
}

.eael-view-cart-btn:hover {
  background-color: #005f86;
  color: #fff;
}

/* Center the button if needed */
.eael-product-popup-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eael-product-list-content-wrap {
  padding: 0 !important;
}

.eael-product-list-quick-view-button {
  background: #800000 !important;
  border-radius: 8px;
  padding: 6px 12px;
  position: absolute;
  right: 80px;
  bottom: 6px;
}

.eael-product-list-quick-view-button a {
  text-decoration: none !important;
  color: white !important;
  font-weight: 600 !important;
}

.eael-product-list-wrapper .eael-product-list-item {
  padding: 8px 24px 24px 24px !important;
}

.eael-product-list-excerpt,
h2.eael-product-list-title {
  margin-bottom: 0 !important;
}

.wc-block-components-totals-shipping__via,
.eael-onsale,
.wc-block-cart__empty-cart__title.with-empty-cart-icon:before,
.eael-product-list-content-header,
.eael-product-list-wrapper
  .eael-product-list-item
  .eael-product-list-image-wrap {
  /* width: 13% !important; */
  display: none !important;
}

/* cart icon */
.btn.shopnow {
  cursor: pointer;
  position: fixed;
  top: 2px;
  right: 70px;
  font-size: 32px;
  text-decoration: none;
  z-index: 99990;
  background: #0d6efd;
  padding: 0 12px;
  color: #fff;
}

.custom-cart-icon {
  position: fixed;
  top: 2px;
  right: 22px;
  font-size: 32px;
  text-decoration: none;
  z-index: 99990;
  background: black;
  border-radius: 4px;
  padding: 1px;
}

h2.with-empty-cart-icon {
  text-align: center;
  font-size: 24px !important;
  padding: 24px 12px;
}

.cart-count {
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 50%;
  padding: 1px 7px;
  font-size: 14px;
  position: absolute;
  top: 11px;
  right: 13px;
}

.is-large.wc-block-cart .wc-block-cart-items {
  border-bottom: 1px solid black !important;
  border-spacing: 0;
}

.wc-block-cart-items__header-total,
.is-large.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart-items__header-image,
a.wc-block-components-product-name {
  font-size: 24px !important;
}

.wc-block-cart-items__row,
.wc-block-cart-item__product p {
  color: black;
}

/* style for category text */
.centered-text h3 {
  color: #000000;
  font-family: "Cinzel", Sans-serif;
  font-size: 32px;
  font-weight: 600;
}

.centered-text-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ccc;
  margin-top: 20px;
  margin-bottom: -20px;
}

.centered-text {
  position: relative;
  padding: 0 20px;
}

#wccf-products
  .wccf-product
  img.attachment-thumbnail.size-thumbnail.wp-post-image {
  position: absolute !important;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#wccf-products .wccf-product {
  text-align: right;
  display: block;
  border: solid 2px #999;
  margin-top: 6px;
  padding: 12px;
  position: relative;
}

#wccf-products .filter-title a {
  /* filter results */
  color: #800000 !important;
  font-size: 36px;
}

#wccf-products p {
  margin-bottom: 0;
}

#wccf-products li.product.type-product {
  list-style: none !important;
}

#wccf-category-filter {
  text-align: center;
  display: block;
  align-items: center;
  align-content: center;
  margin: 0 auto !important;
}

.woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

.woocommerce-LoopProduct-link .onsale {
  display: none !important;
}

.woocommerce-terms-and-conditions-wrapper {
  display: block !important;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt:hover {
  background-color: #800000 !important;
  color: #fff;
  border: none;
  padding: 7px 10px;
}

.btn.btn-logout,
.btn.btn-login {
  background: #800000;
  padding: 10px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid #000;
  border-radius: 12px;
}

.btn.btn-logout:hover,
.btn.btn-login:hover {
  background: white;
  padding: 10px;
  color: #800000;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid #000;
}

/* mega menu styling */
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: #800000;
  font-weight: 400 !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  position: relative;
  text-decoration: none;
  font-weight: 400 !important;
  font-size: 19px;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #800000;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before {
  transform: scaleX(1);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item-has-children
  > a.mega-menu-link
  > span.mega-indicator {
  margin: 0 0 0 0;
}

/* contact form 7 */
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px #ccc solid;
}

.select2-selection__rendered,
.input-text {
  color: #000 !important;
}

.shop-footer .mega-menu-link {
  background: #0d6efd !important;
}

/* ******************* @media ***************************** */

@media (max-width: 1399px) {
  .top-phone-link {
    font-size: 36px;
    color: #1a1718;
  }
}

@media (max-width: 768px) {
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link,
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link {
    position: relative;
    text-decoration: none;
    font-weight: 700 !important;
    font-family: "Cinzel", serif !important;
  }
}

@media (max-width: 568px) {
  .wccf-product a img {
    display: none;
  }

  #wccf-products p {
    margin-bottom: 0;
    text-align: center;
  }

  #wccf-products .wccf-product a {
    text-align: center !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .accordion-header h2 {
    font-size: 32px;
  }

  .accordion-button {
    position: relative;
    display: block;
    text-align: center;
  }

  #filterAccordion.accordion button.accordion-button img {
    margin-right: auto !important;
    margin-right: 10px;
    text-align: center;
    margin: auto;
  }

  #wccf-products p {
    margin-bottom: 0;
    font-size: 16px;
  }
}
