:root {
  --spacing-container: 80px;
  --images-size-sm: 100px;
  --color-primary: #007cbe;
  --color-secondary: #deeef8;
  --color-third: #6d6d6d;
  --color-green: #42b029;
  --color-border: #dbdbdb;
  --color-yellow: #ec9f00;
  --border-radius: 10px;
}

.falling-object {
  position: absolute;
  top: -100px;
  color: #fff;
  z-index: 10000;
  font-size: 20px;
  width: 45px;
  text-shadow: 1px 1px 1px #ccc;
  animation-name: fall;
  -webkit-animation-name: fall;
  -moz-animation-name: fall;
  -o-animation-name: fall;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  animation-direction: normal;
  -webkit-animation-direction: normal;
  -moz-animation-direction: normal;
  -o-animation-direction: normal;
  animation-timing-function: ease-in;
  -webkit-animation-timing-function: ease-in;
  -moz-animation-timing-function: ease-in;
  -o-animation-timing-function: ease-in;
}

.falling-object.valentines {
  height: auto;
}

.falling-object-time-1 {
  -webkit-animation-duration: 2s;
}
.falling-object-time-2 {
  -webkit-animation-duration: 4s;
}
.falling-object-time-3 {
  -webkit-animation-duration: 6s;
}

@-moz-keyframes fall {
  from {
    top: -100px;
    transform: rotate(-180deg);
  }
  to {
    top: 100%;
    transform: rotate(180deg);
  }
}
@-webkit-keyframes fall {
  from {
    top: -100px;
    transform: rotate(-180deg);
  }
  to {
    top: 100%;
    transform: rotate(180deg);
  }
}
@-o-keyframes fall {
  from {
    top: -100px;
    transform: rotate(-180deg);
  }
  to {
    top: 100%;
    transform: rotate(180deg);
  }
}
@keyframes fall {
  from {
    top: -100px;
    transform: rotate(-180deg);
  }
  to {
    top: 100%;
    transform: rotate(180deg);
  }
}

.content {
  max-width: 1600px;
  padding: 60px 70px;
  font-size: initial;
  align-self: center;
  width: 100%;
}

.btn-nestle {
  display: flex;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: small;
  border-radius: 35px;
  margin: 0 auto;
  padding: 8px 40px;
  justify-content: center;
  overflow: hidden;
}
.btn-nestle:hover {
  color: var(--color-primary);
  box-shadow: 0 2px 3px #dedede;
  cursor: pointer;
}

.btn-nestle-disabled {
    background-color: var(--color-third) !important;
    cursor: default !important;
}

.nestle-dark {
  color: white;
  background-color: var(--color-primary);
}
.nestle-dark:hover {
  color: white;
}
.nestle-secondary {
  color: white;
  background-color: var(--color-green);
  /* font-size: small !important; */
}
.nestle-secondary .btn-text {
  text-align: center;
}
.nestle-secondary:hover{
  color: white;
}

.journal-module-loading {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.journal-module-loading[data-module-type='manufacturer_slider'] {
  height: 80vh;
}

.journal-module-loading[data-module-type='master_slider'],
.journal-module-loading[data-module-type='slider'],
.journal-module-loading[data-module-type='banners'] {
  height: 40vw;
}

.journal-module-loading[data-module-type='products'],
.journal-module-loading[data-module-type='side_products'] {
  height: 30vw;
}

.nestle-loader {
  --loader-size: 70px;
  --loader-weight: 8px;
  border: var(--loader-weight) solid #f3f3f3;
  border-top: var(--loader-weight) solid var(--color-primary);
  border-radius: 50%;
  width: var(--loader-size);
  height: var(--loader-size);
  animation: spin 0.8s linear infinite;
}

.nestle-loader.sm {
  --loader-size: 45px;
  --loader-weight: 6px;
}

.nestle-loader.xs {
  --loader-size: 30px;
  --loader-weight: 4px;
}

.loader-center {
  margin: auto;
}

.center {
  display: flex;
  align-self: center;
}

.nestle-input {
  display: flex;
  border-radius: 20px;
  border: 1px var(--color-border) solid;
  padding: 6px 10px;
}

.modal-form {
    margin-bottom: 15px;
}

.modal-form > .nestle-input {
    width: 100%;
}

.nestle-input[disabled] {
  background: #f5f5f5;
  color: #7d7d7d;
}

select.nestle-input {
  background: transparent;
  background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png)
    no-repeat right transparent;
  -webkit-appearance: none;
  background-position-x: calc(100% - 10px);
  padding-right: 30px;
}
select.nestle-input:hover {
  cursor: pointer;
}
html.phone select.nestle-input.presentation {
  font-size: 10px !important;
  line-height: 11px;
}
html.phone select.nestle-input {
  background-size: 9px;
  padding: 2px 10px;
  font-size: 2.5vw !important;
}
.nestle-textarea {
  border-radius: 14px;
  border: 1px var(--color-border) solid;
  padding: 13px;
  min-height: 150px;
  resize: none;
}

.nestle-card {
  color: black;
  background-color: white;
  padding: 40px 80px;
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  --card-padding: 20px 36px;
}

/* STEPPER */

.nestle-stepper {
  display: flex;
  justify-content: center;
  color: black;
  --height: 2.5vw;
}

.nestle-stepper.sm {
  --height: 34px;
}

.nestle-stepper > input {
  border: none;
  border-top: 1px var(--color-border) solid;
  border-bottom: 1px var(--color-border) solid;
  height: var(--height);
  text-align: center;
  font-weight: bold;
  max-width: 2.5vw;
  font-size: 1vw !important;
}

.nestle-stepper > button {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  padding: 0.75vw;
  border: 1px var(--color-border) solid;
  height: var(--height);
  font-size: 0.75vw !important;
}

.nestle-stepper > button:first-of-type {
  border-radius: 7px 0 0 7px;
}

.nestle-stepper > button:last-of-type {
  border-radius: 0 7px 7px 0;
}

/* COUPON */

.nestle-coupon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-primary);
  background-color: var(--color-secondary);
  padding: 4px 24px;
  border-radius: 20px;
}

.nestle-coupon > input {
  background: transparent;
  border: none;
  min-width: 0;
  padding: 0 6px;
  width: 100%;
}

.nestle-coupon > input::placeholder {
  color: var(--color-primary);
}

.nestle-coupon > button {
  padding-top: 3px;
  padding-bottom: 3px;
  margin: 0;
}

/* BAR */

.nestle-bar {
  width: 100%;
  background-color: #c0c0c0;
  height: 17px;
  border-radius: 20px;
}

.nestle-bar > span {
  display: block;
  background-color: var(--color-green);
  height: 100%;
  border-radius: 20px;
}

.nestle-bar > span:not([percentage='100']) {
  background-color: var(--color-yellow);
}

.nestle-bar > span:not([percentage]) {
  background-color: var(--color-green);
}

/* MODALS */

.pr-modals .modal-content,
.modal-content.nestle {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: none;
  padding: 50px;
  font-size: 16px;
  color: black;
  max-height: 80vh;
  overflow: auto;
}

/* WISHLIST MODAL */

.wishlist-items > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.wishlist-items > div:hover {
  cursor: pointer;
}

.wishlist-items > div:not(:last-of-type) {
  border-bottom: 1px var(--color-border) solid;
}

.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wishlist-empty > span {
  display: block;
  margin-bottom: 20px;
}

/* EXIT */

.nestle-exit {
  position: absolute;
  width: 30px;
  top: 10px;
  right: 10px;
  z-index: 100000;
}
.nestle-exit:hover {
  cursor: pointer;
}

/* SHARE */

.btn-share-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  flex-wrap: wrap;
  margin: -5px;
}

.btn-share {
  display: flex;
  align-items: center;
  color: white;
  background: #777;
  border-radius: 7px;
  margin: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
}
.btn-share:hover,
.btn-share:active {
  color: white;
  cursor: pointer;
}

.btn-share > i {
  font-size: 24px;
}

.btn-share.facebook {
  background-color: #3b5998;
}
.btn-share.twitter {
  background-color: #55acee;
}
.btn-share.whatsapp {
  background-color: #25d366;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.nestle-share {
  display: flex;
  align-items: center;
}
.nestle-share:hover {
  color: var(--color-primary);
  cursor: pointer;
}

.nestle-share > .fa {
  margin-right: 8px;
  font-size: 20px;
}

#input-share {
  background: var(--color-secondary);
  border: 0px;
  border-radius: 10px;
  padding: 4px 20px;
  margin-bottom: 20px;
  color: var(--color-primary);
}
#input-share:hover {
  cursor: pointer;
}

/* UNDERLINE TITLE */

.nestle-underline-title {
  display: flex;
  flex-direction: column;
  color: black;
  align-items: center;
  margin-bottom: 30px !important;
  text-align: center;
}

.nestle-underline-title:after {
  content: ' ';
  border-bottom: 1px black solid;
  width: 100px;
  margin-top: 10px;
}

/* FILTERS */

#filters {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 110px;
}

.nestle-filters {
  min-width: 250px;
  max-height: 85vh;
  overflow: auto;
}

.nestle-filters:not(.nestle-mobile) {
  margin-right: 36px;
  padding-right: 4px;
}

.nestle-filters > h4 {
  color: black;
}

.nestle-filters > button {
  display: flex;
  align-items: center;
  width: 100%;
}

.nestle-filters > button,
.nestle-filters > h4,
.nestle-filters > div {
  margin-bottom: 20px;
}

.nestle-filters:not(.nestle-mobile) > div > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.nestle-filters > div > button > .fa-check {
  font-size: 16px !important;
  margin-left: 8px;
  margin-right: auto;
}

.nestle-filters > div > button > i.fa,
#sorts button > i.fa {
  font-size: 24px;
}

.nestle-filters > div > button > i.fa[active='true'],
#sorts button > i.fa[active='true'] {
  transform: rotate(180deg);
}

.nestle-filter-list {
  display: flex;
  flex-direction: column;
  border: 1px var(--color-border) solid;
  border-radius: 20px;
  margin-top: 10px;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
}

.nestle-filter-list > div {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}
.nestle-filter-list > div:hover {
  cursor: pointer;
}

.nestle-filter-list:not(.range) > h4 {
  padding: 14px 20px 8px 20px;
  margin: 0;
}

.nestle-filter-list > div:not(:last-child) {
  border-bottom: 1px var(--color-border) solid;
}

.nestle-filter-list > div > .fa-trash {
  margin-right: 10px;
  opacity: 0.4;
}

.nestle-filter-list > div > .fa-check,
.nestle-filter-list > div > .fa-plus {
  color: var(--color-primary);
  margin-left: auto;
}

.nestle-filter-list > div > .fa-plus {
  margin-left: 0;
  margin-right: 10px;
}

.nestle-filter-list > div > input {
  border: 0;
  min-width: 0;
}

.nestle-filter-list > div > .nestle-loader {
  margin-left: auto;
}

#sorts {
  display: block;
  width: 100%;
  position: relative;
  color: black;
}

#sorts button {
  display: flex;
  align-items: center;
}

#sorts > div:first-of-type {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -8px;
}

#sorts > div:first-of-type > * {
  margin: 8px;
}

#sorts .nestle-filter-list {
  right: 0;
  position: absolute;
  background-color: #ffffff;
  z-index: 10;
}

/* PAGINATION */

.nestle-pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.nestle-pagination > * {
  color: var(--color-primary);
  background: transparent;
  padding: 4px 10px;
  margin-left: 16px;
}

.nestle-pagination > *:not([text]) {
  border: 1px var(--color-border) solid;
  border-radius: 6px;
}

.nestle-pagination > *[active] {
  background-color: var(--color-secondary);
}

.nestle-no-results {
  display: block;
  text-align: center;
  color: black;
  font-size: 18px;
}

/* PRODUCT IMAGES */

.nestle-product-image {
  display: flex;
  flex-direction: column;
}

.nestle-images-list-container {
  display: flex;
  flex-direction: column;
}

.nestle-images-list > div > div:hover {
  cursor: pointer;
}

.nestle-images-list {
  height: 400px;
  width: var(--images-size-sm);
  overflow: hidden;
  margin: 10px 0;
}

.nestle-images-list > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.nestle-images-list > div > div {
  display: flex;
  justify-content: center;
  width: 95%;
  height: calc(25% - 10px);
  border: 1px #c1c1c1 solid;
  border-radius: 10px;
  padding: 8px;
  margin: 0 auto;
  margin-bottom: 5px;
  margin-top: 5px;
}

.nestle-images-list > div > div[active='true'] {
  box-shadow: 0 3px 6px 0 #a7a7a7;
}

.nestle-images-list > div > div > img {
  object-fit: contain;
  margin: auto 0;
  max-width: 100%;
  max-height: 100%;
}

.nestle-images-swiper {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  padding: 5px 10px;
  margin: 0 auto;
  font-size: 25px;
  border-radius: 8px;
}

.nestle-images-swiper:hover {
  cursor: pointer;
}

.nestle-images-swiper > .fa {
  display: block;
}

/* PRODUCT IMAGE */

.nestle-image-mobile {
  display: flex;
  flex-direction: column;
}

.nestle-image-mobile > div {
  display: flex;
  align-items: center;
}

.nestle-image-mobile > div:not(.dots) {
  justify-content: space-between;
}

.nestle-image-mobile > div > .nestle-images-swiper {
  margin: initial;
}

.nestle-image-mobile img {
  max-height: 300px;
  max-width: 80%;
  object-fit: contain;
  margin: 5px auto;
}

.nestle-image-mobile > .dots {
  justify-content: center;
  margin-top: 10px;
}

.nestle-image-mobile > .dots > button {
  width: 20px;
  height: 20px;
  background-color: var(--color-border);
  margin: 5px;
  border-radius: 100%;
}

.nestle-image-mobile > .dots > button[active] {
  background-color: gray;
}

/* QUALIFY */

.nestle-qualify > div {
  display: flex;
  align-items: center;
}

.nestle-qualify > div > i {
  margin-right: 8px;
  font-size: 32px;
}
.nestle-qualify > div > i:hover {
  cursor: pointer;
}

.nestle-qualify > div > i:not([active='true']) {
  color: #c0c0c0;
}

.nestle-qualify > div > span {
  opacity: 0.6;
}

/* FIXES */

#NZoomImg {
  object-fit: contain;
  width: 100%;
  height: 100%;
  cursor: zoom-in !important;
}

.feedback-btn {
  display: none !important;
}

/* RESPONSIVE */

.nestle-mobile {
  display: none !important;
  flex-direction: column;
}

.nestle-filters.nestle-mobile .btn-nestle {
  width: 100%;
}

.nestle-filters.nestle-mobile .btn-nestle > span {
  margin-right: 10px;
}

.nestle-options-mobile {
  display: none;
  align-items: center;
  margin-left: auto;
  border-bottom: 1px var(--color-border) solid;
  border-top: 1px var(--color-border) solid;
  padding: 10px 0;
  margin-bottom: 20px;
  width: 100%;
}

.nestle-options-mobile > button {
  display: flex;
  align-items: center;
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px black solid;
  background: transparent;
  color: black;
}

.nestle-options-mobile > button > i {
  margin-left: 10px;
}

.nestle-options-mobile > button > i[active='true'] {
  transform: rotate(180deg);
}

.nestle-options-mobile > .view {
  display: flex;
  align-items: center;
  margin-left: auto;
  font-size: 30px;
  color: var(--color-border);
}

.nestle-options-mobile > .view > *[active='true'] {
  color: var(--color-primary);
}

.nestle-options-mobile > .view > *:hover {
  cursor: pointer;
}

.nestle-options-mobile > .view > *:not(:last-of-type) {
  margin-right: 10px;
}


/* Checkout and cart */

.product-rows {
    max-height: 400px;
    overflow: auto;
    margin-bottom: 15px;
    text-align: left;
}

.product-rows > div {
    display: flex;
    flex-direction: row;
}

.product-rows > div:not(:last-of-type) {
    margin-bottom: 15px;
    border-bottom: 1px var(--color-border) solid;
    padding-bottom: 15px;
}

.product-rows > div > img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin: auto 0;
    margin-right: 10px;
}

.product-rows > div a {
    color: black;
}

.total-rows > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.total-rows > div:nth-last-of-type(2){
  font-size: 18px;
}

@media screen and (max-width: 1500px) {
  .content {
    padding: 60px 40px;
  }
}

@media screen and (max-width: 1200px) {
  .content {
    padding: 40px;
  }

  .nestle-mobile {
    display: flex !important;
  }

  .nestle-filters:not(.nestle-mobile),
  #sorts {
    display: none;
  }

  .nestle-options-mobile {
    display: flex;
  }

  .nestle-card {
    padding: 20px !important;
    --card-padding: 14px 12px !important;
  }

  .nestle-coupon {
    padding: 4px 16px;
  }
}

@media screen and (max-width: 800px) {
  .content {
    padding: 20px;
  }

  .btn-nestle {
    padding: 6px 22px;
  }

  .product-layout .btn.btn-cart {
    width: 100% !important;
    margin: 0 !important;
  }

  .nestle-pagination > * {
    margin-left: 4px;
  }

  .pr-modals .modal-content,
  .modal-content.nestle {
    padding: 14px;
  }
}

@media screen and (max-width: 600px) {
  .content {
    padding: 18px 10px;
  }
}
