/* Final responsive polish for EMRY feature sections */

.features-section {
  padding: 58px 0 92px;
  overflow: hidden;
}

.features-inner {
  width: min(100% - 36px, 1180px);
}

.features-intro {
  margin-bottom: 58px;
}

.feature-list {
  gap: 78px;
}

.feature-row {
  gap: 24px;
  align-items: center;
}

.feature-copy {
  max-width: 430px;
}

.feature-copy > p:last-child {
  max-width: 38ch;
}

.feature-visual {
  height: 470px;
  overflow: visible;
}

.feature-beauty .feature-photo,
.feature-stickers .feature-photo {
  width: auto;
  max-width: 68%;
  height: 420px;
  object-fit: cover;
}

.feature-beauty .feature-photo {
  left: 2%;
  top: 10px;
}

.feature-beauty .feature-app {
  width: auto;
  max-width: 45%;
  height: 380px;
  right: 0;
  top: 58px;
  object-fit: contain;
  transform: rotate(3deg);
}

.feature-stickers .feature-photo {
  right: 2%;
  top: 12px;
}

.feature-stickers-phone {
  width: 39%;
  left: 0;
  top: 56px;
  transform: rotate(-3deg);
}

.kids-protect-note {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(61,51,45,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  color: #75685f;
}

.kids-protect-note strong,
.kids-protect-note span {
  display: block;
}

.kids-protect-note strong {
  color: #54473f;
  font-size: 12px;
  font-weight: 600;
}

.kids-protect-note span {
  margin-top: 1px;
  font-size: 10px;
  line-height: 1.25;
}

.kids-protect-heart {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1;
  color: #a88e82;
}

.feature-effects-visual {
  width: 100%;
  min-height: 0;
  height: auto;
}

.feature-effects .effect-carousel {
  min-width: 0;
}

.feature-effects .effect-card .compare-handle {
  width: 88px;
}

@media (max-width: 719px) {
  .features-section {
    padding-top: 38px;
    padding-bottom: 72px;
  }

  .features-intro {
    margin-bottom: 48px;
  }

  .feature-list {
    gap: 76px;
  }

  .feature-row {
    gap: 20px;
  }

  .feature-copy,
  .feature-beauty .feature-copy,
  .feature-stickers .feature-copy,
  .feature-effects .feature-copy {
    margin-inline: auto;
    text-align: center;
  }

  .feature-copy > p:last-child,
  .feature-beauty .feature-copy > p:last-child,
  .feature-stickers .feature-copy > p:last-child,
  .feature-effects .feature-copy > p:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  .kids-protect-note {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-visual {
    height: 460px;
    margin-top: 2px;
  }

  .feature-beauty .feature-photo,
  .feature-stickers .feature-photo {
    width: 72%;
    max-width: none;
    height: 405px;
  }

  .feature-beauty .feature-photo {
    left: 0;
    top: 8px;
  }

  .feature-beauty .feature-app {
    width: 45%;
    max-width: none;
    height: auto;
    right: 0;
    top: 78px;
  }

  .feature-stickers .feature-photo {
    right: 0;
    top: 8px;
  }

  .feature-stickers-phone {
    width: 39%;
    left: -1%;
    top: 92px;
  }

  .feature-effects-visual {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 4px;
  }
}

@media (min-width: 720px) {
  .features-section {
    padding-top: 70px;
    padding-bottom: 110px;
  }

  .features-intro {
    margin-bottom: 82px;
  }

  .feature-list {
    gap: 118px;
  }

  .feature-row {
    grid-template-columns: minmax(245px, .74fr) minmax(0, 1.26fr);
    gap: 58px;
  }

  .feature-row:nth-child(even) {
    grid-template-columns: minmax(0, 1.26fr) minmax(245px, .74fr);
  }

  .feature-visual {
    height: 480px;
  }

  .feature-beauty .feature-photo,
  .feature-stickers .feature-photo {
    height: 435px;
    max-width: 61%;
  }

  .feature-beauty .feature-photo {
    left: 4%;
    top: 20px;
  }

  .feature-beauty .feature-app {
    height: 390px;
    max-width: 35%;
    right: 3%;
    top: 54px;
  }

  .feature-stickers .feature-photo {
    right: 4%;
    top: 20px;
  }

  .feature-stickers-phone {
    width: 29%;
    left: 3%;
    top: 48px;
  }

  .feature-effects-visual {
    display: flex;
    align-items: center;
    min-height: 430px;
  }
}

@media (min-width: 1080px) {
  .features-section {
    padding-top: 76px;
    padding-bottom: 122px;
  }

  .features-intro {
    margin-bottom: 88px;
  }

  .feature-list {
    gap: 132px;
  }

  .feature-row {
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
  }

  .feature-row:nth-child(even) {
    grid-template-columns: 1.2fr .8fr;
  }

  .feature-visual {
    height: 465px;
  }

  .feature-beauty .feature-photo,
  .feature-stickers .feature-photo {
    height: 420px;
    max-width: 58%;
  }

  .feature-beauty .feature-app {
    height: 370px;
    max-width: 33%;
    top: 48px;
  }

  .feature-stickers-phone {
    width: 27%;
    top: 48px;
  }

  .feature-effects-visual {
    min-height: 390px;
  }
}
