.aureherb-cod {
  max-width: 40rem;
  margin: 1.5rem auto 2.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.single-product .aureherb-cod {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.aureherb-cod__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--herb-ink, #1c2d22);
  line-height: 1.25;
}

.aureherb-cod__lead {
  margin: 0 0 1.5rem;
  color: var(--herb-mist, #5c675f);
  font-size: 0.98rem;
}

.aureherb-cod__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.aureherb-cod__summary {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.aureherb-cod__line {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--herb-ink, #1c2d22);
  border-bottom: 1px solid var(--herb-ink, #1c2d22);
}

.aureherb-cod__line-media img,
.aureherb-cod__thumb {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 0;
}

.aureherb-cod__line-body {
  min-width: 0;
}

.aureherb-cod__line-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}

.aureherb-cod__line-name {
  margin: 0;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--herb-ink, #1c2d22);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.aureherb-cod__line-name:hover,
.aureherb-cod__line-name:focus {
  color: var(--herb-leaf, #2f4a38);
}

.aureherb-cod__line-unit {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--herb-ink, #1c2d22);
}

.aureherb-cod__line-excerpt {
  margin: 0 0 0.75rem;
  color: var(--herb-mist, #5c675f);
  font-size: 0.88rem;
  line-height: 1.45;
}

.aureherb-cod__line-total {
  margin: 0;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--herb-ink, #1c2d22);
  white-space: nowrap;
}

.aureherb-cod__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--herb-ink, #1c2d22);
  border-radius: 0.2rem;
  overflow: hidden;
  background: transparent;
}

.aureherb-cod__qty-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--herb-ink, #1c2d22);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.aureherb-cod__qty-btn:hover,
.aureherb-cod__qty-btn:focus {
  background: rgba(28, 45, 34, 0.06);
}

.aureherb-cod__qty-input {
  width: 2.25rem;
  height: 2rem;
  border: 0;
  border-left: 1px solid var(--herb-ink, #1c2d22);
  border-right: 1px solid var(--herb-ink, #1c2d22);
  text-align: center;
  font: inherit;
  color: var(--herb-ink, #1c2d22);
  background: transparent;
  -moz-appearance: textfield;
}

.aureherb-cod__qty-input::-webkit-outer-spin-button,
.aureherb-cod__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.aureherb-cod__totals {
  margin: 0;
}

.aureherb-cod__totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--herb-ink, #1c2d22);
  font-size: 0.98rem;
}

.aureherb-cod__totals-row dt {
  margin: 0;
  color: var(--herb-ink, #1c2d22);
  font-weight: 500;
}

.aureherb-cod__totals-row dd {
  margin: 0;
  color: var(--herb-ink, #1c2d22);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aureherb-cod__totals-row--delivery dd {
  text-transform: uppercase;
  color: var(--herb-leaf, #2f4a38);
}

.aureherb-cod__totals-row--discount dd {
  color: var(--herb-leaf, #2f4a38);
}

.aureherb-cod__totals-row--total {
  font-size: 1.05rem;
}

.aureherb-cod__totals-row--total dt,
.aureherb-cod__totals-row--total dd {
  font-family: var(--font-display, "Fraunces", serif);
  font-weight: 700;
}

.aureherb-cod__fields {
  margin-top: 0.5rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--herb-clay, #d7d0c3);
  border-radius: 1rem;
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.18);
}

.aureherb-cod__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1rem;
}

.aureherb-cod__field > span {
  display: block;
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  font-size: 0.92rem;
}

.aureherb-cod__field input,
.aureherb-cod__field textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid var(--herb-clay, #d7d0c3);
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--herb-ink, #1c2d22);
  background: #fff;
}

.aureherb-cod__field select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid var(--herb-clay, #d7d0c3);
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--herb-ink, #1c2d22);
  background: #fff;
}

.aureherb-cod__field select:focus {
  outline: 2px solid var(--herb-gold, #c4a35a);
  outline-offset: 1px;
  border-color: var(--herb-leaf, #2f4a38);
}

.aureherb-cod__error {
  margin: 0 0 0.85rem;
  color: #9b2c2c;
  font-size: 0.95rem;
}

.aureherb-cod__submit {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #fff;
  background: var(--herb-leaf, #2f4a38);
  cursor: pointer;
}

.aureherb-cod__submit:hover,
.aureherb-cod__submit:focus {
  background: var(--herb-ink, #1c2d22);
}

.aureherb-cod__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.aureherb-cod__success {
  padding: 0.5rem 0;
}

.aureherb-cod__success-msg {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--herb-leaf, #2f4a38);
}

.aureherb-cod__success-meta a {
  color: var(--herb-leaf, #2f4a38);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .aureherb-cod__line {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.85rem;
  }

  .aureherb-cod__line-media img,
  .aureherb-cod__thumb {
    width: 4.5rem;
    height: 4.5rem;
  }

  .aureherb-cod__fields {
    padding: 1.1rem;
    border-radius: 0.85rem;
  }

  .aureherb-cod__submit {
    font-size: 0.98rem;
  }
}
