@font-face {
    font-family: 'galanogrotesque-bold';
    src: url('fonts/galano_grotesque_bold.eot');
    src: url('fonts/galano_grotesque_bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/galano_grotesque_bold.woff2') format('woff2'),
         url('fonts/galano_grotesque_bold.woff') format('woff'),
         url('fonts/galano_grotesque_bold.ttf') format('truetype'),
         url('fonts/galano_grotesque_bold.svg#galano_grotesque_bold') format('svg');
    font-weight:700;
    font-style: normal;
}

@font-face {
    font-family: 'galanogrotesque-medium';
    src: url('fonts/galano_grotesque_medium.eot');
    src: url('fonts/galano_grotesque_medium.eot?#iefix') format('embedded-opentype'),
         url('fonts/galano_grotesque_medium.woff2') format('woff2'),
         url('fonts/galano_grotesque_medium.woff') format('woff'),
         url('fonts/galano_grotesque_medium.ttf') format('truetype'),
         url('fonts/galano_grotesque_medium.svg#galano_grotesque_medium') format('svg');
    font-weight:500;
    font-style: normal;
}

@font-face {
    font-family: 'galanogrotesque';
    src: url('fonts/galano_grotesque.eot');
    src: url('fonts/galano_grotesque.eot?#iefix') format('embedded-opentype'),
         url('fonts/galano_grotesque.woff2') format('woff2'),
         url('fonts/galano_grotesque.woff') format('woff'),
         url('fonts/galano_grotesque.ttf') format('truetype'),
         url('fonts/galano_grotesque.svg#galano_grotesque') format('svg');
    font-weight:400;
    font-style: normal;
}

/* Payment Method styling */
.woocommerce-checkout #payment div.payment_box.payment_method_kanda_gateway::after,
.woocommerce-checkout #payment div.payment_box.payment_method_kanda_gateway::before {
    display: none;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box.payment_method_kanda_gateway {
    padding: 0;
    border: 1px solid #d9d9d9;
    margin-top: 15px;
}

.woocommerce-checkout #payment ul.payment_methods li img {
    max-width: 70px;
    margin-left: 15px;
}

/* Kanda gateway */

#kanda-pg {
    background-color: #fff;
    padding-bottom: 15px;
}

/* Kanda header section */

#kanda-pg--header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d9;
    padding: 15px;
}

#kanda-pg--header h3 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'galanogrotesque-bold';
    color: #0D1B2E;
}

/* Kanda content section */

#kanda-pg--content {
    padding: 15px;
    font-family: 'galanogrotesque';
}

.kanda-pg--content-inner {
    background-color: #f7f9fc;
    padding: 15px;
}

.kanda-pg--content-inner h5 {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family: 'galanogrotesque-bold';
    margin-bottom: 15px;
    color: #0D1B2E;
}

/* Kanda payment plans */

.kanda-pg--payment-plans {
    margin-bottom: 15px;
}

.kanda-pg--payment-plan {
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #e0e7f0;
    padding: 15px;
    margin-bottom: 10px;
    transition: all .3s ease;
    cursor: pointer;
    color: #475A76;
    position: relative;
}

.kanda-pg--payment-plan:hover,
.kanda-pg--payment-plan.active {
    background-color: #e9fcf8;
    border: 1px solid #27debf;
    color: #27debf;
}

.kanda-pg--payment-plan h4 {
    margin: 0;
    padding: 0;
    font-family: 'galanogrotesque-bold';
    font-size: 14px;
    transition: all .3s ease;
    color: #0D1B2E;
}

.kanda-pg--payment-plan p {
    font-weight: 300;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.kanda-pg--payment-plan:hover h4,
.kanda-pg--payment-plan:hover p,
.kanda-pg--payment-plan.active h4,
.kanda-pg--payment-plan.active p {
    color: #1FCCAF;
    transition: all .3s ease;
}

.kanda-pg--payment-plan h5 {
    margin: 0;
    padding: 0;
}

.kanda-pg--payment-check {
    position: absolute;
    top: 50%;
    right: 15px;
    border: 2px solid #e0e7f0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(0, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.kanda-pg--payment-check svg {
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.kanda-pg--payment-plan.active .kanda-pg--payment-check {
    border-color: #27debf;
    background-color: #27debf;
}

.kanda-pg--payment-plan.active .kanda-pg--payment-check svg {
    opacity: 1;
    visibility: visible;
}

/* Kanda deposit section */

#kanda-pg--deposit {
    display: none;
    position: relative;
}

.kanda-pg--amount {
    padding: 0 15px;
    display: none;
}

.kanda-pg--amount-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanda-pg--amount-title h5 {
    font-size: 14px;
    font-family: 'galanogrotesque-medium';
    color: #0D1B2E;
}

.kanda-pg--amount-title h4 {
    color: #1FCCAF;
    font-size: 14px;
}

.kanda-pg--amount-items {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}

.kanda-pg--amount-item {
    border: 1px solid #e1e6f1;
    border-radius: 8px;
    color: #0D1B2E;
    font-size: 12px;
    text-align: center;
    width: calc(20% - 2px);
    padding: 8px;
    font-weight: 500;
    font-family: 'galanogrotesque-medium';
    transition: all .3s ease;
    cursor: pointer;
}

.kanda-pg--amount-item:hover,
.kanda-pg--amount-item.active {
    background-color: #e9fcf8;
    border: 1px solid #27debf;
    color: #27debf;
}

/* Kanda results section */

.kanda-pg--results {
    padding: 15px;
    margin: 0 15px;
    background-color: #f7f9fc;
    margin-bottom: 30px;
    display: none;
}

.kanda-pg--result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.kanda-pg--result:last-child { margin-bottom: 0; }

.kanda-pg--result p {
    margin: 0;
    color: #6C819D;
    font-size: 14px;
    font-family: 'galanogrotesque-medium';
}

/* Kanda info section */

#kanda-pg--info {
    display: none;
    padding: 15px;
    margin: 0 15px 15px 15px;
    background-color: #f0f0ff;
}

#kanda-pg--info h5 {
    color: #4D52FF;
    font-family: 'galanogrotesque-bold';
    font-size: 11px;
    margin: 0;
    text-align: center;
}

/* Kanda dropdown component */

.kanda-pg--dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #27debf;
    background-color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-family: 'galanogrotesque-medium';
    font-size: 12px;
    color: #0D1B2E;
    cursor: pointer;
}

.kanda-pg--dropdown svg {
    transform-origin: center center;
    transition: transform .3s ease;
}

.kanda-pg--dropdown svg path {
    stroke: #27debf;
}

.kanda-pg--dropdown-active svg {
    transform: rotate(180deg);
}

.kanda-pg--list {
    display: none;
    height: auto;
    width: 100%;
    overflow: hidden;
    background: var(--kanda--white);
    border: 1px solid #dedfdf;
    background-color: #fffFFF;
    border-radius: 4px;
    padding: 5px;
}

.kanda-pg--list-item {
    padding: 8px 5px;
    color: #6C819D;
    background-color: #f7f9fc;
    border: 1px solid #e9fcf8;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .3s ease;
}

.kanda-pg--list-item:last-child { margin-bottom: 0; }

.kanda-pg--list-item svg {
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

.kanda-pg--list-active {
    max-height: 400px;
    visibility: visible;
    z-index: 23;
}

.kanda-pg--list-item.active,
.kanda-pg--list-item:hover {
    background-color: #e9fcf8;
    border: 1px solid #27debf;
    color: #27debf;
}

.kanda-pg--list-item.active svg path,
.kanda-pg--list-item:hover svg path {
    stroke: #27debf;
}