/* Buttons: base + variants (usable anywhere) */
.btn,
.ph-btn,
.hp-btn {
  /* keep .ph-btn and .hp-btn for backward compatibility */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.04s ease, filter 0.2s ease;
  color: #fff;
}

/* Legacy color-only classes can be used standalone and should keep base button metrics */
.btn-blue,
.btn-pink,
.btn-accent,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.04s ease, filter 0.2s ease;
}

/* Basfarg for text */
.btn,
.ph-btn,
.hp-btn {
  color: #fff !important;
}

/* Hover och active-effekter */
.btn:hover,
.ph-btn:hover {
  filter: brightness(.98);
}

.btn:active,
.ph-btn:active {
  transform: translateY(1px);
}

/* Buttons: never underline regardless of global link styles */
.btn,
.ph-btn,
.hp-btn,
.btn:hover,
.ph-btn:hover,
.hp-btn:hover,
.btn:focus,
.ph-btn:focus,
.hp-btn:focus,
.btn:active,
.ph-btn:active,
.hp-btn:active,
.btn:visited,
.ph-btn:visited,
.hp-btn:visited {
  text-decoration: none !important;
}

/* Varianter */
.btn--primary,
.ph-btn--paket {
  background: var(--brand-blue);
}

.btn--accent,
.ph-btn--offer {
  background: var(--brand-pink);
}

.btn--turq,
.ph-btn--ref {
  background: var(--brand-turq);
}

.ph-btn--contact {
  background: var(--brand-blue);
}

.btn--dark {
  background: #111;
}

.btn--light {
  background: #fff;
  color: #111 !important;
}

/* Helpers for aldre markup */
.btn-blue {
  background: var(--brand-blue);
  color: #fff;
}

.btn-pink {
  background: var(--brand-pink);
  color: #fff;
}

/* Legacy preview buttons */
.btn-accent {
  background: var(--brand-pink);
  color: #fff;
}

.btn-dark {
  background: #111;
  color: #fff;
}
