.eva-ec {
  --eva-ec-panel: transparent;
  --eva-ec-text: #201911;
  --eva-ec-muted: #6b6158;
  --eva-ec-accent: #b55f2b;
  --eva-ec-brand: #e45826;
  --eva-ec-gap: clamp(1rem, 2.2vw, 2rem);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 0 0 clamp(1rem, 2.2vw, 1.8rem) 0;
  color: var(--eva-ec-text);
  background: transparent;
  box-shadow: none;
  border-top: 1px solid rgba(32, 25, 17, 0.16);
  touch-action: pan-y;
}

.eva-ec__track {
  display: grid;
  position: relative;
  z-index: 1;
}

.eva-ec__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 56%);
  align-items: start;
  gap: var(--eva-ec-gap);
  opacity: 0;
  transform: translate3d(14px, 0, 0);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.eva-ec__slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 2;
}

.eva-ec__content {
  width: min(100%, 70ch);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  justify-self: end;
  align-items: flex-start;
  text-align: left;
  padding-top: clamp(0.25rem, 1.6vw, 1.2rem);
}

.eva-ec__kicker {
  margin: 0 0 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--eva-ec-muted);
}

.eva-ec__title {
  margin: 0;
  line-height: 1.06;
  font-size: clamp(1.75rem, 3.7vw, 3.2rem);
  text-wrap: balance;
}

.eva-ec__excerpt {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  color: var(--eva-ec-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  line-height: 1.55;
}

.eva-ec__excerpt p {
  margin: 0;
}

.eva-ec__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.9rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.eva-ec__price {
  font-weight: 700;
  font-size: 1.55rem;
}

.eva-ec__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--eva-ec-brand);
  text-decoration: none;
  font-weight: 600;
  transition: filter 200ms ease;
}

.eva-ec__button--icon {
  width: 55px;
  min-height: 55px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(32, 25, 17, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: var(--eva-ec-text);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.eva-ec__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 1.95rem;
  line-height: 1;
}

.eva-ec__button:hover,
.eva-ec__button:focus-visible {
  filter: brightness(0.93);
}

.eva-ec__button--icon:hover,
.eva-ec__button--icon:focus-visible {
  filter: none;
  background: #fff;
  border-color: rgba(32, 25, 17, 0.3);
}

.eva-ec__media {
  min-width: 0;
  justify-self: end;
  width: min(100%, 820px);
}

.eva-ec__image-wrap {
  width: min(100%, 820px);
  min-height: clamp(360px, 56vw, 760px);
  margin: 0 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--eva-ec-panel);
}

.eva-ec__image-wrap--still-life {
  min-height: clamp(280px, 48vw, 800px);
  background: var(--eva-ec-still-life-bg, var(--eva-ec-panel));
}

.eva-ec__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eva-ec__image-wrap--still-life .eva-ec__image {
  width: min(100%, 76%);
  height: auto;
  max-height: clamp(240px, 42vw, 520px);
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.22))
    drop-shadow(0 20px 24px rgba(0, 0, 0, 0.24))
    drop-shadow(0 42px 48px rgba(0, 0, 0, 0.18));
}

.eva-ec__image-placeholder {
  width: 58%;
  min-height: clamp(260px, 36vw, 460px);
  background: repeating-linear-gradient(
    -45deg,
    rgba(107, 97, 88, 0.12),
    rgba(107, 97, 88, 0.12) 10px,
    rgba(107, 97, 88, 0.2) 10px,
    rgba(107, 97, 88, 0.2) 20px
  );
}

.eva-ec__controls {
  position: absolute;
  left: max(0px, calc(44% - 75ch));
  bottom: clamp(1rem, 2.8vw, 1.8rem);
  display: inline-flex;
  gap: 1.5rem;
  z-index: 4;
  pointer-events: auto;
}

.eva-ec__arrow {
  width: 55px;
  height: 55px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  /* border: 1px solid rgba(32, 25, 17, 0.18); */
  /* border-radius: 999px; */
  /* background: rgba(255, 255, 255, 0.84); */
  color: var(--eva-ec-text);
  cursor: pointer;
}

.eva-ec__arrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateX(-2px);
}

/* .eva-ec__arrow:hover, */
/* .eva-ec__arrow:focus-visible { */
/*   background: #fff; */
/* } */

.eva-ec__status {
  position: absolute;
}

.eva-ec .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .eva-ec {
    padding: 0 clamp(0.9rem, 4.2vw, 1.35rem) clamp(1rem, 4vw, 1.4rem);
  }

  .eva-ec__slide {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .eva-ec__media {
    order: 2;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .eva-ec__content {
    order: 1;
    width: 100%;
    justify-self: stretch;
    align-items: flex-start;
    text-align: left;
    padding-top: 20px;
  }

  .eva-ec__meta {
    justify-content: center;
  }

  .eva-ec__image-wrap {
    width: 100vw;
    max-width: none;
    min-height: clamp(260px, 72vw, 520px);
    margin-inline: calc(50% - 50vw);
  }

  .eva-ec__image-wrap--still-life {
    min-height: clamp(220px, 58vw, 420px);
    padding-block: clamp(5.25rem, 6vw, 2.1rem);
    box-sizing: border-box;
  }

  .eva-ec__image-wrap--still-life .eva-ec__image {
    width: min(100%, 72%);
    max-height: clamp(200px, 50vw, 340px);
  }

  .eva-ec__controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eva-ec__slide,
  .eva-ec__button {
    transition: none;
  }

}
