.cj-cod-open-button {
  /* Rounded green WhatsApp CTA, matching the supplied reference button. */
  display: block !important;
  width: 300px !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin: 12px auto 0 !important;
  padding: 11px 20px !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: #1bcf6b !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 9px rgba(0,0,0,.18) !important;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
  box-sizing: border-box !important;
}
.cj-cod-open-button:hover {
  background: #18bf61 !important;
  color: #fff !important;
  box-shadow: 0 5px 11px rgba(0,0,0,.2) !important;
  transform: translateY(-1px);
}
.cj-cod-open-button:focus-visible { outline: 3px solid rgba(27,207,107,.35); outline-offset: 3px; }

.cj-cod-backdrop[hidden] { display: none !important; }
.cj-cod-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow-y: auto;
  background: rgba(0,0,0,.48);
  box-sizing: border-box;
}
.cj-cod-dialog {
  position: relative;
  width: 100%;
  max-width: 486px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  padding: 16px 16px 22px;
  border-radius: 9px;
  background: #fff;
  color: #111;
  font-family: inherit;
  box-shadow: 0 10px 35px rgba(0,0,0,.22);
  box-sizing: border-box;
  outline: none;
}
.cj-cod-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 17px;
}
.cj-cod-header h2 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding-top: 1px;
  color: #20a000;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .3px;
}
.cj-cod-check {
  display: inline-flex;
  flex: 0 0 15px;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border-radius: 2px;
  background: #36c77b;
  color: white;
  font-size: 12px;
  line-height: 1;
}
.cj-cod-close {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  margin: -2px -2px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font: 32px/22px Arial, sans-serif;
  cursor: pointer;
}
.cj-cod-summary {
  margin: 0 0 17px;
  padding: 9px 12px 8px;
  border-radius: 7px;
  background: #ededed;
  color: #333;
  font-size: 14px;
  letter-spacing: .2px;
}
.cj-cod-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
}
.cj-cod-summary-row strong { color: #111; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cj-cod-summary-total {
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px solid #c8c8c8;
  color: #111;
  font-weight: 700;
}
.cj-cod-summary-total strong { font-size: 17px; }
.cj-cod-product-name {
  margin: -6px 0 12px;
  color: #5d5d5d;
  font-size: 12px;
  line-height: 1.35;
}
.cj-cod-product-name:empty { display: none; }
.cj-cod-field-label {
  display: block;
  margin: 14px 0 9px;
  color: #111;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.cj-cod-field-label span { color: #f01818; letter-spacing: 0; }
.cj-cod-input-wrap { display: flex; width: 100%; min-height: 47px; margin-bottom: 1px; }
.cj-cod-input-icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7c7c7;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #e3e3e3;
  color: #232323;
}
.cj-cod-input-icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.cj-cod-input-wrap input,
.cj-cod-select-wrap select {
  min-width: 0;
  width: 100%;
  min-height: 47px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #c7c7c7 !important;
  border-radius: 0 6px 6px 0 !important;
  background: #fff !important;
  color: #222 !important;
  font: inherit;
  font-size: 14px !important;
  letter-spacing: .6px;
  box-shadow: none !important;
  box-sizing: border-box;
}
.cj-cod-input-wrap input::placeholder { color: #858585; opacity: 1; }
.cj-cod-input-wrap input:focus,
.cj-cod-select-wrap select:focus { border-color: #777 !important; outline: 2px solid rgba(37,244,0,.18); outline-offset: 0; }
.cj-cod-select-wrap { position: relative; }
.cj-cod-select-wrap select {
  padding-right: 38px !important;
  border-radius: 6px !important;
  appearance: none;
  -webkit-appearance: none;
}
.cj-cod-chevron {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #111;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-57%);
}
.cj-cod-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 51px;
  margin: 20px 0 0;
  padding: 10px 12px;
  border: 1px solid #080808;
  border-radius: 8px;
  background: #25f400;
  color: #050505;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,.14);
}
.cj-cod-submit:disabled { cursor: not-allowed; opacity: .65; }
.cj-cod-bag { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 1; }
.cj-cod-bag svg { display: block; width: 18px; height: 18px; }
.cj-cod-footnote {
  margin: 18px 0 0;
  color: #ff1111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  letter-spacing: .2px;
}
.cj-cod-error {
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px solid #f3b7b7;
  border-radius: 6px;
  background: #fff0f0;
  color: #b00020;
  font-size: 13px;
  line-height: 1.4;
}
.cj-cod-error[hidden] { display: none !important; }
.cj-cod-status { margin: 8px 0 0; color: #227a16; font-size: 13px; }
.cj-cod-status:empty { display: none; }
body.cj-cod-modal-open { overflow: hidden; }
@media (max-width: 480px) {
  .cj-cod-backdrop { padding: 8px; align-items: center; }
  .cj-cod-dialog { max-height: calc(100vh - 16px); padding: 14px 13px 18px; }
  .cj-cod-header h2 { font-size: 14px; }
  .cj-cod-field-label { font-size: 10.5px; letter-spacing: 2.7px; }
  .cj-cod-submit { font-size: 14px; }
  .cj-cod-footnote { font-size: 13px; }
}
