.cngb-shipping-payment-choice,
.cngb-customer-shipping-payment {
  --cngb-ship-ink: #1f2428;
  --cngb-ship-muted: #68717a;
  --cngb-ship-line: #d8dee5;
  --cngb-ship-soft: #f6f8f9;
  --cngb-ship-panel: #ffffff;
  --cngb-ship-red: #df1624;
  --cngb-ship-red-dark: #a90f19;
  --cngb-ship-green: #0a7c62;
  --cngb-ship-gold: #c78a1d;
  --cngb-ship-cream: #fff8eb;
  box-sizing: border-box;
  color: var(--cngb-ship-ink);
  font-family: Jost, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.cngb-shipping-payment-choice *,
.cngb-shipping-payment-choice *::before,
.cngb-shipping-payment-choice *::after,
.cngb-customer-shipping-payment *,
.cngb-customer-shipping-payment *::before,
.cngb-customer-shipping-payment *::after {
  box-sizing: border-box;
}

.cngb-shipping-payment-choice {
  background: #f6f8f9;
  border: 1px solid var(--cngb-ship-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 36, 40, 0.1);
  margin: 28px auto;
  max-width: 1120px;
  overflow: hidden;
}

.cngb-shipping-payment-choice__hero {
  background: #1f2428;
  color: #ffffff;
  padding: clamp(24px, 4vw, 42px);
}

.cngb-shipping-payment-choice__hero h2 {
  color: #ffffff !important;
}

.cngb-shipping-payment-choice__hero p:not(.cngb-shipping-payment-choice__eyebrow) {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 16px;
  line-height: 1.58;
  margin-bottom: 0;
  max-width: 760px;
}

.cngb-shipping-payment-choice__eyebrow,
.cngb-customer-shipping-payment__eyebrow {
  color: #d4a24c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.cngb-shipping-payment-choice h2,
.cngb-shipping-payment-choice h3,
.cngb-shipping-payment-choice p,
.cngb-customer-shipping-payment h2,
.cngb-customer-shipping-payment p {
  margin-top: 0;
}

.cngb-shipping-payment-choice h2 {
  color: inherit;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.05;
  margin-bottom: 10px;
}

.cngb-shipping-payment-choice__summary {
  background: #ffffff;
  border-bottom: 1px solid var(--cngb-ship-line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  padding: clamp(18px, 3vw, 28px);
}

.cngb-shipping-payment-choice__address h3 {
  color: var(--cngb-ship-ink);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cngb-shipping-payment-choice__address,
.cngb-shipping-payment-choice__address address,
.cngb-shipping-payment-choice__address p {
  color: #394149;
  font-size: 14px;
  line-height: 1.55;
}

.cngb-shipping-payment-choice__parcel,
.cngb-shipping-payment-choice__meta {
  margin: 0;
}

.cngb-shipping-payment-choice__parcel {
  display: grid;
  gap: 12px;
}

.cngb-shipping-payment-choice__parcel div {
  background: #f8fafb;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 13px 14px;
}

.cngb-shipping-payment-choice__meta {
  border-top: 1px solid #edf1f4;
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.cngb-shipping-payment-choice__meta div {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.cngb-shipping-payment-choice dt {
  color: var(--cngb-ship-muted);
  font-size: 12px;
  font-weight: 850;
}

.cngb-shipping-payment-choice dd {
  color: var(--cngb-ship-ink);
  font-size: 13px;
  font-weight: 900;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.cngb-shipping-payment-choice__options {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: clamp(18px, 3vw, 28px);
}

.cngb-shipping-payment-choice__option {
  background: var(--cngb-ship-panel);
  border: 1px solid var(--cngb-ship-line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cngb-shipping-payment-choice__option:hover {
  border-color: #d3a244;
  box-shadow: 0 18px 36px rgba(31, 36, 40, 0.11);
  transform: translateY(-2px);
}

.cngb-shipping-payment-choice__option-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.cngb-shipping-payment-choice__option h3 {
  color: var(--cngb-ship-ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.25;
  margin-bottom: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cngb-shipping-payment-choice__price {
  color: var(--cngb-ship-red);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 0;
  text-align: right;
}

.cngb-shipping-payment-choice__delivery,
.cngb-shipping-payment-choice__feature {
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 0;
  padding: 9px 10px;
}

.cngb-shipping-payment-choice__delivery {
  background: #eef7f4;
  color: var(--cngb-ship-green);
  font-weight: 850;
}

.cngb-shipping-payment-choice__feature {
  background: #fbf5e7;
  color: #6f5320;
}

.cngb-shipping-payment-choice__submit,
.cngb-customer-shipping-payment__action {
  align-items: center;
  background: var(--cngb-ship-red) !important;
  border: 1px solid var(--cngb-ship-red-dark) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none !important;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cngb-shipping-payment-choice__submit {
  margin-top: auto;
  width: 100%;
}

.cngb-shipping-payment-choice__submit:hover,
.cngb-customer-shipping-payment__action:hover {
  background: #f01828 !important;
  box-shadow: 0 12px 24px rgba(223, 22, 36, 0.22);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.cngb-shipping-payment-choice__empty {
  background: #ffffff;
  border: 1px solid #e6c8cb;
  border-radius: 8px;
  color: #8f1019;
  font-weight: 800;
  line-height: 1.5;
  margin: clamp(18px, 3vw, 28px);
  padding: 16px;
}

.cngb-customer-shipping-payment {
  align-items: stretch;
  background: #f8fafb;
  border: 1px solid var(--cngb-ship-line);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 22px 0;
  padding: clamp(16px, 3vw, 22px);
}

.cngb-customer-shipping-payment__copy {
  min-width: 0;
}

.cngb-customer-shipping-payment h2 {
  color: var(--cngb-ship-ink);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cngb-customer-shipping-payment p:not(.cngb-customer-shipping-payment__eyebrow) {
  color: var(--cngb-ship-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.cngb-customer-shipping-payment__action {
  flex: 0 0 auto;
  min-width: 210px;
}

.cngb-customer-shipping-payment__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cngb-customer-shipping-payment__action--secondary {
  background: #ffffff !important;
  border-color: var(--cngb-ship-line, #d8dee5) !important;
  color: var(--cngb-ship-ink, #1f2428) !important;
}

.cngb-customer-shipping-payment__action--secondary:hover {
  background: #f6f8f9 !important;
  border-color: #c4ccd4 !important;
  color: var(--cngb-ship-ink, #1f2428) !important;
}

.woocommerce-account .woocommerce-orders-table .button.cngb_pay_international_shipping,
.woocommerce-account .woocommerce-orders-table .button.cngb_change_shipping_line,
.woocommerce-account .woocommerce-MyAccount-content .button.cngb_pay_international_shipping {
  border-radius: 8px;
  font-weight: 850;
  min-height: 38px;
}

@media (max-width: 760px) {
  .cngb-shipping-payment-choice__summary,
  .cngb-shipping-payment-choice__options {
    grid-template-columns: 1fr;
  }

  .cngb-shipping-payment-choice__option-head,
  .cngb-customer-shipping-payment {
    align-items: stretch;
    flex-direction: column;
  }

  .cngb-shipping-payment-choice__price {
    text-align: left;
  }

  .cngb-customer-shipping-payment__action {
    width: 100%;
  }
}
