/* ================================================================
   Homepage Hits block — sec-num + 4-up product cards (paper-2 bg)
   ================================================================ */

.hits-block {
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
}

.hits-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.hits-head-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1400px;
}
.hits-title { margin: 0; }

.hits-actions {
  display: flex;
  gap: 10px;
}
.hits-cta { padding: 12px 18px; font-size: 13px; }

/* ── Grid ──────────────────────────────────────── */

.hits-grid {
  margin-top: 48px;
}

/* ── Card ──────────────────────────────────────── */

.hit-card {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hit-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.hit-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10px;
  padding: 4px 8px;
}

.hit-card-img {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.hit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hit-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hit-card-art {
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.hit-card-name {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.hit-card-sub {
  margin: 0;
  font-size: 13px;
  color: rgba(14, 14, 14, 0.7);
  line-height: 1.45;
}

.hit-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.hit-card-price {
  font-size: 26px;
  line-height: 1;
}
.hit-card-price-old {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 14px;
}

.hit-card-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.hit-card-foot-spacer { flex: 1; }

.hit-card-cart {
  padding: 10px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hit-card-cart svg { display: block; }

/* ── Responsive ────────────────────────────────── */

@media (max-width: 1024px) {
  .hits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hits-grid { grid-template-columns: 1fr; }
  .hit-card-name { font-size: 16px; }
}

/* ── Editor adjustments ────────────────────────── */
.editor-styles-wrapper .hit-card { pointer-events: none; }
