.smx-mixmarket-banner, .smx-mixmarket-banner * { box-sizing: border-box; }
body.cms-index-index .sm-home > .smx-mixmarket-banner { margin-block: 0; }
.smx-mixmarket-banner {
  --blue: #1f12a8;
  --yellow: #ffb057;
  --orange: #f97a3b;
  --peach: #ffd09a;
  --border: #d7d2f5;
  --panel: #180e89;
  --cta: #ffa62d;
  --text: #191348;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  color: var(--blue);
}
.smx-mixmarket-banner :focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.smx-mixmarket-banner .options {
  display: grid;
  align-content: center;
  --option-gap: clamp(11px, 1.45vw, 20px);
  gap: var(--option-gap);
  padding: clamp(22px, 3vw, 44px) clamp(12px, 1.5vw, 21px)
           clamp(22px, 3vw, 44px) clamp(22px, 2.65vw, 40px);
}
.smx-mixmarket-banner .option-cards {
  display: grid;
  grid-auto-rows: 1fr;
  gap: var(--option-gap);
}
.smx-mixmarket-banner .tile {
  display: grid;
  grid-template-columns: minmax(0, 39%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 120px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}
.smx-mixmarket-banner .tile:hover { color: var(--text); text-decoration: none; }
.smx-mixmarket-banner .tile:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.smx-mixmarket-banner .tile-media {
  position: relative;
  aspect-ratio: 3 / 2;
  min-width: 0;
  background: #ffe4d3;
}
.smx-mixmarket-banner .tile-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.smx-mixmarket-banner .combustible .tile-media { background: #d8d8fa; }
.smx-mixmarket-banner .combustible .tile-photo {
  object-fit: cover;
  object-position: center 54%;
}
@media (max-width: 400px) {
  .smx-mixmarket-banner .combustible .tile-photo { object-fit: contain; }
}
.smx-mixmarket-banner .tile-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px clamp(11px, 2vw, 28px);
  text-align: left;
}
.smx-mixmarket-banner .tile-title strong { font-size: clamp(15px, 1.4vw, 19px); line-height: 1.2; }
.smx-mixmarket-banner .tile-title span { font-size: clamp(12px, 1.02vw, 14px); line-height: 1.4; }
.smx-mixmarket-banner .notice {
  display: flex;
  gap: clamp(8px, 1.1vw, 16px);
  align-items: flex-start;
  margin: 2px 0 0;
  padding: 12px clamp(12px, 1.6vw, 22px);
  border-radius: 16px;
  background: #ffead9;
  color: #77310f;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
}
.smx-mixmarket-banner .info { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid; border-radius: 50%; font-weight: 750; }
.smx-mixmarket-banner .intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(9px, 1vw, 14px);
  min-width: 0;
  padding: clamp(20px, 2.3vw, 33px) clamp(24px, 3.5vw, 50px)
           clamp(26px, 3.3vw, 48px) clamp(30px, 5vw, 72px);
  border-radius: 12% 0 0 12% / 52% 0 0 52%;
  background: linear-gradient(149deg, var(--blue), var(--panel) 66%);
  color: #fff;
}
.smx-mixmarket-banner .intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 30%, #5945e940 0 4.2%, transparent 4.4%),
    radial-gradient(circle at 24% 37%, #5945e933 0 3.8%, transparent 4%),
    radial-gradient(circle at 6% 43%, #5945e933 0 3.8%, transparent 4%),
    radial-gradient(circle at 13% 55%, #5945e940 0 4%, transparent 4.2%),
    radial-gradient(ellipse at -26% 54%, #10076845 0 63%, transparent 63.3%);
  pointer-events: none;
}
.smx-mixmarket-banner .gift-card { position: relative; align-self: flex-end; margin: 4px 5px 8px 0; }
.smx-mixmarket-banner .gift-rays, .smx-mixmarket-banner .gift-rays::before, .smx-mixmarket-banner .gift-rays::after { position: absolute; height: 4px; width: 22px; border-radius: 9px; background: var(--orange); pointer-events: none; }
.smx-mixmarket-banner .gift-rays { top: 12px; left: -23px; transform: rotate(35deg); }
.smx-mixmarket-banner .gift-rays::before, .smx-mixmarket-banner .gift-rays::after { content: ""; }
.smx-mixmarket-banner .gift-rays::before { top: -9px; left: 8px; transform: rotate(25deg); }
.smx-mixmarket-banner .gift-rays::after { top: 9px; left: -4px; transform: rotate(-24deg); }
.smx-mixmarket-banner .gift-flip {
  display: block;
  width: clamp(156px, 18vw, 238px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  perspective: 700px;
  transform: rotate(9deg);
}
.smx-mixmarket-banner .gift-flip__rotor { position: relative; display: block; aspect-ratio: 1600/1035; transform-style: preserve-3d; }
.smx-mixmarket-banner .gift-flip[aria-expanded=true] .gift-flip__rotor { transform: rotateY(180deg); }
.smx-mixmarket-banner .gift-flip__rotor > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #ffffffa8;
  border-radius: 9px;
  backface-visibility: hidden;
  box-shadow: 0 5px 12px #0d063060;
}
.smx-mixmarket-banner .gift-art { display: block; object-fit: contain; background: var(--blue); }
.smx-mixmarket-banner .gift-flip__back {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: clamp(7px, 1vw, 12px);
  background: var(--blue);
  color: #fff;
  font-size: clamp(10px, .95vw, 14px);
  line-height: 1.16;
  text-align: left;
  transform: rotateY(180deg);
}
.smx-mixmarket-banner .gift-flip__title { color: var(--peach); font-weight: 750; }
.smx-mixmarket-banner .gift-flip__row, .smx-mixmarket-banner .gift-flip__label { display: flex; align-items: center; gap: 4px; }
.smx-mixmarket-banner .gift-flip__row { justify-content: space-between; padding-top: 4px; border-top: 1px solid #ffffff50; }
.smx-mixmarket-banner .gift-flip__icon { display: grid; place-items: center; flex: none; width: 13px; color: var(--peach); }
.smx-mixmarket-banner .gift-flip__icon svg { width: 100%; }
.smx-mixmarket-banner .gift-flip__row strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.smx-mixmarket-banner .intro h2 { margin: 0; color: inherit; text-transform: none; max-width: 24ch; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.1; font-weight: 800; letter-spacing: -.045em; }
.smx-mixmarket-banner .intro h2::after { content: ""; display: block; width: 112px; max-width: 40%; height: 5px; border-radius: 8px; margin-top: 14px; background: var(--cta); }
.smx-mixmarket-banner .intro p { max-width: 580px; margin: 0; font-size: clamp(14px, 1.18vw, 16px); line-height: 1.4; }
.smx-mixmarket-banner .recharge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  min-width: min(208px, 100%);
  margin-top: 5px;
  max-width: 100%;
  padding: 8px clamp(15px, 1.65vw, 22px);
  border-radius: 999px;
  background: var(--cta);
  color: var(--blue);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}
.smx-mixmarket-banner .recharge:hover { background: var(--peach); color: var(--blue); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .smx-mixmarket-banner .gift-flip__rotor { transition: transform .45s ease; }
}
@media (hover: hover) and (pointer: fine) {
  .smx-mixmarket-banner .tile:hover { border-color: var(--blue); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .smx-mixmarket-banner .tile { transition: transform .18s ease, box-shadow .18s ease; }
  .smx-mixmarket-banner .tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px #1f12a81a;
  }
}
@media (max-width: 780px) {
  .smx-mixmarket-banner { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .smx-mixmarket-banner .options { --option-gap: 9px; padding: 14px; }
  .smx-mixmarket-banner .intro { order: -1; padding: 17px 19px 21px; border-radius: 0 0 20px 20px; }
  .smx-mixmarket-banner .intro h2 { max-width: 28ch; font-size: clamp(22px, 4.1vw, 28px); }
  .smx-mixmarket-banner .intro p { font-size: 14px; }
  .smx-mixmarket-banner .gift-flip { width: clamp(156px, 28vw, 184px); }
  .smx-mixmarket-banner .tile { min-height: 101px; }
  .smx-mixmarket-banner .tile-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .smx-mixmarket-banner .options { padding: 10px; }
  .smx-mixmarket-banner .tile { border-radius: 10px; }
  .smx-mixmarket-banner .notice { padding: 9px; }
}
