/* Pillow Center Core — frontend styles */

:root {
	--pcc-whatsapp: #25d366;
	--pcc-phone: #1a1a1a;
	--pcc-radius: 999px;
	--pcc-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pcc-contact-bar {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pcc-contact-bar--mobile-only {
	display: none;
}

@media (max-width: 767px) {
	.pcc-contact-bar--mobile-only {
		display: flex;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	}
}

.pcc-contact-bar__btn,
.pcc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: var(--pcc-radius);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: var(--pcc-shadow);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.pcc-contact-bar__btn:hover,
.pcc-btn:hover {
	transform: translateY(-1px);
	color: #fff;
	opacity: 0.95;
}

.pcc-contact-bar__btn--whatsapp,
.pcc-btn--whatsapp {
	background: var(--pcc-whatsapp);
}

.pcc-contact-bar__btn--phone,
.pcc-btn--phone {
	background: var(--pcc-phone);
}

.pcc-contact-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0;
}

.pcc-contact-buttons--stacked {
	flex-direction: column;
	align-items: stretch;
}

.pcc-contact-buttons--stacked .pcc-btn {
	width: 100%;
}

.pcc-loop-whatsapp {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--pcc-whatsapp);
	text-decoration: none;
}

.pcc-loop-whatsapp:hover {
	text-decoration: underline;
}

.woocommerce div.product .pcc-contact-buttons {
	margin-top: 20px;
}
