/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/

/* Child theme CSS
--------------------------------------------------------------- */

.askany-chat-widget.bottom-right {
  bottom: 80px !important;
  right: 60px !important;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #1b1b1b62;
  transition: all 0.5s;

  opacity: 0;
  z-index: -10;
}

.modal.active {
  z-index: 1000;
  opacity: 1;
}

.modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  background: #fff;
  position: relative;
  padding: 20px;
  width: 50%;
  padding-top: 48px;

}

.modal__btn {
  font-size: 16px;
  color: #1b1b1b;
  padding: 4px 16px;
  border: 1px solid;
  cursor: pointer;
}

.modal__title {
  font-size: 48px;
  text-align: center;
  font-weight: 600;
}

.modal__close {
  position: absolute;
  right: 4px;
  top: 0;
  font-size: 48px;
  rotate: 45deg;
  padding: 10px;
  line-height: 100%;
  cursor: pointer;
}

#billing>div.wc-block-components-select-input.wc-block-components-select-input-thwcfe-block-shipping_sity,

#shipping>div.wc-block-components-select-input.wc-block-components-select-input-thwcfe-block-shipping_sity {
  margin-top: 20px;
}

.wc-child-category-list__wrap {
  max-height: 400px;
  overflow: auto;
}

.wc-child-category-list {
  height: max-content;
}

.nm-shop-sub-categories {
  display: none !important;
}

.nm-header.centered .nm-right-menu {
  margin-right: -12px;
  display: flex;
  align-items: center;
}

.products li.outofstock .nm-shop-loop-thumbnail>a:after {
  left: auto;
  right: 12px !important;
}

.custom .nm-quantity-wrapper {
  display: flex;

  align-items: center;
  border: none;
  width: auto;
}

.custom.nm-shop-loop-product-wrap {
  position: static;
}

.custom .nm-wishlist-button {
  position: absolute;
  left: 25px;
  top: 15px;
  right: auto;
}

.custom .nm-shop-loop-details {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.custom .nm-quickview-btn {
  display: none !important;
}

.custom .nm-add-to-cart-wrapper {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 5px;
}

.custom a.button.product_type_simple {
  padding: 10px;
  font-size: 12px;
  margin: 0;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nm-single-product div#nm-product-meta {
  order: -1;
  margin: 0 0 30px;
}

.nm-single-product .nm-product-summary-inner-col.nm-product-summary-inner-col-2 {
  display: flex;
  flex-direction: column;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.wp-post-image.lazyloaded {
  max-height: 410px;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1;
}

.nm-banner-text.xlarge .nm-banner-title {
  font-size: 80px;
  line-height: 1;
}

.subtitle-below .nm-banner-text.xlarge .nm-banner-subtitle {
  margin-top: 10px;
  font-size: 34px;
}

.show-password-input {
  display: none !important;
}

.has-bg-color .woocommerce-product-gallery,
.nm-shop-loop-thumbnail {
  background: #ffffff !important;
}

#post-2527 .nm-banner-content {
  position: absolute;
  background: #00000082;
}

@media (max-width: 800px) {


  .modal__inner {
    width: 100%;
  }

  .modal__title {
    font-size: 32px
  }

  .custom .nm-shop-loop-details {
    gap: 10px;
    flex-wrap: wrap;
  }

  #post-2527 .nm-banner-image {
    height: 60vh !important;
  }

  .nm-banner-text.xlarge .nm-banner-title {
    font-size: 34px;
    text-overflow: clip;
    white-space: normal;
  }

  .elementor-379 .elementor-element.elementor-element-0f2bb0e .elementor-heading-title,
  .elementor-379 .elementor-element.elementor-element-53f1498 .elementor-heading-title,
  .elementor-379 .elementor-element.elementor-element-1cef33f .elementor-heading-title,
  .elementor-358 .elementor-element.elementor-element-adb2430 .elementor-heading-title,
  .elementor-358 .elementor-element.elementor-element-0cebf1d .elementor-heading-title,
  .elementor-358 .elementor-element.elementor-element-9eb89a1 .elementor-heading-title {
    font-size: 24px;
  }

  .elementor-358 .elementor-element.elementor-element-edcf037 {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
  }

  .elementor-358 .elementor-element.elementor-element-38f9f1c,
  .elementor-358 .elementor-element.elementor-element-f5aabf1,
  .elementor-358 .elementor-element.elementor-element-0cabd80 {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .elementor-358 .elementor-element.elementor-element-047c342 {
    margin-left: 0;
    padding: 0;
    margin-bottom: 40px;
  }

  .elementor-element.elementor-element-1481fbc.e-con-full.e-flex.e-con.e-child {
    margin: 0 5px;
  }

  #post-358 .nm-banner-content {
    margin-left: 15px;
  }

  .nm-feature h2 {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
  }

  #post-358>div>section.elementor-section.elementor-top-section.elementor-element.elementor-element-38f9f1c.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default>div>div.elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-f40756e>div>div>div {
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  #nm-shop {
    padding: 0 0 37px;
    max-width: 1440px;
    margin: 0 auto;
  }

  /* #nm-shop .nm-row {
    padding-right: 0;
    padding-left: 0;
  } */

  #nm-shop .nm-shop-products-col {
    padding: 0;
  }
}

/* ///////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
div.trp_language_switcher_shortcode {
  width: fit-content;
  margin: 0px !important;
}

div.trp-language-switcher div.trp-ls-shortcode-current-language {
  display: none;
}

.trp-language-switcher {
  width: auto;
  height: auto;
}

/* Change gap */
div.trp-language-switcher div.trp-ls-shortcode-language {
  display: flex !important;
  gap: 5px;
  align-items: center;
  height: auto;
  width: fit-content !important;
  max-width: none;
  max-height: none;
  visibility: visible;
  overflow: unset;
  background-color: transparent;
}

div.trp-language-switcher>div {
  padding: 0;
  border: none;
  border-radius: unset;
  background-image: none;
}

/* Customize text here (fz, paddings, color): */
div.trp-language-switcher>div.trp-ls-shortcode-language>a {
  outline: none;
  border-radius: unset;
  padding: 0px;
  transition: all 0.4s;
}

div.trp-language-switcher>div.trp-ls-shortcode-language>a:hover {
  background: none;
  border-radius: unset;
}

div.trp-language-switcher:hover div.trp-ls-shortcode-language {
  position: relative;
  max-height: unset;
  display: flex !important;
  padding: 0px;
  overflow-y: unset;
  overflow: unset;
}

div.trp-ls-shortcode-language::after {
  content: "/";
  color: #777;
  font-size: 16px;
  display: block;
  order: 2;
}

div.trp-ls-shortcode-language a.trp-ls-shortcode-disabled-language {
  order: 1;
  /* text-shadow: 0px 0px 1px #000; */
  color: #1b1b1b;
}

div.trp-ls-shortcode-language a:not(.trp-ls-shortcode-disabled-language) {
  order: 3;
  color: #777;
}

div.trp-ls-shortcode-language a:not(.trp-ls-shortcode-disabled-language):hover {
  /* text-shadow: 0px 0px 1px #000; */
  color: #1b1b1b;
}

/* ///////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */