body {
  font-family: "Montserrat", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

.hero {
  height: 800px;
  margin-bottom: 60px;

  @include respond-to("md") {
    height: 560px;
  }

  .hero-carousel {
    display: block;
    position: relative;
    /* overflow: hidden; */
    height: 100%;

    .owl-stage-outer {
      /* overflow: visible; */
      height: 100%;

      .owl-stage {
        height: 100%;

        .owl-item {
          height: 100%;
        }
      }
    }

    .hero-slide {
      height: 100%;
      width: auto !important;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }

      .hero-video {
        height: 100%;
        width: 100% !important;
        object-fit: cover;
      }
    }

    .hero-play {
      position: absolute;
      bottom: 30px;
      right: 30px;
      cursor: pointer;
      z-index: 10;
    }

    .close-video {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 40px;
      color: white;
      cursor: pointer;
    }

    .owl-nav {
      display: none !important;
      justify-content: center;
      align-items: center;
      gap: 20px;
      padding: 20px 20px;

      button {
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
      }

      img {
        width: 40px;
        height: auto;
        display: block;
      }
    }
  }

  .hero-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;

    .hero-nav-deco {
      width: auto;
      height: 50px;
    }

    .hero-nav {
      display: flex;
      align-items: center;
      gap: 15px;

      .hero-arrow {
        cursor: pointer;
        width: 40px;
        height: auto;
      }

      .hero-divider {
        height: 30px;
        width: 1px;
        background-color: #aaa;
        display: block;
      }
    }
  }
}

.fullscreen-video-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-video-overlay video {
  max-width: 90vw;
  max-height: 90vh;
}

.close-fullscreen-video {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.about-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 90px;
  margin-bottom: 60px;

  .about-logo {
    width: 494px;
    height: 100px;
    margin-bottom: 60px;
  }

  .about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 55px;
    height: 600px;

    img {
      width: 50%;
      height: 100%;
      object-fit: contain;
    }

    p {
      width: 50%;
      color: #232f5d;
      font-size: 15px;
      line-height: 31px;
      text-align: left;
      margin-bottom: 0;
    }
  }
}

.ei-ingredients-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;

  .ei-ingredients {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;

    .ei-ingredients-description {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 20px;

      .ei-ingredients-description-img {
        width: 60px;
        height: 276px;
        margin-top: -5px;
      }

      .ei-ingredients-description-text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;

        h3 {
          font-size: 50px;
          line-height: 50px;
          color: #232f5d;
        }

        p {
          font-size: 15px;
          line-height: 31px;
          color: #232f5d;
          margin-bottom: 0;
        }
      }
    }
  }

  .carousel-section {
    /* padding-left: calc((100% - 1140px) / 2); */

    .carousel-slider {
      padding-bottom: 30px;

      .carousel-slide {
        width: 100%;
        padding: 0 15px;
      }

      .carousel-slide img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        display: block;
      }
    }

    .carousel_footer {
      display: flex;
      justify-content: center;
      padding-bottom: 63px;

      .container-carousel-footer {
        display: flex;
        float: left;
      }
      .container-carousel-footer .dots-arrow {
        width: unset;
        padding: 15px;
      }
      .dots-arrow {
        width: 40px;
        padding: 9px;
        cursor: pointer;
        text-align: center;
      }
      .container-carousel-footer .dots-arrow img {
        width: 24px;
        height: 24px;
      }
      .dots-arrow-hr {
        width: 1px;
        height: 30px;
        background-color: #232f5d33;
        margin: auto;
        margin-top: 12px;
      }

      .custom-dots-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-left: 20px;

        .owl-dot {
          width: 10px;
          height: 10px;
          border: 2px solid #232f5d;
          opacity: 0.26;
          border-radius: 50%;
          padding: 0;
        }
        .active {
          width: 6px;
          height: 6px;
          background-color: #232f5d;
          border: 2px solid #232f5d;
          opacity: 1;
        }
      }
    }
  }
}

.communication {
  position: relative;
  height: 800px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.45);
    z-index: 1;
  }

  img {
    width: 120px;
    height: 60px;
    z-index: 2;
  }

  h3 {
    color: white;
    font-size: 50px;
    line-height: 67px;
    letter-spacing: 13px;
    z-index: 2;
  }

  p {
    color: white;
    max-width: 515px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    line-height: 31px;
    font-weight: 400;
    margin-bottom: 0;
    z-index: 2;
  }
}

.product-detail {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
  margin-bottom: 120px;
  height: 713px;

  .reverse {
    .product-detail-info {
      order: 1;
    }
    .product-detail-video {
      order: 2;
    }
  }

  .product-detail-video {
    width: 50%;

    video {
      width: 100%;
      height: 100%;
    }
  }

  .product-detail-info {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    /* background-image: url(https://neutroroberts.fabricandum.com/wp-content/themes/neutroroberts/assets.antica-farmacia/img/cornice-responsive.png); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    img {
      width: 223px;
      height: 40px;
    }

    h3 {
      font-size: 50px;
      text-align: center;
      letter-spacing: 19.13px;
      text-transform: uppercase;
      margin-left: 15px;
    }

    p {
      font-size: 16px;
      line-height: 40px;
      color: #02216e;
      text-align: center;
      margin-bottom: 0;
    }
  }
}

.ei-decor {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    height: 105px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
  }
}

.ei-people {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;

  .ei-people-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 405px;

    img {
      width: 50%;
      height: 100%;
      object-fit: contain;
    }

    .ei-people-text {
      width: 50%;
      display: flex;
      flex-direction: column;
      gap: 20px;

      h2 {
        font-size: 50px;
        text-align: left;
        color: #232f5d;
      }

      p {
        font-size: 15px;
        line-height: 31px;
        color: #232f5d;
        text-align: left;
        margin-bottom: 0;
      }
    }
  }
}

@media (max-width: 992px) {
  .carousel-section .carousel-slider {
    padding-bottom: 20px;
    padding-top: 30px;
  }

  .product-detail {
    .product-detail-info {
      gap: 30px;

      img {
        width: auto;
        height: 30px;
      }

      h3 {
        font-size: 34px;
        text-align: center;
        letter-spacing: 12.13px;
        text-transform: uppercase;
        margin-left: 15px;
      }

      p {
        font-size: 15px;
      }
    }
  }
}
@media (max-width: 900px) {
  .product-detail {
    gap: 25px;

    .product-detail-video {
      width: 50%;

      video {
        width: 100%;
        height: 100%;
      }
    }

    .product-detail-info {
      width: 50%;
      gap: 30px;
      background-image: url(https://neutroroberts.fabricandum.com/wp-content/themes/neutroroberts/assets.essenze-italiane/img/frame-m.png) !important;

      img {
        width: auto;
        height: 30px;
      }

      h3 {
        font-size: 30px;
        text-align: center;
        letter-spacing: 11.47px;
        text-transform: uppercase;
        margin-left: 15px;
      }

      p {
        font-size: 15px;
      }
    }
  }
}
@media (max-width: 640px) {
  .hero {
    height: 560px;
  }

  .desktop-carousel {
    display: none !important;
  }
  .ei-ingredients-footer-desktop {
    display: none !important;
  }

  .mobile-carousel {
    display: block;
  }
  .ei-ingredients-footer-mobile {
    display: block;
  }

  .mobile-4-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .grid-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

  /* Optional: Adjust slide container on mobile */
  .carousel-slide {
    padding: 0 10px;
  }
}
@media (min-width: 641px) {
  .mobile-carousel {
    display: none !important;
  }
  .ei-ingredients-footer-mobile {
    display: none !important;
  }
  .desktop-carousel {
    display: block;
  }
  .ei-ingredients-footer-desktop {
    display: block;
  }
}
@media (max-width: 640px) {
  .about-wrap {
    .about-logo {
      width: 340px;
      height: 69px;
      margin-bottom: 30px;
    }

    .about {
      flex-direction: column;
      gap: 27px;
      height: unset;

      img {
        width: 100%;
      }

      p {
        width: 100%;
        font-size: 14px;
        line-height: 26px;
      }
    }
  }

  .ei-ingredients-wrap {
    padding-top: 60px;

    .ei-ingredients {
      .ei-ingredients-description {
        gap: 10px;

        .ei-ingredients-description-img {
          width: 30px;
          height: 404px;
          margin-top: 0;
        }

        .ei-ingredients-description-text {
          display: flex;
          flex-direction: column;
          gap: 10px;
          margin-bottom: 30px;

          h3 {
            font-size: 26px;
            line-height: 30px;
          }

          p {
            font-size: 14px;
            line-height: 26px;
          }
        }
      }
    }
  }

  .communication {
    height: 540px;
    justify-content: flex-end;
    padding: 0px 12px 61px;
    background-position: 24%;

    img {
      width: 92px;
      height: 46px;
    }

    h3 {
      font-size: 24px;
      line-height: 35px;
      letter-spacing: 6px;
      text-align: center;
    }

    p {
      font-size: 16px;
      line-height: 24px;
      max-width: unset;
    }
  }

  .product-detail {
    flex-direction: column;
    gap: 25px;
    height: unset;
    margin-top: 20px;
    margin-bottom: 40px;

    .product-detail-video {
      width: 100%;
      height: 430px;
      order: 2;

      video {
        width: 100%;
        height: 100%;
      }
    }

    .product-detail-info {
      width: 100%;
      gap: 30px;
      order: 1;
      height: 530px;
      background-image: url(https://neutroroberts.fabricandum.com/wp-content/themes/neutroroberts/assets.essenze-italiane/img/frame-m.png) !important;

      img {
        width: auto;
        height: 30px;
      }

      h3 {
        font-size: 30px;
        text-align: center;
        letter-spacing: 11.47px;
        text-transform: uppercase;
        margin-left: 15px;
      }

      p {
        font-size: 15px;
      }
    }
  }

  .ei-people {
    gap: 20px;
    margin-top: 0;

    .ei-people-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      height: unset;

      img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }

      .ei-people-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;

        h2 {
          font-size: 26px;
        }

        p {
          font-size: 14px;
          line-height: 26px;
        }
      }
    }

    .ei-people-row--2 {
      .ei-people-text {
        order: 2;
      }
      img {
        order: 1;
      }
    }
  }
}
@media (max-width: 360px) {
  .product-detail {
    .product-detail-info {
      gap: 20px;

      img {
        width: auto;
        height: 25px;
      }

      h3 {
        font-size: 26px;
        text-align: center;
        letter-spacing: 11.47px;
        text-transform: uppercase;
        margin-left: 15px;
      }

      p {
        font-size: 15px;
      }
    }
  }
}

.text-siracusa {
  color: #f29928;
}
.text-firenze {
  color: #612895;
}
.text-dolomiti {
  color: #295135;
}
.text-roma {
  color: #a50034;
}
.text-default {
  color: #232f5d;
}

.bg-siracusa {
  background-color: #f29928;
}
.bg-firenze {
  background-color: #612895;
}
.bg-dolomiti {
  background-color: #295135;
}
.bg-roma {
  background-color: #a50034;
}
.bg-default {
  background-color: #232f5d;
}

.scrolling {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  border-radius: 25px;
  border: 1px solid #ddd;
  z-index: 999999999999;

  // transition: alls 1.3s;
  transform-origin: top;
  opacity: 0;
  visibility: hidden;
}

.expand {
  animation: scrolling 1s ease-in-out;
}

@keyframes scrolling {
  0% {
    height: 80px;
    border-color: #232f5c;
    opacity: 1;
    visibility: visible;
  }

  50% {
    width: 25px;
    height: 25px;
  }

  90% {
    opacity: 0;
    visibility: hidden;
  }
}
.badge {
  --badge-size: 120px;
  --badge-color: var(--black);

  display: flex;
  justify-content: center;
  align-items: center;

  width: var(--badge-size);
  height: var(--badge-size);

  background: rgba(0, 0, 0, 0.3);
  border-radius: 100%;
  box-shadow: inset 0 0 0 0.9rem var(--badge-color);
  animation: identifier 10s linear infinite;
}

.badge__emoji {
  display: block;
  margin: 0;
  animation: identifier 10s linear infinite;
  animation-direction: reverse;
  transition: all 0.3s;
  width: 30px !important;
  height: 30px !important;

  &:hover {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.badge__char {
  --char-font-size: 0.6em;
  --char-font-family: "Tenor Sans", sans-serif;
  font-weight: normal;

  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - var(--char-width) / 2);
  height: calc(var(--badge-size) / 2);
  width: var(--char-width);
  background-repeat: round;
  text-align: center;
  text-transform: uppercase;
  line-height: 1rem;
  padding: 5px;

  font-size: var(--char-font-size);
  color: white;
  font-family: var(--char-font-family);
  transform-origin: bottom center;
  transform: rotate(var(--char-rotate));

  &.dot {
    --char-font-size: 1em;
  }
}

@-webkit-keyframes identifier {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

@keyframes identifier {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}
