.mm-permanent {
  --mm-ink: var(--supermix-purple, #1f12a8);
  --mm-orange: #f97330;
  width: 100%;
  max-width: 1552px;
  margin: clamp(20px, 2.5vw, 42px) auto var(--fress-section-gap, 48px);
}
.mm-permanent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 2.7vw, 48px);
  padding: clamp(20px, 2.4vw, 36px) clamp(16px, 1.95vw, 30px);
  border: 1px solid #ffe0b7;
  border-radius: clamp(18px, 2vw, 28px);
  background: linear-gradient(120deg, #fff, #fbfaff);
  box-shadow: 0 16px 32px -18px rgba(31,18,168,.34), 0 3px 12px rgba(31,18,168,.06);
}
.mm-permanent__scenes {
  position: relative;
  min-width: 0;
  aspect-ratio: 1120 / 562;
  overflow: hidden;
  border-radius: clamp(10px, 1.7vw, 23px);
  container-type: inline-size;
}
.mm-permanent__scene-reference {
  position: absolute;
  top: -11.3879%;
  left: -5.1786%;
  width: 182.8571%;
  max-width: none;
  height: auto;
  display: block;
}
.mm-permanent__gas {
  position: absolute;
  inset: 0 auto 0 27.75%;
  width: 41.95%;
  overflow: hidden;
  clip-path: polygon(32% 0, 95% 0, 98% 1%, 99.5% 3%, 100% 5.5%, 74% 95%,
    72.5% 97.4%, 69.5% 99.3%, 66.5% 100%, 4.5% 100%, 2% 99%, .5% 97.1%, 0 94.8%,
    26% 6%, 27.5% 3.2%, 29.5% 1.3%);
  background: #e3d7c8;
}
.mm-permanent__gas img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* All three labels use the same baseline, independent of the photo angles. */
.mm-permanent__scene-label {
  position: absolute;
  top: 6.5%;
  left: var(--mm-label-center);
  width: max(22%, 70px);
  height: 10.5%;
  transform: translateX(-50%);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: .85cqi;
  padding-inline: 1.25cqi;
  box-sizing: border-box;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(22, 23, 66, .12);
  color: var(--mm-ink);
  font: 750 clamp(8px, 2.02cqi, 19px)/1.2 var(--supermix-font, "Century Gothic", "Avenir Next", "Open Sans", Arial, sans-serif);
  white-space: nowrap;
}
.mm-permanent__scene-label--fuel { --mm-label-center: 18.3%; }
.mm-permanent__scene-label--gas { --mm-label-center: 53.4%; }
.mm-permanent__scene-label--markets { --mm-label-center: 84.3%; }
.mm-permanent__scene-label svg {
  display: block;
  width: 3.7cqi;
  height: 3.7cqi;
  flex: none;
  fill: none;
  stroke: var(--mm-orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mm-permanent__copy {
  min-width: 0;
  color: var(--mm-ink);
  font-family: var(--supermix-font, "Century Gothic", "Avenir Next", "Open Sans", Arial, sans-serif);
}
.mm-permanent__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.mm-permanent__card-wrap {
  position: relative;
  flex: 0 0 auto;
  width: clamp(146px, 14vw, 205px);
  margin-inline-end: 8px;
  container-type: inline-size;
  transform: rotate(10deg);
}
.mm-permanent__card-rays {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: calc(100% + 3px);
  width: clamp(24px, 19cqi, 39px);
  height: auto;
  color: var(--mm-orange);
  transform: rotate(-10deg);
  pointer-events: none;
}
.mm-permanent__card,
.mm-card-flip__back { box-shadow: 2px 5px 10px rgba(31,18,168,.22); }
.mm-permanent__card {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  image-rendering: auto;
}
#tarjeta-mixmarket .mm-card-flip {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  text-transform: none;
}
.mm-card-flip:focus-visible { outline: 3px solid #F97A3B; outline-offset: 5px; }
.mm-card-flip__rotor {
  display: grid;
  pointer-events: none;
}
.mm-card-flip[aria-expanded="true"] .mm-permanent__card,
.mm-card-flip__back[aria-hidden="true"] { visibility: hidden; }
.mm-card-flip__rotor > * {
  grid-area: 1 / 1;
}
.mm-card-flip__back {
  display: grid;
  align-content: center;
  gap: clamp(2px, 1.5cqi, 6px);
  box-sizing: border-box;
  padding: clamp(5px, 3.7cqi, 12px);
  border: 1px solid #ffb057;
  border-radius: 7px;
  background: radial-gradient(ellipse at 0 0, rgba(249,122,59,.19), transparent 61%), linear-gradient(140deg, #3023bd, var(--mm-ink) 55%);
  color: #fff;
  font-size: clamp(8px, 6.5cqi, 13px);
  line-height: 1.15;
  text-align: start;
}
.mm-card-flip__title {
  color: #FFD09A;
  font-size: clamp(9px, 7.5cqi, 15px);
  font-weight: 750;
}
.mm-card-flip__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45em;
  padding-top: clamp(3px, 1.4cqi, 8px);
  border-top: 1px solid rgba(255,255,255,.25);
}
.mm-card-flip__label { display: flex; align-items: center; gap: clamp(4px, 1.8cqi, 9px); min-width: 0; }
.mm-card-flip__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(11px, 9cqi, 17px);
  aspect-ratio: 1;
  border-radius: 24%;
  background: rgba(249,122,59,.16);
  color: #FFD09A;
}
.mm-card-flip__icon svg { display: block; width: 72%; height: 72%; }
.mm-card-flip__row strong { color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
#tarjeta-mixmarket .mm-permanent__copy h2 {
  margin: 0 0 14px;
  color: var(--mm-ink);
  font-size: clamp(25px, 2.8vw, 46px);
  line-height: 1.09;
  font-weight: 800;
  letter-spacing: -.028em;
}
.mm-permanent__copy p {
  margin: 0 0 19px;
  max-width: 57ch;
  color: var(--mm-ink);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.53;
}
#tarjeta-mixmarket .mm-permanent__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  box-sizing: border-box;
  min-height: 54px;
  min-width: 216px;
  padding: 10px 24px;
  border: 1px solid #4136c2;
  border-radius: 10px;
  box-sizing: border-box;
  background: linear-gradient(120deg, #3023bd, var(--mm-ink));
  box-shadow: 0 6px 13px rgba(31,18,168,.24);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
}
#tarjeta-mixmarket .mm-permanent__cta:focus-visible {
  outline: 2px solid var(--mm-ink);
  outline-offset: 4px;
}
.mm-permanent__cta-arrow { font-size: 20px; line-height: 1; }
@media (max-width: 1020px) {
  .mm-permanent__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mm-permanent__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 470px) {
  .mm-permanent__card-wrap { width: clamp(102px, 30vw, 136px); }
}
