/**
 * Overrides for Konte Child Theme
 * 1.   Header
 * 1.1  Header Navigation
 * 2.   Footer
*/

/* 1. Header */
.admin-bar #masthead {
  top: 46px;
}

@media (min-width: 782px) {
  .admin-bar #masthead {
    top: 32px;
  }
}

#masthead {
  background-color: #ffffff9c;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#masthead.is-sticky {
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#masthead.site-header:hover {
  background-color: #ffffff;
}

#masthead .header-main {
  height: auto !important;
  padding-block: 1rem;
  transition: 0.3s ease-in;
}

#masthead.is-sticky .header-main {
  padding-block: 0.5rem;
}

/* 1.1 Header Navigation */
#menu-main-menu-engleza > li,
#menu-main-menu > li {
  padding-block: 0.75rem;
}

.main-navigation > ul > li > ul {
  margin: 0 !important;
}

#mobile-menu .panel > .currency,
#mobile-menu .panel .mobile-menu__wishlist + hr {
  display: none;
}

/* 2. Footer */
.footer-widgets-area-1 .widget > p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Content */
.site-content:not(.single-product .site-content):not(
    .page-template .site-content
  ):not(.page-template-default .site-content),
.page-id-22 .site-content,
.woocommerce-cart .site-content,
.woocommerce-page .site-content {
  margin-top: 6rem;
}

.woocommerce-page.single-product .site-content {
  margin-top: 0 !important;
}

@media (min-width: 991px) {
  .woocommerce-page.single-product .site-content {
    margin-top: 6rem !important;
  }
}

.slick-slide .woocommerce-loop-product__link img {
  max-height: 48rem;
  object-fit: cover;
  object-position: top center;
}

.ul.products li.product {
  height: auto !important;
}

.tax-product_cat .woocommerce-price-suffix {
  display: none !important;
}

.tax-product_cat
  .button.product_type_variable.add_to_cart_button.woocommerce-loop-product__button,
.single-product
  .button.product_type_variable.add_to_cart_button.woocommerce-loop-product__button {
  display: none !important;
}

/* Single Product */
.woocommerce-product-gallery__image img {
  max-height: 54rem;
  object-fit: cover;
  object-position: top center;
}

/* Style for out-of-stock swatches */
.wcboost-variation-swatches .swatch-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  position: relative;
}

.wcboost-variation-swatches .swatch-disabled:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.woocommerce-product-attributes.shop_attributes th {
  width: 8rem;
}

/* Cart */
.woocommerce-cart button[name="empty_cart"] {
  margin: 0 !important;
}

.woocommerce-cart button[name="update_cart"] {
  display: none;
}

.woocommerce-shipping-methods > li label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  min-height: 20px;
  padding-top: 4px;
}

.woocommerce div.product .woocommerce-variation-description,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce .woocommerce-Tabs-panel--description {
  font-weight: 400 !important;
}

.woocommerce-price-suffix {
  font-size: 60% !important;
  opacity: 0.7;
}

.woocommerce-Price-amount.amount {
  font-weight: 600 !important;
}

.woocommerce-product-details__short-description {
  margin-bottom: 2rem !important;
}

.wcboost-variation-swatches--button .wcboost-variation-swatches__item {
  padding: 0.5rem !important;
  width: 2rem !important;
  height: 2rem !important;
}

.woocommerce .wcboost-variation-swatches__wrapper {
  gap: 1.5rem !important;
}

.wcboost-variation-swatches__name {
  font-size: 14px !important;
}

.product-summary .buttons .add_to_cart_button {
  margin-top: 4px !important;
  font-size: 14px !important;
}

.product-inner {
  position: relative;
}

.ico-favorite {
  position: absolute;
  z-index: -1;
  width: calc(100% - 2rem);
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tax-product_cat .ico-favorite {
  width: 100%;
}

.product-inner:hover .ico-favorite {
  opacity: 1;
  z-index: 999;
}

.ico-favorite .quick_view_button {
  display: none !important;
}

.wcboost-variation-swatches__wrapper,
.filter-options.products-filter__options.products-filter--swatches.filter-swatches {
  display: flex;
  flex-wrap: wrap;
}

.swatch-button[data-value="s"],
.swatch-button[data-value="s-en"],
.wcboost-variation-swatches__item[data-value="s"],
.wcboost-variation-swatches__item[data-value="s-en"] {
  order: 1;
}

.swatch-button[data-value="m"],
.swatch-button[data-value="m-en"],
.wcboost-variation-swatches__item[data-value="m"],
.wcboost-variation-swatches__item[data-value="m-en"] {
  order: 2;
}
.swatch-button[data-value="l"],
.swatch-button[data-value="l-en"],
.wcboost-variation-swatches__item[data-value="l"],
.wcboost-variation-swatches__item[data-value="l-en"] {
  order: 3;
}
.swatch-button[data-value="xl"],
.swatch-button[data-value="xl-en"],
.wcboost-variation-swatches__item[data-value="xl"],
.wcboost-variation-swatches__item[data-value="xl-en"] {
  order: 4;
}

.woocommerce-product-attributes-item--attribute_pa_size
  .woocommerce-product-attributes-item__value {
  text-transform: uppercase;
}

/* #select2-filter_material-lj-results.select2-results__options > li:first-child {
  display: none !important;
} */

.select2-results__options > li:first-child {
  display: none !important;
}

@media (max-width: 599px) {
  .footer-widgets-area-1 .widget:nth-child(2),
  .footer-widgets-area-1 .widget:nth-child(3) {
    margin-bottom: 1rem;
  }

  .footer-widgets-area-2 .widget {
    margin-top: 96px;
  }

  .footer-widgets-area-2 .widget ul li {
    padding: 0 0 20px 0;
  }

  .footer-widgets-area-3 .widget {
    margin-top: 12px;
  }
}

@media (min-width: 600px) and (max-width: 991px) {
  .footer-widgets-area-1 .widget:nth-child(2),
  .footer-widgets-area-1 .widget:nth-child(3) {
    margin-bottom: 1rem;
  }

  .footer-widgets-area-2 .widget {
    margin-top: 112px;
  }

  .footer-widgets-area-2 .widget ul li {
    padding: 0 0 20px 0;
  }
}

.home
  .button.product_type_variable.add_to_cart_button.woocommerce-loop-product__button {
  display: none !important;
}

.home .ico-favorite {
  width: 100% !important;
}

.newsletter-form form {
  display: flex;
  flex-direction: row;
}

.newsletter-form form p:nth-child(2) {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.newsletter-form form .wpcf7-form-control-wrap {
  width: 100%;
}

.newsletter-form form input[type="submit"] {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  top: 50%;
}

.newsletter-form form input[type="submit"] {
  padding: 0;
  margin: 0;
  width: auto;
  background-color: transparent !important;
  color: #35337a !important;
  line-height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form .wpcf7-spinner {
  display: none !important;
}

/* Language Switcher */
.menu-item.wpml-ls-item .sub-menu {
  width: 100% !important;
  min-width: auto !important;
  padding: 0 !important;
  left: 5px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.menu-item.wpml-ls-item .sub-menu .wpml-ls-item {
  padding: 0.75rem !important;
  width: 42px !important;
  height: 36px !important;
  background: white !important;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
}

.menu-item.wpml-ls-item .sub-menu .wpml-ls-item a {
  display: inline-flex;
}

.menu-item.wpml-ls-item .sub-menu .wpml-ls-item a:hover:after {
  width: 0 !important;
  border-color: transparent !important;
}

.woocommerce-input-wrapper select {
  width: 100% !important;
  line-height: inherit;
  height: auto;
  min-height: 50px;
  padding: 13px 20px 13px 0;
  border-bottom: 2px solid #e3e7e8;
  background-color: transparent !important;
  transition: 0.4s;
}

.woocommerce-input-wrapper select:hover {
  border-color: #000000 !important;
}

.slick-slide .button.product_type_simple.add_to_cart_button {
  display: none !important;
}

.konte-product-tabs__tabs.konte-tabs__nav li {
  text-transform: uppercase;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6 {
  text-transform: uppercase !important;
}

.konte-banner__content,
.konte-banner__button {
  color: #ffffff ;
}

.large-text {
  font-size: 1.125rem !important;
}

.site-content a:not(.button) {
  color: #35337a !important;
}

.site-content a.button.wc-backward,
.site-content a.button.wc-backward:hover,
.site-content a.button.wc-backward:active {
  color: #ffffff !important;
}

.tabs.wc-tabs > li > a {
  text-transform: uppercase !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.woocommerce-product-attributes.shop_attributes th {
  color: #35337a !important;
}

.woocommerce-Price-amount.amount,
.woocommerce-price-suffix {
  color: #35337a !important;
}

.sku_wrapper .label,
.posted_in .label,
.tagged_as .label {
  color: #35337a !important;
  opacity: 0.7;
}

#tab-description,
.woocommerce-product-attributes-item__value {
  color: #35337a !important;
  opacity: 0.7;
}

.button.product_type_variable.add_to_cart_button.woocommerce-loop-product__button {
  display: none !important;
}

/* Mega Menu */
.sub-menu.mega-menu {
  top: 56px !important;
}
.mega-menu-container.container {
  width: auto !important;
  padding-left: 15px;
  padding-right: 15px;
}

.mega-menu-main > li {
  width: 50% !important;
}

.mega-menu-main > li:last-child {
  display: none !important;
}

.main-navigation .mega-sub-menu {
  padding: 3.75rem !important;
}
