/* La Femeia — two-tab interactive comparison */
.lf-compare {
  background: #f8f4ee;
 padding: clamp(24px, 3vw, 40px) 28px;
  color: #29231f;
}
.lf-compare * {
  box-sizing: border-box;
}
.lf-compare__container {
  max-width: 1260px;
  margin-inline: auto;
}
.lf-compare__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 34px;
}
.lf-compare__eyebrow,
.lf-compare__info-eyebrow {
  font: 600 11px/1.4 "DM Sans", sans-serif;
  letter-spacing: 0.18em;
  color: #a98959;
}
.lf-compare__heading h2 {
  font: 400 clamp(38px, 5vw, 66px) / 1.06 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.025em;
  margin: 12px 0 12px;
}
.lf-compare__heading h2 em {
  font-weight: 400;
  color: #a98959;
}
.lf-compare__heading p {
  font: 400 14px/1.8 "DM Sans", sans-serif;
  color: #81756b;
  margin: 0;
  max-width: 510px;
}
.lf-compare__tabs {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  background: #ede7db;
  border: 1px solid #e5d8c6;
  border-radius: 100px;
  flex-shrink: 0;
}
.lf-compare__tab {
  appearance: none;
  border: 0 !important;
  border-radius: 50px !important;
  background: transparent !important;
  color: #86715c !important;
  font: 600 12px/1.4 "DM Sans", sans-serif !important;
  letter-spacing: 0.03em;
  padding: 12px 29px !important;
  min-height: 42px;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.lf-compare__tab.is-active {
  background: #fffdf9 !important;
  color: #29231f !important;
  box-shadow: 0 2px 10px #2a211014 !important;
}
.lf-compare__tab:focus-visible {
  outline: 2px solid #a98959 !important;
  outline-offset: 3px;
}
.lf-compare__body {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  align-items: stretch;
  gap: 0;
  background: #fffdf9;
  border: 1px solid #e8dfd2;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px #55442f0b;
}
.lf-compare__visual {
  min-width: 0;
  padding: 12px;
}
.lf-compare__stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 43vw, 560px);
  overflow: hidden;
  border-radius: 18px;
  background: #eadccc;
  isolation: isolate;
  touch-action: pan-y;
}
.lf-compare__before,
.lf-compare__after {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  pointer-events: none;
  user-select: none;
}
.lf-compare__after {
  clip-path: inset(0 0 0 var(--lf-compare-position));
  -webkit-clip-path: inset(0 0 0 var(--lf-compare-position));
}
.lf-compare__label {
  position: absolute;
  top: 17px;
  z-index: 2;
  border-radius: 100px;
  background: #fffaf2f0;
  padding: 8px 17px;
  color: #654b2d;
  font: italic 500 20px/1 "Cormorant Garamond", Georgia, serif;
  pointer-events: none;
  box-shadow: 0 2px 10px #5b472617;
}
.lf-compare__label--before {
  left: 17px;
}
.lf-compare__label--after {
  right: 17px;
}
.lf-compare__divider {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--lf-compare-position);
  width: 2px;
  transform: translateX(-50%);
  background: #fffdf5;
  box-shadow: 0 0 5px #0002;
  pointer-events: none;
}
.lf-compare__handle {
  position: absolute;
  z-index: 3;
  left: var(--lf-compare-position);
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fffcf4;
  color: #a98959;
  box-shadow: 0 6px 22px #382b2829;
  pointer-events: none;
}
.lf-compare__range {
  position: absolute !important;
  z-index: 4 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  cursor: ew-resize;
  touch-action: pan-y;
  appearance: none;
  -webkit-appearance: none;
}
.lf-compare__stage:focus-within .lf-compare__handle {
  outline: 3px solid #ad8e60;
  outline-offset: 3px;
}
.lf-compare__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 5vw, 65px);
  border-left: 1px solid #efe5d8;
}
.lf-compare__info h3 {
  font: 400 clamp(36px, 4.2vw, 59px) / 1.04 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.022em;
  margin: 14px 0 15px;
  color: #2d2724;
}
.lf-compare__info > p:not(.lf-compare__disclaimer) {
  font: 400 15px/1.8 "DM Sans", sans-serif;
  color: #786d62;
  margin: 0 0 24px;
}
.lf-compare__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a98959;
  font: 600 12px/1.4 "DM Sans", sans-serif;
  margin-bottom: 22px;
}
.lf-compare__hint span {
  font-size: 23px;
  line-height: 1;
}
.lf-compare__disclaimer {
  font: 400 11px/1.7 "DM Sans", sans-serif;
  color: #998d80;
  margin: 0 0 26px;
}
.lf-compare__shop {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 21px;
  background: #26211f;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 7px;
  font: 600 12px/1.3 "DM Sans", sans-serif;
  transition: background 0.2s, transform 0.2s;
}
.lf-compare__shop:hover {
  background: #a98959;
  color: #fff !important;
  transform: translateY(-2px);
}
@media (max-width: 850px) {
  .lf-compare__body {
    grid-template-columns: 1fr;
  }
  .lf-compare__info {
    border-left: 0;
    border-top: 1px solid #efe5d8;
    padding: 27px;
  }
  .lf-compare__stage {
    height: clamp(360px, 65vw, 540px);
  }
  .lf-compare__info h3 {
    font-size: 44px;
  }
}
@media (max-width: 600px) {
  .lf-compare {
    padding: 24px 16px;
  }
  .lf-compare__heading {
    display: block;
    margin-bottom: 24px;
  }
  .lf-compare__heading h2 {
    font-size: 44px;
  }
  .lf-compare__tabs {
    margin-top: 20px;
    width: 100%;
    display: flex;
  }
  .lf-compare__tab {
    flex: 1;
  }
  .lf-compare__visual {
    padding: 7px;
  }
  .lf-compare__body {
    border-radius: 19px;
  }
  .lf-compare__stage {
    height: 410px;
    border-radius: 13px;
  }
  .lf-compare__handle {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .lf-compare__label {
    font-size: 17px;
    padding: 7px 12px;
    top: 12px;
  }
  .lf-compare__label--before {
    left: 12px;
  }
  .lf-compare__label--after {
    right: 12px;
  }
  .lf-compare__info {
    padding: 25px 23px 29px;
  }
  .lf-compare__info h3 {
    font-size: 40px;
  }
  .lf-compare__info > p:not(.lf-compare__disclaimer) {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lf-compare__tab,
  .lf-compare__shop {
    transition: none;
  }
}
