.hydra-routine-module {
  position: relative;
  width: 100%;
  display: block;
  margin: 0 auto;
  --CLARINS-FONT: "ClarinsRegular", "Clarins";
  --GOTHAM-BOOK: "Gotham SSm book A", "Gotham SSm book B", Helvetica, Arial, sans-serif;
  --GOTHAM-MEDIUM: "Gotham SSm medium A", "Gotham SSm medium B", Helvetica, Arial, sans-serif;
  --GOTHAM-XLIGHT: "Gotham_Light";
  --FONT-SIZE: 14px;
  font-family: var(--GOTHAM-BOOK);
  font-size: var(--FONT-SIZE);
  color: #333333;
  --WIDTH: 1600px;
  max-width: 1171px;
  width: 100%;
  margin: 0 auto;
  background-color: #e4f6fb;
  text-align: center;
  padding: 40px 0;
  color: #004f6c;
  z-index: 2;
  padding: calc(40 / 1600 *var(--WIDTH-ANIM));
  margin-bottom: calc(70 / 1600 *var(--WIDTH-ANIM));
}

@media(min-width:762px) {
  .hydra-pdp .hydra-routine-module {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media(max-width:761px) {
  .hydra-routine-module {
    width: var(--WIDTH-ANIM);
    border-left: #88c7d8 solid calc(20 / 375 *var(--WIDTH-ANIM));
    border-right: #04688c solid calc(20 / 375 *var(--WIDTH-ANIM));
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: -2px;
    padding-bottom: 0;
    padding-top: calc(30 / 375*var(--WIDTH-ANIM));
  }

  .hydra-routine-module::after {
    content: " ";
    display: block;
    width: 0;
    border-left: #88c7d8 solid calc(177 / 375 *var(--WIDTH-ANIM));
    border-right: #04688c solid calc(178 / 375 *var(--WIDTH-ANIM));
    box-sizing: border-box;
    margin: 0 -20px;
    margin-top: 20px;
    height: calc(20 / 375 *var(--WIDTH-ANIM));
    padding-bottom: 0;
  }
}

.hydra-routine-module * {
  box-sizing: border-box;
}

.hydra-routine-module small {
  font-size: 10px;
  line-height: 12px;
  display: block;
  padding-top: 10px;
}

.hydra-routine-module__title {
  text-transform: uppercase;
  font-size: 35px;
  line-height: 39px;
  margin: 0;
  font-weight: 400;
  margin-bottom: 0.5em;
}

.hydra-routine-module__title sup {
  top: 0;
  font-size: 0.5em;
  vertical-align: super;
}

.hydra-routine-module__description {
  font-size: 18px;
  line-height: 1.2em;
  margin: 0;
}

.hydra-routine-module__description-find {
  font-size: 18px;
  line-height: 42px;
  margin: 0;
}

.hydra-routine-module__input>span {
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hydra-routine-module__input-selected-option {
  border-radius: 5px;
  font-size: 14px;
  position: relative;
}

.hydra-routine-module__input-selected-option::before {
  content: "";
  display: block;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../images/arrow.svg);
  width: 16px;
  height: 10px;
  transition: transform 0.3s;
}

.hydra-routine-module__input-select[is-open="true"] .hydra-routine-module__input-selected-option::before {
  transform: translateY(-50%) rotate(180deg);
}

.hydra-routine-module__input-select {
  border-radius: 5px;
  border: solid 1px #004f6c;
  margin: 0;
  margin-top: 5px;
  position: relative;
}

.hydra-routine-module__input-select[is-open="true"] {
  border-radius: 5px 5px 0 0;
}

.hydra-routine-module__input-select li {
  height: 46px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 8px;
  padding-right: 30px;
  text-align: left;
  cursor: pointer;
}

.hydra-routine-module__container-inputs ul {
  list-style-type: none;
  padding: 0;
}

.hydra-routine-module__input {
  width: 100%;
  margin: 10px 25px;
}

.hydra-routine-module__input[data-category="skin-type"] {
  max-width: 260px;
  z-index: 3;
}

.hydra-routine-module__input[data-category="need-spf"] {
  max-width: 81px;
  z-index: 2;
}

.hydra-routine-module__input[data-category="looking-for"] {
  max-width: 260px;
  z-index: 1;
  display: none;
}

.hydra-routine-module__container-inputs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 3;
}

.hydra-routine-module__select-option {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  width: calc(100% + 2px);
  background-color: #e4f6fb;
  border: solid 1px #004f6c;
  border-radius: 0 0 5px 5px;
  transform: translateX(-50%);

}

.hydra-routine-module__select-option[data-category="need-spf"] {
  z-index: 2;
}

.hydra-routine-module__select-option[data-category="skin-type"] {
  z-index: 3;
}

.hydra-routine-module__select-option li:hover {
  background-color: rgba(0, 79, 108, 0.1);
}

.hydra-routine-module__products-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hydra-routine-module__product-name {
  font-size: 14px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 10px;
  white-space: nowrap;
}

.hydra-routine-module__product-img {
  width: 165px;
}

.hydra-routine-module__product[data-product="spf-15-cream"] .hydra-routine-module__product-img {
  width: 167px;
}

.hydra-routine-module__product[data-product="emulsion"] .hydra-routine-module__product-img {
  width: 58px;
}

.hydra-routine-module__product[data-product="matte-gel"] .hydra-routine-module__product-img {
  width: 76px;
}

.hydra-routine-module__product[data-product="night-cream"] .hydra-routine-module__product-img {
  width: 163px;
}

.hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__product {
  opacity: 0.3;
}

.hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__product[is-active="true"] {
  opacity: 1;
}


.hydra-routine-module__product {
  position: relative;
  transition: opacity 0.3s;
  margin: 0 7px;
  position: relative;
  z-index: 1;
}

.hydra-routine-module__product[is-opened="true"] {
  z-index: 2;
}

.hydra-routine-module__product-details {
  display: none;
  z-index: 1;
}

.hydra-routine-module__product[is-active="true"] .hydra-routine-module__product-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 2;
}

.hydra-routine-module__product-details-button {
  width: 40px;
  height: 40px;
  background-color: #fff !important;
  border-radius: 50%;
  border: 0px !important;
  /*font-size: 30px;
  color: #004f6c;  
  padding-left: 3px;*/
  cursor: pointer;
  min-width: auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  outline: 0px !important;
  font-size: 0;
  position: relative;

  /*************************/
  position: absolute;
  top: -100px;
  right: 30px;
}

*[data-product="matte-gel"] .hydra-routine-module__product-details-button,
*[data-product="emulsion"] .hydra-routine-module__product-details-button {
  right: 80px;
}

.hydra-routine-module__product-details-button:hover {
  background-color: #004f6c !important;
}

.hydra-routine-module__product-details-button::before {
  content: "+";
  width: 40px;
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  font-size: 30px;
  color: #072638;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: 0px !important;
}

.hydra-routine-module__product-details-button:hover::before {
  color: #fff;
}

*[is-opened="true"] .hydra-routine-module__product-details-button {
  background-color: #fff !important;
}

*[is-opened="true"] .hydra-routine-module__product-details-button::before {
  color: #004f6c !important;
}



.hydra-routine-module__product-details-button::after,
.hydra-routine-module__product-details-button::before {
  outline: 0px !important;
}

button.hydra-routine-module__product-details-button {
  outline: 0px !important;
  border: 0px !important;
}

button.hydra-routine-module__product-details-button:active {
  outline: 0px !important;
  border: 0px !important;
}

button.hydra-routine-module__product-details-button:hover {
  outline: 0px !important;
  border: 0px !important;
}

.hydra-routine-module__product-details[is-active="true"] .hydra-routine-module__product-details-button::after {
  content: " ";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;

}

.hydra-routine-module__product-details[is-active="true"] .hydra-routine-module__product-details-button::before {
  transform: rotate(45deg);
}

.hydra-routine-module__product-details {
  position: absolute;
  top: 100%;
  left: calc(50% - 133px);
  padding-top: 18px;
  width: 266px;
}

.hydra-routine-module__product-details-content p {
  margin: 0;
  order: 1;
}

.hydra-routine-module__product-details-content>p:not(:first-child) {
  display: none;
}

.hydra-routine-module__product-details-content {
  display: none;
  width: 100%;
  font-size: 14px;
  line-height: 18px;
  padding: 20px;
  background-color: #fff;
  /*margin-top: 10px;*/
  margin-top: -60px;
  width: 266px;
  z-index: 3;
}

.hydra-routine-module__product[is-opened="true"] .hydra-routine-module__product-details-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hydra-routine-module__product-details-content img {
  width: auto;
  order: 4;
  margin: 0 auto;
  height: 120px;
}

.hydra-routine-module__cta {
  color: #fff;
  background-color: #b6001e;
  font-family: var(--GOTHAM-MEDIUM);
  text-decoration: none;
  height: 44px;
  min-width: 145px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: 2px solid #b40024;
  transition: 0.3s ease-in;
  width: fit-content;
  margin: 0 auto;
}

.hydra-routine-module__cta:hover {
  background-color: #8c0b26;
  border: 2px solid #8c0b26;
}

.hydra-routine-module__cta:focus {
  background-color: #8c0b26;
  border: 2px solid #63021a;
}

p.hydra-routine-module__product-details-price {
  font-family: var(--GOTHAM-MEDIUM);
  margin-top: 15px;
  margin-bottom: 8px;
  order: 2;
}

.hydra-routine-module__products-subcontainer-products {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.hydra-routine-module__products-subcontainer--day .hydra-routine-module__products-subcontainer-daytime img {
  width: 23px;
}

.hydra-routine-module__products-subcontainer--night .hydra-routine-module__products-subcontainer-daytime img {
  width: 19px;
}

.hydra-routine-module__products-subcontainer-daytime img {
  margin-right: 10px;
}

.hydra-routine-module__products-subcontainer-daytime {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-size: 24px;
  padding-top: 50px;
  margin-top: 55px;
  position: relative;
}

.hydra-routine-module__products-subcontainer--day .hydra-routine-module__products-subcontainer-daytime::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 10px;
  height: 23px;
  width: 895px;
  border-bottom: solid 1px #004f6c;
  border-right: solid 1px #004f6c;
  border-left: solid 1px #004f6c;
}

.hydra-routine-module__discover-range-link {
  font-size: 11px;
  line-height: 15px;
  font-family: var(--GOTHAM-MEDIUM);
  color: #333333;
  text-decoration: underline;
  margin-top: 35px;
  text-transform: uppercase;
  display: inline-block;
}

.hydra-routine-module__products-subcontainer--day::-webkit-scrollbar {
  display: none;
}

.hydra-routine-module__products-subcontainer {
  margin-top: 40px;
}

.hydra-routine-module .hydra-cta {
  order: 2;
  background-color: transparent !important;
  color: #333;
  text-transform: uppercase !important;
  font-size: 11px !important;
  text-decoration: underline !important;
  padding: 0 !important;
  min-width: 0 !important;
  line-height: 1em !important;
  display: inline-block;
  height: auto !important;
  margin: 15px auto;
}

.hydra-routine-module .hydra-cta:hover {
  color: #333 !important;
}

.hydra-routine-module .hydra-cta::after {
  display: none !important;
}

@media screen and (max-width: 1170px) {
  .hydra-routine-module__title {
    font-size: 24px;
    line-height: 28px;
  }

  .hydra-routine-module__description {
    font-size: 14px;
    line-height: 1.2em;
    max-width: 260px;
    margin: 0 auto;
  }

  .hydra-routine-module__description-find {
    font-size: 14px;
    line-height: 30px;
  }

  .hydra-routine-module__products-subcontainer-daytime {
    margin-top: 10px;
    padding-top: 34px;
    font-size: 18px;
  }

  .hydra-routine-module__products-subcontainer--day .hydra-routine-module__products-subcontainer-daytime img {
    width: 18px;
  }

  .hydra-routine-module__products-subcontainer--night .hydra-routine-module__products-subcontainer-daytime img {
    width: 13px;
  }

  .hydra-routine-module__products-subcontainer-daytime img {
    margin-left: 8px;
  }

  .hydra-routine-module__products-subcontainer--day .hydra-routine-module__products-subcontainer-daytime::before {
    height: 19px;
  }

  .hydra-routine-module__products-subcontainer--night .hydra-routine-module__products-subcontainer-daytime {
    padding-top: 0;
  }

  .hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__product:not([is-active="true"]) {
    display: none;
  }

  .hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__products-subcontainer {
    overflow-x: visible;
  }

  .hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__products-subcontainer--day .hydra-routine-module__products-subcontainer-daytime::before {
    display: none;
  }

  .hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__products-subcontainer--day[no-result="true"] {
    display: none;
  }

  .hydra-routine-module__product[is-active="true"] .hydra-routine-module__product-details {
    padding-top: 0;
    position: absolute;
    top: calc(50% - 20px);
    right: -160px;
    left: auto;
  }

  .hydra-routine-module__product-details-content {
    position: absolute;
    top: 40px;
    right: -40px;
  }

  .hydra-routine-module__products-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hydra-routine-module__products-subcontainer {
    width: 100%;
  }

  .hydra-routine-module__products-subcontainer--night .hydra-routine-module__product {
    margin: 0 auto;
  }

  .hydra-routine-module__products-container[has-result="true"] .hydra-routine-module__product[is-active="true"] {
    margin: 0 auto;
  }

  .hydra-routine-module__products-subcontainer--day {
    overflow-x: auto;
    scrollbar-width: none;
  }
}


@media screen and (max-width: 1170px) {

  .hydra-routine-module__product-details-button {
    top: 0px;
    left: 80px;
  }
}

@media screen and (max-width: 761px) {

  .hydra-routine-module__product-details-content {
    position: absolute;
    top: 120px;
    right: 80px;
  }

  .hydra-pdp .hydra-routine-module {
    padding: 30px 20px;
    border: 0px;
  }

  .hydra-pdp .hydra-routine-module::after,
  .hydra-pdp .hydra-routine-module::before {
    display: none;
  }

  .hydra-routine-module__product-details-button {
    top: 0px;
    left: 80px;
  }
}




/********** MASTER ANALYSIS **********/
h3.hydra-routine-module__title {
  font-size: 35px;
  line-height: 0em;
}
h2.hydra-routine-module__title {
  font-size: 48px;
  line-height: 1em;
}
.hydra-routine-module__title {
  margin: 0 auto;
  margin-bottom: 0.5em;
  width: 40%;
}
.hrm__pdc {
  display: none;
}
.hydra-routine-module small {
  display: none;
}
.hydra-routine-module__product-details-content p {
  order: 0;
}
.hydra-routine-module__product-details-content img {
  order: 0;
}
p.hydra-routine-module__product-details-price {
  display: block!important;
}
p.hydra-routine-module__product-details-name {
  display: block!important;
}
.hydra-routine-module__product-details-button {
  top: 5px;
  right: 110px;
}
.hydra-routine-module__product-details-content {
  margin-top: 35px;
}

/* tablet landscape */
@media only screen
and (min-device-width : 834px)
and (max-device-width : 1112px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2){
  .hydra-routine-module__product-details-content {
    margin-top: 10px;
  }
  .hydra-routine-module__title {
    width: 42%;
  }
}

/* tablet portrait */
@media only screen
and (min-device-width : 834px)
and (max-device-width : 1112px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2){
  .hydra-routine-module__title {
    width: 56%;
  }
}

/* mobile */
@media (max-width: 480px) {
  .hydra-routine-module__title {
    width: 100%;
  }
  .hydra-routine-module__product[is-active="true"] .hydra-routine-module__product-details {
    right: -200px;
  }
  .hydra-routine-module__product-details-content {
    margin-top: 0;
    top: 50px;
    right: 100px;
  }
}