.deals {
  margin: calc(9.7 * var(--px)) var(--gutter) calc(20 * var(--px));
  padding: calc(14.1 * var(--px)) var(--card-pad) calc(6 * var(--px));
  border-radius: var(--radius-card);
  background: var(--surface);
}

.deals__title {
  margin: 0 0 calc(14.6 * var(--px));
  color: var(--text);
  font-size: calc(14 * var(--px));
  font-weight: 600;
  line-height: 1.2;
}

.deals__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deal {
  display: flex;
  align-items: flex-start;
  gap: calc(9 * var(--px));
}

.deal + .deal {
  margin-top: calc(21.6 * var(--px));
}

.deal__thumb {
  flex: none;
  width: calc(87 * var(--px));
  height: calc(87 * var(--px));
  border-radius: calc(5 * var(--px));
  background: #f2efec;
  object-fit: cover;
}

.deal__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: calc(87 * var(--px));
}

/* 负 margin 是视觉微调：让标题首行与缩略图上沿对齐 */
.deal__title {
  margin: calc(-3 * var(--px)) 0 0;
  color: var(--text);
  font-size: calc(16 * var(--px));
  font-weight: 600;
  line-height: calc(20 * var(--px));
  letter-spacing: calc(0.1 * var(--px));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal__review {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  margin: calc(4 * var(--px)) 0 0;
  padding: calc(2.5 * var(--px)) calc(4 * var(--px)) calc(2.5 * var(--px))
    calc(3.5 * var(--px));
  border-radius: calc(3 * var(--px));
  background: #f5f5f5;
  color: #8a8a8a;
  font-size: calc(9.5 * var(--px));
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal__review svg {
  flex: none;
  width: calc(9.5 * var(--px));
  height: calc(9.5 * var(--px));
  margin-right: calc(4 * var(--px));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 价格块与右侧销量/按钮同底对齐，整体贴住缩略图下沿 */
.deal__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(8 * var(--px));
  margin-top: auto;
}

.deal__price-block {
  min-width: 0;
}

.deal__price {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: var(--accent);
  white-space: nowrap;
}

.deal__yen {
  font-size: calc(11 * var(--px));
  font-weight: 600;
  line-height: 1;
}

.deal__amount {
  margin-left: calc(0.5 * var(--px));
  font-size: calc(18.5 * var(--px));
  font-weight: 600;
  line-height: 1;
  letter-spacing: calc(-0.55 * var(--px));
}

.deal__cents {
  font-size: calc(14 * var(--px));
  font-weight: 600;
  line-height: 1;
  letter-spacing: calc(-0.2 * var(--px));
}

.deal__tag {
  align-self: center;
  margin-left: calc(6 * var(--px));
  padding: calc(2 * var(--px)) calc(4 * var(--px));
  border-radius: calc(3 * var(--px));
  background: var(--tag-bg);
  font-size: calc(9.5 * var(--px));
  line-height: 1.15;
}

.deal__was {
  align-self: center;
  margin-left: calc(5 * var(--px));
  color: #a0a0a0;
  font-size: calc(11.5 * var(--px));
  line-height: 1;
  text-decoration: line-through;
}

.deal__coupon {
  margin: calc(2 * var(--px)) 0 0;
  color: #f0664a;
  font-size: calc(11.5 * var(--px));
  line-height: 1.2;
  white-space: nowrap;
}

.deal__side {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(1.5 * var(--px));
}

.deal__sold {
  margin: 0;
  color: #a8a8a8;
  font-size: calc(10 * var(--px));
  line-height: 1.2;
  white-space: nowrap;
}

.deal__buy {
  width: calc(53 * var(--px));
  height: calc(31 * var(--px));
  border-radius: calc(10 * var(--px));
  background: linear-gradient(90deg, var(--buy-from), var(--buy-to));
  color: #fff;
  font-size: calc(14 * var(--px));
  font-weight: 600;
  line-height: 1;
  letter-spacing: calc(0.5 * var(--px));
  transition:
    filter var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.deal__buy:active {
  filter: brightness(0.93);
  transform: scale(0.97);
}
