/**
 * Front-end styles for temporarily paused vendor products.
 * Brand primary: rgb(140,188,103); secondary: #fbbc34.
 *
 * @package Khaloghli_Customizations\Modules\Vendor_Panel
 */

/* Dimmed product card while the seller store is paused. */
.kh-vp-product-paused .woocommerce-loop-product__title,
.kh-vp-product-paused .price {
	opacity: 0.72;
}

.kh-vp-product-paused img {
	filter: grayscale(0.35);
	opacity: 0.85;
}

/* Loop note under the title / price. */
.kh-vp-pause-loop-note {
	display: block;
	margin: 0.5rem 0 0;
	padding: 0.4rem 0.65rem;
	border-radius: 0.65rem;
	background: rgba(251, 188, 52, 0.18);
	color: #8a6a12;
	font-size: 0.75rem;
	line-height: 1.5;
	font-weight: 600;
	text-align: center;
}

/* Replaces add-to-cart button markup in the loop. */
.kh-vp-pause-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.5rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 0.75rem;
	font-weight: 600;
	pointer-events: none;
}

/* Single product banner. */
.kh-vp-pause-banner {
	margin: 1rem 0 1.25rem;
	padding: 1rem 1.15rem;
	border-radius: 1rem;
	border: 1px solid rgba(251, 188, 52, 0.55);
	background: linear-gradient(135deg, rgba(251, 188, 52, 0.18), rgba(140, 188, 103, 0.12));
	text-align: center;
}

.kh-vp-pause-banner__title {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #6b5310;
}

.kh-vp-pause-banner__text {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.7;
	color: #4b5563;
}

/* Soften the gallery / summary when the store is paused. */
body.kh-vp-store-paused .woocommerce-product-gallery__image img {
	filter: grayscale(0.25);
}

body.kh-vp-store-paused form.cart,
body.kh-vp-store-paused .single_add_to_cart_button {
	display: none !important;
}
