/*------------------------------------------------------------
ADDRESS BOOK
====================================*/

/* Variables Custom */
$address-btn-text-align: right;
$address-default-bg: $gray-200;
/**************************************/

.action-card {
  text-align: $address-btn-text-align;
}

.default-address {
  background-color: $address-default-bg;
  margin-bottom: 25px;

  .default-address-title {
    display: flex;
    align-items: center;

    .h6 {
      padding-left: 20px;
      margin: 0px;
    }

    .icon-pattern-wrapper {

      svg {
        filter: none;
      }
    }
  }

  .default-address-information {
    display: flex;
    justify-content: space-between;
  }
}

.account-address {
  display: flex;
  margin-bottom: 25px;

  .address-card {
    width: 100%;
  }
}

/* RESPONSIVE */
/***************************************/
@media (max-width: 400px) {
  .address-block {
    .action-card {
      flex-wrap: wrap;

      .default-btn {
        order: 1;
        text-align: center;
        flex: 100%;
      }
    }
  }
}

@include media-breakpoint-down(sm) {
  .default-address {
    margin-top: 25px;

    .default-address-title {
      margin-bottom: 20px;
    }

    .icon-pattern-wrapper {
      svg {
        width: 30px;
        height: 34px;
      }
    }

    .default-address-information {
      display: block;
    }
  }
  .address-block {
    display: block;
  }
  .action-card {
    display: flex;
    justify-content: space-between;
  }
}

@include media-breakpoint-up(md) {
  .account-address-book-header {
    margin-bottom: -10px;
  }
  .action-card {
    margin-left: 15px;
  }
  .default-address-information {
    padding-left: 55px;
  }

  .icon-pattern-wrapper {
    svg {
      width: 40px;
      height: 44px;
    }
  }

}

