.usmoke-card-limit-notice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #d5e5df;
  border-radius: 8px;
  background: #f3f8f6;
  color: #36534b;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  box-sizing: border-box;
}

.usmoke-card-limit-notice__icon {
  color: #2d7476;
  font-size: 16px;
  line-height: 1.35;
}

.usmoke-card-limit-notice strong,
.usmoke-card-limit-notice span span {
  display: block;
}

.usmoke-card-limit-notice strong {
  margin-bottom: 2px;
  color: #203f3e;
  font-size: 13px;
  font-weight: 650;
}

.usmoke-card-limit-notice.is-over {
  border-color: #dfd5bd;
  background: #fbf8f0;
  color: #554b35;
}

.usmoke-card-limit-product {
  grid-column: 1 / -1;
  margin: 0 0 4px;
}

.usmoke-card-limit-compact {
  margin: 10px 0;
  padding: 10px 12px;
  font-size: 12px;
}

.usmoke-card-limit-disabled,
#place_order.usmoke-card-limit-disabled,
.usmoke-card-limit-disabled:hover,
#place_order.usmoke-card-limit-disabled:hover,
.usmoke-card-limit-disabled:focus,
#place_order.usmoke-card-limit-disabled:focus {
  border-color: #b8bfbd !important;
  background: #b8bfbd !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  pointer-events: none;
}

.usmoke-card-limit-review {
  display: block;
  margin-top: 9px;
  color: #2d7476;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}

.usmoke-card-limit-floating {
  display: none;
}

/* Checkout payment choice: clear hierarchy without changing the gateway. */
.gc-checkout-payment > h2 {
  margin-bottom: 14px !important;
  color: #1c2422;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em;
}

.gc-checkout-payment .woocommerce-checkout-payment {
  overflow: hidden;
  border-color: #dfe6e3 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(30, 51, 47, .04);
}

.gc-checkout-payment .wc_payment_method {
  padding: 16px !important;
}

.gc-checkout-payment .wc_payment_method > input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 9px 0 0 !important;
  accent-color: #2d7476;
}

.gc-checkout-payment .wc_payment_method > label {
  color: #202927;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: -.01em;
}

.gc-checkout-payment .payment_box {
  margin: 14px -16px -16px !important;
  padding: 15px 16px !important;
  border-top: 1px solid #e7ecea;
  background: #f7faf9 !important;
  color: #5b6763 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.usmoke-secure-payment-title,
.usmoke-secure-payment-copy {
  display: block !important;
  width: 100%;
}

.usmoke-secure-payment-title {
  margin: 0 0 4px !important;
  color: #2b4742;
  font-size: 12.5px;
  font-weight: 700;
}

.usmoke-secure-payment-copy {
  margin: 0 !important;
}

.gc-checkout-payment .woocommerce-privacy-policy-text {
  margin: 0 0 12px;
  color: #69736f;
  font-size: 11px;
  line-height: 1.5;
}

.gc-checkout-payment .woocommerce-privacy-policy-text p {
  margin: 0;
}

.gc-checkout-payment #place_order:not(.usmoke-card-limit-disabled) {
  min-height: 56px !important;
  border-radius: 6px !important;
  background: #2d7476 !important;
  box-shadow: 0 7px 18px rgba(45, 116, 118, .18);
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

@media (max-width: 650px) {
  .usmoke-card-limit-notice {
    width: 100%;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 14px;
    padding: 11px 12px;
    font-size: 12px;
  }

  .usmoke-card-limit-notice strong {
    font-size: 12.5px;
  }

  .usmoke-card-limit-floating {
    position: fixed;
    z-index: 80;
    right: 8px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: 8px;
    display: none;
    margin: 0;
    padding: 8px 10px;
    border-radius: 7px;
    box-shadow: 0 5px 18px rgba(20, 40, 39, .14);
    font-size: 11px;
  }

  .gc-sticky-scroll-active .usmoke-card-limit-floating {
    display: grid;
  }

  .usmoke-card-limit-floating strong {
    margin-bottom: 0;
    font-size: 11.5px;
  }

  .usmoke-card-limit-floating span span {
    display: none;
  }

  .gc-checkout-payment > h2 {
    margin-bottom: 12px !important;
    font-size: 20px !important;
  }

  .gc-checkout-payment .wc_payment_method {
    padding: 14px 13px !important;
  }

  .gc-checkout-payment .wc_payment_method > label {
    gap: 6px !important;
    font-size: 13px !important;
  }

  .gc-checkout-payment .gc-gateway-icons {
    gap: 4px;
  }

  .gc-checkout-payment .gc-gateway-icons img {
    width: 43px !important;
    height: 28px !important;
    padding: 4px 5px !important;
  }

  .gc-checkout-payment .payment_box {
    margin: 12px -13px -14px !important;
    padding: 13px !important;
  }

  .gc-checkout-payment .place-order {
    position: sticky;
    z-index: 40;
    bottom: 0;
    margin: 0 !important;
    padding: 12px 13px 13px !important;
    border-top: 1px solid #e4e9e7;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 -7px 18px rgba(24, 48, 43, .08);
  }

  .gc-checkout-payment #place_order {
    height: 56px !important;
    font-size: 13.5px !important;
  }
}
