/**
 * Scent Notes — Phlur-style layout.
 * Title sits above the two-column body.
 * LEFT: TOP / HEART / BASE beside the image.
 * RIGHT: wide landscape image.
 */

body.single-product .ln-pdp-scent-notes,
body.single-product .ln-pdp-scent-notes * {
	font-family: "ABCRepro-Regular", "ABC_Repro", Kanit, sans-serif !important;
}

body.single-product .ln-pdp-scent-notes {
	--ln-scent-text: #111111;
	--ln-scent-line: rgba(17, 17, 17, 0.14);
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 48px 0 64px;
	box-sizing: border-box;
	background: #ffffff;
	color: var(--ln-scent-text);
	clear: both;
}

body.single-product .ln-pdp-scent-notes__inner {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 24px 0 clamp(20px, 3vw, 40px);
	box-sizing: border-box;
}

body.single-product .ln-pdp-scent-notes__heading {
	margin: 0 0 18px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--ln-scent-line);
	color: var(--ln-scent-text) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.22em;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

body.single-product .ln-pdp-scent-notes__layout {
	display: grid;
	grid-template-columns: minmax(0, 28%) minmax(0, 72%);
	gap: 20px;
	align-items: start;
}

body.single-product .ln-pdp-scent-notes__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	padding-top: 4px;
}

body.single-product .ln-pdp-scent-notes__set {
	margin: 0;
}

body.single-product .ln-pdp-scent-notes__set + .ln-pdp-scent-notes__set {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--ln-scent-line);
}

body.single-product .ln-pdp-scent-notes__set-name {
	margin: 0 0 16px !important;
	color: var(--ln-scent-text) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	line-height: 1.3 !important;
	text-transform: uppercase !important;
}

body.single-product .ln-pdp-scent-notes__stack {
	display: flex;
	flex-direction: column;
	width: 100%;
}

body.single-product .ln-pdp-scent-notes__row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid var(--ln-scent-line);
}

body.single-product .ln-pdp-scent-notes__row:first-child {
	padding-top: 0;
}

body.single-product .ln-pdp-scent-notes__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.single-product .ln-pdp-scent-notes__row-label {
	margin: 6px 0 0 !important;
	color: var(--ln-scent-text) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em;
	line-height: 1.3 !important;
	text-transform: uppercase !important;
}

body.single-product .ln-pdp-scent-notes__row-notes {
	min-width: 0;
}

body.single-product .ln-pdp-scent-notes__note-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product .ln-pdp-scent-notes__note-item {
	margin: 0 0 2px !important;
	padding: 0 !important;
	color: var(--ln-scent-text) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em;
	line-height: 1.45 !important;
	text-transform: none !important;
}

body.single-product .ln-pdp-scent-notes__note-item:last-child {
	margin-bottom: 0 !important;
}

body.single-product .ln-pdp-scent-notes__flat-notes {
	margin: 0 !important;
	color: var(--ln-scent-text) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
}

body.single-product .ln-pdp-scent-notes__media {
	display: flex;
	align-items: flex-start;
	min-width: 0;
}

/* Match former Story-section image scale (not the oversized ingredients plate). */
body.single-product .ln-pdp-scent-notes__image-wrap {
	position: relative;
	width: 100%;
	min-height: 0;
	max-height: 420px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f4f4f4;
}

body.single-product .ln-pdp-scent-notes__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 991px) {
	body.single-product .ln-pdp-scent-notes {
		padding: 40px 0 48px;
	}

	body.single-product .ln-pdp-scent-notes__inner {
		padding: 0 16px;
	}

	body.single-product .ln-pdp-scent-notes__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	body.single-product .ln-pdp-scent-notes__image-wrap,
	body.single-product .ln-pdp-scent-notes__image {
		min-height: 0;
		max-height: 320px;
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 767px) {
	body.single-product .ln-pdp-scent-notes {
		padding: 32px 0 40px;
	}

	body.single-product .ln-pdp-scent-notes__heading {
		margin-bottom: 16px;
		padding-bottom: 12px;
		font-size: 12px !important;
	}

	/* Mobile order: heading (above) → image → notes */
	body.single-product .ln-pdp-scent-notes__layout {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	body.single-product .ln-pdp-scent-notes__media {
		order: 1;
	}

	body.single-product .ln-pdp-scent-notes__content {
		order: 2;
		padding-top: 0;
	}

	body.single-product .ln-pdp-scent-notes__row {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 10px;
		padding: 14px 0;
	}

	body.single-product .ln-pdp-scent-notes__note-item,
	body.single-product .ln-pdp-scent-notes__flat-notes {
		font-size: 15px !important;
	}

	body.single-product .ln-pdp-scent-notes__media,
	body.single-product .ln-pdp-scent-notes__image-wrap,
	body.single-product .ln-pdp-scent-notes__image {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0;
		max-height: none;
		aspect-ratio: 4 / 3;
	}
}

/* —— Gifting PDPs only: compact aligned multi-perfume Scent Notes ——
 * TOP/HEART/BASE on one row each (comma-separated notes).
 * No separators between TOP/HEART/BASE — one separator after each perfume.
 */
body.single-product.ln-pdp-gifting .ln-pdp-scent-notes,
body.single-product .ln-pdp-scent-notes--gifting {
	padding: 40px 0 48px;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__heading,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__heading {
	margin-bottom: 14px;
	padding-bottom: 10px;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__content,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__content {
	padding-top: 0;
}

/* Separator ONLY between perfume blocks (after full TOP/HEART/BASE). */
body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__set + .ln-pdp-scent-notes__set,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__set + .ln-pdp-scent-notes__set {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--ln-scent-line);
}

/* Perfume headings slightly larger/bolder than TOP/HEART/BASE. */
body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__set-name,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__set-name {
	margin: 0 0 8px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	line-height: 1.25 !important;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__stack,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__stack {
	gap: 0;
}

/* Fixed label column so notes align; more horizontal gap; NO row separators. */
body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__row,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	column-gap: 28px;
	align-items: baseline;
	padding: 3px 0;
	border-bottom: 0 !important;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__row:first-child,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__row:first-child {
	padding-top: 0;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__row:last-child,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__row:last-child {
	padding-bottom: 0;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__row-label,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__row-label {
	margin: 0 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	line-height: 1.35 !important;
	text-transform: uppercase !important;
}

/* All notes for a group on one horizontal line, comma-separated. */
body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__note-line,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__note-line {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--ln-scent-text) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em;
	line-height: 1.4 !important;
	text-transform: none !important;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

/* Legacy list markup fallback if present: force inline + commas. */
body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__note-list,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__note-list {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__note-item,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__note-item {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
}

body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__note-item:not(:last-child)::after,
body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__note-item:not(:last-child)::after {
	content: ", ";
}

@media (max-width: 991px) {
	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes,
	body.single-product .ln-pdp-scent-notes--gifting {
		padding: 32px 0 40px;
	}

	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__set + .ln-pdp-scent-notes__set,
	body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__set + .ln-pdp-scent-notes__set {
		margin-top: 12px;
		padding-top: 12px;
	}

	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__row,
	body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__row {
		grid-template-columns: 64px minmax(0, 1fr);
		column-gap: 20px;
		padding: 3px 0;
	}
}

@media (max-width: 767px) {
	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes,
	body.single-product .ln-pdp-scent-notes--gifting {
		padding: 28px 0 36px;
	}

	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__set-name,
	body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__set-name {
		margin-bottom: 6px !important;
		font-size: 12px !important;
	}

	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__row,
	body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__row {
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 16px;
		padding: 2px 0;
	}

	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__note-line,
	body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__note-line,
	body.single-product.ln-pdp-gifting .ln-pdp-scent-notes__note-item,
	body.single-product .ln-pdp-scent-notes--gifting .ln-pdp-scent-notes__note-item {
		font-size: 14px !important;
		line-height: 1.4 !important;
	}
}

/* —— Creative full-width image (Parfum + Fragrance Bomb mapped products) ——
 * Heading + separator unchanged; image starts immediately below the rule.
 * Classic TOP/HEART/BASE layout is not used when --creative is present.
 */
body.single-product .ln-pdp-scent-notes--creative .ln-pdp-scent-notes__heading {
	margin-bottom: 0;
}

/* Desktop only: equal L/R inset — slightly looser than 24px, still centered. */
@media (min-width: 992px) {
	body.single-product .ln-pdp-scent-notes--creative .ln-pdp-scent-notes__inner {
		padding-left: 36px;
		padding-right: 36px;
	}
}

body.single-product .ln-pdp-scent-notes--creative .ln-pdp-scent-notes__creative-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	line-height: 0;
}

body.single-product .ln-pdp-scent-notes--creative .ln-pdp-scent-notes__picture {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

body.single-product .ln-pdp-scent-notes--creative .ln-pdp-scent-notes__creative {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
	object-fit: contain;
	object-position: center top;
}

/* Slightly tighter gap from creative bottom → HOW TO APPLY (desktop + mobile). */
body.single-product .ln-pdp-scent-notes--creative {
	padding-bottom: 40px;
}

@media (max-width: 991px) {
	body.single-product .ln-pdp-scent-notes--creative {
		padding-bottom: 28px;
	}
}

@media (max-width: 767px) {
	body.single-product .ln-pdp-scent-notes--creative {
		/* Slightly taller section presence on mobile; image asset/cropping unchanged. */
		padding-top: 40px;
		padding-bottom: 20px;
	}
}
