.cdek-field { position: relative; margin-bottom: 16px; }
.cdek-field .t-input { border: 1px solid #000; width: 100%; }
.cdek-field [hidden], #cdek-status[hidden], .cdek-totals[hidden], #checkout-summary-delivery[hidden] { display: none !important; }
.cdek-suggestions {
  position: absolute; z-index: 5; width: 100%; max-height: 240px;
  overflow-y: auto; background: #fff; box-shadow: 0 4px 14px #0002;
}
.cdek-suggestions button {
  display: block; width: 100%; padding: 12px 16px; border: 0; background: #fff;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
}
.cdek-suggestions button:hover, .cdek-suggestions button:focus-visible { background: #f1f1f1; }
.cdek-method { display: flex; gap: 10px; align-items: baseline; margin: 12px 0 18px; }
#cdek-estimate, #cdek-city-selected { color: #666; margin: 4px 0; }
#cdek-point-selected { white-space: pre-line; }
.cdek-change { border: 0; background: transparent; text-decoration: underline; padding: 6px 0; cursor: pointer; }
.cdek-totals {
  display: grid;
  gap: 8px;
  margin: 0;
}
.cdek-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.cdek-totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.cdek-totals dd:not(.checkout-total-note) { white-space: nowrap; }
.checkout-total-note { color: var(--shop-muted, #595959); }
.cdek-totals .checkout-total-final {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--shop-line, #deddd9);
  font-weight: 700;
}
.checkout-aside-totals { padding-top: 4px; }

.cdek-original-total-hidden { display: none !important; }
.t706__cartpage-totals:has(.cdek-totals:not([hidden])) .t706__cartwin-totalamount-wrap { display: none !important; }

.cdek-heading {
  margin: 0 0 10px;
  font: 600 20px/1.25 'TildaSans', Arial, sans-serif;
}
.checkout-timing {
  margin: 0 0 16px;
  color: #505050;
  line-height: 1.45;
}
.checkout-timing span { display: block; }
.t706__sidebar-bottom .checkout-timing { margin-bottom: 10px; }
.checkout-recipient-heading { margin-top: 28px; }
.checkout-privacy { color: var(--shop-muted, #595959); line-height: 1.45; }
#rec2178678211 :is(.checkout-privacy, .checkout-consent) a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#rec2178678211 .checkout-consent { margin-block: 0 12px; }
#rec2178678211 .checkout-consent .t-checkbox__control {
  min-height: 44px;
  align-items: baseline;
  line-height: 1.4;
}
.cdek-field, .cdek-change {
  font-family: 'TildaSans', Arial, sans-serif;
}
.cdek-suggestions {
  max-height: min(340px, 46vh);
}
.cdek-suggestions button {
  padding: 18px 20px;
  font: 300 16px/1.35 'TildaSans', Arial, sans-serif;
  overflow-wrap: anywhere;
}
.cdek-suggestion-title, .cdek-suggestion-detail { display: block; }
.cdek-suggestion-detail {
  margin-top: 2px;
  color: #666;
  font-size: 13px;
}
.checkout-summary {
  padding: clamp(16px, 3vw, 24px);
  margin: 20px 0 12px;
  border-radius: 12px;
  background: var(--shop-image, #f2f1ee);
  color: var(--shop-ink, #171717);
  font-size: 16px;
  line-height: 1.4;
}
.checkout-summary-delivery {
  margin-block: 14px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--shop-line, #deddd9);
}
.checkout-summary-point { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px; }
.checkout-summary-point h3 { font-size: inherit; font-weight: 650; margin: 0 0 2px; }
.checkout-summary-point p { margin: 0; overflow-wrap: anywhere; }
.checkout-summary-point button { min-height: 44px; color: inherit; font-size: 14px; text-underline-offset: 3px; }
.checkout-summary-term { margin: 4px 0 0; color: var(--shop-muted, #595959); }
.checkout-summary .checkout-total-final { font-size: 19px; }
.cdek-promo { margin-block: 12px 18px; }
.cdek-promo label { display: block; margin-bottom: 6px; font-weight: 650; }
.cdek-promo-row { display: flex; align-items: stretch; gap: 8px; }
.cdek-promo-row input {
  min-width: 0;
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  font: inherit;
}
.cdek-promo-row button {
  min-height: 44px;
  padding-inline: 12px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 5px;
  color: #171717;
  font: inherit;
  cursor: pointer;
}
.cdek-promo-row button:hover:not(:disabled) { background: #faf9f7; }
.cdek-promo-row button:disabled { opacity: .65; cursor: wait; }
#rec2178678211 .checkout-summary :focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
#rec2178678211 #local-pay { width: 100%; }
#checkout-promo-message { margin: 6px 0 0; }
#checkout-promo-message:empty { display: none; }
#checkout-validation {
  margin: 10px 0 0;
  color: #982d27;
  text-align: left;
}
#rec2178678211 .t-checkbox[aria-invalid="true"] + .t-checkbox__indicator {
  border-color: #982d27;
}
