:root {
  --kanda--green: #27debf;
  --kanda--light-green: #e9fcf8;
  --kanda--white: #fff;
  --kanda--gray: #f7f9fc;
  --kanda--neutrals: #6c819d;
  --kanda--black: #000;
}

/* Font Declaration */

@font-face {
  font-family: "galanogrotesque-medium";
  src: url("../../assets/fonts/galano_grotesque_medium-webfont.eot");
  src: url("../../assets/fonts/galano_grotesque_medium-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../../assets/fonts/galano_grotesque_medium-webfont.woff2")
      format("woff2"),
    url("../../assets/fonts/galano_grotesque_medium-webfont.woff")
      format("woff"),
    url("../../assets/fonts/galano_grotesque_medium-webfont.ttf")
      format("truetype"),
    url("../../assets/fonts/galano_grotesque_medium-webfont.svg#galanogrotesque-medium")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "galanogrotesque";
  src: url("../../assets/fonts/galano_grotesque-webfont.eot");
  src: url("../../assets/fonts/galano_grotesque-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../../assets/fonts/galano_grotesque-webfont.woff2") format("woff2"),
    url("../../assets/fonts/galano_grotesque-webfont.woff") format("woff"),
    url("../../assets/fonts/galano_grotesque-webfont.ttf") format("truetype"),
    url("../../assets/fonts/galano_grotesque-webfont.svg#galanogrotesque")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

/* GENERAL */
.woocommerce div.product p.price {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

/* Wrapper */

.kanda-finance--wrapper {
  font-family: "galanogrotesque";
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  background-color: var(--kanda--white);
  border: none;
  border-radius: 8px;
  font-family: "galanogrotesque";
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.1);
  width: 90%;
  z-index: 10;
  max-width: 400px;
  transform: translate(-50%, 0);
  transition: transform 0.5s ease;
}

@media (min-width: 992px) {
  .kanda-finance--wrapper {
    transform: translate(-50%, 20px);
    width: 400px;
  }

  .kanda-finance--wrapper.active {
    transform: translate(-50%, 0);
  }
}

.kanda-finance--wrapper.kanda-finance--active {
  display: block;
}

/* Header */

.kanda-finance--header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px;
}

.kanda-finance--header svg {
  z-index: 1;
  width: 90px;
  max-width: 90px;
  height: auto;
}

/* Content */

.kanda-finance--content {
  padding: 0 10px 10px 10px;
}

/* Navigation */
.kanda-finance--navigation {
  position: relative;
  border-radius: 8px;
  background: var(--kanda--light-green);
}

.kanda-finance--navigation ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.kanda-finance--navigation ul > li {
  flex: 1 1 0;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kanda-finance--navigation-link {
  padding: 9px 8px;
  color: var(--kanda--green) !important;
  font-size: 13px;
  font-style: normal;
  text-align: center;
  background-color: transparent !important;
  outline: none !important;
  cursor: pointer;
}

@media (min-width: 992px) {
  .kanda-finance--navigation-link {
    /* padding: 9px 14px; */
    font-size: 14px;
  }
}

.kanda-finance--navigation-link.active {
  color: #fff !important;
  z-index: 2;
}

.kanda-finance--navigation-square {
  position: absolute;
  background: var(--kanda--green);
  height: 100%;
  width: 103px;
  border: none;
  border-radius: 8px;
  left: 0;
  z-index: 2;
  transition: all 400ms ease;
  opacity: 1;
}

/* Blocks */

.kanda-finance--blocks {
  width: 100%;
  margin-top: 15px;
  color: var(--kanda--neutrals);
}

.kanda-finance--block {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
  padding: 0 15px;
}

.kanda-finance--block strong {
  font-family: "galanogrotesque-medium";
}

/* Dropdonw */

.kanda-finance--dropdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #f7f9fc;
  background-color: #f7f9fc;
  padding: 12px 15px;
  border-radius: 8px;
  font-family: "galanogrotesque";
  font-size: 14px;
  color: #6c819d;
  cursor: pointer;
  margin-bottom: 5px;
}

.kanda-finance--dropdown svg {
  transform-origin: center center;
  transition: transform 0.3s ease;
}

.kanda-finance--dropdown svg path {
  stroke: #6c819d;
}

.kanda-finance--dropdown-active svg {
  transform: rotate(180deg);
}

.kanda-finance--list {
  position: absolute;
  display: none;
  height: auto;
  width: 95%;
  overflow: hidden;
  background: var(--kanda--white);
  border: 1px solid #dedfdf;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 15px;
}

.kanda-finance--list-item {
  padding: 8px 5px;
  color: #6c819d;
  background-color: #f7f9fc;
  border: 1px solid #e9fcf8;
  border-radius: 8px;
  margin-bottom: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.kanda-finance--list-item:last-child {
  margin-bottom: 0;
}

.kanda-finance--list-item svg {
  width: 10px;
  height: 10px;
  margin-right: 10px;
}

.kanda-finance--list-active {
  max-height: 400px;
  visibility: visible;
  z-index: 23;
}

.kanda-finance--list-item.active,
.kanda-finance--list-item:hover {
  background-color: #e9fcf8;
  border: 1px solid #27debf;
  color: #27debf;
}

.kanda-finance--list-item.active svg path,
.kanda-finance--list-item:hover svg path {
  stroke: #27debf;
}

/* Results */

.kanda-finance--results {
  padding: 15px;
  display: none;
}

.kanda-finance--result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.kanda-finance--result:last-child {
  margin-bottom: 0;
}

.kanda-finance--result p {
  margin: 0;
  color: #6c819d;
  font-size: 14px;
}

.kanda-finance--result .title {
  font-family: "galanogrotesque";
}

.kanda-finance--result .price {
  font-family: "galanogrotesque-medium";
}

/* Price */

.kanda-finance--price {
  display: inline-block;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
}

.kanda-finance--price-container {
  display: -webkit-inline-box;
  align-items: center;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  margin: auto 0;
  position: relative;
  margin-left: 15px;
  padding: 5px 0 5px 15px;
}

.kanda-finance--price-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--kanda--green);
  border-radius: 8px;
}

.kanda-finance--price-monthly {
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 20px;
  line-height: 30px;
}

.kanda-finance--price-apr {
  font-size: 8px !important;
  line-height: 8px;
}

.kanda-finance--price-arrow {
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.kanda-finance--price.active .kanda-finance--price-arrow {
  transform: rotate(180deg);
}

#kanda-finance--deposit-list {
  z-index: 5;
}

@media (max-width: 767px) {
  .kanda-finance--list {
    width: 94%;
  }
}

#kanda-finance--deposit > h5 {
  margin-bottom: 8px;
  font-size: 14px;
  padding: 0 15px;
  color: var(--kanda--neutrals);
  font-family: "galanogrotesque-medium";
}

#kanda-finance--loan > h5 {
  margin-bottom: 8px;
  font-size: 14px;
  padding: 0 15px;
  color: var(--kanda--neutrals);
  font-family: "galanogrotesque-medium";
}
