/* Dishwashing liquid 8-in-1 page — Home Plus */

.dl-page {
	--hp-blue-light: #88A4CB;
	--hp-blue-mid: #203E7A;
	--hp-blue-dark: #031749;
	--hp-navy: #102244;
	--hp-red: #EA0029;
}


/* Header over hero — no background bar */
.site-header {
	position: absolute;
	inset-inline: 0;
	top: 0;
	width: 100%;
	background: transparent !important;
	box-shadow: none;
}

/* —— Hero —— */
.dl-hero {
	position: relative;
	/* Match desktop hero art (1501×656) so the full splash stays visible */
	aspect-ratio: 1501 / 656;
	width: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--hp-navy);
	color: #fff;
}

.dl-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.dl-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.dl-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding: 7.5rem 1.5rem 3.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end; /* RTL: physical left = header logo edge */
	text-align: left;
	box-sizing: border-box;
}

.dl-hero__eyebrow,
.dl-hero__title,
.dl-hero__lead {
	max-width: 560px;
	width: 100%;
}

.dl-hero__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
}

.dl-hero__title {
	margin: 0 0 1.15rem;
	font-size: clamp(1.7rem, 3.5vw, 2.55rem);
	font-weight: 800;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.15rem;
}

.dl-hero__title-accent {
	color: var(--hp-red);
}

.dl-hero__title-main {
	color: #fff;
}

.dl-hero__lead {
	margin: 0;
	font-size: clamp(0.88rem, 1.4vw, 1rem);
	font-weight: 400;
	line-height: 2;
	color: rgba(255, 255, 255, 0.95);
	max-width: 32rem;
}

/* —— Variants bar + cards —— */
.dl-variants {
	background: #88A4CB;
}

.dl-variants__bar {
	background: transparent;
	padding: 1.35rem 1.5rem 0.35rem;
	text-align: center;
}

.dl-variants__bar h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 700;
}

.dl-variants__list {
	background: transparent;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 1.25rem 1.5rem 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.dl-card {
	position: relative;
	max-width: none;
	width: 100%;
	margin: 0 auto;
	min-height: 480px;
	border-radius: 18px;
	overflow: hidden;
	background-color: transparent;
	background-image: var(--dl-card-bg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
	isolation: isolate;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dl-card::before {
	content: none;
}

.dl-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.dl-card__body {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 6%, 3rem) 1.25rem 2.75rem 2.5rem;
	max-width: 44%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	text-align: left;
	min-height: 480px;
	margin-left: 8%;
	margin-right: auto;
	box-sizing: border-box;
}

.dl-card__title {
	margin: auto 0 0;
	color: #fff;
	font-size: clamp(1.55rem, 2.9vw, 2rem);
	font-weight: 300;
	line-height: 1.2;
}

.dl-card h3.dl-card__title {
	font-weight: 300;
}

.dl-card__brand {
	margin: 0.2rem 0 0;
	color: #E60023;
	font-size: clamp(1.7rem, 3.2vw, 2.25rem);
	font-weight: 300;
	line-height: 1.15;
}

.dl-card__scent {
	margin: 1.15rem 0 0;
	color: #D1D1D1;
	font-size: clamp(0.95rem, 1.85vw, 1.28rem);
	font-weight: 300;
	line-height: 1.55;
}

.dl-card__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: auto;
	padding-top: 1.75rem;
	margin-bottom: 0;
}

.dl-card__size {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #E60023;
	color: #fff;
	border-radius: 6px;
	padding: 0.55rem 1.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	min-width: 0;
	min-height: 2.55rem;
	line-height: 1.25;
	box-sizing: border-box;
}

.dl-card__cta {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin-top: 1.25rem;
	padding: 0.28rem 1.25rem;
	min-width: 0;
	min-height: 1.95rem;
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 400;
	direction: ltr;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease;
}

.dl-card__cta span {
	display: inline-block;
	font-size: 1.15em;
	line-height: 1;
}

.dl-card__cta:hover {
	background: #fff;
	color: var(--hp-blue-dark);
}

/* —— Scents —— */
.dl-scents {
	background: #fff;
	padding: 3rem 0 3.4rem;
}

.dl-scents__inner {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
}

.dl-scents__inner h2 {
	margin: 0 0 0.65rem;
	color: var(--hp-blue-dark);
	font-size: clamp(1.2rem, 2.3vw, 1.55rem);
	font-weight: 400;
	line-height: 1.55;
}

.dl-scents__sub {
	margin: 0 auto 1.8rem;
	max-width: 36rem;
	color: var(--hp-blue-dark);
	font-size: 0.95rem;
	line-height: 1.9;
	opacity: 0.88;
}

.dl-scents__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	direction: rtl;
}

.dl-scent {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: #fff;
	border-radius: 14px;
	padding: 0.95rem 1.2rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1), 0 16px 40px rgba(0, 0, 0, 0.16);
	border: none;
	text-align: right;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	min-height: 155px;
}

.dl-scent:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 20px 48px rgba(0, 0, 0, 0.2);
}

.dl-scent__label {
	color: #EB0029;
	font-size: clamp(1.15rem, 2.1vw, 1.4rem);
	font-weight: 400;
	line-height: 1.45;
	flex: 1;
	/* از لبه بیرونی فاصله؛ نزدیک‌تر به وسط باکس مطابق موکاپ */
	padding-inline-start: 1.75rem;
	text-align: center;
}

/* ستون چپ گرید RTL: تصویر سمت راست، متن سمت چپ (تصاویر به سمت وسط) */
.dl-scent:nth-child(even) {
	flex-direction: row-reverse;
	text-align: left;
}

.dl-scent:nth-child(even) .dl-scent__label {
	padding-inline-start: 0;
	padding-inline-end: 1.75rem;
	text-align: center;
}

.dl-scent__media {
	flex-shrink: 0;
	width: 48%;
	max-width: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dl-scent__media img {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-height: 120px;
}

/* —— FAQ —— */
.dl-faq {
	background: #88A4CB;
	padding: 2.5rem 1.5rem 3rem;
	color: #fff;
}

.dl-faq__inner {
	/* Outer edges align with header logo / actions (1240px rail − 1.5rem pads) */
	max-width: calc(1240px - 3rem);
	width: 100%;
	margin: 0 auto;
	background: #203E7A;
	border-radius: 18px;
	padding: 2rem 1.5rem 1.75rem;
	box-shadow: 0 14px 36px rgba(3, 23, 73, 0.28);
}

.dl-faq__inner > h2 {
	margin: 0 0 1.6rem;
	text-align: center;
	font-size: clamp(1.05rem, 2.2vw, 1.4rem);
	font-weight: 700;
	line-height: 1.8;
}

.dl-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dl-faq__item {
	background: #fff;
	color: var(--hp-blue-dark);
	border-radius: 12px;
	overflow: hidden;
}

.dl-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.2rem;
	cursor: pointer;
	font-weight: 400;
	font-size: 0.95rem;
	list-style: none;
	text-align: right;
}

.dl-faq__item summary::-webkit-details-marker {
	display: none;
}

.dl-faq__icon {
	width: 0;
	height: 0;
	border-inline: 6px solid transparent;
	border-top: 7px solid var(--hp-blue-dark);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.dl-faq__item[open] .dl-faq__icon {
	transform: rotate(180deg);
}

.dl-faq__item p {
	margin: 0;
	padding: 0 1.2rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.9;
	opacity: 0.9;
	text-align: right;
}

/* —— CTA purity (white) —— */
.dl-cta {
	background: #fff;
	padding: 3.2rem 0 2.4rem;
}

.dl-cta__inner {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
	box-sizing: border-box;
}

.dl-cta__inner h2 {
	margin: 0 0 1.15rem;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 800;
	color: var(--hp-blue-dark);
	line-height: 1.55;
	text-align: center;
}

.dl-cta__text {
	margin: 0;
	max-width: none;
	width: 100%;
	color: var(--hp-blue-dark);
	font-size: 0.95rem;
	line-height: 2.05;
	font-weight: 400;
	opacity: 0.9;
	text-align: center;
}

/* —— Read more (#88A4CC) —— */
.dl-more {
	background: #88A4CC;
	padding: 2.2rem 0 3.2rem;
}

.dl-more__inner {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
	box-sizing: border-box;
}

.dl-more__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	margin: 0 0 1.5rem;
	padding: 0;
	background: transparent;
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.5;
	transition: opacity 0.2s ease;
}

.dl-more__link:hover {
	opacity: 0.8;
	color: #fff;
}

.dl-more__box {
	background: #fff;
	border-radius: 14px;
	padding: 1.35rem 1.6rem;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.dl-more__box p {
	margin: 0;
	color: var(--hp-blue-dark);
	font-size: 0.93rem;
	line-height: 2;
	font-weight: 400;
	text-align: center;
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
	.dl-hero__eyebrow,
	.dl-hero__title,
	.dl-hero__lead {
		animation: dl-fade-up 0.75s ease both;
	}

	.dl-hero__title {
		animation-delay: 0.08s;
	}

	.dl-hero__lead {
		animation-delay: 0.16s;
	}

	.dl-card {
		animation: dl-fade-up 0.65s ease both;
	}

	.dl-card:nth-child(1) { animation-delay: 0.05s; }
	.dl-card:nth-child(2) { animation-delay: 0.12s; }
	.dl-card:nth-child(3) { animation-delay: 0.18s; }
	.dl-card:nth-child(4) { animation-delay: 0.24s; }

	.dl-scent {
		animation: dl-fade-up 0.6s ease both;
	}
}

@keyframes dl-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* —— Responsive —— */
@media (max-width: 900px) {
	.dl-card__body {
		max-width: 50%;
		margin-left: 6%;
		padding: clamp(1.75rem, 5%, 2.5rem) 1.15rem 2.5rem 2rem;
	}

	.dl-card__sizes {
		margin-top: auto;
		padding-top: 1.5rem;
	}
}

@media (max-width: 768px) {
	.dl-hero {
		aspect-ratio: auto;
		min-height: 560px;
		align-items: flex-end;
	}

	.dl-hero__media img {
		object-position: center top;
	}

	.dl-hero__content {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding: 6.5rem 1.5rem 2.4rem;
		background: linear-gradient(
			180deg,
			rgba(16, 34, 68, 0) 0%,
			rgba(16, 34, 68, 0.55) 35%,
			rgba(16, 34, 68, 0.88) 100%
		);
		width: 100%;
	}

	.dl-card {
		min-height: 400px;
		background-size: cover;
		background-position: center center;
	}

	.dl-card__body {
		max-width: 58%;
		min-height: 400px;
		margin-left: 5%;
		padding: clamp(1.5rem, 5%, 2.25rem) 1rem 2.4rem 1.6rem;
	}

	.dl-card__scent {
		margin: 1.25rem 0 0;
	}

	.dl-card__sizes {
		margin-top: auto;
		padding-top: 1.5rem;
	}

	.dl-card__cta {
		margin-top: 1.1rem;
	}

	.dl-scents {
		padding: 2.4rem 0 2.8rem;
	}

	.dl-scents__inner {
		padding: 0 1rem;
	}

}

@media (max-width: 640px) {
	.dl-scents__grid {
		grid-template-columns: 1fr;
	}

	.dl-card {
		min-height: 360px;
		background-size: cover;
		background-position: center center;
	}

	.dl-card__body {
		min-height: 360px;
	}

	.dl-card__body {
		max-width: 72%;
		margin-left: 3%;
		padding: clamp(1.25rem, 4%, 2rem) 0.9rem 2.25rem 1.2rem;
	}

	.dl-card__scent {
		margin: 1.1rem 0 0;
	}

	.dl-card__sizes {
		gap: 0.55rem;
		margin-top: auto;
		padding-top: 1.35rem;
	}

	.dl-card__cta {
		margin-top: 1rem;
	}

	.dl-card__size {
		padding: 0.45rem 1.25rem;
		font-size: 0.95rem;
		min-height: 2.25rem;
		border-radius: 6px;
	}

	.dl-card__cta {
		padding: 0.22rem 1.05rem;
		font-size: 0.85rem;
		min-height: 1.75rem;
		border-radius: 999px;
	}

	.dl-card__title,
	.dl-card h3.dl-card__title,
	.dl-card__brand,
	.dl-card__scent {
		font-weight: 300;
	}

	.dl-card__brand {
		margin-top: 0.15rem;
	}

	.dl-card__sizes {
		margin-top: auto;
		padding-top: 1.35rem;
	}

	.dl-faq__inner > h2 {
		font-size: 1rem;
	}

	.dl-cta {
		padding: 2.4rem 0 1.8rem;
	}

	.dl-cta__inner {
		padding: 0 1rem;
	}

	.dl-more {
		padding: 1.6rem 0 2.6rem;
	}

	.dl-more__inner {
		padding: 0 1rem;
	}

	.dl-more__box {
		padding: 1.15rem 1.1rem;
	}
}
