/* =====================================================================
   dk-checkout.css — корзина и оформление (checkout-*): список корзины,
   сводка, плитки доставки и оплаты, выбор города, ПВЗ, успех.

   Выделено из общего dk-product.css 2026-09-23: раньше все 150 КБ
   грузились на каждой странице (PageSpeed: «неиспользуемый CSS»).
   Подключение — по маршруту в template/common/header.twig, правила
   «что куда класть» — в PROJECT_MAP, раздел «Деление CSS».
   ⚠️ После правки ЛЮБОГО dk-*.css поднимать ?v= в header.twig.
   ===================================================================== */

/* === dk-cart: страница корзины (Ozon/Donplafon-style) ================= */
.dk-cart-page .breadcrumb { margin-bottom: 8px; }

/* шапка: «Корзина²» + поделиться */
.dk-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 6px;
}

.dk-cart-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dk-text);
  margin: 0;
}

.dk-cart-count {
  font-size: 16px;
  font-weight: 600;
  color: #9aa1ab;
  margin-left: 2px;
}

.dk-cart-share {
  border: none;
  background: #f2f4f8;
  border-radius: 9px;
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dk-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
}

.dk-cart-share:hover { background: #e8ebf1; }

.dk-cart-share i { color: #8a919c; font-size: 13px; }

/* сетка: список слева + sticky-сводка справа */
.dk-cart-grid {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 6px;
}

.dk-cart-list { flex: 1 1 auto; min-width: 0; }

.dk-cart-aside {
  width: 360px;
  flex: 0 0 360px;
  position: sticky;
  top: 16px;
}

/* строка товара */
.dk-cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 150px;
  gap: 12px 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eceff3;
  align-items: start;
  transition: opacity .15s;
}

.dk-ci-img {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dk-ci-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.dk-ci-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dk-text);
  text-decoration: none;
}

.dk-ci-name:hover { color: var(--dk-pd); }

.dk-ci-model,
.dk-ci-option { font-size: 13px; color: #8a919c; margin-top: 4px; }

.dk-ci-preorder { font-size: 13px; font-weight: 600; color: #e08900; margin-top: 6px; }

.dk-ci-actions { display: flex; gap: 18px; margin-top: 12px; }

.dk-ci-fav,
.dk-ci-remove {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  color: #8a919c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}

.dk-ci-fav:hover,
.dk-ci-fav.active { color: #f22828; }

.dk-ci-remove:hover { color: var(--dk-text); }

/* степпер: минус на 1 шт. заблокирован — удаление только «Удалить» */
.dk-cart-item .dk-qty-minus:disabled { opacity: .35; cursor: default; }

.dk-cart-item .dk-qty-minus:disabled:hover { background: transparent; }

/* цены строки */
.dk-ci-price { text-align: right; }

.dk-ci-total { font-size: 18px; font-weight: 800; color: var(--dk-text); }

.dk-ci-price.dk-discount .dk-ci-total { color: #f22828; }

.dk-ci-old {
  font-size: 13px;
  color: #9aa1ab;
  text-decoration: line-through;
  margin-top: 2px;
}

.dk-ci-unit { font-size: 12px; color: #9aa1ab; margin-top: 6px; }

/* подарочные сертификаты */
.dk-cart-voucher .dk-ci-img { font-size: 30px; color: var(--dk-p); }

/* правая сводка «Ваша корзина» */
.dk-cart-summary {
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 24px rgba(20, 25, 40, .06);
}

.dk-cs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 10px;
  background: var(--dk-p);
  /* тёмный текст на жёлтом — как у жёлтых кнопок темы (чекаут), белый не читается */
  color: var(--dk-text) !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s;
}

.dk-cs-btn:hover { background: var(--dk-pd); }

.dk-cs-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: #8a919c;
  margin: 10px 0 0;
}

/* Условия доставки в корзине — заметнее служебной сноски, но не баннер
   (UX-аудит 2026-09-07: покупатель узнавал про 500 ₽ только в чекауте) */
.dk-cs-delivery {
  font-size: 13px;
  line-height: 1.45;
  color: #343a40;
  font-weight: 600;
  margin: 10px 0 0;
}

.dk-cs-delivery a { color: #1565c0; text-decoration: none; font-weight: 500; }

.dk-cs-delivery a:hover { text-decoration: underline; }

.dk-cs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 8px;
  padding-top: 16px;
  border-top: 1px solid #eceff3;
}

.dk-cs-title { font-size: 16px; font-weight: 800; color: var(--dk-text); }

.dk-cs-meta { font-size: 12.5px; color: #8a919c; white-space: nowrap; }

.dk-cs-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--dk-text);
  padding: 5px 0;
}

.dk-cs-discount .dk-cs-discount-val { color: #f22828; font-weight: 700; }

.dk-cs-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #eceff3;
  font-size: 16px;
  font-weight: 800;
  color: var(--dk-text);
}

.dk-cs-total { font-size: 22px; font-weight: 800; }

.dk-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  color: #8a919c;
  text-decoration: none;
}

.dk-cart-continue:hover { color: var(--dk-pd); }

/* пустая корзина */
.dk-cart-empty {
  max-width: 520px;
  margin: 56px auto 88px;
  text-align: center;
}

.dk-cart-empty > i { font-size: 56px; color: #dfe3ea; }

.dk-cart-empty-title { font-size: 24px; font-weight: 800; color: var(--dk-text); margin: 18px 0 8px; }

.dk-cart-empty p { font-size: 14px; color: #8a919c; margin: 0; }

.dk-cart-empty .dk-cs-btn { max-width: 260px; margin: 20px auto 0; }

/* планшет: сводка вниз, на всю ширину */
@media (max-width: 991.98px) {
  .dk-cart-grid { flex-direction: column; }
  .dk-cart-aside { position: static; width: 100%; flex: 1 1 auto; }
}

/* мобильный: фото слева, степпер и цена под описанием */
@media (max-width: 767.98px) {
  .dk-cart-item { grid-template-columns: 80px minmax(0, 1fr); gap: 10px 14px; }
  .dk-ci-img { width: 80px; height: 80px; grid-row: 1 / span 3; }
  .dk-ci-price {
      text-align: left;
      display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 4px 10px;
    }
  .dk-ci-price .dk-ci-old,
    .dk-ci-price .dk-ci-unit { margin-top: 0; }
  .dk-cart-title { font-size: 24px; }
  .dk-cart-title .dk-cart-count { font-size: 14px; }
}

/* === dk-checkout: страница оформления заказа (Ozon-style) ============== */
.dk-checkout .breadcrumb { margin-bottom: 8px; }

.dk-co-title { font-size: 28px; font-weight: 800; color: var(--dk-text); margin: 2px 0 18px; }

/* сетка: карточки слева + sticky-сводка справа */
.dk-co-grid { display: flex; gap: 28px; align-items: flex-start; }

.dk-co-main { flex: 1 1 auto; min-width: 0; }

.dk-co-aside { width: 380px; flex: 0 0 380px; position: sticky; top: 16px; }

/* карточки шагов */
.dk-co-card {
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.dk-co-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--dk-text);
  margin: 0 0 16px;
}

.dk-co-step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--dk-p);
  color: var(--dk-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 26px;      /* центр цифры: строка = высоте круга */
  text-align: center;
  display: inline-block;
  flex-shrink: 0;
}

/* город доставки — компактный чип в заголовке и popover по клику */
.dk-city-source-field { display: none !important; }

.dk-co-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}

.dk-co-card-head .dk-co-card-title { margin: 0; }

.dk-city-compact {
  position: relative;
  flex: 0 0 auto;
}

.dk-city-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #dfe3e9;
  border-radius: 999px;
  background: #f7f8fa;
  color: #677180;
  font-size: 12.5px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.dk-city-chip:hover,
.dk-city-chip[aria-expanded="true"] {
  border-color: #d4a32d;
  background: #fffaf0;
}

.dk-city-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 177, 0, .18);
}

.dk-city-chip > .fa-map-marker-alt { color: #d89a00; }

.dk-city-chip strong {
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 800;
}

.dk-city-chip-chevron {
  margin-left: 1px;
  color: #9aa1ab;
  font-size: 9px;
  transition: transform .18s ease;
}

.dk-city-chip[aria-expanded="true"] .dk-city-chip-chevron { transform: rotate(180deg); }

.dk-city-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 48px);
  padding: 14px;
  border: 1px solid #dfe3e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(25, 31, 44, .16);
}

.dk-city-popover[hidden] { display: none !important; }

.dk-city-popover > label {
  display: block;
  margin: 0 0 8px;
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 800;
}

.dk-city-picker-field {
  position: relative;
  display: flex;
  align-items: center;
}

.dk-city-picker-field > i {
  position: absolute;
  z-index: 2;
  left: 13px;
  color: #7b8491;
  pointer-events: none;
}

.dk-city-picker-field input {
  width: 100%;
  height: 44px;
  padding: 9px 126px 9px 38px;
  border: 1px solid #ccd2dc;
  border-radius: 9px;
  background: #fff;
  color: var(--dk-text);
  font-size: 14px;
  outline: none;
}

.dk-city-picker-field input:focus {
  border-color: #e6a300;
  box-shadow: 0 0 0 3px rgba(255, 177, 0, .14);
}

#dk-city-geolocate {
  position: absolute;
  z-index: 2;
  right: 5px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: #f0f2f5;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#dk-city-geolocate:hover { background: #e7eaf0; }

#dk-city-geolocate.is-ready { color: #18753c; background: #e8f7ee; }

#dk-city-geolocate:disabled { opacity: .65; cursor: wait; }

.dk-city-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid #dce1e8;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(25, 31, 44, .14);
}

.dk-city-suggestions[hidden] { display: none !important; }

.dk-city-suggestions button {
  width: 100%;
  display: block;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  color: var(--dk-text);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

.dk-city-suggestions button:last-child { border-bottom: 0; }

.dk-city-suggestions button:hover,
.dk-city-suggestions button:focus { background: #fff7e6; outline: none; }

.dk-city-status {
  min-height: 17px;
  margin-top: 5px;
  color: #748092;
  font-size: 11.5px;
}

.dk-city-status:empty { min-height: 0; margin-top: 0; }

.dk-city-status.is-error { color: #b42318; }

/* плитки способов (доставка и оплата) */
.dk-tiles { display: flex; flex-direction: column; gap: 10px; }

.dk-tiles-pay { flex-direction: row; flex-wrap: wrap; }

.dk-tiles-pay .dk-tile { flex: 1 1 calc(50% - 5px); min-width: 240px; }

.dk-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid #e0e4ea;
  border-radius: 11px;
  padding: 13px 16px;
  cursor: pointer;
  margin: 0;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}

.dk-tile:hover { border-color: #c9cfd9; }

.dk-tile.active {
  border-color: var(--dk-p);
  box-shadow: 0 0 0 1px var(--dk-p), 0 4px 14px rgba(255, 177, 0, .12);
}

.dk-tile input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.dk-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f2f4f8;
  color: #4b5563;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dk-tile.active .dk-tile-icon { background: #fff4dd; color: #a97400; }

.dk-tile-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.dk-tile-title { font-size: 14.5px; font-weight: 700; color: var(--dk-text); line-height: 1.3; }

.dk-tile-sub { font-size: 12.5px; color: #8a919c; }

.dk-tile-price { margin-left: auto; font-size: 14.5px; font-weight: 800; color: var(--dk-text); white-space: nowrap; }

.dk-tile-price.free { color: #1d9e45; }

/* бейджи провайдеров */
.dk-badge-ya, .dk-badge-ozon, .dk-badge-sber {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dk-badge-ya { background: #fc3f1d; }

.dk-badge-ozon { background: #005bff; }

.dk-badge-sber { background: #21a038; }

/* подсказка ПВЗ */
.dk-pvz-hint {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f5f8ff;
  border: 1px solid #d8e3fb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
}

.dk-pvz-hint i { color: #3b6fd4; margin-top: 2px; }

.dk-pvz-hint a { color: #3b6fd4; font-weight: 600; }

.dk-pvz-hint-body { flex: 1 1 auto; min-width: 0; }

.dk-pvz-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.dk-pvz-action-row[hidden] { display: none !important; }

.dk-pvz-address-summary {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #667085;
}

.dk-pvz-address-summary span {
  flex: 0 0 auto;
  font-weight: 600;
}

.dk-pvz-address-summary strong {
  color: var(--dk-text);
  font-weight: 700;
}

.dk-pvz-address-summary strong.is-empty {
  color: #7b8491;
  font-weight: 600;
}

.dk-pvz-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 15px;
  border: 0;
  border-radius: 8px;
  background: var(--dk-p);
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dk-pvz-map-btn:hover { background: var(--dk-pd); }

.dk-yandex-pvz-error {
  margin-top: 9px;
  color: #b42318;
  font-weight: 600;
}

/* официальный виджет ПВЗ Яндекс Доставки */
body.dk-pvz-modal-open { overflow: hidden; }

.dk-pvz-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dk-pvz-modal[hidden] { display: none !important; }

.dk-pvz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 40, .58);
  backdrop-filter: blur(2px);
}

.dk-pvz-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 96vw);
  height: min(780px, 92vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(20, 25, 40, .28);
}

.dk-pvz-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e8ed;
}

.dk-pvz-modal-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--dk-text);
}

.dk-pvz-modal-head p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.dk-pvz-modal-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #303640;
  font-size: 27px;
  line-height: 36px;
  cursor: pointer;
}

.dk-pvz-modal-close:hover { background: #e8ebf0; }

.dk-yandex-modal-error {
  margin: 10px 16px 0;
  padding: 9px 12px;
  border: 1px solid #f5c2c7;
  border-radius: 8px;
  background: #fff1f2;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
}

.dk-yandex-delivery-widget {
  min-height: 0;
  flex: 1 1 auto;
}

.dk-pvz-widget-loading {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(20, 25, 40, .14);
  color: #4b5563;
  font-size: 14px;
}

/* формы: сетка полей */
.dk-form-grid { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 14px; }

.dk-field { flex: 1 1 calc(50% - 8px); min-width: 220px; }

.dk-field-wide { flex: 1 1 100%; }

.dk-field .form-label { font-size: 13px; font-weight: 600; color: #4b5563; margin-bottom: 4px; }

.dk-field.required .form-label::after { content: ' *'; color: #f22828; }

.dk-field .form-control { height: 44px; border-radius: 9px; font-size: 14px; }

#dk-address-mount { margin-top: 2px; }

/* переключатель гость / вход / регистрация */
.dk-acc-switch { display: flex; flex-wrap: wrap; gap: 8px; }

#checkout-login { margin-top: 4px; }

/* правая сводка */
.dk-co-summary {
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 24px rgba(20, 25, 40, .06);
}

.dk-co-sum-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }

.dk-co-sum-title { font-size: 17px; font-weight: 800; color: var(--dk-text); }

.dk-co-edit { font-size: 13px; color: #8a919c; }

.dk-co-edit:hover { color: var(--dk-pd); }

/* состав заказа */
.dk-co-items { border-bottom: 1px solid #eceff3; margin-bottom: 8px; }

.dk-co-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; }

.dk-co-item-img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eceff3;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.dk-co-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.dk-co-item-gift { font-size: 20px; color: var(--dk-p); }

.dk-co-item-info { min-width: 0; flex: 1 1 auto; }

.dk-co-item-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dk-text);
  text-decoration: none;
}

.dk-co-item-name:hover { color: var(--dk-pd); }

.dk-co-item-meta { font-size: 12px; color: #8a919c; margin-top: 2px; }

.dk-co-item-total { font-size: 13.5px; font-weight: 800; color: var(--dk-text); white-space: nowrap; }

/* итоги */
.dk-co-totals { padding: 4px 0 2px; }

.dk-co-total-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--dk-text); padding: 4px 0; }

.dk-co-total-grand { margin-top: 8px; padding-top: 12px; border-top: 1px solid #eceff3; font-size: 16px; font-weight: 800; }

.dk-co-total-grand span:last-child { font-size: 21px; }

/* промокод-аккордеоны и комментарий */
.dk-co-summary .accordion { margin-top: 12px; }

.dk-co-summary .accordion-button { font-size: 13.5px; padding: 10px 14px; }

.dk-co-summary .accordion-body { padding: 12px 14px; }

.dk-co-comment { margin-top: 14px; }

.dk-co-comment .form-label { font-size: 13px; font-weight: 600; color: #4b5563; margin-bottom: 4px; }

.dk-co-comment textarea { border-radius: 9px; font-size: 13.5px; }

.dk-co-agree { margin-top: 12px; font-size: 12.5px; color: #4b5563; }

.dk-co-agree a { color: inherit; text-decoration: underline; }

/* кнопка и примечание */
.dk-co-submit { width: 100%; border: none; }

.dk-co-note { font-size: 12.5px; color: #8a919c; line-height: 1.45; margin: 10px 0 0; text-align: center; }

/* рейтинг Яндекс Маркета под кнопкой оплаты (R3-раскладка, мягкая карточка) */
.dk-co-mkt { margin-top: 14px; background: #fff6f3; border: 1px solid #ffdcd2; border-radius: 13px; padding: 12px 13px 13px; }

.dk-co-mkt-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }

.dk-co-mkt-tiles > div { text-align: center; background: #fff; border-radius: 10px; padding: 9px 4px; }

.dk-co-mkt-tiles b { display: block; font-size: 19px; font-weight: 800; color: var(--dk-text); line-height: 1.1; }

.dk-co-mkt-tiles b .dk-co-mkt-st { color: var(--dk-p); font-size: 14px; }

.dk-co-mkt-tiles span { font-size: 11px; color: #8a7d78; }

.dk-co-mkt-cta { display: block; text-align: center; margin-top: 10px; font-size: 13px; font-weight: 800; color: #2f6fd6; text-decoration: none; }

.dk-co-mkt-cta:hover { text-decoration: underline; }

/* подтверждение оплаты (confirm-страница) */
.dk-pay-note { font-size: 14px; color: #4b5563; }

/* адаптив */
@media (max-width: 991.98px) {
  .dk-co-grid { flex-direction: column; }
  .dk-co-aside { position: static; width: 100%; flex: 1 1 auto; }
}

@media (max-width: 575.98px) {
  .dk-co-card { padding: 16px; }
  .dk-tiles-pay .dk-tile { flex: 1 1 100%; }
  .dk-field { flex: 1 1 100%; }
  .dk-co-title { font-size: 24px; }
  .dk-pvz-modal { padding: 0; }
  .dk-pvz-modal-dialog {
      width: 100vw;
      height: 100dvh;
      max-height: none;
      border-radius: 0;
    }
  .dk-pvz-modal-head { padding: 12px 14px; }
  .dk-pvz-modal-head p { display: none; }
  .dk-co-card-head { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .dk-city-compact { margin-left: auto; }
  .dk-city-popover { max-width: calc(100vw - 52px); }
  .dk-city-picker-field input { padding-right: 48px; }
  #dk-city-geolocate { width: 34px; padding: 0; justify-content: center; }
  #dk-city-geolocate span { display: none; }
  .dk-pvz-action-row { align-items: stretch; flex-direction: column; gap: 10px; }
  .dk-pvz-address-summary { display: block; }
  .dk-pvz-address-summary span { display: block; margin-bottom: 2px; }
  .dk-tile { gap: 10px; padding: 12px; }
  .dk-tile-body { flex: 1 1 auto; }
  .dk-tile-price {
      flex: 0 0 92px;
      max-width: 92px;
      white-space: normal;
      text-align: right;
      line-height: 1.3;
    }
}

/* === dk-checkout v2: правки по фидбеку ================================ */
/* официальные знаки в плитках */
.dk-tile-icon img { max-width: 28px; max-height: 28px; display: block; }

.dk-tile-icon img.dk-icon-wide { max-width: 34px; }

.dk-tile-icon:has(img) { background: #fff; border: 1px solid #eceff3; }

/* «Состав заказа» внутри карточки «Способ получения» (Ozon-style) */
.dk-co-compose { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eceff3; }

.dk-co-compose-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }

.dk-co-compose-title { font-size: 15px; font-weight: 800; color: var(--dk-text); }

.dk-co-compose-count { font-size: 13px; color: #8a919c; }

.dk-co-compose-head .dk-co-edit { margin-left: auto; }

.dk-co-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }

.dk-co-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid #eceff3;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  text-decoration: none;
}

.dk-co-thumb img { max-width: 88%; max-height: 88%; object-fit: contain; border-radius: 8px; }

.dk-co-thumb-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #23272f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.dk-co-thumb-more {
  font-size: 13px;
  font-weight: 800;
  color: #4b5563;
  background: #f2f4f8;
}

.dk-co-thumb-more:hover { background: #e8ebf1; color: var(--dk-text); }

.dk-co-thumb-gift { font-size: 18px; color: var(--dk-p); }

/* промокод/сертификат (Ozon-style) */
.dk-promo { margin-top: 12px; }

.dk-promo-toggle {
  border: none;
  background: none;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #3b6fd4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dk-promo-toggle:hover { text-decoration: underline; }

.dk-promo-row { display: flex; gap: 8px; }

.dk-promo-row .form-control { height: 42px; border-radius: 9px; font-size: 14px; min-width: 0; }

/* кнопка не сжимается — сжимается поле (иначе «Применить» обрезается) */
.dk-promo-row .btn { border-radius: 9px; font-size: 13.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; padding-left: 14px; padding-right: 14px; }

.dk-promo-msg { font-size: 12.5px; color: #f22828; margin-top: 6px; }

/* строка «Уже покупали у нас?» */
.dk-acc-login-line { font-size: 13.5px; color: #4b5563; margin-bottom: 4px; }

.dk-acc-login-line a { color: #3b6fd4; font-weight: 600; }

/* === dk-recent: блок «Вы смотрели» на странице корзины ================= */
.dk-recent { margin: 44px 0 24px; }

.dk-recent-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dk-text);
  margin: 0 0 16px;
}

.dk-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* карточки берут глобальные стили dk-card (.product-thumb) */
.dk-recent .product-thumb { height: 100%; }

@media (max-width: 575.98px) {
  .dk-recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* страница тестового шлюза */
.dk-pay { text-align: center; }

.dk-pay-icon { font-size: 34px; color: var(--dk-p); margin: 4px 0 10px; }

.dk-pay-title { font-size: 20px; font-weight: 700; margin: 0 0 18px; }

.dk-pay-rows { margin-bottom: 18px; }

.dk-pay-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #eef0f3;
}

.dk-pay-row span { color: var(--dk-muted); }

.dk-pay-row.dk-pay-total { border-bottom: 0; font-size: 16px; }

.dk-pay-row.dk-pay-total b { font-size: 18px; }

.dk-success { text-align: center; }

.dk-success-icon { font-size: 40px; color: #1e7e34; margin: 6px 0 12px; }

.dk-success .dk-auth-title { margin-bottom: 10px; }

.dk-success .dk-auth-text { margin: 0 0 18px; }

/* text_message приходит абзацами — ровные отступы вместо голых переносов */
.dk-success .dk-auth-text p { margin: 0 0 10px; }

.dk-success .dk-auth-text p:last-child { margin-bottom: 0; }

.dk-success .dk-auth-text a { color: inherit; text-decoration: underline; }

.dk-success-order { font-size: 16px; color: #1a1a1a; }

.dk-success-order strong { white-space: nowrap; }

/* dk-suggest: выпадающие подсказки адреса (DaData) */
.dk-suggest-box { position: absolute; left: 0; right: 0; top: 100%; z-index: 1050; margin-top: 4px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.09); overflow: hidden; }

.dk-suggest-item { padding: 10px 14px; font-size: 13.5px; line-height: 1.4; cursor: pointer; }

.dk-suggest-item:hover, .dk-suggest-item.active { background: #f6f6f6; }

/* Плитка-анонс способа доставки («скоро»): видно, но не выбрать */
.dk-tile-soon { opacity: .55; cursor: default; pointer-events: none; }

.dk-tile-soon .dk-tile-icon img { filter: grayscale(1); }

.dk-soon-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: #f2f2f2; color: #777; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; vertical-align: 1px; }

.dk-success-btn { display: block; line-height: 48px; height: 48px; padding: 0; text-decoration: none; color: #1a1a1a; }

.dk-success-btn:hover { color: #1a1a1a; text-decoration: none; }

.dk-rec-img img,
.dk-ord-thumbs img,
.dk-oi-thumb img,
.dk-co-thumbs img { mix-blend-mode: multiply; }

/* dk: бейдж «баллы Плюса» в плитке способа оплаты (чекаут) — тот же резерв, size s */
.dk-tile-plus { display: block; margin-top: 2px; line-height: 0; }

.dk-tile-plus yandex-pay-badge { display: inline-block; vertical-align: top; }

.dk-tile-plus yandex-pay-badge:not(:defined) { display: block; visibility: hidden; height: 14px; }
