:root {
  --studeny-forest: #17310b;
  --studeny-green: #5f9829;
  --studeny-lime: #a7cf52;
  --studeny-cream: #f5f6ee;
  --studeny-text: #263221;
}

.st-product-price.st-text-right {
  margin: .4rem .5rem;
  font-size: 1.125rem;
  text-align: right!important;
} 

@media (min-width: 1200px) {
  .container {
    width: 1480px;
    max-width: 1680px;
  }
}

.input-group.bootstrap-touchspin {
  display: flex!important;
}

#footer {
  background-color: var(--studeny-cream);
}

#header {
  background-color: var(--studeny-forest);
  padding-top: 122px;
}

#header .header-nav {
  border-bottom:none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 50px;
  z-index: 1030;
  background-color: var(--studeny-forest);
}

.dropdown-menu .dropdown-item {
  color: #777777 !important;
}

.dropdown-menu .dropdown-item:hover {
  color: #669f2a !important;
}


#header .header-nav .row > .hidden-sm-down {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
}

#header .header-nav .right-nav a:hover {
  color: var(--studeny-lime);
}

#header .header-nav .right-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#header .header-top {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  min-height: 72px;
  z-index: 1029;
  padding: 0;
  background-color: var(--studeny-forest);
}

#header .header-top > .container > .row:first-child {
  min-height: 72px;
}

#header .header-top #_desktop_logo img.studeny-logo {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  filter: brightness(0) invert(1);
}

#header .header-top-right {
  display: flex;
  align-items: center;
  min-height: 72px;
}

#header .header-top-right #_desktop_top_menu {
  flex: 1 1 auto;
}

#header .header-top-right #search_widget {
  flex: 0 0 220px;
  margin-left: 1rem;
}

#header .header-top .top-menu a[data-depth="0"] {
  color: #fff;
}

#header .header-top .top-menu a[data-depth="0"]:hover {
  color: var(--studeny-lime);
}

#header .header-top .top-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 220px;
  margin: 0;
  padding: .75rem 1rem;
  background: #fff;
  z-index: 1040;
}

#header .header-top .top-menu > li {
  position: relative;
}

#header .header-top .top-menu > li:hover > .sub-menu,
#header .header-top .top-menu > li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
}

#header .header-top .top-menu .sub-menu a {
  color: var(--studeny-text);
  white-space: nowrap;
}

@media (min-width: 768px) {
  #header .header-top > .container {
    position: relative;
  }

  #header .header-top .top-menu > li {
    position: static;
  }

  #header .header-top .top-menu > li > .sub-menu {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-height: calc(100vh - 138px);
    margin: 0;
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(23, 49, 11, .18);
  }

  #header .header-top .top-menu > li > .sub-menu > .top-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem 1.5rem;
    margin: 0;
  }

  #header .header-top .top-menu > li > .sub-menu > .top-menu > li {
    float: none;
    width: auto;
    margin: 0;
  }

  #header .header-top .top-menu > li > .sub-menu > .top-menu > li > a {
    padding: .4rem 10px;
    font-weight: 600;
    color: var(--studeny-forest);
  }

  #header .header-top .top-menu > li > .sub-menu .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    width: auto;
    min-width: 0;
    margin: .25rem 0 0;
    padding: 0;
    box-shadow: none;
  }

  #header .header-top .top-menu > li > .sub-menu .sub-menu .top-menu {
    margin: 0;
  }

  #header .header-top .top-menu > li > .sub-menu .sub-menu li {
    float: none;
    margin: 0;
  }

  #header .header-top .top-menu > li > .sub-menu .sub-menu a {
    display: block;
    padding: .35rem .75rem;
    white-space: normal;
  }

  #header .header-top .top-menu .sub-menu a {
    display: block;
    padding: .5rem .75rem;
    border-radius: 4px;
    transition: background-color .15s ease, box-shadow .15s ease;
  }

  #header .header-top .top-menu .sub-menu a:hover,
  #header .header-top .top-menu .sub-menu a:focus {
    color: var(--studeny-forest);
    background-color: var(--studeny-cream);
    box-shadow: inset 3px 0 0 var(--studeny-green);
    text-decoration: none;
  }
}

#content.page-home {
  background: #fff;
}

#content.page-home > section,
#content.page-home > .featured-products {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

#content.page-home .featured-products:nth-of-type(even) {
  background: var(--studeny-cream);
}

#content.page-home .products-section-title,
#content.page-home .featured-products > h2 {
  color: var(--studeny-forest);
  font-size: 1.8rem;
  letter-spacing: .02em;
  margin-bottom: 2rem;
  text-align: center;
}

#content.page-home .product-miniature {
  height: 100%;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 49, 11, .08);
}

#content.page-home .product-thumbnail img {
  border-radius: 12px 12px 0 0;
}

#content.page-home .product-title a {
  color: var(--studeny-text);
}

@media (max-width: 767px) {
  #header {
    padding-top: 50px;
  }

  #header .header-nav,
  #header .header-nav .row > .hidden-md-up {
    min-height: 50px;
  }

  #header .header-top {
    top: 50px;
    min-height: 0;
  }

  #header .header-nav .row > .hidden-sm-down {
    display: none;
  }

  #content.page-home > section,
  #content.page-home > .featured-products {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}
