.dp-recipe-page {
  color: #000;
  font-family: "Lucas";
  background-color: #efefef;
  font-weight: 400;
  overflow: hidden;
}

.dp-recipe-page * {
  box-sizing: border-box;
  line-height: 1.2em;
}

/************/
/** SWIPER **/
/************/

.dp-recipe-page .slick-arrow,
.dp-recipe-page .slick-arrow:hover {
  z-index: 1;
  width: 55px;
  height: 55px;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 23px;
  top: 37%;
}

.dp-recipe-page .slick-prev,
.dp-recipe-page .slick-prev:hover {
  left: 0;
  background-image: url(./images/arrow-prev.svg);
}

.dp-recipe-page .slick-next,
.dp-recipe-page .slick-next:hover {
  right: 0;
  background-image: url(./images/arrow-next.svg);
}

.dp-recipe-page .slick-prev:before,
.dp-recipe-page .slick-next:before {
  display: none;
}

.dp-recipe-page .swiper-button-next {
  background-image: url(./images/arrow-next.svg);
}

.dp-recipe-page .swiper-button-prev {
  background-image: url(./images/arrow-prev.svg);
}

.dp-recipe-page .swiper-button-next,
.dp-recipe-page .swiper-button-prev {
  background-repeat: no-repeat;
  background-size: 13px 23px;
  background-position: center;
  background-color: #000;
  width: 55px;
  height: 55px;
}

.dp-recipe-page .swiper-button-disabled {
  display: none;
}

.dp-recipe-page .swiper-button-next::after,
.dp-recipe-page .swiper-button-prev::after {
  display: none;
}

/************/
/** HEADER **/
/************/

.dp-recipe-header {
  display: flex;
  justify-content: center;
  min-height: 350px;
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.dp-recipe-header__back-btn {
  position: absolute;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cc9f03;
  font-weight: 700;
  left: 0;
  top: 25px;
  border: none;
  font-family: "Lucas";
  padding: 10px 15px 10px 56px;
}

.dp-recipe-header__media-container,
.dp-recipe-header__block {
  flex-basis: 50%;
}

.dp-recipe-header__block {
  padding: 25px;
  background-color: #fff;
}

.dp-recipe-header__container-tags {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.dp-recipe-header__tag {
  background-color: #cc9f03;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 20px;
}

.dp-recipe-header__tag:not(:first-child) {
  margin-left: 8px;
}

.dp-recipe-header__title {
  font-weight: 800;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 30px;
}

.dp-recipe-header__duration {
  font-weight: 600;
  font-size: 15.6px;
  line-height: 19px;
  letter-spacing: 0.05em;
  color: #cc9f03;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}

.dp-recipe-header__duration img {
  width: 15px;
  margin-right: 5px;
}

.dp-recipe-header__description {
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}

.dp-recipe-header__media-container {
  background-color: gray;
  position: relative;
  overflow: hidden;
}

.dp-recipe-header__media-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.dp-recipe-header__youtube-icon {
  height: 120px;
}

.dp-recipe-header__popin-video-container {
  position: relative;
  padding-bottom: 56.25%; /* ratio 16/9 */
  height: 0;
  overflow: hidden;
  clear: both;
}
.dp-recipe-header__popin-video-container iframe,
.dp-recipe-header__popin-video-container object,
.dp-recipe-header__popin-video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popin-dialog-open[aria-describedby="dp-recipe-header__popin-video"]
  .ui-dialog-titlebar {
  top: 2px;
  right: 2px;
}

/**********/
/** NEED **/
/**********/

.dp-recipe-need {
  padding-bottom: 40px;
  text-align: center;
}

.dp-recipe-need__infos {
  height: 76px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff;
  padding: 0 40px;
  position: relative;
  top: -38px;
}

.dp-recipe-need__infos-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp-recipe-need__infos-item[data-item="cup-size"] {
  display: none;
}

.dp-recipe-need__infos-item[data-item="cup-size"][is-displayed="1"] {
  display: flex;
}

.dp-recipe-need__infos-item img {
  height: 25px;
  margin-bottom: 1px;
}

.dp-recipe-need__infos-item img:last-of-type {
  margin-right: 10px;
}

.dp-recipe-need__infos-item[data-item="techno"] img {
  height: 15px;
}

.dp-recipe-need__infos-item:not(:first-child) {
  margin-left: 15px;
}

.dp-recipe-need__title {
  font-size: 28px;
  line-height: 34px;
  text-transform: uppercase;
  color: #1c1919;
  text-align: center;
}

.dp-recipe-need__container {
  margin-top: 30px;
  max-width: 634px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.dp-recipe-need__container-titles {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  flex-basis: 50%;
  text-transform: uppercase;
  text-align: left;
}

.dp-recipe-need__container-title {
  flex-basis: 50%;
}

.dp-recipe-need__container-title:last-child {
  padding-left: 96px;
}

.dp-recipe-need__container-title span {
  border-bottom: 2px solid #cc9f03;
}

.dp-recipe__item-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: gray;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.dp-recipe__item-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.dp-recipe__item {
  margin-top: 20px;
  width: 60px;
  text-align: center;
  font-size: 12px;
  margin-left: 15px;
  margin-right: 15px;
}

.dp-recipe__item > p {
  line-height: 14px;
  margin-top: 3px;
}

.dp-recipe__item-title {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  min-height: 17px;
}

.dp-recipe__item-quantity {
  font-size: 10px;
  font-weight: 300;
}

.dp-recipe__item-price {
  color: #3d8705;
  font-weight: 600;
  font-size: 12px;
}

.dp-recipe__item-addToBag {
  margin-top: 5px;
}

.dp-recipe__items {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.dp-recipe-need__subcontainer-items {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 50%;
  position: relative;
}

.dp-recipe-need__subcontainer-items:last-child {
  padding-left: 96px;
}

.dp-recipe-need__subcontainer-items:first-child:before {
  content: "";
  display: block;
  height: 85%;
  width: 0;
  border-right: 1px solid #e2e2e2;
  right: 0;
  top: -5px;
  position: absolute;
}

/**********/
/** STEP **/
/**********/

.dp-recipe-step {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.dp-recipe-step-block {
  padding: 55px 33px;
  background-color: #fff;
  max-width: 700px;
  width: 100%;
}

.dp-recipe-step-block:first-child {
  padding-left: 13vw;
}

.dp-recipe-step-block__header,
.dp-recipe-step-block__header-social-networks {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dp-recipe-step-block__header-social-networks button {
  height: 27px;
  width: 27px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: none;
}

.dp-recipe-step-block__header-social-networks
  button[data-social-network="facebook"] {
  background-image: url(./images/fb.svg);
}

.dp-recipe-step-block__header-social-networks
  button[data-social-network="twitter"] {
  background-image: url(./images/tw.svg);
}

.dp-recipe-step-block__header-social-networks
  button[data-social-network="pinterest"] {
  background-image: url(./images/pinterest.svg);
}

.dp-recipe-step-block__header-social-networks a:not(:first-child) {
  margin-left: 7px;
}

.dp-recipe-step-block__header-social-networks a {
  display: flex;
}

.dp-recipe-step-block__header-title {
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
  display: flex;
  align-items: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dp-recipe-step-block__steps {
  margin-top: 30px;
  position: relative;
}

.dp-recipe-step-block__steps::before {
  position: absolute;
  content: "";
  display: block;
  height: calc(100% - 40px);
  width: 0;
  border-right: solid 2px #cc9f03;
  top: 10px;
  left: -24px;
}

.dp-recipe-step-block__step:not(:first-child) {
  margin-top: 26px;
}

.dp-recipe-step-block__step {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.1em;
  color: #1c1919;
}

.dp-recipe-step-block__step-title {
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
}

.dp-recipe-step-block__step-title::before {
  position: absolute;
  left: -30px;
  top: 50%;
  content: "";
  display: block;
  background-color: #cc9f03;
  border: 2px solid #cc9f03;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.dp-recipe-step-block__steps
  .dp-recipe-step-block__step:first-child
  .dp-recipe-step-block__step-title:before,
.dp-recipe-step-block__steps
  .dp-recipe-step-block__step:last-child
  .dp-recipe-step-block__step-title:before {
  background-color: #fff;
}

.dp-recipe-step-block__steps
  .dp-recipe-step-block__step:last-child
  .dp-recipe-step-block__step-title::after {
  position: absolute;
  left: -26px;
  top: 50%;
  content: "";
  display: block;
  background-color: #cc9f03;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.dp-recipe-step-block__remark {
  margin-top: 37px;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.1em;
  color: #1c1919;
}

.dp-recipe-step-block__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.dp-recipe-step-block__suggested-coffee,
.dp-recipe-step-block__enhance-recipe {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.dp-recipe-step-block__suggested-coffee-techno .dp-carrousel-item {
  margin: 0 20px;
}

.dp-recipe-step-block__suggested-coffee-techno
  .dp-carrousel-arrow[data-direction="left"] {
  top: 100px;
  left: 72px;
}

.dp-recipe-step-block__suggested-coffee-techno
  .dp-carrousel-arrow[data-direction="right"] {
  top: 100px;
  right: 72px;
}

.dp-recipe-step-block__title:not(:first-child) {
  margin-top: 50px;
}

.dp-recipe-step-block__suggested-coffee-techno .dp-recipe__item {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.dp-recipe-step-block__suggested-coffee-techno {
  width: 120px;
}

.dp-recipe-step-block__suggested-coffee-techno .dp-recipe__item-img {
  background-color: #fff;
  border: solid 1px #eee;
}

.dp-recipe-step-block__suggested-coffee-techno .swiper-button-next,
.dp-recipe-step-block__suggested-coffee-techno .swiper-button-prev {
  width: 17px;
  height: 17px;
  background-size: 4px 7px;
  top: 40px;
  margin-top: 0;
}

.dp-recipe-step-block__suggested-coffee-techno .swiper-button-next {
  right: 6px;
}

.dp-recipe-step-block__suggested-coffee-techno .swiper-button-prev {
  left: 6px;
}

.dp-recipe-step-block__enhance-recipe .dp-recipe__item {
  position: relative;
  width: 106px;
}

.dp-recipe-step-block__enhance-recipe .dp-recipe__item > p {
  position: relative;
}

.dp-recipe-step-block__enhance-recipe .dp-recipe__item::before {
  position: absolute;
  display: block;
  background-color: #efefef;
  content: "";
  top: 37px;
  left: 0;
  height: 60%;
  width: 100%;
}

.dp-recipe-step-block__enhance-recipe .dp-recipe__item-price,
.dp-recipe-step-block__enhance-recipe .dp-recipe__item-addToBag {
  margin-top: 10px;
}

.dp-recipe-step-block__print {
  height: 27px;
  background-color: #000;
  padding: 5px 10px;
  border: none;
  color: #fff;
  font-family: "Lucas";
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-top: 10px;
  margin-left: auto;
  margin-right: 0;
}

.dp-carrousel__enhance-recipe {
  max-width: 90%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  .dp-recipe-step-block__suggested-coffee-techno
    .dp-carrousel-arrow[data-direction="right"] {
    top: 50px;
    right: 18px;
  }

  .dp-recipe-step-block__suggested-coffee-techno
    .dp-carrousel-arrow[data-direction="left"] {
    top: 50px;
    left: 18px;
  }
}

/**********/
/** ALSO **/
/**********/

.dp-recipe-also {
  margin-top: 60px;
  padding-bottom: 100px;
}

.dp-recipe-also__title {
  font-size: 28px;
  line-height: 34px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dp-recipe-also__carrousel {
  margin-top: 50px;
  width: 100%;
  position: relative;
}

.dp-recipe-also .swiper-slide {
  width: 337px;
  color: #000;
  cursor: pointer;
}

.dp-recipe-also__carrousel-item-img {
  width: 100%;
  height: 194px;
  background-color: grey;
  box-shadow: inset 0px 25px 35px rgb(0 0 0 / 35%);
  border-radius: 3px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.dp-recipe-also__carrousel-item-img-top > div {
  background: #ffffff;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.3);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #cc9f03;
  padding: 10px 20px;
}

.dp-recipe-also__carrousel-item-img-top > div:not(:first-child) {
  margin-left: 5px;
}

.dp-recipe-also__carrousel-item-img-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.dp-recipe-also__carrousel-item-img > img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.dp-recipe-also__carrousel-item-img-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  font-size: 8px;
  color: #fff;
  position: relative;
}

.dp-recipe-also__carrousel-item-img-bottom * {
  line-height: 10px;
}

.dp-recipe-also__carrousel-item-img-bottom img {
  height: 14px;
  margin: 0 auto;
}

.dp-recipe-also__carrousel-item-img-bottom span {
  padding-top: 5px;
  display: block;
}

.dp-recipe-also__carrousel-item-img-bottom > div:not(:first-child) {
  margin-left: 10px;
}

.dp-recipe-also__carrousel-item-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.dp-recipe-also__carrousel-item-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
}

.dp-recipe-also__carrousel-item-duration {
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.05em;
  color: #cc9f03;
}

.dp-recipe-also__carrousel-item-duration > * {
  display: inline !important;
  vertical-align: middle;
}

.dp-recipe-also__carrousel-item-duration img {
  height: 15px;
}

.dp-recipe-also__carrousel-item-description {
  font-size: 12px;
  line-height: 14px;
  display: flex;
  align-items: center;
  color: #9d9d9d;
  margin-top: 13px;
}

/***************/
/** CARROUSEL **/
/***************/

.dp-carrousel {
  position: relative;
  height: 250px;
}

.dp-carrousel-wrapper {
  display: inline-flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
  height: auto;
  align-items: flex-start;
  justify-content: flex-start;
}

.dp-carrousel-wrapper::-webkit-scrollbar {
  display: none;
}

.dp-carrousel-item {
  scroll-snap-align: center;
  overflow: visible;
  flex-shrink: 0;
}

.dp-recipe-step-block__suggested-coffee-techno .dp-carrousel-item {
  width: 100%;
}

.dp-carrousel-arrow {
  width: 55px;
  height: 55px;
  background-repeat: no-repeat;
  background-size: 13px 23px;
  background-position: center;
  background-color: #000;
  background-size: 30%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.dp-recipe-step-block__suggested-coffee-techno .dp-carrousel-arrow {
  width: 14px;
  height: 14px;
}

.dp-carrousel-arrow.dp-disabled {
  display: none;
}

.dp-carrousel-arrow[data-direction="left"] {
  left: 0;
  background-image: url(./images/arrow-prev.svg);
}

.dp-carrousel-arrow[data-direction="right"] {
  right: 0;
  background-image: url(./images/arrow-next.svg);
}

@media screen and (min-width: 768px) {
  .dp-carrousel-wrapper {
    padding-top: 52px;
  }

  .dp-carrousel {
    min-height: 230px;
  }
}

@media screen and (max-width: 767px) {
  /***************/
  /** CARROUSEL **/
  /***************/

  .dp-carrousel {
    height: auto;
  }

  /************/
  /** HEADER **/
  /************/

  .dp-recipe-header {
    flex-direction: column;
    justify-content: flex-start;
  }

  .dp-recipe-header__media-container {
    flex-basis: 244px;
  }

  .dp-recipe-header__block {
    margin: 0 14px;
    position: relative;
    top: -44px;
    padding: 12px;
    padding-bottom: 21px;
  }

  .dp-recipe-header__title {
    font-size: 21.3253px;
    line-height: 26px;
    margin-top: 18px;
  }

  .dp-recipe-header__back-btn {
    background-color: rgba(0, 0, 0, 0);
    padding: 10px;
    left: 8px;
    top: 9px;
  }

  /**********/
  /** NEED **/
  /**********/

  .dp-recipe-need__infos {
    top: -44px;
    margin: 0 14px;
    justify-content: center;
  }

  .dp-recipe-need__infos-item {
    flex-direction: column;
    text-align: center;
  }

  .dp-recipe-need__infos-item img,
  .dp-recipe-need__infos-item img:last-of-type {
    margin-right: 0;
  }

  .dp-recipe-need__container-titles {
    margin: 0 14px;
    font-size: 20.25px;
    line-height: 24px;
  }

  .dp-recipe-need__container-title span {
    width: 100%;
    display: block;
    text-align: center;
    border-bottom: 2px solid #c4c4c4;
    color: #c4c4c4;
    transition: 0.3s;
    padding-bottom: 5px;
  }

  .dp-recipe-need__container-title:last-child {
    padding-left: 0;
  }

  .dp-recipe-need__subcontainer-items:first-child:before {
    display: none;
  }

  .dp-recipe-need__container-title[is-active="1"] span {
    border-bottom: 2px solid #cc9f03;
    color: #000;
  }

  .dp-recipe__items {
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    webkit-overflow-scrolling: touch; /* iOS */
  }

  .dp-recipe-need__subcontainer-items:last-child {
    padding-left: 40px;
  }

  .dp-recipe-need__subcontainer-items {
    flex-basis: 100%;
    flex-shrink: 0;
    padding: 40px;
    scroll-snap-align: center;
    overflow: visible; /* iOS */
  }

  /**********/
  /** STEP **/
  /**********/

  .dp-carrousel__enhance-recipe {
    max-width: 100%;
  }

  /**********/
  /** ALSO **/
  /**********/

  .dp-recipe-also {
    margin-top: 26px;
    padding-bottom: 40px;
  }

  .dp-recipe-also__title {
    font-size: 24px;
    line-height: 29px;
  }

  .dp-recipe-also__carrousel {
    margin-top: 26px;
  }

  .dp-recipe-page .swiper-button-next {
    right: 0;
  }

  .dp-recipe-page .swiper-button-prev {
    left: 0;
  }
}

@media screen and (max-width: 769px) {
  /**********/
  /** STEP **/
  /**********/

  .dp-recipe-step {
    flex-direction: column;
  }

  .dp-recipe-step-block {
    padding: 35px;
    margin-left: auto;
    margin-right: auto;
  }

  .dp-recipe-step-block:first-child {
    padding-right: 15px;
  }

  .dp-recipe-step-block:last-child {
    padding-right: 0;
    padding-left: 0;
    margin-top: 15px;
    padding-bottom: 60px;
  }

  .dp-recipe-step-block__enhance-recipe .dp-recipe__item,
  .dp-recipe-step-block__enhance-recipe .dp-recipe__item:not(:first-child) {
    margin-left: 10px;
    margin-right: 10px;
  }

  .dp-recipe-page .slick-arrow,
  .dp-recipe-page .slick-arrow:hover {
    width: 47px;
    height: 47px;
    background-size: 11px 19px;
  }

  .dp-recipe-step-block__enhance-recipe .slick-arrow,
  .dp-recipe-step-block__enhance-recipe .slick-arrow:hover {
    top: 59%;
  }
}

@media print {
  #top,
  #footer,
  .visually-hidden,
  .main-container,
  .full-page-loader,
  .dp-recipe-header,
  .dp-recipe-need,
  .dp-recipe-also,
  .dp-recipe-step-block:last-of-type,
  .dp-recipe-step-block__header-social-networks,
  .dp-recipe-step-block__print {
    display: none;
  }

  .dp-recipe-step-block {
    padding: 20px;
    max-width: 100%;
  }
}
