.cdr-latest {
  position: relative;
  margin: 30px 0 25px;
  border-top: 1px solid #ddd;
  padding-top: 26px;
  color: #333;
}
.cdr-latest__heading {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding-right: 10px;
}
.cdr-latest .cdr-latest__heading h2 {
  margin: 0;
  color: #333;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: normal;
}
.cdr-latest__heading i {margin-inline-end: 3px;}
.cdr-latest .cdr-latest__all, .cdr-latest .cdr-latest__name {color: #2a6fba; text-decoration: none;}
.cdr-latest .cdr-latest__all {font-size: 14px; font-weight: 400;}
.cdr-latest .cdr-latest__all:hover, .cdr-latest .cdr-latest__name:hover {text-decoration: underline;}
.cdr-latest__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 30px;
}
.cdr-latest__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  padding: 15px;
}
.cdr-latest__media {position: relative;}
.cdr-latest__photo {display: block; width: 100%; aspect-ratio: 1; max-width: 228px; margin: auto;}
.cdr-latest__photo img {display: block; width: 100%; height: 100%; object-fit: contain;}
.cdr-latest__stickers {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 28px);
  pointer-events: none;
}
.cdr-latest__stickers > * {
  padding: 1px 5px;
  border-radius: 1px;
  background: #494949;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
}
.cdr-latest__stickers del {background: #b94e3d;}
.cdr-latest__text {
  flex: 1; display: flex; flex-direction: column;
  border-top: 1px solid #eee;
  padding-top: 15px; margin-top: 15px;
}
.cdr-latest .cdr-latest__name {
  font-size: 15px; font-weight: 400; line-height: 1.25; text-align: left;
  overflow-wrap: anywhere; margin-bottom: 12px; min-height: 3.6em;
}
.cdr-latest__actions {margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 5px; flex-wrap: wrap;}
.cdr-latest__price {color: #800020; font-size: 19px; line-height: 1.25;}
.cdr-latest__buttons {display: inline-flex; gap: 4px; margin-inline-start: auto;}
.cdr-latest .cdr-latest__button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: 0; border-radius: 2px; padding: 0;
  background: #eee; color: #555; font: inherit; font-size: 14px; cursor: pointer;
}
.cdr-latest .cdr-latest__cart {background: #800020; color: #fff;}
.cdr-latest .cdr-latest__view {position: absolute; top: 0; right: 0; opacity: 0;}
.cdr-latest__card:hover .cdr-latest__view, .cdr-latest__card:focus-within .cdr-latest__view {opacity: 1;}
.cdr-latest a:focus-visible, .cdr-latest button:focus-visible {outline: 2px solid #2a6fba; outline-offset: 2px;}
@media (max-width: 991px) {
  .cdr-latest__grid {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 767px) {
  .cdr-latest__grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px;}
  .cdr-latest__card {padding: 15px;}
  .cdr-latest .cdr-latest__name {min-height: 7.2em;}
  .cdr-latest__stickers > * {font-size: 12px; line-height: 16px;}
}
@media (hover: none) {
  .cdr-latest .cdr-latest__view {opacity: 1;}
}
