#form-container.flex-col-container {
  position: relative;
  margin: -5px 0 -5px;
  padding: 0;
  width: 100%;
  max-width: initial;
}

#form-container::after {
  display: none !important;
}

#form-box {
  margin: 0;
  padding: 2rem 0 3rem;
  width: 100%;
  max-width: initial;
  background-color: #ececec;
  box-sizing: border-box;
  overflow: hidden;

  transform: scale(1);
}

#form-box > h3 {
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 0 2rem;
}

.flex-col-container {
  display: flex;
  flex-flow: column;

  margin: auto;
  padding: 3rem 2rem 3rem;
  max-width: 600px;
}

.flex-align-center {
  align-items: center;
}

.button {
  display: block;
  padding: 0.75rem 2rem;
  margin: 1rem auto 0;
  max-width: fit-content;

  color: #fff !important;
  font-size: 1rem;
  font-weight: bold;

  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);

  background-color: #eec372;
  border-radius: 0.5rem;
  transition: all 300ms;
}

.button:hover {
  transform: scale(1.1);
  filter: brightness(105%);
}

/*========================================

Estilizações lotes
==========================================*/

#lotes.flex-col-container {
  max-width: 800px;
  padding: 2rem 0rem 2rem;
}

#lotes > h3 {
  margin-block-start: 0;
  margin-block-end: 3rem;
}

/* #lotes > h3 > span {
  font-weight: normal;
  font-size: 1rem;
} */

#lotes > .lote-wrapper {
  display: flex;
  flex-flow: row wrap;
  align-items: center;

  gap: 3rem;
}

.lote-wrapper > .lote-container {
  --container-main-color: #302d32;
  position: relative;
  padding: 2.5rem;
  width: 360px;
  color: var(--container-main-color);
  background-color: #fff;

  border-radius: 6px;
  /* box-shadow: 0 0 35px rgba(243, 206, 70, 0.5); */
  box-sizing: border-box;
}

.lote-container:has(a.button[disabled="true"])::before {
  content: 'ENCERRADO';

  position: absolute;
  left: calc(100% / 4);
  top: -1em;

  font-size: 1.25rem;
  text-align: center;

  box-sizing: border-box;
  background-color: var(--container-main-color);
  color: white;
  font-weight: bold;
  border-radius: 4px;

  width: calc(100% / 2);
  padding-block: .2em;
}

.lote-container > .lote-header {
  position: relative;
  left: -20%;

  width: max-content;
  max-width: 140%; /* No max 100% de width considerando o deslocamento para esquerda + 40% */
  padding-block: 1rem 1.2rem;
  padding-inline: 1.5rem;

  text-align: left;
  background-color: var(--container-main-color);
}

.lote-container > .lote-header::before {
  content: '';
  background-color: var(--container-main-color);

  position: absolute;
  top: 6px;
  left: 0;

  height: 100%;
  width: 10px;
  z-index: -1;

  transform: skew(0, 45deg);
  filter: brightness(40%);
}

.lote-container > .lote-header > p {
  font-size: 1.5rem;
  color: #FCB427;
  margin-block: 0 .25em;
}

.lote-container > .lote-header > span {
  font-size: 16px;
  color: #fff;
  font-weight: 600;

  display: inline-block;
  width: 100%;
}

.lote-container > .lote-header > span > b {
  font-size: 1.1em;
}

.lote-container > .lote-header > span > b:first-of-type {
  margin-inline-end: .25em;
}

.lote-container > .lote-desconto {
  text-align: center;
  width: 100%;

  font-size: 1.35rem;
  font-weight: bold;
  margin-block-start: 2rem;

  transform: scale(1.2);
}

.lote-container > .lote-desconto > span {
  display: block;
  font-weight: 600;
}

.lote-container > .lote-desconto > span:last-of-type {
  font-size: .8em;
}

.lote-container > .lote-desconto > span:last-of-type > b {
  margin-inline: .25em;
  font-weight: inherit;
}

.lote-container > .lote-desconto .tachar-red {
  text-decoration: line-through;
  text-decoration-color: red;
  text-decoration-thickness: 2px;
}

/* .lote-container > .integral-price, */
.lote-container > .lote-price {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  /* margin-block-start: 2.4rem; */
  margin-block-start: 2rem;
}
/*
.integral-price > .de-por-tag,
.lote-price > .de-por-tag {
  position: absolute;
  left: 0;
  top: -1em;
  font-weight: 600;
} */

/* .lote-container > .integral-price {
  font-size: 2.4rem;
  opacity: .6;
} */

/* .lote-container > .integral-price::before {
  content: '';
  width: 100%;
  height: 2px;

  position: absolute;
  top: 25%;
  left: -5%;

  background-color: red;
  transform: rotateZ(15deg) skewY(-5deg);
} */

/* .integral-price > .de-por-tag {
  font-size: .6em;
} */

/* .integral-price > .lote-parcelas,
.integral-price > .lote-cents {
  font-weight: bold;
} */

/* .integral-price > .lote-parcelas {
  line-height: 2.4;
  font-size: calc(1.5em / 3);
  margin-inline-end: 5px;
}

.integral-price > .lote-valor {
  line-height: .85;
  font-weight: 600;
} */

.lote-container > .lote-price {
  font-weight: bold;
  font-size: 4.5rem;
  opacity: 1;
}

/* .lote-price > .de-por-tag {
  font-size: .4em;
  top: -1.2em;
} */

.lote-price > .lote-parcelas {
  /* text-align: right; */
  margin-right: 5px;
}

.lote-price > .lote-valor {
  /* font-size: 4.5rem; */
  font-size: 3.2rem;
  line-height: .8;
}

/* .integral-price > .lote-cents, */
/* .lote-price > .lote-cents, */
.lote-price > .lote-parcelas {
  /* font-size: calc(1em / 3); */
  font-size: .5em;
}

.lote-container > .lote-participar {
  position: relative;
}

.lote-participar > span {
  display: block;
  margin: 2rem 0;
  text-align: center;
}

.lote-participar > a.button {
  text-shadow: none;
  text-transform: none;
  font-size: 1.5rem;

  display: block;
  max-width: initial;
  color: var(--container-main-color) !important;

  margin-block-start: 1.6rem;
  padding: 1rem 0 1.2rem;
  background-image: linear-gradient(to right, #E9A829, #F3CF46);
}

.lote-participar > a.button[disabled="true"] {
  background-image: none;
  filter:
    grayscale(100%)
    brightness(90%)
    opacity(40%);
}

a.button[disabled="true"]:hover {
  transform: none;
  cursor: default;
}

.lote-participar > a.button > span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
}

.lote-participar > span.no-replay {
  margin-bottom: 0;
}

.lote-participar > a.button > code {
  position: relative;
  top: -3px;
  font-weight: normal;
  font-size: 1.3rem;
}

.scrollable-row-wrap {
  display: flex;
  flex-flow: row nowrap;

  width: min-content;
  height: 100%;

  position: relative;
  transition: left 320ms ease-in-out;
}

.scrollable-row-wrap.first-item {
  left: 0;
}

.scrollable-row-wrap.second-item {
  left: -100vw;
}

.scrollable-row-wrap > .scroll-item {
  box-sizing: border-box;
  min-width: 100vw;
}

/* .scrollable-row-wrap > .scroll-item.scroll-hidden {
  max-height: 900px;
} */

.scroll-item > h3 {
  margin-block-start: 0;
  margin-block-end: 3rem;
}


.scroll-item > h3 > span:not(#lote-mes) {
  font-weight: normal;
  font-size: 1rem;
}

.scroll-item div[class$="-wrapper"] {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

.scroll-item > h3 > span:not(#lote-mes) {
  font-weight: normal;
  font-size: 1rem;
}

.scroll-item div[class$="-wrapper"] {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

#lotes > #back-action {
  cursor: pointer;
  position: relative;
  top: -136px;
  left: calc(-7.5 * 36px);

  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;

  transition-property: background-color, border-radius;
  transition-duration: 200ms;
  border-radius: 25%;
}

#lotes > #back-action:hover {
  border: 0;
  border-radius: 50%;
  background-color: rgba(180, 180, 180, 0.15);
}

#back-text {
  display: none;
  text-decoration: underline;

  opacity: .40;
}

#back-text:hover {
  opacity: .7;
}

#back-icon {
  pointer-events: none;
  width: 100%;
  aspect-ratio: 1/1;
}

#back-icon > path {
  fill:rgba(0, 0, 0, 0.8);
  transform: scale(1.5);
}

/*========================================

Estilizações proxs eventos
==========================================*/

#prox-eventos.flex-col-container {
  padding: 0;
  margin: auto 0;
  max-width: none;
}

.eventos-wrapper {
  gap: 2rem;
}

.eventos-wrapper .evento-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;

  width: 240px;
  padding: 2rem;
  background-image: linear-gradient(to right, #E9A829, #F3CF46);

  /* caracteristicas de botao */
  cursor: pointer;
  margin: 0;

  font-size: 1rem;
  font-weight: normal;
  text-align: center;

  border-radius: 0.25rem;
  transition-property: transform, filter;
  transition-duration: 300ms;
}

.eventos-wrapper .evento-container:hover {
  transform: scale(1.05);
  filter: brightness(105%);
}

.eventos-wrapper .evento-container:not(.evento-finalizado)::after {
  content: 'Um momento...';
  position: absolute;
  top: -1.5em;

  font-weight: bold;
  background-color: transparent;
  color: black;

  box-sizing: border-box;
  width: 75%;

  opacity: 0;
  transition: opacity 240ms ease-out;
}


.eventos-wrapper .evento-container.evento-carregando {
  user-select: none;
  pointer-events: none;
  cursor: progress;
  position: relative;
}

.eventos-wrapper .evento-container.evento-carregando::after {
  opacity: 1;
}

.eventos-wrapper .evento-container.evento-finalizado {
  user-select: none;
  pointer-events: none;
  cursor: default;

  transform: scale(0.9);
  opacity: .7;
  background-image: none;
  background-color: #33333330;
}

.eventos-wrapper .evento-container.evento-finalizado::after {
  content: 'ENCERRADO';
  position: absolute;
  bottom: -8%;

  font-weight: bold;
  background-color: black;
  color: white;

  box-sizing: border-box;
  width: 75%;
  border-radius: 4px;
  padding: 2px 0;
}

.eventos-wrapper .evento-container > h1 {
  color: var(--formbox-main-color);
  margin-block-start: 0;
  margin-block-end: 0;
}

.eventos-wrapper .evento-container > h1 > span {
  display: block;
  font-weight: normal;
  font-size: 1rem;
  margin: 1rem 0 0;
}



/*========================================

Estilizações telas menores
==========================================*/

@media screen and (max-width: 775px) {
  #lotes > .lote-wrapper {
    width: min-content;
  }
}

@media screen and (max-width: 700px) {
  .lote-wrapper > .lote-container {
    flex: 1;
  }

  body > section:first-of-type > img {
    object-fit: cover;
    height: 200vh;
  }

  body > section:last-of-type > img {
    object-fit: cover;
    height: 35vh;
  }
}


@media screen and (max-width: 550px) {
  #lotes > #back-action {
    width: auto;
    top: -2rem;
    left: initial;
  }

  #lotes > #back-action:hover {
    border: 0;
    border-radius: initial;
    background-color: initial;
  }
  #lotes > #back-action #back-icon {
    display: none;
  }

  #lotes > #back-action #back-text {
    display: initial;
    margin: 1rem 0;
  }
}
