/**
 * BookSunrise Product Page — front-end styles.
 * All selectors are prefixed with .bspp to avoid theme collisions.
 */

.bspp {
	--bspp-accent: #d98b32;
	--bspp-text: #17212b;
	--bspp-muted: #5b6673;
	--bspp-border: #e4e4e1;
	--bspp-surface: #ffffff;
	--bspp-radius: 12px;
	--bspp-gap: 24px;

	box-sizing: border-box;
	max-width: 100%;
	margin: 14px 0;
	clear: both;
}

.bspp *,
.bspp *::before,
.bspp *::after {
	box-sizing: border-box;
}

.bspp .bspp-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	display: block;
}

/* ---------------------------------------------------------------- Badge */

.bspp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: var(--bspp-accent);
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(217, 139, 50, 0.08);
}

.bspp-badge__text {
	overflow-wrap: anywhere;
}

.bspp-badge--outline {
	background: transparent;
	border-color: currentColor;
}

.bspp-badge--solid {
	background: var(--bspp-accent);
	border-color: var(--bspp-accent);
	color: #fff;
}

.bspp-badge--minimal {
	background: transparent;
	border-color: transparent;
	padding-left: 0;
	padding-right: 0;
}

/* ------------------------------------------------------------- Shipping */

.bspp-shipping {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--bspp-border);
	border-radius: var(--bspp-radius);
	background: var(--bspp-surface);
}

.bspp-shipping__icon {
	color: var(--bspp-accent);
	display: flex;
	padding-top: 1px;
}

.bspp-shipping__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bspp-shipping__primary {
	font-size: 14px;
	font-weight: 600;
	color: var(--bspp-text);
	line-height: 1.4;
}

.bspp-shipping__secondary {
	font-size: 13px;
	color: var(--bspp-muted);
	line-height: 1.4;
}

/* ---------------------------------------------------------------- Trust */

.bspp-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bspp-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid var(--bspp-border);
	border-radius: var(--bspp-radius);
	background: var(--bspp-surface);
	list-style: none;
	min-width: 0;
}

.bspp-trust__icon {
	color: var(--bspp-accent);
	display: flex;
	padding-top: 1px;
}

.bspp-trust__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bspp-trust__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--bspp-text);
	line-height: 1.3;
}

.bspp-trust__text {
	font-size: 12px;
	color: var(--bspp-muted);
	line-height: 1.35;
}

/* ----------------------------------------------------------- Confidence */

.bspp-confidence {
	padding: 14px 16px;
	border: 1px solid var(--bspp-border);
	border-radius: var(--bspp-radius);
	background: var(--bspp-surface);
}

.bspp-confidence__heading {
	margin: 0 0 10px;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bspp-text);
	letter-spacing: 0.01em;
}

.bspp-confidence__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bspp-confidence__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--bspp-muted);
	list-style: none;
	min-width: 0;
}

.bspp-confidence__icon {
	color: var(--bspp-accent);
	display: flex;
	padding-top: 1px;
}

.bspp-confidence__icon .bspp-icon {
	width: 16px;
	height: 16px;
}

/* ----------------------------------------------------------- Highlights */

.bspp--highlights {
	margin-top: var(--bspp-gap);
	margin-bottom: var(--bspp-gap);
}

.bspp-highlights__heading {
	margin: 0 0 14px;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--bspp-text);
}

.bspp-highlights__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.bspp-highlight {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border: 1px solid var(--bspp-border);
	border-radius: var(--bspp-radius);
	background: var(--bspp-surface);
	min-width: 0;
}

.bspp-highlight__icon {
	color: var(--bspp-accent);
	display: flex;
}

.bspp-highlight__title {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bspp-text);
}

.bspp-highlight__text {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--bspp-muted);
}

/* --------------------------------------------------------- Responsive */

@media (max-width: 1200px) {
	.bspp-highlights__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.bspp-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.bspp-highlights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.bspp-trust,
	.bspp-confidence__list,
	.bspp-highlights__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bspp-badge {
		font-size: 11px;
		letter-spacing: 0.03em;
	}

	.bspp-highlights__heading {
		font-size: 18px;
	}
}
