.bok-checkout-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-right: 12px;
  vertical-align: middle;
  flex-wrap: wrap;
}

.bok-checkout-qty.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.bok-checkout-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #444;
  background-color: #eeeeee;
  font-size: 18px;
  font-weight: 400;
  border: none;
}

.bok-checkout-qty-btn:hover {
  background: #f5f5f5;
}

.bok-checkout-qty-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.bok-checkout-qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
}

.bok-checkout-qty-step-note {
  display: none;
  flex-basis: 100%;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.bok-remove-checkout-item {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.bok-remove-checkout-item:hover {
  opacity: 0.8;
}

.wc-block-checkout__sidebar,
.wc-block-components-sidebar-layout__right,
.wc-block-components-sidebar-layout {
  position: relative;
}

.bok-checkout-skeleton {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: none;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(1px);
}

.bok-checkout-summary-loading .bok-checkout-skeleton {
  display: block;
  padding-left: 26px;
}

.bok-checkout-summary-loading .wc-block-components-order-summary,
.bok-checkout-summary-loading .wc-block-components-totals-wrapper,
.bok-checkout-summary-loading .wc-block-components-totals-coupon,
.bok-checkout-summary-loading .wc-block-components-order-summary-item,
.bok-checkout-summary-loading .wc-block-components-totals-item,
.bok-checkout-summary-loading .wc-block-components-totals-footer-item,
.bok-checkout-summary-loading .bok-checkout-qty,
.bok-checkout-summary-loading .bok-remove-checkout-item {
  opacity: 0.25;
}

.bok-checkout-skeleton__panel {
  padding: 18px 18px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  background: #fff;
}

.bok-checkout-skeleton__heading {
  width: 240px;
  max-width: 70%;
  height: 32px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.bok-checkout-skeleton__item {
  display: grid;
  grid-template-columns: 48px 1fr 56px;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.bok-checkout-skeleton__thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.bok-checkout-skeleton__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.bok-checkout-skeleton__line {
  height: 12px;
  border-radius: 999px;
}

.bok-checkout-skeleton__line--lg {
  width: 100%;
}

.bok-checkout-skeleton__line--md {
  width: 96px;
}

.bok-checkout-skeleton__line--sm {
  width: 56%;
}

.bok-checkout-skeleton__line--xs {
  width: 46px;
  margin-top: 10px;
}

.bok-checkout-skeleton__price {
  width: 46px;
  height: 14px;
  border-radius: 999px;
  justify-self: end;
  margin-top: 4px;
}

.bok-checkout-skeleton__price--lg {
  width: 80px;
  height: 18px;
}

.bok-checkout-skeleton__coupon {
  height: 54px;
  margin: 14px -18px 22px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
}

.bok-checkout-skeleton__total-row,
.bok-checkout-skeleton__grand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.bok-checkout-skeleton__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 12px 0 18px;
}

.bok-checkout-skeleton__shimmer {
  position: relative;
  overflow: hidden;
  background: #ececec;
}

.bok-checkout-skeleton__shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: bokCheckoutSkeletonShimmer 1.15s linear infinite;
}

@keyframes bokCheckoutSkeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}

.woocommerce-checkout .wc-block-components-notice-banner.is-info,
.woocommerce-checkout .wc-block-components-notice-banner.is-success,
body.woocommerce-checkout .wc-block-components-notice-banner.is-info,
body.woocommerce-checkout .wc-block-components-notice-banner.is-success {
  display: none !important;
}

@media only screen and (max-width: 744px) {
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content {
        display: block;
    }

    span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-checkout-order-summary__title-price,
    .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-subtotal-block,
    span.wc-block-components-checkout-order-summary__title-icon {
        display: none;
    }

    .wc-block-components-checkout-order-summary__title {
        padding-top: 0 !important;
        border: none !important;
        margin: 0 !important;
    }

}

.wp-block-woocommerce-checkout {
    padding-top: 0px;
}