/*!
Theme Name: pelmeshki
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Text Domain: pelmeshki
*/

/*--------------------------------------------------------------
# CSS Reset
--------------------------------------------------------------*/

/* Modern CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  font-size: 100%; /* 16px by default */
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in Safari */
  scroll-behavior: smooth; /* Smooth scrolling */
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
.language-switcher:hover .language-dropdown,
header .right-nav .navigation .language-dropdown {
  display: none !important;
}
.language-switcher .language-dropdown.active,
header .right-nav .navigation.active .language-dropdown.active {
  display: block !important;
}
.wp-block-heading {
  font-family: "Ubuntu Sans";
}
.post-content p,
.post-content .wp-block-heading {
  margin: 0 0 20px;
}
body.active::after {
  height: 100vh !important;
}
header.fix{
	z-index: 9999;
}

html{
	overflow-x: visible;
}
.woocommerce-container .woocommerce-sidebar #secondary{
	position: sticky;
	top: 160px;
}


.swiper-slide{
    height: auto !important;
	display: flex !important;
    flex-direction: column;
}

.swiper-slide .product-item{
	display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-category-list li a[href*="#uncategorized-en"] {
    display: none !important;
}

.parent-category>a{
	display: block;
}

@media (max-width: 991px) {
  .banner-slider .banner .banner-image {
    height: 50vw !important;
  }
}
@media (max-width: 767px) {
	html{
	overflow-x: hidden;
}
  .banner-slider .banner .banner-image {
    height: 150vw !important;
  }
  header .right-nav .navigation {
    padding: 70px 30px !important;
    height: calc(100vh - 200px) !important;
  }
  .language-switcher .language-dropdown li a {
    color: #e0683a !important;
    font-size: 24px !important;
  }
  .recipe-slider {
    margin: 0 0 30px;
  }

  .category-item {
    margin-bottom: calc(2em - 20px) !important;
  }
  .category-item.active .subcategory-content {
    margin: 0 0 2em !important;
  }
}
