.wp-block-ot-editors-pick.ot-block-editors-pick {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(170px, var(--ot-pick-image-column, 40%)) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.1rem, 2.6vw, 2rem);
  width: min(100%, var(--ot-pick-max-width, 680px));
  max-width: var(--ot-pick-max-width, 680px);
  height: auto;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  overflow: visible;
  clear: both;
  background-color: #fff;
  border: 1px solid #d8d3cc;
  color: #111;
  box-shadow: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-image-right .ot-block-editors-pick__media {
  order: 2;
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-image-right .ot-block-editors-pick__content {
  order: 1;
}

.ot-block-editors-pick,
.ot-block-editors-pick * {
  box-sizing: border-box;
}

.ot-block-editors-pick__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: clamp(.65rem, 1.4vw, 1rem);
  overflow: visible;
  background: var(--ot-pick-media-bg, #f7f7f5);
}

.ot-block-editors-pick__media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.ot-block-editors-pick__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--ot-pick-image-height, 300px);
  min-height: 0;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.ot-block-editors-pick__content {
  min-width: 0;
  width: 100%;
}

.ot-block-editors-pick__eyebrow,
.ot-block-editors-pick__brand,
.ot-block-editors-pick__name,
.ot-block-editors-pick__price {
  max-width: 100%;
  color: inherit;
  text-align: left;
}

.ot-block-editors-pick__eyebrow {
  margin: 0 0 .7rem;
  font-family: var(--font-label, Inter, Arial, sans-serif);
  font-size: .64em;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .68;
}

.ot-block-editors-pick__brand {
  margin: 0 0 .35rem;
  font-family: var(--font-label, Inter, Arial, sans-serif);
  font-size: .72em;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ot-block-editors-pick__name {
  margin: 0 0 .7rem;
  font-family: var(--font-editorial, Georgia, serif);
  font-size: clamp(1.25em, 2vw, 1.7em);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 400;
}

.ot-block-editors-pick__price {
  margin: 0 0 1rem;
  font-family: var(--font-body, Inter, Arial, sans-serif);
  font-size: .88em;
  line-height: 1.35;
  font-weight: 500;
}

.ot-block-editors-pick__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 40px;
  height: auto;
  margin: 0;
  padding: .72rem 1.15rem;
  border: 1px solid var(--ot-pick-button-bg, #111);
  border-radius: var(--ot-pick-button-radius, 0);
  background: var(--ot-pick-button-bg, #111);
  color: var(--ot-pick-button-color, #fff);
  font-family: var(--font-label, Inter, Arial, sans-serif);
  font-size: .64em;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.ot-block-editors-pick__button.is-full-width {
  width: 100%;
}

.ot-block-editors-pick__button.is-disabled {
  cursor: default;
  opacity: .65;
}

.ot-block-editors-pick.button-hover-invert .ot-block-editors-pick__button:not(.is-disabled):hover,
.ot-block-editors-pick.button-hover-lift .ot-block-editors-pick__button:not(.is-disabled):hover,
.ot-block-editors-pick.button-hover-scale .ot-block-editors-pick__button:not(.is-disabled):hover,
.ot-block-editors-pick.button-hover-none .ot-block-editors-pick__button:not(.is-disabled):hover {
  border-color: var(--ot-pick-button-hover-bg, #fff);
  background: var(--ot-pick-button-hover-bg, #fff);
  color: var(--ot-pick-button-hover-color, #111);
}

.ot-block-editors-pick.button-hover-lift .ot-block-editors-pick__button:not(.is-disabled):hover {
  transform: translateY(-3px);
}

.ot-block-editors-pick.button-hover-scale .ot-block-editors-pick__button:not(.is-disabled):hover {
  transform: scale(1.035);
}

.ot-block-editors-pick.has-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, .08);
}

.ot-block-editors-pick.has-ot-animation {
  animation-duration: var(--ot-pick-animation-duration, 650ms);
  animation-delay: var(--ot-pick-animation-delay, 0ms);
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
}

.ot-block-editors-pick.ot-animation-fade-in { animation-name: otPickFadeIn; }
.ot-block-editors-pick.ot-animation-slide-up { animation-name: otPickSlideUp; }
.ot-block-editors-pick.ot-animation-slide-left { animation-name: otPickSlideLeft; }
.ot-block-editors-pick.ot-animation-zoom-in { animation-name: otPickZoomIn; }

@keyframes otPickFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes otPickSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes otPickSlideLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes otPickZoomIn {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 680px) {
  .wp-block-ot-editors-pick.ot-block-editors-pick {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: min(100%, 520px);
    padding: 1rem;
  }

  .wp-block-ot-editors-pick.ot-block-editors-pick.is-image-right .ot-block-editors-pick__media,
  .wp-block-ot-editors-pick.ot-block-editors-pick.is-image-right .ot-block-editors-pick__content {
    order: initial;
  }

  .ot-block-editors-pick__media img {
    max-height: min(var(--ot-pick-image-height, 300px), 240px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ot-block-editors-pick,
  .ot-block-editors-pick *,
  .ot-block-editors-pick.has-ot-animation {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* Standalone vertical presentation. The same card is also reused inside OT carousels. */
.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  width: min(100%, var(--ot-pick-vertical-max-width, 380px));
  max-width: var(--ot-pick-vertical-max-width, 380px);
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__media,
.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__content {
  order: initial;
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__media {
  min-height: 190px;
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__media img {
  max-height: min(var(--ot-pick-image-height, 300px), 320px);
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__button {
  align-self: flex-start;
}

.wp-block-ot-editors-pick.ot-block-editors-pick.is-layout-vertical .ot-block-editors-pick__button.is-full-width {
  align-self: stretch;
}
