.pagamentos__root {
  box-sizing: border-box;
  width: calc(100% - 16px);
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  margin-bottom: 8px;
  --font-primary: 'Proxima Nova A', -apple-system, 'Roboto', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  --pagamentos-color-brand-fill: #ffe600;
  --pagamentos-color-text-primary: #282834;
  --pagamentos-color-text-inverse: #ffffff;
  --pagamentos-stage-h: min(712px, 90svh);
  --andes-color-accent: #3483fa;
}

.pagamentos__track {
  display: contents;
}

.pagamentos__carousel {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 20px;
  overflow: hidden;
  min-height: var(--pagamentos-stage-h);
  background-image: url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-mobile-1x--344x712--f9075572.webp');
  background-image: image-set(url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-mobile-1x--344x712--f9075572.webp') 1x, url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-mobile-1-5x--516x1068--dbfe8ebb.webp') 1.5x, url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-mobile-2x--688x1424--4412e5bc.webp') 2x);
  background-size: cover;
  background-position: center top;
}

.pagamentos__column--left {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pagamentos__title-container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  height: 344px;
  background-color: transparent;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.pagamentos__title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1;
  font-size: 32px;
  letter-spacing: -1.28px;
  color: var(--pagamentos-color-text-inverse);
  font-feature-settings: "salt" 1, "calt" 0;
}

.pagamentos__break {
  display: none;
}

.pagamentos__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--pagamentos-color-text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.pagamentos__cta:hover {
  filter: brightness(0.95);
}

.pagamentos__cta:active {
  transform: scale(0.98);
}

.pagamentos__cta:focus-visible {
  outline: 2px solid var(--andes-color-accent, #3483fa);
  outline-offset: 2px;
}

.pagamentos__cards {
  position: relative;
  z-index: 2;
  flex: 0 0 344px;
  height: 344px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  list-style: none;
  margin: 0 -8px 0 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pagamentos__cards::-webkit-scrollbar {
  display: none;
}

.pagamentos__card {
  position: relative;
  flex: 0 0 95%;
  min-width: 95%;
  box-sizing: border-box;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--pagamentos-color-brand-fill);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease-out;
  user-select: none;
}

.pagamentos__card-image {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagamentos__image {
  width: 100%;
  height: 100%;
  max-width: 591px;
  object-fit: contain;
  border-radius: 8px;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.pagamentos__card-text {
  box-sizing: border-box;
  width: 100%;
}

.pagamentos__text {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1;
  font-size: 24px;
  letter-spacing: -0.96px;
  color: var(--pagamentos-color-text-primary);
  font-feature-settings: "salt" 1, "calt" 0;
}

@media (max-width: 767px) {
  .pagamentos__root {
    --pagamentos-stage-h: 712px;
  }

  .pagamentos__column--left {
    flex: 1 1 auto;
    min-height: 0;
  }

  .pagamentos__title-container {
    flex: 1 1 auto;
    height: auto;
    padding: 16px;
  }

  .pagamentos__cta {
    height: 40px;
    padding: 2px 16px;
  }

  .pagamentos__cards {
    flex: 0 0 344px;
    height: 344px;
  }

  .pagamentos__card {
    flex: 0 0 248px;
    min-width: 248px;
  }

  .pagamentos__card-image {
    flex: 0 0 190px;
  }

  .pagamentos__image {
    object-fit: cover;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .pagamentos__root {
    --pagamentos-stage-h: 800px;
  }

  .pagamentos__carousel {
    background-image: url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-tablet-1x--752x800--9680adaf.webp');
    background-image: image-set(url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-tablet-1x--752x800--9680adaf.webp') 1x, url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-tablet-1-5x--1128x1200--0f483f34.webp') 1.5x, url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-tablet-2x--1504x1600--14c0632c.webp') 2x);
  }

  .pagamentos__column--left {
    flex: 1 1 auto;
    min-height: 0;
  }

  .pagamentos__title-container {
    flex: 1 1 auto;
    height: auto;
  }

  .pagamentos__cards {
    flex: 0 0 310px;
    height: 310px;
  }

  .pagamentos__break {
    display: inline;
  }

  .pagamentos__cta {
    display: none;
  }

  .pagamentos__title {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .pagamentos__card {
    flex: 0 0 312px;
    min-width: 312px;
  }

  .pagamentos__card-image {
    flex: 0 0 190px;
  }
}

@media (min-width: 1024px) {
  .pagamentos__root {
    --pagamentos-stage-h: max(560px, calc(100svh - 80px));
    margin-top: calc(var(--pagamentos-stage-h) / -0.5 - 40px);
  }

  .pagamentos__track {
    display: block;
    position: relative;
    width: 100%;
    height: calc(var(--pagamentos-stage-h) / 0.3333333333);
  }

  .pagamentos__carousel {
    position: sticky;
    top: 72px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    height: var(--pagamentos-stage-h);
    padding: 0;
    border-radius: 20px;
    background-image: none;
    overflow: hidden;
  }

  .pagamentos__column--left {
    flex: 0 0 calc(50% - 4px);
    min-width: 0;
    overflow: visible;
    border-radius: 20px;
    padding: 32px;
    justify-content: flex-start;
  }

  .pagamentos__column--left::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: calc(200% + 8px);
    height: 100%;
    border-radius: 20px;
    background-image: url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-desktop-1x--1350x712--164b49fc.webp');
    background-image: image-set(url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-desktop-1x--1350x712--164b49fc.webp') 1x, url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-desktop-1-5x--2025x1068--b405a813.webp') 1.5x, url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/pagamentos-v4-desktop-2x--2700x1424--b267e2f2.webp') 2x);
    background-size: cover;
    background-position: left top;
    pointer-events: none;
  }

  .pagamentos__title-container {
    height: 100%;
    justify-content: space-between;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    gap: 32px;
    width: auto;
  }

  .pagamentos__title {
    font-size: 72px;
    letter-spacing: -2.88px;
    color: var(--pagamentos-color-text-inverse);
  }

  .pagamentos__cards {
    flex-direction: column;
    flex: 0 0 calc(50% - 4px);
    height: 100%;
    min-width: 0;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
  }

  .pagamentos__card {
    flex: 0 0 calc(100% - 16px);
    min-width: 0;
    width: calc(100% - 16px);
    min-height: 0;
    margin: 8px;
    padding: 32px;
    gap: 32px;
    scroll-snap-align: none;
  }

  .pagamentos__card-text {
    padding-right: 64px;
  }

  .pagamentos__text {
    font-size: 48px;
    letter-spacing: -1.92px;
  }
}

@media (min-width: 1920px) {
  .pagamentos__title {
    font-size: 88px;
    letter-spacing: -3.52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pagamentos__card {
    transition: none;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .pagamentos__root {
    margin-top: 8px;
  }

  .pagamentos__track {
    height: auto;
  }

  .pagamentos__carousel {
    position: static;
    height: auto;
    align-items: flex-start;
    overflow: visible;
  }

  .pagamentos__column--left {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: var(--pagamentos-stage-h);
  }

  .pagamentos__cards {
    height: auto;
    overflow-x: visible;
    overflow-y: visible;
  }

  .pagamentos__card {
    flex: none;
    height: var(--pagamentos-stage-h);
  }
}
