.dp-recipe-page {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
  display: none;
}

.dp-lp-recettes[data-page="recipe"] .dp-recipe-page,
.dp-lp-recettes[data-page="recipe"] .dp-recipe-page__ingredients,
.dp-lp-recettes[data-page="recipe"] .dp-recipe-page__header,
.dp-lp-recettes[data-page="recipe"] .dp-recipe-page__steps {
  display: block;
}

.dp-lp-recettes[data-page="recipe"] .dp-recipe-page__container-nav,
.dp-lp-recettes[data-page="recipe"] .dp-machine-discover {
  display: flex;
}

.dp-recipe-page__header {
  height: 547px;
  position: relative;
}

.dp-recipe-page__header[is-white="1"] .dp-recipe-page__header-back-btn {
  color: #fff;
}

.dp-recipe-page__header[is-white="1"] .dp-recipe-page__header-back-btn::before {
  content: url(./images/fleche-white.svg);
}

.dp-recipe-page__header-back-btn[data-color="white"]::before {
  content: url(./images/fleche-white.svg);
}

.dp-recipe-page__header-back-btn[data-color="white"] {
  color: #fff;
}
.dp-recipe-page__header-block {
  background-color: #fff;
  padding: 50px;
  padding-right: 25px;
  position: absolute;
  left: 120px;
  max-width: 520px;
  width: 100%;
  z-index: 2;
  -webkit-box-shadow: -12px 18px 30px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: -12px 18px 30px 1px rgba(0, 0, 0, 0.2);
  box-shadow: -12px 18px 30px 1px rgba(0, 0, 0, 0.2);
  top: 100px;
}

.dp-recipe-page__header-background {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  height: 100%;
}

.dp-recipe-page__header-back-btn {
  z-index: 2;
  position: absolute;
  left: 119px;
  top: 120px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
}

.dp-recipe-page__header-back-btn[is-white="1"] {
  color: #fff;
}

.dp-recipe-page__header-back-btn::before {
  content: url(./images/fleche.svg);
  padding-right: 8px;
}

.dp-recipe-page__header-back-btn[is-white="1"]::before {
  content: url(./images/fleche-white.svg);
}

.dp-recipe-page__header-block-utils li {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  display: inline-block;
  cursor: pointer;
}

.dp-recipe-page__header-block-utils-share {
  margin-right: 20px;
}

.dp-recipe-page__header-block-utils-share::before {
  content: url(./images/share.svg);
}

.dp-recipe-page__header-block-utils-print::before {
  content: url(./images/print.svg);
}

.dp-recipe-page__header-block-utils-share::before,
.dp-recipe-page__header-block-utils-print::before {
  top: 4px;
  position: relative;
  padding-right: 8px;
}

.dp-recipe-page__header-block-title {
  color: #8f7247;
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 25px;
  line-height: 38px;
}

.dp-recipe-page__header-block-subtitle {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 15px;
  line-height: 24px;
}

.dp-recipe-page__header-block-description {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 20px;
  margin-top: 15px;
}

.dp-recipe-page__header-block-description-mention {
  font-size: 0.8em;
  letter-spacing: 1px;
  line-height: normal;
}

.dp-recipe-page__header-block-duration,
.dp-recipe-page__header-block-difficulty {
  font-size: 10px;
  letter-spacing: 1px;
  position: relative;
  text-transform: uppercase;
  display: inline-block;
}

.dp-recipe-page__header-block-difficulty,
.dp-recipes-list__recipe-difficulty {
  position: relative;
}

.dp-recipe-page__header-block-difficulty::before,
.dp-recipes-list__recipe-difficulty::before {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-right: 6px;
}

.dp-recipes-list__recipe[data-difficulty="facile"] .dp-recipes-list__recipe-difficulty::before {
  content: url(./images/easy-white.svg);
}

.dp-recipes-list__recipe[data-difficulty="moyen"] .dp-recipes-list__recipe-difficulty::before {
  content: url(./images/moyen-white.svg);
}

.dp-recipes-list__recipe[data-difficulty="difficile"] .dp-recipes-list__recipe-difficulty::before {
  content: url(./images/difficile-white.svg);
}

.dp-recipe-page__header-block[data-difficulty="facile"] .dp-recipe-page__header-block-difficulty::before {
  content: url(./images/easy-black.svg);
}
.dp-recipe-page__header-block[data-difficulty="moyen"] .dp-recipe-page__header-block-difficulty::before {
  content: url(./images/moyen-black.svg);
}
.dp-recipe-page__header-block[data-difficulty="difficile"] .dp-recipe-page__header-block-difficulty::before {
  content: url(./images/difficile-black.svg);
}

.dp-recipes-list__recipe[data-difficulty="facile"][data-color="black"] .dp-recipes-list__recipe-difficulty::before {
  content: url(./images/easy-black.svg);
}

.dp-recipes-list__recipe[data-difficulty="moyen"][data-color="black"] .dp-recipes-list__recipe-difficulty::before {
  content: url(./images/moyen-black.svg);
}

.dp-recipes-list__recipe[data-difficulty="difficile"][data-color="black"] .dp-recipes-list__recipe-difficulty::before {
  content: url(./images/difficile-black.svg);
}

.dp-recipe-page__header-block-difficulty img {
  margin-right: 4px;
}

.dp-recipe-page__header-block-duration::before {
  content: url(./images/duration-black.svg);
  display: inline-block;
  margin-right: 3px;
  text-transform: uppercase;
}

.dp-recipe-page__header-block-bottom {
  margin-top: 30px;
}

.dp-recipe-page__header-block-duration {
  margin-right: 23px;
}

@media screen and (max-width: 767px) {
  .dp-recipe-page__header-background {
    height: auto;
    width: 100%;
  }

  .dp-recipe-page__header-back-btn {
    left: 12px;
    top: 20px !important;
  }

  .dp-recipe-page__header-block {
    max-width: 336px;
    left: 0;
    transform: none;
    top: 0;
    padding: 24px 20px;
    margin: 0 auto;
    position: relative;
  }

  .dp-recipe-page__header-block-title {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 1px;
  }

  .dp-recipe-page__header-block-subtitle {
    font-size: 16px;
    line-height: 20px;
  }

  .dp-recipe-page__header > img {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
  }
}

/** ingredients **/

.dp-recipe-page__ingredients-text {
  padding-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  background-color: #fff;
  font-size: 18px;
  font-weight: 700;
}

#dp-recipe-page__ingredients-section-template,
#dp-recipe-page__ingredients-container-template {
  display: none;
}

.dp-recipe-page__ingredients-sections {
  display: inline-flex;
  overflow-x: scroll;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  webkit-overflow-scrolling: touch; /* iOS */
  letter-spacing: 1px;
  scroll-behavior: smooth;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
}

.dp-recipe-page__ingredients-sections-wrapper {
  width: 100%;
  background-color: #fff;
}

.dp-recipe-page__ingredients-sections-container-mobile {
  display: none;
}

.dp-recipe-page__ingredients-sections::-webkit-scrollbar {
  display: none;
}

.dp-recipe-page__ingredients-sections-container {
  display: flex;
  justify-content: center;
  border-bottom: solid 1px #8e7146;
  height: 40px;
  position: relative;
}

.dp-recipe-page__ingredients-section {
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 15px;
  white-space: nowrap;
  scroll-snap-align: center;
  overflow: visible; /* iOS */
  border: none;
  background-color: rgba(0, 0, 0, 0);
  font-family: "Lucas", sans-serif;
  transition: 0.1s;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.dp-recipe-page__ingredients-section[is-selected="1"] {
  font-weight: 700;
}

.dp-recipe-page__ingredients-section::before {
  content: "";
  display: block;
  height: 0;
  width: 100%;
  background-color: #8e7146;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.3s;
}

.dp-recipe-page__ingredients-section[is-selected="1"]::before {
  height: 4px;
}

.dp-recipe-page__ingredients-sections-arrow {
  width: 20px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  height: 100%;
  width: 45px;
  z-index: 1;
}

.dp-recipe-page__ingredients-sections-arrow[data-direction="right"] {
  background: linear-gradient(to left, #fff 40%, rgba(0, 0, 0, 0));
  padding-right: 5px;
  justify-content: flex-end;
  right: 0;
}

.dp-recipe-page__ingredients-sections-arrow[data-direction="left"] {
  background: linear-gradient(to right, #fff 40%, rgba(0, 0, 0, 0));
  padding-left: 5px;
  justify-content: flex-start;
  left: 0;
}

.dp-recipe-page__ingredients-sections-arrow[is-displayed] {
  opacity: 1;
  pointer-events: all;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients {
  background-color: rgba(143, 114, 71, 0.1);
}

.dp-recipe-page__ingredients {
  margin-top: 80px;
}

.dp-recipe-page__ingredients-title {
  color: #8f7247;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-title {
  padding-top: 30px;
}

.dp-recipe-page__ingredients-subtitle {
  font-size: 20px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.dp-recipe-page__ingredients-category-name {
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="ingredients"].is-hidden + .dp-recipe-page__ingredients-category[data-category="equipment"] {
  margin-inline: auto;
  flex-basis: auto;
  max-width: max-content;
  text-align: left;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="ingredients"].is-hidden + .dp-recipe-page__ingredients-category[data-category="equipment"]::before {
  display: none;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category-name {
  font-weight: 700;
}

.dp-recipe-page:not([is-culinary="1"]) .dp-recipe-page__ingredients-category[data-category="ingredients"] .dp-recipe-page__ingredients-img {
  height: 35px;
}

.dp-recipe-page__ingredients-category {
  padding: 30px 10px;
  background-color: rgba(143, 114, 71, 0.1);
  width: 100%;
  position: relative;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="equipment"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: calc(100% - 60px);
  border-left: 1px solid #8f7247;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category {
  background-color: rgba(0, 0, 0, 0);
}

.dp-recipe-page__ingredients-category[data-category="ingredients"] {
  max-width: 337px;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="ingredients"] {
  flex-basis: 50%;
  flex-grow: 1;
  max-width: 60%;
  margin: 0 auto;
}

.dp-recipe-page__ingredients-category[data-category="equipment"] {
  max-width: 560px;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="equipment"] {
  flex-basis: 50%;
}

.dp-recipe-page__ingredients-img {
  position: relative;
  width: 90px;
  height: 66px;
  flex-shrink: 0;
}

.dp-recipe-page__ingredients-img img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  height: 50px;
}

.dp-recipe-page__ingredients-img img.dp-enlarge-img {
  transform: translate(-50%, -50%) scale(1.2);
}

.dp-recipe-page__ingredients-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
  position: relative;
}

@media (min-width: 768px) {
  .dp-recipe-page__ingredients-items:first-child {
    min-height: 66px;
  }
}

.dp-recipe-page__ingredients-category-items {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="equipment"] .dp-recipe-page__ingredients-category-items {
  padding-left: 15px;
}

.dp-recipe-page__ingredients-items.dp-is-optional::before {
  content: "Ou";
  display: block;
  position: absolute;
  bottom: -16px;
  left: 86px;
}

.dp-recipe-page__ingredients-label {
  font-size: 14px;
  flex-grow: 1;
  letter-spacing: 2px;
}

.dp-recipe-page__ingredients-title-recipe {
  font-size: 14px;
  flex-grow: 1;
  letter-spacing: 1px;
  font-weight: 700;
  padding-top: 20px;
}

.dp-recipe-page__ingredients-sublabel {
  margin-top: 3px;
  font-size: 12px;
}

.dp-recipe-page__ingredients-label br {
  display: none;
}

.dp-recipe-page__ingredients-label span {
  font-weight: 700;
}

.dp-recipe-page__ingredients-label a {
  font-weight: 700;
  color: #000;
  text-decoration: underline;
}

.dp-recipe-page__ingredients-price {
  color: #3c8604;
  padding: 0 7px;
  font-size: 14px;
}

.dp-recipe-page__ingredients-subcontainer {
  display: flex;
  justify-content: space-between;
  max-width: 996px;
  width: 100%;
  margin: 0 auto;
  margin-top: 25px;
  position: relative;
}

.dp-recipe-page__ingredients-btn {
  font-family: "Lucas";
  font-size: 14px;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0);
  border: solid 1px #000;
  width: 170px;
  height: 40px;
  border-radius: 4px;
  line-height: 1px;
  margin-top: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  flex-shrink: 0;
}

.dp-recipe-page__ingredients-btn:hover {
  background-color: #000;
  color: #fff;
  transition: 0.3s;
}

.dp-recipe-page__ingredients-category-container {
  display: none;
}

.dp-recipe-page__ingredients-label-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  flex-direction: column;
  align-items: flex-start;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-label-container {
  flex-grow: 0;
  padding-right: 15px;
}

.dp-recipe-page__ingredients-item-subcontainer {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-start;
  padding-left: 10px;
}

.dp-recipe-page__ingredients-items.dp-is-machine .dp-recipe-page__ingredients-label-container {
  flex-direction: row;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .dp-recipe-page__ingredients-items.dp-is-optional::before {
    bottom: -25px;
  }

  .dp-recipe-page__ingredients-item-subcontainer {
    align-items: center;
    justify-content: flex-start;
  }

  .dp-recipe-page__ingredients-sections-container {
    display: none;
  }

  .dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients {
    background-color: rgba(0, 0, 0, 0);
  }

  .dp-recipe-page__ingredients-sections-container-mobile {
    display: block;
    font-family: "Lucas", sans-serif;
    background-color: #fff;
    color: #000;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 auto;
    padding: 10px;
    width: 276px;
    height: 52px;
    -webkit-appearance: none;
    background-image: url(./images/arrow-selector.svg);
    background-repeat: no-repeat;
    background-size: 10px 6px;
    background-position: center right 10px;
    border-radius: 0;
    border: solid 1px #8f7247;
  }

  .dp-recipe-page__ingredients-sections-container-mobile option:not(:checked) {
    background-color: #fff;
    color: #000;
  }

  .dp-recipe-page__ingredients-title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .dp-recipe-page__ingredients-subtitle {
    font-size: 15px;
    top: 13px;
  }

  .dp-recipe-page__ingredients-category {
    max-width: 100%;
    min-width: 100%;
    padding: 0 15px;
    padding-bottom: 20px;
    padding-top: 20px;
    background-color: rgba(143, 114, 71, 0);
    scroll-snap-align: center;
    overflow: visible;
  }

  .dp-recipe-page__ingredients-subcontainer {
    overflow: scroll;
    scroll-snap-type: x mandatory;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    margin-top: 0;
    background-color: rgba(143, 114, 71, 0.1);
    scroll-behavior: smooth;
    webkit-overflow-scrolling: touch;
  }

  .dp-recipe-page__ingredients {
    padding: 0 12px;
    margin-top: 60px;
  }

  .dp-recipe-page__ingredients-category-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 37px;
    font-size: 18px;
    text-transform: uppercase;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 23px;
    background-color: rgba(143, 114, 71, 0.1);
  }

  .dp-recipe-page__ingredients-category-container > div {
    width: 50%;
    text-align: center;
    padding-bottom: 13px;
    border-bottom: 2px solid rgba(162, 162, 161, 0.5);
    letter-spacing: 2px;
    transition: border-bottom 0.3s;
  }

  .dp-recipe-page__ingredients-container[data-position="1"] .dp-recipe-page__ingredients-category-container > div[data-category="ingredients"] {
    border-bottom: 2px solid #8f7247;
    transition: border-bottom 0.3s;
  }

  .dp-recipe-page__ingredients-container[data-position="2"] .dp-recipe-page__ingredients-category-container > div[data-category="equipment"] {
    border-bottom: 2px solid #8f7247;
    transition: border-bottom 0.3s;
  }

  .dp-recipe-page__ingredients-category-name {
    display: none;
  }

  .dp-recipe-page__ingredients-category[data-category="equipment"] .dp-recipe-page__ingredients-label-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .dp-recipe-page__ingredients-btn {
    font-size: 12px;
    width: 145px;
    height: 32px;
    margin-top: 5px;
  }

  .dp-recipe-page__ingredients-label {
    padding-left: 0;
  }

  .dp-recipe-page__ingredients-label br {
    display: block;
  }

  .dp-recipe-page__ingredients-price-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 5px;
  }

  .dp-recipe-page__ingredients-items {
    margin: 20px 0;
  }

  .dp-recipe-page__ingredients-category-items .dp-recipe-page__ingredients-items.dp-recipe-machine:not(:last-child)::before {
    bottom: -23px;
  }

  .dp-recipe-page[is-culinary="1"] .dp-recipe-page__ingredients-category[data-category="equipment"]::before {
    display: none;
  }
}

/** video **/

.dp-recipe-page__video {
  text-align: center;
  margin-top: 70px;
  max-width: 996px;
  width: 100%;
  overflow: hidden;
  height: 500px;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}

.dp-recipe-page__video iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.dp-recipe-page__video-poster {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.dp-recipe-page__video-poster::before,
.dp-recipe-page__video-poster::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dp-recipe-page__video-poster::before {
  width: 100px;
  height: 100px;
  z-index: 1;
  border: solid 5px #fff;
  border-radius: 50%;
}

.dp-recipe-page__video-poster::after {
  width: 35px;
  height: 49px;
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #fff;
  border-style: solid;
  box-sizing: border-box;
  border-width: 25px 0px 25px 33px;
  left: calc(50% + 5px);
}

.dp-recipe-page__video-poster img {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
}

@media screen and (max-width: 767px) {
  .dp-recipe-page__video {
    padding-bottom: 56.25%;
    height: 0;
  }
}

/** steps **/

.dp-recipe-page__steps-block-title-category {
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 18px;
  margin-top: 7px;
  padding: 10px;
  background-color: #fff;
  z-index: 1;
  margin-top: 80px;
  position: relative;
  font-weight: 700;
  text-align: center;
  font-family: "Lucas", sans-serif;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  color: #000;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category {
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
  margin-top: 35px;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  padding-left: 20px;
  width: 0;
  height: 12px;
  background-image: url(./images/fleche.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(270deg);
  position: relative;
  bottom: 3px;
  transition: 0.3s;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category[is-open]::after {
  transform: rotate(90deg);
}

.dp-recipe-page__steps {
  margin-top: 70px;
  margin-bottom: 60px;
}

.dp-recipe-page__steps-title {
  color: #8f7247;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
}

.dp-recipe-page__steps-container {
  max-width: 996px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.dp-recipe-page__steps-block-title {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dp-recipe-page__steps-block-description {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 18px;
  margin-top: 7px;
  width: 100%;
}

.dp-recipe-page__steps-block-description .dp-step-color {
  color: #8e7146;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .dp-recipes-list__recipe-top-container {
    position: absolute;
    top: 20px;
    left: 20px;
  }
}

.dp-recipe-page__steps-block {
  position: relative;
  width: 50%;
  height: 75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block:last-child,
.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block[is-last-step] {
  padding: 0;
  align-self: center;
  width: auto;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

.dp-recipe-page[is-culinary="1"] a[data-scroll-step] {
  color: #000;
  display: block;
  margin-top: 15px;
  position: relative;
  text-transform: none;
  letter-spacing: 1px;
  margin-right: 5px;
}

.dp-recipe-page[is-culinary="1"] a[data-scroll-step]::after {
  content: "";
  display: inline-block;
  background-size: contain;
  margin-left: 6px;
  position: relative;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
}

.dp-recipe-page[is-culinary="1"] a[data-scroll-step]:hover {
  text-decoration: underline;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block:last-child .dp-recipe-page__steps-block-number,
.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block[is-last-step] .dp-recipe-page__steps-block-number {
  display: none;
}

.dp-recipe-page__steps-block-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-container {
  margin-top: 20px;
}

.dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(odd) {
  text-align: right;
  align-items: flex-end;
  align-self: flex-start;
  padding-right: 50px;
}

.dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(even) {
  text-align: left;
  align-items: flex-start;
  align-self: flex-end;
  padding-left: 50px;
}

.dp-recipe-page__steps-block-number {
  position: absolute;
  height: 62px;
  width: 62px;
  border: solid 2px #8f7247;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(odd) .dp-recipe-page__steps-block-number {
  right: -31px;
}

.dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(even) .dp-recipe-page__steps-block-number {
  left: -31px;
}

.dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:not(:first-child) {
  margin-top: 68px;
}

.dp-recipe-page__steps-block:not(:last-child) .dp-recipe-page__steps-block-number::before {
  content: "";
  height: 81px;
  width: 0;
  border-right: solid 2px #8f7247;
  display: block;
  position: absolute;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category[is-open]::before {
  height: 70px;
}

.dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category::after {
    position: absolute;
    right: -10px;
    top: 13px;
    bottom: auto;
  }

  .dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category {
    max-width: 80%;
  }

  .dp-recipe-page__steps-block-title-category {
    margin-top: 30px;
  }

  .dp-recipe-page__steps-title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .dp-recipe-page__steps-block-title {
    font-size: 16px;
  }

  .dp-recipe-page__steps-block {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    padding-top: 20px;
    height: auto;
  }

  .dp-recipe-page__steps-block-number {
    top: -80px;
  }

  .dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(odd) .dp-recipe-page__steps-block-number {
    right: 50%;
    transform: translateX(50%);
  }

  .dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(even) .dp-recipe-page__steps-block-number {
    left: 50%;
    transform: translateX(-50%);
  }

  .dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(odd),
  .dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:nth-child(even) {
    text-align: center;
    align-items: center;
    align-self: center;
    padding-right: 12px;
    padding-left: 12px;
    padding-top: 0;
    justify-content: flex-start;
  }

  .dp-recipe-page__steps-block-container .dp-recipe-page__steps-block:not(:first-child),
  .dp-recipe-page__steps-block-container .dp-recipe-page__steps-block {
    margin-top: 110px;
  }

  .dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block:last-child {
    margin-top: 30px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dp-recipe-page__steps-block:not(:last-child) .dp-recipe-page__steps-block-number::before {
    display: none;
  }

  .dp-recipe-page__steps-block-description {
    letter-spacing: 1px;
  }

  .dp-recipe-page__steps-container {
    margin-top: 10px;
  }
}

/** machine discover **/

.dp-machine-discover {
  background-color: #fff;
  padding: 60px 0;
  color: #000;
  max-width: 912px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.dp-machine-discover__visual-container {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 609px;
  width: 100%;
}

.dp-machine-discover__visual {
  width: 100%;
}

.dp-machine-discover__container {
  background-color: #fff;
  width: 458px;
  height: 372px;
  -webkit-box-shadow: -12px 18px 30px 1px rgb(0 0 0 / 20%);
  -moz-box-shadow: -12px 18px 30px 1px rgba(0, 0, 0, 0.2);
  box-shadow: -12px 18px 30px 1px rgb(0 0 0 / 20%);
  padding: 32px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.dp-machine-discover__container a {
  color: #000;
}

.dp-machine-discover__title {
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  line-height: 30px;
  letter-spacing: 3px;
}

.dp-machine-discover__description {
  font-size: 14px;
  text-align: center;
  letter-spacing: 2px;
}

.dp-machine-discover__button {
  background-color: #fff;
  border: solid 1px #000;
  border-radius: 3px;
  width: 203px;
  height: 40px;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 40px;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp-machine-discover__button:hover {
  background-color: #000;
  color: #fff;
  transition: 0.3s;
}

.dp-recipe-page__ingredients-price-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .dp-machine-discover__visual-container {
    top: 0;
    max-width: 359px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 100%;
    overflow: hidden;
  }

  .dp-machine-discover__container {
    max-width: 338px;
    margin: 0 auto;
    height: 204px;
    margin-top: 160px;
    padding: 30px;
  }

  .dp-machine-discover__title {
    font-size: 20px;
    line-height: 20px;
  }

  .dp-machine-discover__button {
    margin-top: 20px;
    font-size: 12px;
    width: 145px;
    height: 32px;
  }

  .dp-machine-discover {
    padding-bottom: 0;
  }

  .dp-recipe-page__header {
    height: auto;
    position: relative;
    padding-top: 180px;
  }
}

/****/

.dp-recipe-page__container-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 50px;
}

.dp-recipe-page__container-nav p {
  text-decoration: underline;
  font-size: 14px;
  position: relative;
  cursor: pointer;
}

.dp-recipe-page__see-all {
  margin-right: 85px;
}

.dp-recipe-page__see-all::before {
  content: url(./images/fleche.svg);
  padding-right: 8px;
  display: inline-block;
}

.dp-recipe-page__next::after {
  content: url(./images/fleche.svg);
  transform: rotate(180deg);
  padding-right: 8px;
  display: inline-block;
}

@media print {
  #main-container header,
  #main-container footer,
  .dp-machine-discover,
  .dp-recipe-page__header-back-btn,
  .dp-recipe-page__ingredients-price,
  .dp-recipe-page__ingredients-addToBag,
  .dp-recipe-page__ingredients-btn,
  #full-page-loader,
  .dp-recipe-page__container-nav,
  #a11y-main-heading,
  .dp-recipe-page__header-block-utils,
  .dp-recipe-page__video,
  .dp-machine-discover,
  .dp-machine-discover__container {
    display: none !important;
  }

  body {
    margin: 0;
  }

  .dp-recipe-page__header-block {
    /* padding: 30px;
    top: 50%;
    transform: translateY(-50%);
    left: 30px; */
    position: relative;
    top: unset;
    left: unset;
    max-width: 100%;
    padding: 20px;
    box-shadow: none;
  }

  .dp-recipe-page__ingredients-category {
    background-color: rgba(143, 114, 71, 0.1);
  }

  .dp-recipe-page__header {
    display: flex !important;
    /* height: 400px; */
    margin-bottom: 50px;
    height: auto;
    flex-direction: column-reverse;
  }

  .dp-recipe-page__header img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    max-height: 300px;
    position: unset;
  }

  .dp-recipe-page__header-block-title {
    margin: 0;
    font-size: 20px !important;
  }

  .dp-recipe-page__ingredients {
    margin-top: 0;
  }

  .dp-recipe-page__ingredients-category[data-category="equipment"],
  .dp-recipe-page__ingredients-category[data-category="ingredients"] {
    max-width: 50%;
  }

  .dp-recipe-page__steps-block-description a[data-scroll-step] {
    display: none !important;
  }

  .dp-recipe-page__steps {
    margin-block: 0 !important;
  }

  .dp-recipe-page__steps-block-container {
    display: flex !important;
  }

  .dp-recipe-page[is-culinary="1"] .dp-recipe-page__steps-block-title-category::after {
    display: none !important;
  }

  .dp-recipe-page__steps {
    break-before: page;
  }
}

/** VISUAL BEFORE STEPS **/

.dp-recipe-page__visual-before-steps {
  margin-top: 70px;
}

.dp-recipe-page__visual-before-steps img {
  width: 100%;
  margin: 0 auto;
}
