/**
 * Front-end styles for the WooCommerce product placeholder.
 *
 * All colours are applied via inline styles so PHP can change them
 * per-setting without touching this file. This sheet handles only
 * layout and typography that never vary.
 */

/* ── Base card ─────────────────────────────────────────────────────────── */
.wpp-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 16px;
	box-sizing: border-box;
	overflow: hidden;
}

/* ── Single product page: fill the gallery area properly ───────────────── */
.wpp-single-wrap {
	width: 100%;
}

.wpp-placeholder--single {
	aspect-ratio: 1 / 1;
	min-height: 300px;
}

.wpp-placeholder--single .wpp-initials {
	font-size: clamp( 3rem, 10vw, 6rem );
}

.wpp-placeholder--single .wpp-name {
	font-size: clamp( 0.75rem, 2vw, 1rem );
	margin-top: 0.75em;
}

/* ── Initials ───────────────────────────────────────────────────────────── */
.wpp-initials {
	font-size: clamp( 1.8rem, 5vw, 3rem );
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

/* ── Product name ───────────────────────────────────────────────────────── */
.wpp-name {
	display: block;
	font-size: clamp( 0.6rem, 1.5vw, 0.78rem );
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-align: center;
	margin-top: 0.5em;
	word-break: break-word;
	max-width: 100%;
}
