/* Perfume Brand Landing Kit - core styles (v2.1.0) */

.pblk-hero,
.pblk-block,
.pblk-fp {
	--pblk-brand: #552f86;
	--pblk-brand-soft: #f4efff;
	--pblk-ink: #17131f;
	--pblk-muted: #5f5a6b;
	--pblk-line: #e8e3f1;
	--pblk-radius: 18px;
	--pblk-gutter: clamp(14px, 4vw, 24px);
	--pblk-tap: 44px;
	color: var(--pblk-ink);
	font-family: inherit;
	direction: rtl;
}

.pblk-block {
	margin: 0 0 clamp(24px, 5vw, 48px);
}

.pblk-block-title,
.pblk-hero-title {
	margin: 0 0 12px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: -0.2px;
}

.pblk-block-title {
	font-size: clamp(19px, 2.4vw, 26px);
	position: relative;
	padding-inline-start: 14px;
}

.pblk-block-title::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 22px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--pblk-brand), #8a63d2);
}

.pblk-svg {
	width: 20px;
	height: 20px;
	flex: none;
}

.pblk-svg.is-next {
	transform: rotate(180deg);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Breadcrumb ---------- */

.pblk-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--pblk-muted);
}

.pblk-breadcrumb li + li::before {
	content: "\203A";
	margin-inline-end: 6px;
	color: #b9b2c8;
}

.pblk-breadcrumb a {
	color: var(--pblk-muted);
	text-decoration: none;
}

.pblk-breadcrumb a:hover {
	color: var(--pblk-brand);
}

/* ---------- Hero ---------- */

.pblk-hero {
	position: relative;
	margin-bottom: clamp(24px, 5vw, 48px);
	border-radius: var(--pblk-radius);
	background: linear-gradient(160deg, #fbf9ff 0%, #f3eeff 100%);
	border: 1px solid var(--pblk-line);
	overflow: hidden;
}

.pblk-hero-media img {
	display: block;
	width: 100%;
	height: auto;
}

.pblk-hero-mobile {
	display: none;
}

.pblk-hero-body {
	padding: var(--pblk-gutter);
}

.pblk-hero-logo-img {
	max-width: 140px;
	height: auto;
	margin-bottom: 12px;
	filter: drop-shadow(0 6px 18px rgba(85, 47, 134, 0.14));
}

.pblk-hero-title {
	font-size: clamp(22px, 3.4vw, 34px);
}

.pblk-hero-desc {
	color: var(--pblk-muted);
	font-size: 15px;
	line-height: 2;
	max-width: 70ch;
}

.pblk-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0;
	padding: 0;
	list-style: none;
}

.pblk-hero-meta li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--pblk-line);
	font-size: 13px;
}

.pblk-hero-meta-label {
	color: var(--pblk-muted);
}

.pblk-hero-meta-value {
	font-weight: 700;
}

.pblk-hero-site {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 13px;
	color: var(--pblk-brand);
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}

.pblk-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Buttons & chips ---------- */

.pblk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--pblk-tap);
	padding: 0 20px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pblk-btn-primary {
	background: linear-gradient(135deg, var(--pblk-brand), #7a4fc0);
	color: #fff;
	box-shadow: 0 10px 24px rgba(85, 47, 134, 0.24);
}

.pblk-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(85, 47, 134, 0.3);
	color: #fff;
}

.pblk-btn-ghost {
	background: #fff;
	color: var(--pblk-brand);
	border: 1px solid var(--pblk-line);
}

.pblk-btn-ghost:hover {
	border-color: var(--pblk-brand);
}

.pblk-btn-wa {
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.26);
}

.pblk-btn-wa:hover {
	color: #fff;
	transform: translateY(-2px);
}

.pblk-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--pblk-line);
	color: var(--pblk-ink);
	font-size: 14px;
	text-decoration: none;
	transition: all 0.18s ease;
}

.pblk-chip:hover {
	border-color: var(--pblk-brand);
	color: var(--pblk-brand);
	background: var(--pblk-brand-soft);
}

.pblk-chip-count {
	font-size: 12px;
	color: var(--pblk-muted);
}

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

.pblk-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 clamp(24px, 5vw, 40px);
	padding: 0;
	list-style: none;
}

.pblk-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--pblk-line);
}

.pblk-trust-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 12px;
	background: var(--pblk-brand-soft);
	color: var(--pblk-brand);
}

.pblk-trust-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
}

.pblk-trust-text strong {
	font-size: 14px;
}

.pblk-trust-text span {
	color: var(--pblk-muted);
}

/* ---------- Rich text ---------- */

.pblk-richtext-body {
	line-height: 2.1;
	font-size: 15px;
	color: #2b2536;
}

.pblk-richtext-body h3 {
	margin: 22px 0 8px;
	font-size: 18px;
}

.pblk-collapse .pblk-richtext-body {
	position: relative;
}

.pblk-collapse-toggle {
	display: none;
	min-height: var(--pblk-tap);
	margin-top: 8px;
	padding: 0 16px;
	border-radius: 10px;
	border: 1px solid var(--pblk-line);
	background: #fff;
	color: var(--pblk-brand);
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Cards / collections ---------- */

.pblk-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.pblk-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--pblk-line);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pblk-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(23, 19, 31, 0.1);
}

.pblk-card-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.pblk-card-body {
	padding: 14px;
}

.pblk-card-title {
	margin: 0 0 6px;
	font-size: 16px;
}

.pblk-card-title a {
	color: inherit;
	text-decoration: none;
}

.pblk-card-text {
	margin: 0 0 10px;
	color: var(--pblk-muted);
	font-size: 13px;
	line-height: 1.9;
}

.pblk-card-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--pblk-brand);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

/* ---------- Scent profiles ---------- */

.pblk-scent-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.pblk-scent {
	padding: 16px;
	border-radius: 14px;
	background: linear-gradient(160deg, #fff, #faf7ff);
	border: 1px solid var(--pblk-line);
}

.pblk-scent-title {
	margin: 0 0 6px;
	font-size: 16px;
}

.pblk-scent-desc {
	margin: 0 0 10px;
	color: var(--pblk-muted);
	font-size: 13px;
	line-height: 1.9;
}

/* ---------- Timeline ---------- */

.pblk-timeline {
	margin: 0;
	padding: 0 18px 0 0;
	list-style: none;
	border-inline-start: 2px solid var(--pblk-line);
}

.pblk-timeline-item {
	position: relative;
	padding: 0 20px 22px 0;
}

.pblk-timeline-item::before {
	content: "";
	position: absolute;
	inset-inline-start: -25px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--pblk-brand);
	box-shadow: 0 0 0 4px var(--pblk-brand-soft);
}

.pblk-timeline-year {
	display: inline-block;
	margin-bottom: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--pblk-brand-soft);
	color: var(--pblk-brand);
	font-size: 12px;
	font-weight: 700;
}

.pblk-timeline-title {
	margin: 0 0 4px;
	font-size: 16px;
}

.pblk-timeline-body p {
	margin: 0;
	color: var(--pblk-muted);
	font-size: 13px;
	line-height: 1.9;
}

/* ---------- Table ---------- */

.pblk-table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid var(--pblk-line);
}

.pblk-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
	background: #fff;
	font-size: 14px;
}

.pblk-table th,
.pblk-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--pblk-line);
	text-align: start;
}

.pblk-table thead th {
	background: var(--pblk-brand-soft);
	color: var(--pblk-brand);
	font-weight: 700;
	white-space: nowrap;
}

.pblk-table tbody tr:hover {
	background: #fbf9ff;
}

/* ---------- FAQ ---------- */

.pblk-faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pblk-faq-item {
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--pblk-line);
	overflow: hidden;
}

.pblk-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: var(--pblk-tap);
	padding: 12px 16px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
}

.pblk-faq-q::-webkit-details-marker {
	display: none;
}

.pblk-faq-icon {
	transition: transform 0.2s ease;
	color: var(--pblk-brand);
}

.pblk-faq-item[open] .pblk-faq-icon {
	transform: rotate(-90deg);
}

.pblk-faq-a {
	padding: 0 16px 14px;
	color: var(--pblk-muted);
	font-size: 14px;
	line-height: 2;
}

/* ---------- Facets & notes ---------- */

.pblk-facet-list,
.pblk-quicklinks-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pblk-notes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.pblk-notes-col {
	padding: 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--pblk-line);
}

.pblk-notes-title {
	margin: 0 0 10px;
	font-size: 15px;
	color: var(--pblk-brand);
}

.pblk-notes-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pblk-notes-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 10px;
	background: #faf8ff;
	font-size: 13px;
}

.pblk-note-count {
	color: var(--pblk-muted);
	font-size: 12px;
}

/* ---------- Related brands ---------- */

.pblk-brands {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.pblk-brand-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--pblk-line);
	color: inherit;
	text-decoration: none;
	transition: all 0.18s ease;
}

.pblk-brand-card:hover {
	border-color: var(--pblk-brand);
	background: var(--pblk-brand-soft);
	color: inherit;
}

.pblk-brand-card span {
	color: var(--pblk-muted);
	font-size: 12px;
}

/* ---------- Editor notice ---------- */

.pblk-empty-notice {
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px dashed #c9bce4;
	background: #faf7ff;
	color: #6a5b86;
	font-size: 13px;
}

/* ---------- Accessibility & mobile (v2.1) ---------- */

.pblk-block a:focus-visible,
.pblk-block button:focus-visible,
.pblk-hero a:focus-visible,
.pblk-fp a:focus-visible,
.pblk-fp button:focus-visible,
.pblk-fp select:focus-visible,
.pblk-fp input:focus-visible {
	outline: 3px solid rgba(85, 47, 134, 0.45);
	outline-offset: 2px;
	border-radius: 10px;
}

@media (max-width: 991px) {
	.pblk-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.pblk-hero-mobile {
		display: block;
	}

	.pblk-hero-desktop {
		display: none;
	}

	.pblk-hero-media img {
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

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

	.pblk-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pblk-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pblk-collapse .pblk-richtext-body {
		max-height: 320px;
		overflow: hidden;
	}

	.pblk-collapse .pblk-richtext-body::after {
		content: "";
		position: absolute;
		inset-inline: 0;
		bottom: 0;
		height: 90px;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%);
	}

	.pblk-collapse.is-open .pblk-richtext-body {
		max-height: none;
	}

	.pblk-collapse.is-open .pblk-richtext-body::after {
		display: none;
	}

	.pblk-collapse-toggle {
		display: inline-flex;
		align-items: center;
	}

	.pblk-table-wrap {
		position: relative;
	}

	.pblk-table-wrap::after {
		content: "برای دیدن ستون‌های بیشتر بکشید";
		display: block;
		padding: 6px 10px;
		font-size: 11px;
		color: var(--pblk-muted);
		text-align: center;
	}
}
