/* GearedFinance WooCommerce */
.gf-wc-modal-content {
  position: relative;
  width: auto;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  /* width: 100%; */
  display: flex;
  align-items: center;
  position: relative;
  /* height: 100%; */

}

.gf-wc-widget {
  margin: 10px 0
}

.gf-wc-text {
  font-size: medium;
  font-style: inherit;
  font-weight: inherit;
  margin-top: 10px;
  margin-bottom: 2px;
}

.gf-wc-text strong {
  font-weight: 800
}

.gf-wc-logo-wrap {
  align-items: center;
}

.gf-wc-logo-wrap .gf-wc-logo {
  width: auto;
  height: 30px !important;
  display: block
}

.gf-wc-logo-link {
  text-decoration: none;
}
.gf-wc-logo-link:hover {
  color: inherit;
}

.gf-wc-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding-right: 15px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10020;
  overflow: auto;
  border-radius: 8px;
  margin: 0;
  padding-right: 15px;
  padding: 20px;
  align-items: center;
}

.gf-wc-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .6)
}

.gf-wc-modal__content {
  position: relative;
  max-width: 900px;
  margin: 4% auto;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2)
}

.gf-wc-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  line-height: 1
}

.gf-wc-no-scroll {
  overflow: hidden
}

.gf-modal-open {
  overflow: hidden;
  padding-right: 10px;
}

.gf-wc-close {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
  background-color: #fff;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  line-height: 26px;
}

.gf-wc-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* .gf-wc-iframe-container iframe > html{overflow: hidden;} */
.gf-wc-iframe-container {
  /* flex: 1; */
  /* display: flex;   */
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  overflow-y: auto;
  position: relative;
  border-radius: 8px;
}

#gf-iframe {
  width: 100%;
  border: 0;
}

.gf-small-info {
  position: relative;
  font-size: 20px;
}

.gf-small-info em {
  display: inline-flex;
  cursor: pointer;
}

.gf-small-info .gf-tooltip {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  max-width: 200px;
  background-color: #212121;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 999;
  top: 90%;
  /* below the icon */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  font-size: 13px;
}

.gf-small-info em:hover+.gf-tooltip {
  visibility: visible;
  opacity: 1;
}

.lower-div .container {
  max-width: 1320px;
}

.gf-wc-widget.gf-cart-widget .gf-wc-logo-wrapper .gf-wc-logo-wrap .gf-wc-logo {
  height: 21px !important;
}

.gf-wc-widget.gf-cart-widget .gf-wc-logo-wrapper .gf-wc-text {
  font-size: 14px;
  margin: 0;
}

@media (min-width: 576px) {
  .gf-wc-modal-content {
    margin: 1.75rem auto;
    min-height: calc(100% - (1.75rem * 2));
  }
}

@media(max-width: 1023px) {
  .gf-wc-modal {
    overflow: auto;
  }
}

@media(max-width: 767px) {
  .gf-wc-close {
    right: 5px;
  }

  .gf-small-info .gf-tooltip {
    left: auto;
    transform: none;
    right: 0;
  }

  .gf-wc-widget.gf-cart-widget .gf-wc-logo-wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
  }

  .gf-wc-widget.gf-cart-widget .gf-wc-logo-wrapper .gf-wc-logo-wrap {
    order: 1;
  }

  .gf-wc-widget.gf-cart-widget .gf-wc-logo-wrapper .gf-wc-text {
    order: 3;
  }

  .gf-wc-widget.gf-cart-widget .gf-wc-logo-wrapper .gf-small-info {
    order: 2;
  }
}