/* Perfume Brand Landing Kit - filters, CTA, sticky bar, pagination (v2.1.0) */

.pblk-fp {
	position: relative;
	margin: 0 0 clamp(28px, 5vw, 52px);
	scroll-margin-top: 90px;
}

.pblk-fp-bar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	margin-bottom: 14px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e8e3f1;
	box-shadow: 0 8px 22px rgba(23, 19, 31, 0.05);
}

.pblk-fp-bar-top {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.pblk-fp-search-wrap,
.pblk-fp-sort-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	min-height: 44px;
	border-radius: 12px;
	border: 1px solid #e8e3f1;
	background: #faf8ff;
	color: #5f5a6b;
}

.pblk-fp-search-wrap {
	flex: 1 1 240px;
}

.pblk-fp-search,
.pblk-fp-sort {
	flex: 1;
	border: 0;
	background: transparent;
	font-size: 14px;
	color: #17131f;
	min-height: 42px;
	outline: none;
}

.pblk-fp-reset {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid #e8e3f1;
	background: #fff;
	color: #5f5a6b;
	font-size: 13.5px;
	cursor: pointer;
}

.pblk-fp-reset:hover {
	border-color: #552f86;
	color: #552f86;
}

.pblk-fp-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.pblk-fp-group-label {
	flex: none;
	min-width: 86px;
	font-size: 13px;
	font-weight: 700;
	color: #5f5a6b;
}

.pblk-fp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pblk-fp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid #e8e3f1;
	background: #fff;
	color: #17131f;
	font-size: 13.5px;
	cursor: pointer;
	transition: all 0.18s ease;
}

.pblk-fp-chip:hover {
	border-color: #552f86;
	color: #552f86;
}

.pblk-fp-chip[aria-pressed="true"] {
	background: linear-gradient(135deg, #552f86, #7a4fc0);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 18px rgba(85, 47, 134, 0.24);
}

.pblk-fp-chip[aria-pressed="true"] .pblk-chip-count {
	color: rgba(255, 255, 255, 0.85);
}

.pblk-fp-count {
	margin: 0 0 12px;
	font-size: 13.5px;
	color: #5f5a6b;
}

.pblk-fp-empty {
	margin: 18px 0 0;
	padding: 18px;
	border-radius: 14px;
	border: 1px dashed #d5c9ef;
	background: #faf8ff;
	color: #5f5a6b;
	text-align: center;
	font-size: 14px;
}

.pblk-fp-mobile-toggle,
.pblk-fp-mobile-panel-head,
.pblk-fp-mobile-close,
.pblk-fp-mobile-apply,
.pblk-fp-backdrop {
	display: none;
}

/* ---------- Pagination ---------- */

.pblk-pagination {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.pblk-pagination-summary {
	margin: 0;
	font-size: 13px;
	color: #5f5a6b;
}

.pblk-pagination-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pblk-pagination-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid #e8e3f1;
	background: #fff;
	color: #17131f;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.18s ease;
}

.pblk-pagination-links .page-numbers:hover {
	border-color: #552f86;
	color: #552f86;
}

.pblk-pagination-links .page-numbers.current {
	background: linear-gradient(135deg, #552f86, #7a4fc0);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 18px rgba(85, 47, 134, 0.24);
}

.pblk-pagination-links .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ---------- CTA box ---------- */

.pblk-ctabox {
	border-radius: 20px;
	padding: clamp(18px, 4vw, 34px);
	background: linear-gradient(140deg, #221836 0%, #4a2b7a 65%, #6a3fa8 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.pblk-ctabox::after {
	content: "";
	position: absolute;
	inset-inline-end: -60px;
	top: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.pblk-ctabox .pblk-block-title {
	color: #fff;
}

.pblk-ctabox .pblk-block-title::before {
	background: rgba(255, 255, 255, 0.7);
}

.pblk-ctabox-text {
	margin: 0 0 16px;
	max-width: 60ch;
	line-height: 2;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.86);
}

.pblk-ctabox-actions {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pblk-ctabox-note {
	margin: 14px 0 0;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.7);
}

/* ---------- Sticky CTA ---------- */

.pblk-sticky {
	position: fixed;
	inset-inline: 12px;
	bottom: max(12px, env(safe-area-inset-bottom));
	z-index: 9990;
	display: flex;
	gap: 8px;
	padding: 8px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border: 1px solid #e8e3f1;
	box-shadow: 0 12px 30px rgba(23, 19, 31, 0.16);
	transform: translateY(140%);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
}

.pblk-sticky.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.pblk-sticky-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 46px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
}

.pblk-sticky-primary {
	background: linear-gradient(135deg, #552f86, #7a4fc0);
	color: #fff;
}

.pblk-sticky-primary:hover {
	color: #fff;
}

.pblk-sticky-wa {
	flex: 0 0 auto;
	padding: 0 14px;
	background: #25d366;
	color: #fff;
}

.pblk-sticky-wa:hover {
	color: #fff;
}

.pblk-sticky-tel {
	flex: 0 0 auto;
	padding: 0 14px;
	background: #f4efff;
	color: #552f86;
}

body.pblk-has-sticky-cta {
	padding-bottom: 78px;
}

@media (min-width: 992px) {
	.pblk-sticky-mobile {
		display: none;
	}

	.pblk-fp-bar.is-sticky {
		position: sticky;
		top: 12px;
		z-index: 20;
	}
}

/* ---------- Mobile bottom sheet ---------- */

@media (max-width: 991px) {
	.pblk-fp-mobile-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 46px;
		width: 100%;
		justify-content: center;
		margin-bottom: 12px;
		padding: 0 16px;
		border-radius: 14px;
		border: 1px solid #e8e3f1;
		background: #fff;
		color: #17131f;
		font-size: 14.5px;
		font-weight: 700;
		cursor: pointer;
		box-shadow: 0 6px 16px rgba(23, 19, 31, 0.06);
	}

	.pblk-fp-active-count {
		display: inline-grid;
		place-items: center;
		min-width: 22px;
		height: 22px;
		padding: 0 6px;
		border-radius: 999px;
		background: #552f86;
		color: #fff;
		font-size: 12px;
	}

	.pblk-fp-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 9995;
		background: rgba(23, 19, 31, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.22s ease;
	}

	.pblk-fp-backdrop.is-open {
		opacity: 1;
		pointer-events: auto;
	}

	.pblk-fp-bar {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 9996;
		max-height: 82vh;
		overflow-y: auto;
		margin: 0;
		border-radius: 20px 20px 0 0;
		padding: 0 16px calc(88px + env(safe-area-inset-bottom));
		transform: translateY(102%);
		transition: transform 0.28s ease;
		box-shadow: 0 -12px 34px rgba(23, 19, 31, 0.18);
	}

	.pblk-fp-bar.is-open {
		transform: translateY(0);
	}

	.pblk-fp-mobile-panel-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		position: sticky;
		top: 0;
		z-index: 2;
		margin: 0 -16px 8px;
		padding: 14px 16px;
		background: #fff;
		border-bottom: 1px solid #e8e3f1;
		font-size: 15px;
	}

	.pblk-fp-mobile-close {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 12px;
		border: 1px solid #e8e3f1;
		background: #fff;
		color: #5f5a6b;
		cursor: pointer;
	}

	.pblk-fp-mobile-apply {
		display: block;
		position: fixed;
		inset-inline: 16px;
		bottom: max(16px, env(safe-area-inset-bottom));
		z-index: 3;
		min-height: 50px;
		border: 0;
		border-radius: 14px;
		background: linear-gradient(135deg, #552f86, #7a4fc0);
		color: #fff;
		font-size: 15px;
		font-weight: 800;
		cursor: pointer;
		box-shadow: 0 12px 26px rgba(85, 47, 134, 0.3);
	}

	.pblk-fp-group {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding-bottom: 12px;
		border-bottom: 1px solid #f1edf8;
	}

	.pblk-fp-group-label {
		min-width: 0;
		font-size: 14px;
		color: #17131f;
	}

	.pblk-fp-search,
	.pblk-fp-sort {
		font-size: 16px;
	}

	.pblk-ctabox-actions .pblk-btn {
		flex: 1 1 100%;
	}
}
