/* Kafrasa Checkout & Delivery — checkout styling. */

/* Delivery distance field */
.pcc-distance { margin-top: 10px; }
.pcc-distance h3 { margin: 0 0 8px; }
.pcc-distance__hint {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #666;
}

/* "or" divider above the WhatsApp button */
.pcc-whatsapp { margin-top: 16px; text-align: center; }
.pcc-whatsapp__or {
	position: relative;
	margin: 4px 0 14px;
	color: #888;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.pcc-whatsapp__or::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(0, 0, 0, 0.12);
}
.pcc-whatsapp__or span {
	position: relative;
	background: #fff;
	padding: 0 12px;
}

/* WhatsApp button */
.pcc-whatsapp__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-radius: 6px;
	background: #25d366;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.pcc-whatsapp__btn:hover,
.pcc-whatsapp__btn:focus { background: #1ebe5b; color: #fff; }
.pcc-whatsapp__btn svg { display: block; flex: 0 0 auto; }

.pcc-whatsapp__note {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #666;
}

/* "Order via WhatsApp" button on product pages — sits on its own row below
   Add to cart + Buy it now, and is not full-width (shorter). */
.pcc-product-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 100%;
	max-width: 300px;
	margin: 4px 0 0;
	padding: 13px 22px;
	border: none;
	border-radius: 6px;
	background: #25d366;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.pcc-product-wa:hover,
.pcc-product-wa:focus { background: #1ebe5b; color: #fff; }
.pcc-product-wa svg { display: block; flex: 0 0 auto; }

/* Delivery-fee acknowledgment (checkout) */
.pcc-delivery-ack {
	margin: 14px 0;
	padding: 14px 16px;
	background: #fff8e6;
	border: 1px solid #f0d68a;
	border-radius: 8px;
}
.pcc-delivery-ack__note {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #6b5300;
}
.pcc-delivery-ack__check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.pcc-delivery-ack__check input[type="checkbox"] {
	margin: 2px 0 0;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

/* "Delivery instructions" replaces the generic order-notes box (moved up into
   the address). Hide the now-empty "Additional information" section. */
.woocommerce-checkout .woocommerce-additional-fields { display: none; }
.pcc-delivery-instructions label { font-weight: 600; }
.pcc-delivery-instructions textarea { min-height: 84px; }
