/* ============================================================
   Hashtagprint – Manifesti da affissione – manifesti.css
   Extends configurator.css (loaded as a dependency).
   Only adds button-group option selectors used in this product.
   ============================================================ */

/* ── Option button group ─────────────────────────────────── */
.htp-btn-grp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.htp-btn-opt {
  border: 1.5px solid #e2e2e8;
  background: #fafafa;
  border-radius: 10px;
  padding: 10px 10px 9px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  text-align: left;
  font-family: inherit;
  line-height: 1.3;
}

.htp-btn-opt:hover {
  border-color: var(--htp-accent);
  background: #fff;
}

.htp-btn-opt.active {
  border-color: var(--htp-accent);
  background: #fff0f7;
}

.htp-btn-opt b {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.htp-btn-opt small {
  display: block;
  color: #888;
  font-size: 11px;
  margin-top: 2px;
  font-weight: 400;
}

/* Quantity grid – 3 columns, two rows of 3 */
.htp-btn-grp--qty {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
  .htp-btn-grp,
  .htp-btn-grp--qty {
    grid-template-columns: repeat(2, 1fr);
  }
}
