/*****************************************************************************
  Bootstrap settings.
*/

/*****************************************************************************
  Bootstrap variables' custom overrides.
*/

/*****************************************************************************
  Project-specific variables.
*/

/*****************************************************************************
  Account.
*/

/*****************************************************************************
  Global components.
*/

/*****************************************************************************
  Homepage.
*/

/*****************************************************************************
  Recipe.
*/

/*****************************************************************************
  Bootstrap settings.
*/

/*****************************************************************************
  Bootstrap variables' custom overrides.
*/

/*****************************************************************************
  Project-specific variables.
*/

/*****************************************************************************
  Account.
*/

/*****************************************************************************
  Global components.
*/

/*****************************************************************************
  Homepage.
*/

/*****************************************************************************
  Recipe.
*/

.ws-sidebar h3,
.ws-sidebar h4 {
  font-family: proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-weight: bold;
}

@media (min-width: 992px) {
  .ws-sidebar {
    height: 100%;
  }

  .ws-sidebar__inner {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 100px - 20px);
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
  }

  .ws-sidebar__inner::-webkit-scrollbar {
    width: 10px;
    background-color: #fcfcfc;
  }

  .ws-sidebar__inner::-webkit-scrollbar-track {
    box-shadow: none;
    background-color: #fcfcfc;
  }

  .ws-sidebar__inner::-webkit-scrollbar-thumb {
    background-color: #e5e5e5;
    border: none;
    border-radius: 0.75em;
  }
}

.ws-sidebar__section {
  /*****************************************************************************
    General styles.
  */
  border-bottom-left-radius: 0.625em;
  border-bottom-right-radius: 0.625em;
  /*****************************************************************************
    Additional styles for the collapsible panels.
  */
  /*****************************************************************************
    Additional styles for the panels that get sticky on mobile.
  */
  /*****************************************************************************
    Variant: ingredients.
  */
  /*****************************************************************************
    Variant: downloads.
  */
  /*****************************************************************************
    Variant: slider.
  */
}

.ws-sidebar__section:not(:first-child):not(.\--sticky) {
  margin-top: 1rem;
}

.ws-sidebar__section__heading {
  margin-bottom: 0;
  color: #fff;
  background: #cb9b89;
  border-top-left-radius: 0.625em;
  border-top-right-radius: 0.625em;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  padding: 16px 24px;
}

@media (min-width: 992px) {
  .ws-sidebar__section__heading {
    font-size: 1.25rem;
    padding: 24px 24px;
  }
}

.ws-sidebar__section__heading__icon {
  font-size: 1.5rem;
  transition: transform 0.2s ease-in-out;
  will-change: transform;
}

.ws-sidebar__section__heading__counter {
  font-size: 0.875rem;
  font-weight: normal;
  margin-left: 0.75rem;
}

.ws-sidebar__section__heading__h3 {
  font-family: proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-weight: bold;
}

.ws-sidebar__section__content {
  color: #000;
  font-size: 1rem;
}

.ws-sidebar__section__content-wrapper {
  background: #fef6ed;
  border-bottom-left-radius: 0.625em;
  border-bottom-right-radius: 0.625em;
  padding: 16px 24px;
}

@media (min-width: 992px) {
  .ws-sidebar__section__content-wrapper {
    padding: 24px 24px;
  }
}

.ws-sidebar__section.\--collapsible .ws-sidebar__section__heading {
  transition: border-radius 0.2s ease-in-out;
  will-change: border-radius;
}

.ws-sidebar__section.\--collapsible .ws-sidebar__section__heading:hover {
  cursor: pointer;
}

.ws-sidebar__section.\--collapsible .ws-sidebar__section__content {
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  will-change: max-height;
}

.ws-sidebar__section.\--collapsible:not(.\--expanded) .ws-sidebar__section__heading {
  border-bottom-left-radius: 0.625em;
  border-bottom-right-radius: 0.625em;
}

.ws-sidebar__section.\--collapsible.\--expanded .ws-sidebar__section__heading__icon {
  transform: rotate(180deg);
}

.ws-sidebar__section.\--sticky {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  width: 100vw;
  max-height: calc(100vh - 51px - 54px);
  transition: transform 0.2s ease-in-out;
  will-change: transform;
}

.ws-sidebar__section.\--sticky .ws-sidebar__section__heading {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ws-sidebar__section.\--sticky.\--visible {
  transform: translateY(0);
  z-index: 1;
}

.ws-sidebar__section.\--sticky .ws-sidebar__section__content {
  overflow-y: auto;
}

.ws-sidebar__section.\--ingredients .ingredients-list {
  margin-bottom: 0;
  padding: 0 0 0 24px;
}

@media (min-width: 992px) {
  .ws-sidebar__section.\--ingredients .ingredients-list {
    padding-left: 24px;
  }
}

.ws-sidebar__section.\--ingredients .ingredients-list__heading {
  color: #000;
  margin-bottom: 0.625rem;
  font-size: inherit;
  font-weight: bold;
}

.ws-sidebar__section.\--ingredients .ingredients-list__heading:not(:first-child) {
  margin-top: 1.5rem;
}

.ws-sidebar__section.\--downloads .files-list {
  margin: 0;
}

.ws-sidebar__section.\--downloads .files-list__item {
  position: relative;
  padding: 0.875rem 0;
}

.ws-sidebar__section.\--downloads .files-list__item:first-child {
  padding-top: 0;
}

.ws-sidebar__section.\--downloads .files-list__item:last-child {
  padding-bottom: 0;
}

.ws-sidebar__section.\--downloads .files-list__item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ws-sidebar__section.\--downloads .files-list__item::marker {
  display: none;
}

.ws-sidebar__section.\--downloads .files-list__item::before {
  content: counter(list-item);
  position: absolute;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  height: 23px;
  background: #d7b9b0;
  color: #fff;
  border-radius: 50%;
}

.ws-sidebar__section.\--downloads .files-list__item__link {
  width: 100%;
  max-width: calc( 100% - 23px - 17px );
  margin-left: calc( 23px + 17px );
  position: relative;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  color: #000;
  font-weight: bold;
}

.ws-sidebar__section.\--downloads .files-list__item__icon {
  font-size: 1.25rem;
}

.ws-sidebar__section.\--slider .ws-sidebar__section__content-wrapper {
  padding-left: 0;
  padding-right: 0;
  background: #fff;
  border: 2px solid #cb9b89;
}

.ws-sidebar__section.\--slider .swiper-wrapper {
  padding-bottom: 1.5625rem;
}

.ws-sidebar__section.\--slider .swiper-button-prev,
.ws-sidebar__section.\--slider .swiper-button-next {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  outline: none;
  color: #000;
  font-size: 1.5rem;
}

.ws-sidebar__section.\--slider .swiper-button-prev::before,
.ws-sidebar__section.\--slider .swiper-button-prev::after,
.ws-sidebar__section.\--slider .swiper-button-next::before,
.ws-sidebar__section.\--slider .swiper-button-next::after {
  display: none;
}

.ws-sidebar__section.\--slider .ws-product-box {
  border: none;
}

.ws-sidebar__section.\--slider .ws-product-box__title {
  font-size: 0.875rem;
}

@media (min-width: 992px) {
  .ws-sidebar__section.\--slider .ws-product-box__title {
    font-size: 1rem;
  }
}

.ws-sidebar__section.\--slider .ws-product-box__price {
  font-size: 1rem;
}

@media (min-width: 992px) {
  .ws-sidebar__section.\--slider .ws-product-box__price {
    font-size: 1.25rem;
  }
}

.ws-sidebar__section.\--slider .ws-product-box__cta {
  font-size: 0.75rem;
}

@media (min-width: 992px) {
  .ws-sidebar__section.\--slider .ws-product-box__cta {
    font-size: 1rem;
  }
}

