.page-checkout {
  margin: 30px 0;

  .promo {
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 11px;
    padding: 10px 0;
    color: var(--azul-1);
    background: rgba(26, 115, 232, 0.02);
    position: relative;
    height: auto;
    border: 1px solid;
    border-radius: 4px;
  }

  .box {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;

    & + .box {
      margin-top: 18px;
    }

    &:not(.box-sidebar) {
      transition: all 0.4s ease;
      transition-property: all;
      transition-duration: 0.4s;
      transition-timing-function: ease;
      transition-delay: 0s;

      h1 {
        font-size: 23px;
        border-bottom: 1px solid rgba(76, 76, 76, 0.3);
        padding-bottom: 10px;
        color: #003e57;
      }

      h2 {
        font-size: 14px;
        padding-bottom: 10px;
        color: #003e57;
        font-weight: normal;
      }

      h3 {
        color: #003e57;
      }

      .quarto:not(:first-child) {
        h2 {
          border-top: 1px solid rgba(76, 76, 76, 0.3);
          padding-top: 20px;
          margin-top: 20px;
        }
      }

      form {
        margin-top: 20px;

        label {
          text-align: left;
          margin: 10px 0;
          color: #878c9f;
          font-weight: 300;
          font-size: 12px;

          span {
            color: #ff0000;
          }
        }

        input {
          border-radius: 4px;
          color: #666;
          border: 1px solid #eee;
        }

        .separator {
          border-top: 1px solid #ccc;
          display: block;
          width: 100%;
          margin: 15px;
        }

        select {
          word-wrap: normal;
          width: 100%;
          height: 40px;
          color: #888;
          border: 1px solid #eee;
          border-radius: 4px;
          padding: 0 15px;
          font-size: 14px;
          margin-bottom: 8px;
        }

        .form-group {
          select {
            width: 60px;
            height: 40px;
            border: 1px solid #eee;
            border-radius: 4px 0 0 4px;
            color: #666;
            opacity: 1;
            padding: 0;

            &::placeholder {
              color: #666;
              opacity: 1;
            }
          }

          input {
            flex: 1;
            width: 100%;
            border-radius: 0 4px 4px 0;
          }
        }
      }

      .meios-pagamento {
        .card {
          border: 0;
          border-radius: 0;

          &:first-child {
            .card-header {
              border-top: 0;
            }
          }

          .card-header {
            background-color: #fff;
            cursor: pointer;
            padding: 1.25rem 0;
            border: 1px solid rgba(0, 0, 0, 0.125);
            border-right: 0;
            border-left: 0;

            &:hover {
              background: #f6f6f6;
            }

            button {
              font-weight: 600;
              line-height: 30px;
              color: #444;
              font-size: 16px;
              text-align: left;

              span {
                color: #00b02e;
              }

              .check {
                display: block;
                width: 20px;
                height: 20px;
                border: 1px solid var(--azul-1);
                border-radius: 50%;
                float: left;
                margin-top: 3.9px;
                margin-right: 10px;

                &.checked {
                  background: var(--azul-1);
                }
              }
            }

            .cartoes {
              float: right;

              img {
                width: 35px;
              }

              li {
                display: inline-block;
                background: #fff;
                border: #888;
                width: 60px;
                height: 30px;
                overflow: hidden;
                text-indent: -9999px;
                background: url(https://dev.infotravel.com.br/b2c/public/images/cards-vertical-default.png);

                &.VI {
                  background-position: center -960px;
                }

                &.VIE {
                  background-position: center -1004px;
                }

                &.CA {
                  background-position: center -1240px;
                }

                &.MAE {
                  background-position: center -3882px;
                }

                &.EL {
                  background-position: center -1646px;
                }

                &.AX {
                  background-position: center -1360px;
                }

                &.DC {
                  background-position: center -1120px;
                }

                &.HC {
                  background-position: center -1600px;
                }

                &.DISC {
                  background-position: center -1840px;
                }

                &.dinheiro {
                  background-position: center -840px;
                }

                &.boleto {
                  background-position: center 5319px;
                }
              }
            }
          }

          .card-body {
            padding: 0;

            .form-pagto {
              margin: 0 0 20px 0;

              ul {
                width: 100%;
                border-bottom: 0;
                margin-bottom: 11px;

                li {
                  display: table-cell;
                  width: 50%;
                  border-bottom: 3px solid #888;
                  background: #f6f6f6;

                  &.current {
                    border-bottom: 3px solid var(--azul-1);
                    background: #fff;
                  }

                  a {
                    width: 100%;
                    display: block;
                    padding: 10px 0;
                    color: #888;
                    text-align: center;
                  }
                }
              }

              .titulo-cartao {
                padding-bottom: 6px;
                color: #183c7d;
                font-size: 15px;
                border-bottom: 1px solid #ececec;
                margin-bottom: 16px;
                text-align: center;
                font-weight: 400;
                font-weight: bold;
              }

              label {
                img {
                  position: absolute;
                  bottom: 18.4px;
                  left: 22px;
                  width: 35px;
                }

                i {
                  position: absolute;
                  color: var(--azul-1);
                  padding-right: 12px;
                  font-size: 14px;
                  left: 31px;
                  top: 47px;
                }
              }

              input.icon {
                padding: 14px 20px 14px 50px;
              }

              .pagto-number {
                width: 100%;
                float: left;
                text-align: left;
                border-bottom: 1px solid #ececec;
                border-top: 1px solid #ececec;
                padding: 27px 0 24px 0;
                margin-bottom: 10px;
              }

              .pagto-number-circle {
                background: var(--azul-1);
                color: #fff;
                box-shadow: 0px 0px 0px 4px rgba(170, 170, 170, 0.27);
                padding: 10px 15px 10px 15px;
                border-radius: 50%;
                margin-right: 10px;
              }
            }
          }
        }
      }

      .form-check {
        padding: 20px 0;
        border: 1px solid #eee;
        border-right: 0;
        border-left: 0;
        display: flex;
        align-items: center;
        margin-top: 20px;

        .form-check-input {
          width: 15px;
          height: 15px;
          left: 21px;
          position: relative;
          display: block;
        }

        .form-check-label {
          padding-left: 29px;
          font-size: 13px;

          b {
            font-weight: bold;
            color: var(--azul-1);
          }
        }
      }

      .msg-alert {
        display: flex;
        align-items: center;

        p {
          margin-top: 20px;
          color: red;
          font-weight: bold;
          font-size: 12px;
        }
      }
    }

    &.box-resumo {
      // background: #f6f6f6;

      .titulo {
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
      }

      ul {
        padding: 15px 0;

        li {
          display: flex;
          justify-content: space-between;
        }
      }

      .total {
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #eee;
        padding-top: 15px;

        strong {
          font-size: 17px;
          font-weight: bold;
        }

        span {
          font-size: 19px;
          font-weight: bold;
          color: var(--azul-1);
        }
      }
    }
  }
}

[data-b2c-valores-checkout-mobile] {
  .box-resumo {

    .titulo {
      text-align: center;
      font-weight: bold;
      font-size: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid #eee;
    }

    ul {
      padding: 15px 0;

      li {
        display: flex;
        justify-content: space-between;
      }
    }

    .total {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #eee;
      padding-top: 15px;

      strong {
        font-size: 17px;
        font-weight: bold;
      }

      span {
        font-size: 19px;
        font-weight: bold;
        color: var(--azul-1);
      }
    }
  }
}
