.checkout-header {
    padding: 12px 0;
    max-width: 100%;
    border-bottom: 1px solid #f1f1f1;
    text-align: center;
    margin-bottom: 15px;
    background-color: #ffffff;
}
.checkout-header img {
    max-height: 45px;
}

.bg-light {
    background-color: #f8f8f8;
}

.credit-card-form label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.credit-card-form input, .credit-card-form select {
  margin-bottom: 10px;
  padding: 8px;
  font-size: 16px;
  width: 100%;
  border-radius: 0;
  border: 1px solid #dcdcdc;
  outline: none;
}
.credit-card-form input:focus, .credit-card-form select:focus {
  border-color: var(--color-accent);
}

.ccicon {
  height: 38px;
  position: absolute;
  right: 2px;
  top: calc(50% - 11px);
  width: 60px;
}


.jp-card.jp-card-identified {
  box-shadow: none !important;
}
.jp-card {
  min-width: auto !important;
}

.jp-card .jp-card-front .jp-card-lower {
  width: 90% !important;
  left: 5% !important;
  bottom: 30px;
}

.jp-card .jp-card-front .jp-card-lower .jp-card-number {
  font-size: 22px !important;
}
.jp-card .jp-card-front .jp-card-lower .jp-card-name {
  font-size: 18px !important;
}

.card-info{
  z-index: 1000;
  width: 100%;
  height: 100%;
  border: solid 0px #CCC;
  padding: 10px;
  font-size: 22px;
  font-weight: bold;
  color: #FFF;
}
.card-info .card-family{
  position: absolute;
  right: 10px;
  top: 30px;
  font-size: 15px;
}
.card-info .bank-name{
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 18px;
}
.card-info .card-association{
  position: absolute;
  right: 10px;
  top: 55px;
}

.jp-card .jp-card-front .jp-card-logo{
  display: none;
}

.jp-card .jp-card-front:before, .jp-card .jp-card-back:before{
  background-color: none !important;
  opacity: 0 !important;
}

.page {
  background: #fff;
  padding: 20px;
  font-size: 15px;
  border: solid 1px #ebebeb;
}

.installment-table [type="radio"]:checked,
.installment-table [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
.installment-table [type="radio"]:checked + label,
.installment-table [type="radio"]:not(:checked) + label {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #666;
  margin: 5px 0;
}
.installment-table [type="radio"]:checked + label span,
.installment-table [type="radio"]:not(:checked) + label span {
    padding-top: 3px;
    display: block;
}
.installment-table [type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  border-radius: 100%;
  background: #fff;
}
.installment-table [type="radio"]:checked + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-primary);
  border-radius: 100%;
  background: var(--color-primary);
}
.installment-table [type="radio"]:checked + label:after,
.installment-table [type="radio"]:not(:checked) + label:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.installment-table [type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.installment-table.table thead th {
  border-bottom: 1px solid #dee2e6;
  border-top: none;
}

.installment-table label {
  cursor: pointer;
  display: block;
}
.installment-table td {
    vertical-align: middle;
}

.section-title-checkout {
  color: #484848;
}

.order-summary .title {
  font-size: 1.25rem;
  color: #484848;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.collapse-panel {
  background-color: #ffffff;
  border: solid 1px #ebebeb;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 25px;
  padding: 15px 15px 0;
}
.collapse-panel .title{
  margin-bottom: 15px;
}
.collapse-panel .title h2{
    text-align: left;
    padding: 10px 0;
    font-size: 22px;
    margin-bottom: 0;
    display: flex;
    font-weight: 400;
}

.collapse-panel .title h2.collapse-toggler::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
}
.collapse-panel .title h2.collapse-toggler:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.cart-page {
  background-color: #ffffff;
  border: solid 1px #ebebeb;
  border-radius: 0;
  box-shadow: none;
  padding: 16px;
  margin-bottom: 25px;
}
.cart-page .title h2{
  text-align: left;
  padding: 10px;
  font-size: 20px;
  margin-bottom: 0;
  display: flex;
}

.cart-items-mobile .item {
  border-radius: 0;
  margin-bottom: 0;
  border: 0;
  border-top: 1px solid #e6e6e6;
}
.cart-items-mobile .item:first-child {
  border-top: none;
}
.cart-items-mobile .item .wrapper {
  display: flex;
  position: relative;
  min-height: 100px;
  margin: 15px 0;
}
.cart-items-mobile .item .wrapper a {
  width: 32%;
  border-radius: 4px;
  height: auto;
  margin-right: 10px;
  align-self: center;
}
.cart-items-mobile .item .wrapper a img {
  width: 100%;
  border-radius: 4px;
}
.cart-items-mobile .item .wrapper .item-content {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.cart-items-mobile .item .wrapper .item-content .title {
  font-size: 15px;
  color: var(--color-primary);
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 85%;
  display: block;
  font-weight: 500;
  text-decoration: none;
}
.cart-items-mobile .item .wrapper .item-content .remove-cart-item svg {
  top: 0;
  position: absolute;
  right: 0;
  fill: var(--color-primary);
  font-size: 18px;
  width: 25px;
  height: 25px;
}
.cart-items-mobile .item .wrapper .bottom-container {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.cart-items-mobile .item .wrapper .bottom-container .quantity-wrapper {
  border-radius: 3px;
  color: #666666;
  position: relative;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .quantity-wrapper
  .quantity
  input {
  width: 100%;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .quantity-wrapper
  .product-quantity {
  display: inline-block;
  font-size: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  vertical-align: middle;
  height: 40px;
}

.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .quantity-wrapper
  .product-quantity
  span {
  display: inline-block;
  width: 30px;
  height: 40px;
  border: 0;
  text-align: center;
  font-size: 18px;
  color: #333;
  line-height: 38px;
  cursor: pointer;
  vertical-align: middle;
  user-select: none;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .quantity-wrapper
  .product-quantity
  span svg {
    width: 20px;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .quantity-wrapper
  .product-quantity
  span:hover {
  color: #333;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .quantity-wrapper
  .product-quantity
  input {
  width: 30px;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 17px;
  color: #333;
  vertical-align: middle;
}
.cart-items-mobile .item .wrapper .bottom-container .bottom-prices-wrapper {
  text-align: right;
  font-weight: 600;
  align-self: center;
  display: grid;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .bottom-prices-wrapper
  span {
  display: block;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .bottom-prices-wrapper
  .base-price {
  text-decoration: line-through;
  color: #999999;
  font-size: 12px;
  line-height: 15px;
  display: inline-block;
}
.cart-items-mobile
  .item
  .wrapper
  .bottom-container
  .bottom-prices-wrapper
  .sale-price {
  color: #f44336;
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
}

.mobile-cart-summary .summary-footer {
  position: fixed;
  padding: 15px;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: auto;
  right: 0;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.1);
}
.mobile-cart-summary .summary-footer .left {
  display: flex;
  align-items: center;
  min-width: 40%;
}
.mobile-cart-summary .summary-footer .left i {
  margin-right: 4px;
  color: #dd074c;
  font-size: 20px;
  margin-left: -4px;
  margin-top: -4px;
  transition: all 0.2s ease;
}
.mobile-cart-summary .summary-footer .left .price-wrapper {
  margin-left: 10px;
}
.mobile-cart-summary .summary-footer .left .price-wrapper .price-title {
  color: #666666;
  font-size: 14px;
  line-height: 18px;
  display: block;
}
.mobile-cart-summary .summary-footer .left .price-wrapper .price {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  display: block;
}
.mobile-cart-summary .summary-footer .right {
  width: 100%;
}
.mobile-cart-summary .summary-footer .right a {
  width: 100%;
  background-color: #dd074c;
  color: #ffffff;
  border: 1px solid #dd074c;
  height: 44px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 600;
}

.mobile-cart-summary .summary-detail {
  position: fixed;
  padding: 15px;
  bottom: 0;
  left: 0;
  z-index: 90;
  width: auto;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.5, 0.46, 0.5, 0.49);
  pointer-events: none;
}
.mobile-cart-summary .summary-detail.active {
  transform: translateY(-74px);
  opacity: 1;
  pointer-events: inherit;
  border-bottom: 1px solid #e6e6e6;
}
.mobile-cart-summary .summary-detail table {
  width: 100%;
}
.mobile-cart-summary .summary-detail .title {
  font-size: 1.25rem;
  color: #484848;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.mobile-cart-summary .summary-detail tr {
  height: 35px;
}
.mobile-cart-summary .summary-detail .value {
  float: right;
  font-size: 14px;
  font-weight: 600;
}

/*Shipping Agency List*/
.shipping-list,
.shipping-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shipping-list li {
  cursor: pointer;
}
.shipping-list li .custom-radio {
  display: block;
  position: relative;
}

.shipping-list li .custom-radio input[type="radio"] {
  position: absolute;
  left: -9999em;
}

.shipping-list li label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px 5px 40px;

  cursor: pointer;
}
.shipping-list li label:before {
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
}
.shipping-list li .custom-radio input[type="radio"] + label:before {
  background-size: 10px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  content: "";
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  border: 1px solid #e1e1e1;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
}
.shipping-list li .custom-radio input[type="radio"]:checked + label, .shipping-list li .custom-radio input[type="radio"] + label:hover {
  background-color: var(--blue-light);
}
.shipping-list li .custom-radio input[type="radio"]:hover + label:before {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23b1b1b1'/%3E%3C/svg%3E");
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
}
.shipping-list li .custom-radio input[type="radio"]:checked + label:before {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+PGNpcmNsZSByPSczJyBmaWxsPScjZmZmJy8+PC9zdmc+);
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
}


.shipping-list li label .agency-left {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}
.shipping-list li label .agency-left .agency-logo {
  flex: 0 0 7rem;
  margin-right: 10px;
}
.shipping-list li label .agency-left .agency-logo > div {
  padding-top: 60%;
  position: relative;
}
.shipping-list li label .agency-left .agency-logo img {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  display: block;
  position: absolute;
}
.shipping-list li label .agency-left .agency-name {
  font-size: 15px;
}
.shipping-list li label .agency-left .agency-name {
  font-size: 15px;
}
.shipping-list li label .agency-right {
  flex: 0 0 35%;
  text-align: right;
}
.shipping-list li label .agency-right .shipping-price {
  font-size: 15px;
  font-weight: 600;
}
/*Shipping Agency List*/

.sticky-aside {
  position: sticky;
  top: 25px;
}

.secure-checkout-message {
  text-align: center;
  padding: 10px;
  user-select: none;
}

.secure-checkout-message img {
  max-height: 25px;
  margin-right: 25px;
  filter: gray;
  -webkit-filter: grayscale(100%);
}
.secure-checkout-message img {
  max-height: 25px;
  margin-right: 25px;
  filter: grayscale(100%);
}
.secure-checkout-message:hover img {
  filter: none;
}

@media only screen and (max-width: 768px) {
  .scroll-to-top {
    bottom: 4rem;
  }
  main {
    margin-bottom: 4rem;
    margin-top: 0;
  }
}

.copyright.checkout {
  background-color: #fff;
  color: #878787;
  border-top: 1px solid #e5e5e5;
}

.copyright.checkout .container {
  border: none;
}

.mobile-cart-footer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 100;
  width: 100%;
  height: 55px;
  background-color: #fff;
  border-top: 1px solid #d3d3d3;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.mobile-cart-footer .left,
.mobile-cart-footer .right {
  width: 50%;
  padding: 5px;
}
.mobile-cart-footer .right .btn {
  width: 100%;
  color: #fff;
  background: #dd074c;
  padding: 5px;
  font-size: 16px;
  border-radius: 5px;
  height: 45px;
  line-height: 35px;
}
.mobile-cart-footer .left .price {
  font-size: 15px;
  line-height: 25px;
  font-weight: 600;
  margin-left: 10px;
}
.mobile-cart-footer .left .price-text {
  font-size: 12px;
  color: #4a4a4a;
  font-weight: 500;
  margin-left: 10px;
}
.cart-items {
  width: 100%;
}
.cart-items tr.item {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 5px;
}
.cart-items tr.item:last-child {
  border-bottom: none;
}
.cart-items tr.item td {
  padding: 5px 0;
}
.cart-items .item .product-image {
  position: relative;
  float: left;
  margin-right: 5px;
}
.cart-items .item a {
  text-decoration: none;
}
.cart-items .item a:hover {
  color: inherit;
}
.cart-items .item .product-image img {
  float: left;
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.cart-items .item .v-top {
  vertical-align: top !important;
}
.cart-items .item .v-top span {
  margin-left: 10px;
}
.cart-items .item .v-top span.tutor {
  font-size: 14px;
  color: #506b88;
}
.cart-items .item span.title {
  font-size: 15px;
  color: var(--color-primary);
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 95%;
  display: block;
  font-weight: 500;
}
.cart-items .item span.sub-title {
  font-size: 14px;
  width: 100%;
  /*white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666;
  display: block;
}
.cart-items .item span.row-total {
  font-size: 18px;
  color: #dd074c;
  font-weight: 600;
}
.cart-items .item .remove {
  font-size: 25px;
  color: #dd074c;
  font-weight: 600;
  padding-right: 5px;
}
.cart-items .item .remove:hover {
  color: #dd074c;
}
.cart-items .item .refresh {
  display: none;
}

.cart-items .item input[type="number"] {
  width: 70px;
  height: 40px;
}
.cart-items .item input[type="number"]::-webkit-inner-spin-button,
.cart-items .item input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

.cart-items .item .prices-wrapper {
  text-align: right;
  font-weight: 600;
  align-self: center;
  padding-right: 15px;
}
.cart-items .item .prices-wrapper .base-price {
  text-decoration: line-through;
  color: #999999;
  font-size: 12px;
  line-height: 15px;
  display: block;
}
.cart-items .item .prices-wrapper .sale-price {
  color: #f44336;
  font-size: 16px;
  line-height: 20px;
}


.quantity {
  position: relative;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.quantity input {
  width: 45px;
  height: 42px;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-left: 20px;
  border: 1px solid #eee;
}

.quantity input:focus {
  outline: 0;
}

.quantity-nav {
  float: left;
  position: relative;
  height: 42px;
}

.quantity-button {
  position: relative;
  cursor: pointer;
  border-left: 1px solid #eee;
  width: 20px;
  text-align: center;
  color: #333;
  font-size: 13px;
  font-family: "Trebuchet MS", Helvetica, sans-serif !important;
  line-height: 1.7;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.quantity-button.quantity-up {
  position: absolute;
  height: 50%;
  top: 0;
  border-bottom: 1px solid #eee;
}

.quantity-button.quantity-down {
  position: absolute;
  bottom: 2px;
  height: 50%;
}


.order-summary {
  font-size: 13px;
}
.order-summary table {
  width: 100%;
}
.order-summary table tr {
  /*border-bottom: 1px solid #e4e4e4;*/
  height: 35px;
}
.order-summary table tr:last-child {
  border-bottom: none;
}
.order-summary .title {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #d8d8d896;
  font-size: 22px;
  color: var(--color-primary);
  font-family: "Taviraj", serif;
  font-weight: 400;
}
.order-summary .value {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}
.order-summary .value.total {
  color: #dd074c;
  font-size: 16px;
}
