/* «Повторить заказ» (includes/reorder.php, assets/reorder.js): блок под баннером главной, той же ширины и скругления; цвета — подсказки о бесплатной
   доставке и кнопки «Оформить заказ» боковой корзины. Крестик «Скрыть на 7 дней» в углу: нажимаемая область 36 px, сам крестик 18 px;
   на ПК — своя колонка справа, на телефоне «Повторить» уходит вниз, к списку. */
.mrd-reorder { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "pics head head" "list list go"; column-gap: 12px; row-gap: 8px; align-items: end;
  margin: 12px 0 0; padding: 12px 14px 14px; border-radius: 16px; background: #fff7ea; color: #24272d; font: 400 14px/1.3 Roboto, sans-serif; }
.mrd-reorder[hidden] { display: none; }
.mrd-reorder__pics { grid-area: pics; display: flex; align-self: center; }
.mrd-reorder__pics img { box-sizing: border-box; width: 36px; height: 36px; border: 2px solid #fff7ea; border-radius: 50%; object-fit: cover; background: #fff; }
.mrd-reorder__pics img + img { margin-left: -12px; }
.mrd-reorder__head { grid-area: head; min-width: 0; align-self: center; }
.mrd-reorder__title { display: block; color: #602c28; font-size: 16px; font-weight: 700; }
.mrd-reorder__meta { display: block; margin-top: 2px; color: #7a7f87; font-size: 13px; white-space: nowrap; }
.mrd-reorder__sum { color: #24272d; font-weight: 700; }
.mrd-reorder__list { grid-area: list; margin: 0; padding: 0; color: #24272d; font-size: 13.5px; line-height: 1.35; }
.mrd-reorder__go { grid-area: go; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  background: #ffc45a; color: #602c28; font: 700 15px/1 Roboto, sans-serif; cursor: pointer; }
.mrd-reorder__go:focus-visible { outline: 2px solid #602c28; outline-offset: 2px; }
.mrd-reorder__x { position: absolute; top: 2px; right: 2px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0;
  border-radius: 50%; background: none; color: #5f636b; cursor: pointer; }
.mrd-reorder__x svg { width: 18px; height: 18px; }
.mrd-reorder__x:hover { color: #602c28; }
.mrd-reorder__x:focus-visible { outline: 2px solid #602c28; outline-offset: -2px; }
@media (min-width: 1025px) {
  .mrd-reorder { grid-template-areas: "pics head go" "pics list go"; align-items: center; column-gap: 20px; row-gap: 4px; margin-top: 16px; padding: 16px 48px 16px 24px; border-radius: 24px; }
  .mrd-reorder__pics img { width: 48px; height: 48px; }
  .mrd-reorder__pics img + img { margin-left: -14px; }
  .mrd-reorder__head { display: flex; gap: 10px; align-items: baseline; }
  .mrd-reorder__title { font-size: 18px; }
  .mrd-reorder__meta { margin: 0; font-size: 14px; }
  .mrd-reorder__list { font-size: 14px; }
  .mrd-reorder__go { height: 46px; padding: 0 28px; }
}
