.cg-information-page--payment-delivery,
.cg-information-page--payment-delivery button,
.cg-information-page--payment-delivery input,
.cg-information-page--payment-delivery select,
.cg-information-page--payment-delivery textarea {
  --cg-font-family-payment: var(--cg-font-ui, "Inter", Arial, sans-serif);
  font-family: var(--cg-font-family-payment);
}

.cg-information--payment-delivery > .header-bordered {
  position: relative;
  left: 50%;
  width: calc(100vw - 64px);
  max-width: 1280px;
  margin: 26px 0 34px;
  padding: 0;
  border: 0;
  color: var(--cg-color-text, #3b2116);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.16;
  text-align: left;
  transform: translateX(-50%);
}

.cg-payment-delivery {
  width: 100%;
  max-width: 1280px;
  position: relative;
  left: 50%;
  width: calc(100vw - 64px);
  margin: 0 0 40px;
  color: var(--cg-color-text, #3b2116);
  font-family: var(--cg-font-family-payment);
  font-size: 16px;
  line-height: 1.5;
  transform: translateX(-50%);
}

.cg-payment-delivery__community {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 22px;
  background: rgba(228, 189, 128, 0.25);
}

.cg-payment-delivery__community-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #a45120;
  color: #fffdf9;
}

.cg-payment-delivery__community-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cg-payment-delivery__community-text {
  margin: 0;
  color: var(--cg-color-text, #3b2116);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.cg-payment-delivery__community-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
}

.cg-payment-delivery a {
  color: #9f4f22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cg-payment-delivery a:hover,
.cg-payment-delivery a:focus {
  color: #783718;
}

.cg-payment-delivery__card {
  margin-top: 40px;
  padding: 40px;
  border: 1px solid rgba(225, 213, 200, 0.7);
  border-radius: 26px;
  background: #fffdf9;
}

.cg-payment-delivery__section + .cg-payment-delivery__section {
  margin-top: 40px;
  padding-top: 0;
}

.cg-payment-delivery__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #9f4f22;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.cg-payment-delivery__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #a45120;
}

.cg-payment-delivery__icon svg,
.cg-payment-delivery__warning-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cg-payment-delivery__section p {
  margin: 0 0 18px;
  color: var(--cg-color-text, #3b2116);
}

.cg-payment-delivery__section p:last-child,
.cg-payment-delivery__section ul:last-child,
.cg-payment-delivery__section div:last-child {
  margin-bottom: 0;
}

.cg-payment-delivery__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cg-payment-delivery__list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
}

.cg-payment-delivery__list li::before {
  position: absolute;
  top: 11px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a45120;
  content: "";
}

.cg-payment-delivery__retail-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.cg-payment-delivery__retail-list-item {
  margin: 0 0 7px;
  padding: 0;
}

.cg-payment-delivery__retail-list-item:last-child {
  margin-bottom: 0;
}

.cg-payment-delivery__lead {
  color: var(--cg-color-text, #3b2116);
  font-weight: 700;
}

.cg-payment-delivery__subheading {
  margin: 24px 0 12px;
  padding: 0;
  border: 0;
  color: #9f4f22;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
}

.cg-payment-delivery__cost-heading {
  margin: 24px 0 12px;
  padding: 0;
  border: 0;
  color: var(--cg-color-text, #3b2116);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

/* The legacy OCMOD injects this default-theme ornament after formatting. */
.cg-payment-delivery img[src*="/theme/default/image/cacao/cup.png"] {
  display: none !important;
}

.cg-payment-delivery__warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0 28px;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(228, 189, 128, 0.25);
  color: var(--cg-color-text, #3b2116);
}

.cg-payment-delivery__warning-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: #a45120;
}

.cg-payment-delivery__warning strong {
  display: block;
  margin-bottom: 4px;
}

.cg-payment-delivery__warning p {
  margin: 0;
}

.cg-payment-delivery__alert-text {
  color: #cc2827 !important;
  font-weight: 400;
}

.cg-payment-delivery__note {
  color: var(--cg-color-text, #3b2116) !important;
  font-weight: 600;
}

.cg-payment-delivery__danger {
  color: #cc2827;
  font-weight: 700;
}

.cg-payment-map {
  position: relative;
  left: 50%;
  width: calc(100vw - 64px);
  max-width: 1280px;
  height: 489px;
  margin: 0 0 56px;
  overflow: hidden;
  border: 1px solid rgba(225, 213, 200, 0.7);
  border-radius: 22px;
  background: #d8d0c9;
  box-shadow: 0 2px 8px -2px rgba(103, 59, 38, 0.12);
  transform: translateX(-50%);
}

.cg-payment-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.cg-payment-map__tint {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: rgba(45, 20, 7, 0.33);
}

.cg-payment-map__overlay {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 24px;
  display: grid;
  width: 449px;
  min-height: 126px;
  grid-template-columns: 1fr 72px;
  grid-template-rows: auto 1fr;
  gap: 7px 16px;
  align-items: center;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(225, 213, 200, 0.7);
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 2px 8px -2px rgba(103, 59, 38, 0.12);
  color: var(--cg-color-text, #3b2116);
  font-style: normal;
}

.cg-payment-map__eyebrow {
  grid-column: 1;
  color: var(--cg-color-text-muted, #7c6354);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.cg-payment-map__address {
  display: flex;
  min-width: 0;
  grid-column: 1;
  align-items: center;
  gap: 14px;
}

.cg-payment-map__pin {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  color: var(--cg-color-text, #3b2116);
}

.cg-payment-map__pin svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cg-payment-map__address-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  line-height: 1.3;
}

.cg-payment-map__address-copy strong,
.cg-payment-map__address-copy > span {
  font-weight: 700;
}

.cg-payment-map__external {
  display: inline-flex;
  width: 72px;
  height: 72px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(103, 59, 38, 0.08);
  color: #9f4f22;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.cg-payment-map__external:hover,
.cg-payment-map__external:focus {
  background: rgba(164, 81, 32, 0.16);
  color: #783718;
  text-decoration: none;
}

.cg-payment-map__external svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

@media (max-width: 767px) {
  .cg-information--payment-delivery > .header-bordered {
    width: calc(100vw - 32px);
    margin: 18px 0 24px;
    font-size: 28px;
    line-height: 1.28;
  }

  .cg-payment-delivery {
    width: calc(100vw - 32px);
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.65;
  }

  .cg-payment-delivery__community {
    min-height: 93px;
    gap: 12px;
    padding: 16px;
  }

  .cg-payment-delivery__community-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .cg-payment-delivery__card {
    margin-top: 24px;
    padding: 24px;
  }

  .cg-payment-delivery__section + .cg-payment-delivery__section {
    margin-top: 36px;
    padding-top: 0;
  }

  .cg-payment-delivery__heading {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.34;
  }

  .cg-payment-delivery__icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .cg-payment-delivery__warning {
    gap: 12px;
    padding: 16px;
  }

  .cg-payment-map {
    width: calc(100vw - 40px);
    height: 404px;
    margin-bottom: 40px;
  }

  .cg-payment-map__overlay {
    right: 6px;
    bottom: 8px;
    left: 6px;
    width: auto;
    min-height: 128px;
    grid-template-columns: 1fr 48px;
    gap: 10px 12px;
    padding: 16px;
  }

  .cg-payment-map__eyebrow {
    font-size: 14px;
  }

  .cg-payment-map__address {
    gap: 12px;
  }

  .cg-payment-map__pin {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .cg-payment-map__pin svg {
    width: 32px;
    height: 32px;
  }

  .cg-payment-map__address-copy {
    font-size: 16px;
    line-height: 1.35;
  }

  .cg-payment-map__external {
    width: 48px;
    height: 48px;
  }

  .cg-payment-map__external svg {
    width: 26px;
    height: 26px;
  }

  .cg-payment-map__tint {
    background: transparent;
  }
}
