/* Cart item layout for catalog data from the CMS. */
.quote-item {
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
}

.quote-item__media {
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f2f4f3;
}

.quote-item__media::before {
  display: none;
}

.quote-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-item__content {
  min-width: 0;
}

.quote-item__brand {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.quote-item__name {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.quote-item__name a {
  color: var(--ink);
  text-decoration: none;
}

.quote-item__name a:hover {
  color: var(--orange);
}

.quote-item__remove {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.quote-item__remove:hover {
  color: #fff;
  background: var(--ink);
}

.quote-item__remove svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

@media (max-width: 600px) {
  .quote-item {
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .quote-item__media {
    width: 56px;
    height: 56px;
  }
}
