/**
* COLORS
*/
:root {
  --color-main: #ED4D70;
  --color-main-hover: #d63c5e;
  --color-secondary: #f6f4f2;
  --desktop-page-width: 1180px;
  --desktop-tiny-wrapper-width: 620px;
  --header-height: 88px;
}

*, ul, p, .btn-cart {
  font-family: 'Lato', sans-serif;
}

.mt-1 {
  margin-top: 5px;
}

.mt-2 {
  margin-top: 10px;
}

.mt-3 {
  margin-top: 15px;
}

.mb-3 {
  margin-bottom: 15px !important;
}

.mt-4 {
  margin-top: 20px
}

.mt-5 {
  margin-top: 25px;
}

strong {
  font-weight: 700;
}

.pink-text {
  color: var(--color-main);
}

.hero-product {
  position: absolute;
  bottom: 0;
  right: 60px;
  background: url('mei-organics-product.png');
  background-size: 102px 435px;
  background-repeat: no-repeat;
  background-size: cover;
  width: 102px;
  height: 435px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
}

.hero-background {
  background: url('./mei-organics-hero.png');
  height: 700px;
  background-size: 525px 700px;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-product--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 1000ms 500ms ease-in;
}

.hero-image img {
  object-fit: cover;
  width: 100%;
  max-height: 100%;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif !important;
}

.wrapper {
  max-width: var(--desktop-page-width);
  margin: 0 auto;
  padding: 0 20px;
}

.d-flex {
  display: flex;
}

p {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
}

.mei-organics-circle {
  position: fixed;
  right: 140px;
  bottom: 140px;
  width: 100px;
  height: 100px;
  background: #FFF;
  border: 1px solid var(--color-main);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.mei-organics-circle:hover {
  transition: all 100ms ease-in;
  background: var(--color-main);
}

.mei-organics-circle:focus {
  outline: none;
}

.mei-organics-circle img {
  width: 65px;
  height: 30px;
}

header {
  background: #FFF;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.header-inner {
  height: var(--header-height);
  align-items: center;
}

.header-logo {
  margin-right: auto;
}

.header-logo img {
  height: 50px;
}

.header-cart {
  align-items: center;
  color: #000;
  font-size: 16px;
}

.header-cart-icon {
  margin-right: 8px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 28px;
  color: #FFF;
  font-size: 14px;
  background: var(--color-main);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-main-hover);
}

.btn-icon {
  margin-left: 8px;
}

.btn--large {
  height: 68px;
  padding: 0 42px;
  font-size: 20px;
}

.language-selector {
  position: relative;
  margin: 0 16px;
}

.language-selector-active {
  width: 70px;
  height: 40px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-main);
  transition: all 150ms ease-in-out;
  color: #000;
}

.language-selector-active:hover {
  cursor: pointer;
  background: #F6F4F2;
  transition: all 150ms ease-in;
}

.language-selector--opened .language-selector-active {
  border-color: var(--color-main);
  color: #000;
}

.language-selector-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  background: #FFF;
  width: 70px;
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid var(--color-main);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 150ms ease-in-out;
}

.language-selector--opened .language-selector-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 150ms ease-in;
}

.language-selector-dropdown-option {
  color: #000;
  font-weight: 600;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.language-selector-dropdown-option:hover {
  color: var(--color-main);
  cursor: pointer;
}

main {
  padding-top: var(--header-height);
}

.first-section-slideshow {
  width: 500px;
  margin: 0 auto;
}

.first-section-slideshow img {
  height: auto !important;
}

@media screen and (max-width: 1100px) {
  .first-section-slideshow {
    width: 400px;
  }
}

@media screen and (max-width: 400px) {
  .first-section-slideshow {
    width: 320px;
  }
}

.header-slider {
  padding: 60px 0;
  background-color: var(--color-secondary);
}

.first-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.first-section h1 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 16px;
}

.first-section h2 {
  font-weight: 600;
  font-size: 45px;
  line-height: 55px;
  margin-bottom: 16px;
}

.first-section h3 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 16px;
}

.reviews {
  display: flex;
  align-items: center;
}

.reviews-icons {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.review-icon {
  width: 20px;
  height: 20px;
}

.review-icon:not(:last-child) {
  margin-right: 10px;
}

.reviews-text {
  font-size: 16px;
}

.first-section .reviews,
.first-section p {
  margin-bottom: 30px;
}

.first-section .btn {
  max-width: 100px;
}

.second-section-content {
  padding: 67px 0 0;
}

.second-section-content h2 {
  color: #000;
  font-size: 24px;
  line-height: 33px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.second-section-column .btn {
  max-width: 100px;
  margin-left: 90px;
}

.second-section-column small {
  padding-left: 90px;
  display: block;
}

.second-section-column ul li {
  position: relative;
  min-height: 81px;
  padding-left: 90px;
  font-size: 22px;
  line-height: 33px;
}

.second-section-column ul li:not(:last-child) {
  margin-bottom: 30px;
}

.second-section-column ul li:before {
  position: absolute;
  left: 0;
  top: -9px;
  width: 86px;
  height: 81px;
  background: url('kljukica.svg');
  background-repeat: no-repeat;
  content: '';
}

.second-section-row {
  display: grid;
  gap: 30px;
  grid-template-columns: 457px 1fr;
}

.third-section {
  margin-top: 20px;
  padding-top: 100px;
  background-color: var(--color-secondary);
}

.tabs-wrap {
  border-bottom: 2px solid #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding-bottom: 16px;
  border-bottom: 4px solid transparent;
}

.tab--active {
  color: var(--color-main);
  border-bottom-color: var(--color-main);
}

.tab:not(.tab--active):hover {
  color: var(--color-main);
  cursor: pointer;
}

.tab:not(:last-child) {
  margin-right: 64px;
}

.tabs-content {
  padding-top: 48px;
  min-height: 330px;
}

.tab-content {
  max-width: var(--desktop-tiny-wrapper-width);
  margin: 0 auto;
  display: none;
}

.tab-content--visible {
  display: block;
}

.tab-content ul {
  list-style: disc;
  font-size: 18px;
  line-height: 24px;
  padding-left: 22px;
  margin-bottom: 24px;
}

.tab-content ul li span {
  font-weight: 600;
}

.tab-content h2 {
  font-size: 18px;
  line-height: 26px;
  padding-bottom: 24px;
  font-weight: bold;
}

p small {
  font-size: 14px;
}

.tab-content.vprasaj h2 {
  padding: 20px 0 5px;
  font-weight: bold;
}

.tab-content.vprasaj h2:first-child {
  padding-top: 0;
}

.tab-content h3:not(:first-of-type) {
  margin-top: 24px;
}

.tab-content p {
  font-weight: 400;
}

.fourth-section {
  background-image: url('sen-sprej-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .fourth-section {
    background-image: url('sen-sprej-bg@2x.png');
  }
}

.fourth-section-content {
  padding: 72px 98px;
  background: #FFF;
}

.fourth-section-content p {
  font-weight: 400;
  font-size: 20px;
  line-height: 33px;
}

.fourth-section-content p:not(:last-child) {
  margin-bottom: 50px;
}

.fourth-section-2 {
  background: var(--color-secondary);
}

.fourth-section-2-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 0;
  gap: 72px;
}

.fourth-section-2-images {
  justify-self: flex-end;
}

.fifth-section,
.sixth-section {
  margin-bottom: 80px;
}

.sixth-section {
  background: #FFF;
  position: relative;
  z-index: 30;
}

.fifth-section {
  background: rgba(132, 97, 75, 0.5);
  height: 224px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}

.section-advantages {
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon {
  display: flex;
  justify-content: center;
}

.advantage-icon img {
  width: 50px;
  height: 50px;
}

.advantage:not(:last-child) {
  margin-right: 100px; 
}

.advantage-text {
  font-size: 16px;
  line-height: 19px;
  font-weight: 600;
  color: #FFF;
  margin-top: 16px;
  text-align: center;
}

.shop-section {
  display: grid;
  gap: 130px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.shop-section img{
  width: 100%;
}

.shop-option {
  display: flex;
  align-items: center;
  height: 100px;
  border: 1px solid #000;
  padding: 0 24px;
  margin-bottom: 24px;
  transition: all 100ms ease-in-out;
}

.shop-option--inner {
  display: flex;
  align-items: baseline;
  width: 100%;
}

.shop-option-price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 80px;
}

.shop-option:not(.shop-option--selected):hover {
  cursor: pointer;
  background: rgba(0, 0, 0, .1);
}

.shop-option * {
  pointer-events: none;
}

.shop-option--selected {
  background: #BDAB9F;
  color: #FFF;
  transition: all 100ms ease-in;
}

.shop-option-title {
  font-weight: 600;
}

.shop-option--quantity {
  font-size: 24px;
  font-weight: bold;
  margin-right: 10px;
}

.shop-option--title .shop-option--inner {
  flex-wrap: wrap;
}

.shop-option--title .shop-option--inner > div:first-child {
  width: 100%;
  margin-bottom: 8px;
}

.shop-option--name {
  margin-right: auto;
  font-size: 18px;
}

.shop-option--previous-price {
  align-self: flex-end;
  margin-bottom: 14px;
  font-size: 14px;
}

.shop-option--new-price {
  align-self: flex-end;
  font-weight: 600;
  font-size: 18px;
}

.btn--add-to-cart {
  height: 54px;
  background: var(--color-main);
  border-bottom: 8px solid #000;
  font-size: 20px;
}

.btn--add-to-cart:hover {
  background: var(--color-main-hover);
}

.btn--add-to-cart img {
  width: 20px;
  height: 20px;
  margin-left: 16px;
}

.credit-cards {
  display: flex;
  margin-top: 54px;
  align-items: center;
  justify-content: center;
}

.credit-card {
  width: 47px !important;
  height: 30px;
}

.credit-card:not(:last-child) {
  margin-right: 10px;
}

.perks {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk {
  display: flex;
  align-items: center;
}

.perk:not(:last-child) {
  margin-right: 42px;
}

.perk-icon {
  margin-right: 16px;
}

.perk-icon img {
  width: auto;
}

.perk-text {
  font-size: 16px;
  font-weight: 600;
}

.eight-section {
  padding: 80px 0;
  background: #f6f4f2;
}

.seventh-section h2,
.eight-section h2 {
  font-size: 28px;
  line-height: 33px;
  text-align: center;
}

.loading-instagram-photos {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 600;
}

.instagram-feed {
  margin-top: 32px;
  height: 230px;
  overflow: hidden;
  position: relative;
}

.instagram-handlers {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-handle--text {
  font-size: 16px; 
  font-weight: 600;
  margin: 0 42px;
  color: #000;
  text-decoration: none;
}

.instagram-handle {
  cursor: pointer;
}

.instagram-handle img {
  pointer-events: none;
}

.instagram-handle--text:hover {
  text-decoration: underline;
}

.instagram-prev {
  left: 20px;
}

.instagram-forward {
  right: 20px;
}

.instagram-feed--loaded {
  opacity: 1;
  visibility: visible;
  transition: all 150ms ease-in;
}

.instagram-feed--inner {
  display: flex;
  justify-content: center;
  transition: transform 150ms ease-in;
}

.instagram-photo {
  height: 230px;
  width: 230px;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 100ms ease-in-out;
}

.instagram-photo:hover {
  transform: scale(1.02);
  transition: all 100ms ease-in;
}

.instagram-photo--link {
  background: var(--color-secondary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.feedback-section {
  display: grid;
  gap: 150px;
  grid-template-columns: 1fr 2fr;
  margin-top: 20px;
}

.feedback-grade {
  align-items: center;
  display: flex;
}

.feedback-grade-number {
  font-size: 45px;
  margin-right: 16px;
}

.feedback-grade-stars-count {
  margin-top: 10px;
  font-size: 12px;
}

.feedback-lines {
  margin-top: 44px;
}

.feedback-line {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.feedback-line-title {
  margin-right: 8px;
  font-size: 12px;
}

.feedback-line-count {
  font-size: 12px;
}

.feedback-line-line {
  width: 240px;
  background: #E0E0E0;
  border-radius: 11px;
  margin-right: 8px;
  position: relative;
  height: 6px;
}

.feedback-line-line-inner {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 11px;
  background: var(--color-main);
  height: 6px;
}

.feedback-line-line-inner--5 {
  width: 85%;
}

.feedback-line-line-inner--4 {
  width: 12%;
}

.feedback-line-line-inner--3 {
  width: 2%;
}

.feedback-line-line-inner--2 {
  width: 0%;
}

.feedback-line-line-inner--1 {
  width: 0%;
}

.feedback-satisfaction-number {
  margin-top: 44px;
  font-size: 45px;
}

.feedback-satisfaction-text {
  margin-top: 8px;
  font-size: 12px;
}

.single-feedback--hidden {
  display: none;
}

.single-feedback-title {
  font-size: 20px;
  margin-top: 10px;
  font-weight: 600;
}

.single-feedback-body,
.single-feedback-name {
  margin-top: 16px;
  font-size: 18px;
  line-height: 22px;
}

.single-feedback:not(:first-child) {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #E0E0E0;
}

.btn--feedback {
  margin-top: 48px;
  max-width: 100px;
  font-size: 20px;
}

footer {
  margin-top: 50px;
  padding: 0 0 64px;
  border-bottom: 30px solid #000;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  background: var(--color-main);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-top > img {
  margin-right: 40px;
  height: 52px;
}

.footer-social-link:not(:last-child) {
  margin-right: 24px;
}

.footer-middle {
  color: #000;
  font-size: 16px;
  margin-top: 32px;
  text-align: center;
}

.footer-bottom {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: flex;
  font-size: 16px;
  justify-content: center;
}

.footer-bottom-link {
  color: var(--color-main);
  text-decoration: none;
  display: block;
}

.footer-bottom li:not(:last-child) {
  margin-right: 40px;
}

.bottom-hero {
  background-image: url('./sen-sprej-za-usi@2x.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 588px;
  position: relative;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .bottom-hero {
    background-image: url('./sen-sprej-za-usi@2x.png');
  }
}

.visible-mobile {
  display: none;
}

.glide__bullets {
  bottom: 0 !important;
}

.glide__bullet {
  box-shadow: none !important;
  background: none !important;
  border: 1px solid var(--color-main) !important;
  width: 20px !important;
  height: 20px !important;
}

.glide__bullet--active {
  background: var(--color-main) !important;
}

@media screen and (max-width: 480px) {
  .glide__bullets {
    bottom: -15px !important;
  }

  .glide__bullet {
    width: 11px !important;
    height: 11px !important; 
  }

  .second-section-column ul li {
    padding-right: 25px;
  }

  .second-section-column small {
    padding: 10px 24px 0;
  }

  .visible-mobile {
    display: inherit;
  }

  .hidden-mobile {
    display: none !important;
  }

  .wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  img {
    max-width: 100%;
  }

  .first-section,
  .feedback-section {
    display: block;
  }

  .second-section-row,
  .top-two-images,
  .shop-section {
    display: flex;
  }

  .shop-section {
    align-items: unset;
    flex-direction: column;
    gap: 50px;
  }

  .top-two-images,
  .second-section-row {
    margin-bottom: 10px;
    gap: 0;
  }

  .top-two-images img {
    width: 50%;
    max-height: 240px;
  }

  .shop-customizer {
    order: 2;
    padding: 0 24px;
    position: relative;
  }

  .perks {
    flex-direction: column;
  }

  .perk:not(:last-child) {
    margin: 0 0 32px;
  }

  .second-section-content h2 {
    font-size: 20px;
    line-height: 26px;
    padding: 0 24px;
  }

  .second-section-content {
    padding: 30px 0 15px;
  }

  .usi-bg {
    background: url('sen-sprej-bg-mobile.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 105px;
  }

  .tabs {
    overflow-x: auto;
    padding: 0 24px;
    height: 38px;
    display: flex;
    align-items: flex-start;
  }

  .tabs-wrap {
    margin: 0 -24px;
    padding: 0 24px;
    justify-content: flex-start;
  }

  .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: pre;
    position: relative;
  }

  .tab--active:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 4px;
    background: var(--color-main);
    z-index: 20;
  }

  .tab:not(:last-child) {
    margin-right: 40px;
  }

  .first-section-content {
    padding: 32px 24px 0;
  }

  .hero-product {
    height: 320px;
    width: 73px;
    right: 20px;
  }

  .top-banner {
    position: relative;
  }

  .top-banner-item:not(:last-child) {
    margin-right: 0;
  }

  .top-banner-item:nth-child(2) {
    display: none;
  }

  .language-selector-active {
    background: none;
    width: auto;
    height: auto;
    color: #000;
    border: none;
  }

  header {
    padding: 0 24px;
    width: auto;
    right: 0;
  }

  .header-logo {
    width: 68px;
    height: 46px;
    margin-right: 16px;
  }

  .btn {
    padding: 0 16px;
  }

  .header-inner {
    justify-content: space-between;
  }

  .first-section .btn {
    max-width: 100%;
  }

  .tab-content {
    padding: 24px;
  }

  .tabs-content {
    padding-top: 20px;
    min-height: auto;
  }

  .third-section {
    padding-top: 40px;
    margin-top: 0;
  }

  .advantage:not(:last-child) {
    margin-right: 50px;
  }

  .swipe-element {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swipe-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
  }

  .swipe-navigation-item {
    width: 8px;
    height: 8px;
    border: 1px solid #FFF;
    border-radius: 8px;
  }

  .swipe-navigation-item--active {
    background: #FFF;
  }

  .swipe-navigation-item:not(:last-child) {
    margin-right: 8px;
  }

  .fourth-section,
  .fifth-section {
    margin-bottom: 0;
  }

  .fifth-section {
    height: 210px;
  }

  .advantage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 130px;
  }

  .advantage-icon,
  .advantage-icon img {
    width: 40px;
    height: 40px;
  }

  .advantage-icon {
    align-items: center;
  }

  .advantage-icon img {
    margin: 0 auto;
  }

  .section-advantages {
    padding-top: 20px;
  }

  .instagram-handle {
    display: none;
  }

  .instagram-feed {
    overflow-x: auto;
  }

  .feedback-grade {
    justify-content: center;
  }
 
  .feedback-lines {
    padding: 0 0 0 24px;
  }

  .feedback-satisfaction-number,
  .feedback-satisfaction-text {
    text-align: center;
  }

  .feedback-users {
    margin-top: 26px;
    padding: 0 24px;
  }

  .btn--feedback {
    max-width: 100%;
  }

  .first-section h2 {
    font-size: 32px;
    line-height: 46px;
  }

  .bottom-hero {
    height: 400px;
    margin: 24px;
  }

  .image-stop-usem {
    margin: 20px auto 0;
    display: flex;
  }

  .bottom-hero-product {
    width: 90px;
    height: 403px;
  }

  .shop-option-price {
    min-width: 65px;
  }

  .shop-customizer-mobile-breakpoint {
    position: absolute;
    top: -40px;
  }

  .language-selector--opened .language-selector-active,
  .language-selector-active:hover {
    background: none;
    color: #000;
  }

  .language-selector {
    margin: 0;
  }

  .mei-organics-circle {
    width: 50px;
    height: 50px;
    bottom: 24px;
    right: 24px;
    opacity: 0;
  }

  .mei-organics-circle img {
    width: 35px;
    height: 16px;
  }

  .hero-background {
    height: 70vh;
  }

  .fourth-section-content {
    padding: 24px;
  }
  
  .fourth-section-2-content {
    display: block;
    padding: 0;
  }

  .fourth-section-content p:not(:last-child) {
    margin-bottom: 30px;
  }

  .fourth-section-2-button-wrapper {
    height: 124px;
    background: #f6f4f2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .fourth-section-2-button-wrapper .btn {
    min-width: 146px;
  }

  .fourth-section-2-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 36px;
  }

  .seventh-section-feedback {
    background: #f6f4f2;
    padding: 50px 24px;
  }

  .eight-section {
    padding: 40px 0;
  }
}

/**
* Smaller screens, but not mobile
*/
@media screen and (max-height: 850px) and (min-width: 480px) {
  .hero-background {
    height: 80vh;
  }

  .mei-organics-circle {
    bottom: 50px;
    right: 50px;
  }
}

@media screen and (max-height: 700px) and (min-width: 480px) {
  .hero-background {
    height: 70vh;
  }
}

@media screen and (max-width: 1024px) and (min-width: 480px) {
  .first-section,
  .shop-section {
    gap: 50px;
  }

  .mei-organics-circle {
    bottom: 50px;
    right: 50px;
  }
}
