/**
 * Shipping Notice Styles
 *
 * @package Piktorfestek_Core
 * @since 1.9.0
 */

/* Base notice styles */
.pf-shipping-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 15px 18px;
	background: #fff3cd;
	border-left: 4px solid #f0ad4e;
	border-radius: 4px;
	color: #856404;
	font-size: 14px;
	line-height: 1.5;
	margin: 15px 0;
}

/* Icon container */
.pf-shipping-notice__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* SVG icon styles */
.pf-shipping-notice__svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Text content */
.pf-shipping-notice__text {
	flex: 1;
	margin: 0;
}

/* Editor preview styles */
.pf-shipping-notice--preview {
	margin: 0;
}

/* Block editor wrapper */
.pf-shipping-notice-block-editor {
	margin: 10px 0;
}

/* Responsive */
@media (max-width: 600px) {
	.pf-shipping-notice {
		padding: 12px 15px;
		font-size: 13px;
		gap: 10px;
	}

	.pf-shipping-notice__icon {
		width: 20px;
		height: 20px;
	}
}

/* Print styles */
@media print {
	.pf-shipping-notice {
		background: #f5f5f5 !important;
		border-left-width: 2px !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

/* ===== CHECKOUT NON-SHIPPABLE BADGE ===== */

.pf-non-shippable-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	padding: 2px 8px;
	background: #fff3cd;
	border: 1px solid #f0ad4e;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 500;
	color: #856404;
	white-space: nowrap;
	vertical-align: middle;
}

.pf-non-shippable-badge::before {
	content: '\26A0';
	font-size: 10px;
}

/* Woodmart checkout layout */
.wd-checkout-prod-title .pf-non-shippable-badge {
	margin-top: 6px;
	display: inline-block;
}

/* Responsive */
@media (max-width: 600px) {
	.pf-non-shippable-badge {
		font-size: 10px;
		padding: 2px 6px;
		margin-left: 0;
		margin-top: 4px;
		display: block;
		width: fit-content;
	}
}
