/* Both owner-approved phone numbers support calls and WhatsApp. This file
 * follows the base Contact card grammar and adds explicit 44px actions. */

.pps-page-contact-channels__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.pps-page-contact-channels__value {
	overflow-wrap: anywhere;
}

.pps-page-contact-channels__actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
}

.pps-page-contact-channels__action {
	display: inline-flex;
	min-width: 0;
	min-height: 44px;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-pill);
	background: var(--paper);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: border-color .18s var(--ease-ios), background .18s var(--ease-ios), color .18s var(--ease-ios), transform .18s var(--ease-ios);
}

.pps-page-contact-channels__action--call {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--ivory);
}

.pps-page-contact-channels__action--whatsapp,
.pps-page-contact-channels__action--email {
	border-color: color-mix(in srgb, var(--gold-deep) 42%, transparent);
	color: var(--gold-deep);
}

.pps-page-contact-channels__action--email {
	flex-basis: 100%;
}

.pps-page-contact-channels__action:hover,
.pps-page-contact-channels__action:focus-visible {
	border-color: var(--gold-deep);
	background: var(--gold-deep);
	color: var(--paper);
}

.pps-page-contact-channels__action:active {
	transform: scale(.97);
}

@media (max-width: 360px) {
	.pps-page-contact-channels__actions {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pps-page-contact-channels__action {
		transition: none;
	}

	.pps-page-contact-channels__action:active {
		transform: none;
	}
}
