/* =================== page-home-day.css =================== */
/* «Товар дня» — Aspro-style aligned grid: 2 standard cards + 1 big (×2 width)
   on the right, ONE row, EQUAL height. The media is flex-fill, so the big and
   the small cards always end at the same baseline — no column is ever empty. */

.page-home .hc-day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); /* BIG (крупная) · 3 small в ряд */
  gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch;
}

.page-home .hc-day-prod {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(141, 109, 71, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px -38px rgba(47, 35, 20, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.page-home .hc-day-prod:hover {
  transform: translateY(-3px);
  border-color: rgba(141, 109, 71, 0.30);
  box-shadow: 0 28px 64px -36px rgba(47, 35, 20, 0.50);
}
.page-home .hc-day-prod--big {
  grid-column: 1;
  grid-row: 1;
}

/* Media fills the leftover height → every card ends at the same baseline. */
.page-home .hc-day-prod__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 150px;
  display: block;
  background: linear-gradient(145deg, #fffaf0, #efe4cf);
  overflow: hidden;
}
.page-home .hc-day-prod__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.page-home .hc-day-prod:hover .hc-day-prod__img { transform: scale(1.04); }
.page-home .hc-day-prod__ph { position: absolute; inset: 0; display: grid; place-items: center; }

.page-home .hc-day-prod__badge,
.page-home .hc-day-prod__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font: 700 10px/1 var(--hc-mono, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #15120f;
  color: #fff;
}
.page-home .hc-day-prod__badge--sale { background: #8b3f32; }
.page-home .hc-day-prod__tag { background: var(--hc-accent, #8b7355); }

.page-home .hc-day-prod__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
}
.page-home .hc-day-prod__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font: 600 10px/1 var(--hc-mono, monospace);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 75, 48, 0.70);
}
.page-home .hc-day-prod__name {
  font-family: var(--hc-serif, Georgia, serif);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .hc-day-prod__name:hover { color: var(--hc-accent-dark, #5d4d3a); }
.page-home .hc-day-prod__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(26, 23, 20, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .hc-day-prod__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.page-home .hc-day-prod__price {
  font-family: var(--hc-serif, Georgia, serif);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  color: var(--hc-ink, #1a1714);
}
.page-home .hc-day-prod__price--ask {
  font-size: 15px;
  font-style: italic;
  color: rgba(26, 23, 20, 0.60);
}
.page-home .hc-day-prod__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #15120f;
  color: #fff;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.page-home .hc-day-prod__cta:hover { background: #000; transform: translateY(-1px); }

/* BIG card — larger media + roomier body + bigger type. */
.page-home .hc-day-prod--big .hc-day-prod__media { min-height: 240px; }
.page-home .hc-day-prod--big .hc-day-prod__body { padding: 20px 22px 22px; gap: 12px; }
.page-home .hc-day-prod--big .hc-day-prod__name {
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.12;
  -webkit-line-clamp: 3;
}
.page-home .hc-day-prod--big .hc-day-prod__price { font-size: clamp(22px, 2.2vw, 30px); }
.page-home .hc-day-prod--big .hc-day-prod__cta { min-height: 46px; padding: 0 26px; font-size: 14px; }

@media (max-width: 920px) {
  .page-home .hc-day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .hc-day-prod--big { grid-column: 1 / -1; grid-row: auto; }
  .page-home .hc-day-prod--big .hc-day-prod__media { min-height: 220px; }
}
@media (max-width: 560px) {
  .page-home .hc-day-grid { grid-template-columns: 1fr; }
}
