/**
 * کد سنتر — دسته‌بندی‌های خاص.
 * چیدمان دسکتاپ به شکل موزاییکی و نسخه تبلت/موبایل بدون هم‌پوشانی.
 */

.codecenter-special-categories {
	--ccsc-cream: #f8f1e8;
	--ccsc-blue: #dfe9f3;
	--ccsc-pink: #f3dcd8;
	--ccsc-white: #fff;
	--ccsc-gold: #c99a59;
	--ccsc-decor-blue: #385a80;
	--ccsc-decor-pink: #e8b4aa;
	--ccsc-media-width: 58%;
	--ccsc-image-overlay: rgba(255,255,255,0);
	--ccsc-hover-move: 8px;
	--ccsc-booking-accent: #d8b071;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 880px;
	padding: 44px;
	background: #f8f3ed;
	overflow: hidden;
	isolation: isolate;
}

.codecenter-special-categories *,
.codecenter-special-categories *::before,
.codecenter-special-categories *::after {
	box-sizing: border-box;
}

.codecenter-special-categories a {
	color: inherit;
	text-decoration: none;
}

.codecenter-special-categories__heading {
	position: absolute;
	top: 6%;
	right: 5%;
	z-index: 8;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
	width: 48%;
	max-width: 690px;
	text-align: right;
}

.codecenter-special-categories__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0;
	color: #b08a56;
	font-size: 16px;
	line-height: 1.5;
	white-space: nowrap;
}

.codecenter-special-categories__eyebrow span {
	display: block;
	width: 64px;
	height: 1px;
	background: currentColor;
	opacity: .65;
}

.codecenter-special-categories__eyebrow span:last-child {
	width: 22px;
}

.codecenter-special-categories__title {
	margin: 0;
	color: #173a60;
	font-size: clamp(38px, 4.4vw, 68px);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.035em;
}

.codecenter-special-categories__description {
	max-width: 42em;
	color: #7f7a74;
	font-size: 17px;
	line-height: 1.9;
}

.codecenter-special-categories__description p,
.codecenter-special-categories__card-description p,
.codecenter-special-categories__booking-description p {
	margin: 0;
}

.codecenter-special-categories__cards {
	position: absolute;
	inset: 0;
	z-index: 4;
}

.codecenter-special-categories__card {
	--ccsc-custom-bg: var(--ccsc-cream);
	position: absolute;
	display: block;
	min-width: 0;
	min-height: 0;
	border: 1px solid rgba(255,255,255,.74);
	border-radius: 38px 38px 56px 38px;
	background: var(--ccsc-cream);
	box-shadow: 0 18px 38px -20px rgba(42,54,73,.34);
	overflow: hidden;
	isolation: isolate;
	transform: translateZ(0);
	transition: transform .35s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease, border-color .25s ease;
}

.codecenter-special-categories__card:focus-visible {
	outline: 3px solid var(--ccsc-gold);
	outline-offset: 4px;
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card:hover,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card:focus-visible {
	transform: translateY(calc(var(--ccsc-hover-move) * -1));
	box-shadow: 0 30px 55px -27px rgba(30,43,62,.5);
}

.codecenter-special-categories__card--theme-cream { background: var(--ccsc-cream); }
.codecenter-special-categories__card--theme-blue { background: var(--ccsc-blue); }
.codecenter-special-categories__card--theme-pink { background: var(--ccsc-pink); }
.codecenter-special-categories__card--theme-white { background: var(--ccsc-white); }
.codecenter-special-categories__card--theme-custom { background: var(--ccsc-custom-bg); }

.codecenter-special-categories__card--top-left {
	top: 18%;
	left: 4.5%;
	z-index: 2;
	width: 35%;
	height: 30%;
	transform: rotate(-1.5deg);
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--top-left:hover,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--top-left:focus-visible {
	transform: translateY(calc(var(--ccsc-hover-move) * -1)) rotate(-.6deg);
}

.codecenter-special-categories__card--center {
	top: 34%;
	left: 34%;
	z-index: 5;
	width: 35%;
	height: 30%;
	transform: rotate(.7deg);
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--center:hover,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--center:focus-visible {
	transform: translateY(calc(var(--ccsc-hover-move) * -1)) rotate(.2deg);
}

.codecenter-special-categories__card--bottom-left {
	top: 55%;
	left: 7.5%;
	z-index: 3;
	width: 31%;
	height: 29%;
	transform: rotate(-1deg);
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-left:hover,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-left:focus-visible {
	transform: translateY(calc(var(--ccsc-hover-move) * -1)) rotate(-.25deg);
}

.codecenter-special-categories__card--middle-right {
	top: 45%;
	right: 4.5%;
	z-index: 4;
	width: 31%;
	height: 30%;
	transform: rotate(1deg);
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--middle-right:hover,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--middle-right:focus-visible {
	transform: translateY(calc(var(--ccsc-hover-move) * -1)) rotate(.25deg);
}

.codecenter-special-categories__card--bottom-center {
	top: 69%;
	left: 31%;
	z-index: 4;
	width: 33%;
	height: 27%;
	transform: rotate(.7deg);
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-center:hover,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-center:focus-visible {
	transform: translateY(calc(var(--ccsc-hover-move) * -1)) rotate(.15deg);
}

.codecenter-special-categories__card--auto-extra {
	position: relative;
	inset: auto;
	width: min(360px, 100%);
	min-height: 280px;
}

.codecenter-special-categories__card-image {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 0;
	width: var(--ccsc-media-width);
	overflow: hidden;
}

.codecenter-special-categories__card--image-right .codecenter-special-categories__card-image {
	right: 0;
}

.codecenter-special-categories__card--image-left .codecenter-special-categories__card-image {
	left: 0;
}

.codecenter-special-categories__card--image-full .codecenter-special-categories__card-image {
	inset: 0;
	width: 100%;
}

.codecenter-special-categories__image-element {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--ccsc-image-position, center center);
	transition: transform .55s cubic-bezier(.2,.75,.25,1);
}

.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card:hover .codecenter-special-categories__image-element,
.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card:focus-visible .codecenter-special-categories__image-element {
	transform: scale(1.045);
}

.codecenter-special-categories__card-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, var(--ccsc-card-bg, rgba(248,241,232,.98)) 0%, var(--ccsc-card-bg, rgba(248,241,232,.91)) 38%, var(--ccsc-image-overlay) 74%);
}

.codecenter-special-categories__card--theme-cream { --ccsc-card-bg: rgba(248,241,232,.98); }
.codecenter-special-categories__card--theme-blue { --ccsc-card-bg: rgba(223,233,243,.98); }
.codecenter-special-categories__card--theme-pink { --ccsc-card-bg: rgba(243,220,216,.98); }
.codecenter-special-categories__card--theme-white { --ccsc-card-bg: rgba(255,255,255,.98); }
.codecenter-special-categories__card--theme-custom { --ccsc-card-bg: var(--ccsc-custom-bg); }

.codecenter-special-categories__card--image-left .codecenter-special-categories__card-overlay {
	background: linear-gradient(270deg, var(--ccsc-card-bg) 0%, var(--ccsc-card-bg) 38%, var(--ccsc-image-overlay) 74%);
}

.codecenter-special-categories__card--image-full .codecenter-special-categories__card-overlay {
	background: linear-gradient(90deg, var(--ccsc-card-bg) 0%, color-mix(in srgb, var(--ccsc-card-bg) 76%, transparent) 46%, rgba(0,0,0,.04) 100%);
}

@supports not (background: color-mix(in srgb, white 50%, transparent)) {
	.codecenter-special-categories__card--image-full .codecenter-special-categories__card-overlay {
		background: linear-gradient(90deg, var(--ccsc-card-bg) 0%, rgba(255,255,255,.68) 48%, rgba(0,0,0,.04) 100%);
	}
}

.codecenter-special-categories__card-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 55%;
	height: 100%;
	margin-right: auto;
	margin-left: 0;
	padding: 28px;
	text-align: right;
}

.codecenter-special-categories__card--image-left .codecenter-special-categories__card-content {
	margin-right: 0;
	margin-left: auto;
}

.codecenter-special-categories__card--image-full .codecenter-special-categories__card-content {
	width: 60%;
}

.codecenter-special-categories__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 68px;
	height: 68px;
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 50%;
	background: rgba(255,255,255,.82);
	box-shadow: 0 10px 22px -14px rgba(36,45,60,.55);
	color: #c89b61;
	font-size: 28px;
	line-height: 1;
}

.codecenter-special-categories__card-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.codecenter-special-categories__card-copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	min-width: 0;
}

.codecenter-special-categories__card-title {
	margin: 0;
	color: #173a60;
	font-size: clamp(20px, 2vw, 29px);
	font-weight: 700;
	line-height: 1.35;
	word-break: break-word;
}

.codecenter-special-categories__card-description {
	max-width: 18em;
	color: #686b70;
	font-size: 14px;
	line-height: 1.85;
}

.codecenter-special-categories__card-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #b98e5a;
	box-shadow: 0 8px 18px -10px rgba(34,43,57,.62);
	color: #fff;
	transition: background-color .25s ease, transform .25s ease;
}

.codecenter-special-categories__card-arrow svg {
	display: block;
	width: 17px;
	height: 17px;
}

.codecenter-special-categories__card:hover .codecenter-special-categories__card-arrow,
.codecenter-special-categories__card:focus-visible .codecenter-special-categories__card-arrow {
	background: #173a60;
	transform: translateX(-3px);
}

.codecenter-special-categories__booking {
	--ccsc-booking-accent: #d8b071;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 28%;
	height: 26%;
	min-height: 215px;
	padding: 42px 34px 38px;
	border-radius: 90px 0 0 0;
	background: linear-gradient(145deg, #365a82 0%, #173a60 100%);
	box-shadow: 0 28px 58px -28px rgba(23,58,96,.65);
	color: #fff;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}

.codecenter-special-categories__booking::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.11), transparent 42%);
}

.codecenter-special-categories__booking-decoration {
	position: absolute;
	right: 8%;
	bottom: -10%;
	width: 120px;
	height: 170px;
	border-right: 1px solid color-mix(in srgb, var(--ccsc-booking-accent) 75%, transparent);
	border-radius: 50%;
	opacity: .5;
	transform: rotate(-24deg);
}

.codecenter-special-categories__booking-decoration::before,
.codecenter-special-categories__booking-decoration::after {
	content: "";
	position: absolute;
	right: 16px;
	width: 46px;
	height: 1px;
	background: var(--ccsc-booking-accent);
	transform-origin: right center;
}

.codecenter-special-categories__booking-decoration::before {
	top: 52px;
	transform: rotate(-35deg);
}

.codecenter-special-categories__booking-decoration::after {
	top: 96px;
	transform: rotate(28deg);
}

.codecenter-special-categories__booking-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ccsc-booking-accent);
	font-size: 42px;
	line-height: 1;
}

.codecenter-special-categories__booking-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.codecenter-special-categories__booking-title {
	max-width: 13em;
	margin: 0;
	font-size: clamp(18px, 1.8vw, 27px);
	font-weight: 600;
	line-height: 1.65;
}

.codecenter-special-categories__booking-description {
	max-width: 20em;
	font-size: 13px;
	line-height: 1.8;
	opacity: .82;
}

.codecenter-special-categories__booking-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 190px;
	max-width: 100%;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: #e9c284;
	box-shadow: 0 14px 26px -14px rgba(0,0,0,.5);
	color: #173a60;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.codecenter-special-categories__booking-button:hover,
.codecenter-special-categories__booking-button:focus-visible {
	background: #fff;
	color: #173a60;
	transform: translateY(-2px);
}

.codecenter-special-categories__booking-button:focus-visible {
	outline: 2px solid var(--ccsc-booking-accent);
	outline-offset: 4px;
}

.codecenter-special-categories__booking-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.codecenter-special-categories__booking-button-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.codecenter-special-categories__decor {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.codecenter-special-categories:not(.has-decorations) .codecenter-special-categories__decor {
	display: none;
}

.codecenter-special-categories__decor--blue {
	top: -17%;
	left: -8%;
	width: 43%;
	height: 48%;
	border: 1px solid color-mix(in srgb, var(--ccsc-gold) 68%, transparent);
	border-radius: 0 0 65% 0;
	background: linear-gradient(135deg, color-mix(in srgb, var(--ccsc-decor-blue) 94%, white) 0%, var(--ccsc-decor-blue) 100%);
	transform: rotate(-8deg);
}

.codecenter-special-categories__decor--pink {
	right: 13%;
	bottom: -25%;
	width: 47%;
	height: 42%;
	border: 1px solid color-mix(in srgb, var(--ccsc-gold) 55%, transparent);
	border-radius: 55% 45% 0 0;
	background: linear-gradient(145deg, color-mix(in srgb, var(--ccsc-decor-pink) 70%, white) 0%, var(--ccsc-decor-pink) 100%);
	transform: rotate(-13deg);
}

.codecenter-special-categories__decor--line {
	right: 5%;
	top: 24%;
	width: 120px;
	height: 160px;
	border-right: 1px solid color-mix(in srgb, var(--ccsc-gold) 55%, transparent);
	border-radius: 50%;
	opacity: .48;
	transform: rotate(12deg);
}

.codecenter-special-categories__decor--line::before,
.codecenter-special-categories__decor--line::after {
	content: "";
	position: absolute;
	right: 18px;
	width: 54px;
	height: 1px;
	background: var(--ccsc-gold);
	transform-origin: right center;
}

.codecenter-special-categories__decor--line::before {
	top: 50px;
	transform: rotate(-36deg);
}

.codecenter-special-categories__decor--line::after {
	top: 94px;
	transform: rotate(32deg);
}

@supports not (background: color-mix(in srgb, white 50%, transparent)) {
	.codecenter-special-categories__decor--blue { background: var(--ccsc-decor-blue); }
	.codecenter-special-categories__decor--pink { background: var(--ccsc-decor-pink); }
	.codecenter-special-categories__booking-decoration { border-right-color: rgba(216,176,113,.55); }
}

@media (max-width: 1024px) {
	.codecenter-special-categories {
		min-height: 760px;
		padding: 38px 30px;
		overflow: hidden;
	}

	.codecenter-special-categories__heading {
		position: relative;
		top: auto;
		right: auto;
		align-items: center;
		width: 100%;
		max-width: none;
		margin: 0 auto 34px;
		text-align: center;
	}

	.codecenter-special-categories__title {
		font-size: clamp(34px, 6vw, 52px);
	}

	.codecenter-special-categories__cards {
		position: relative;
		inset: auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
		z-index: 4;
	}

	.codecenter-special-categories__card,
	.codecenter-special-categories__card--top-left,
	.codecenter-special-categories__card--center,
	.codecenter-special-categories__card--bottom-left,
	.codecenter-special-categories__card--middle-right,
	.codecenter-special-categories__card--bottom-center,
	.codecenter-special-categories__card--auto-extra {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;
		min-height: 280px;
		transform: none;
	}

	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card:hover,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card:focus-visible,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--top-left:hover,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--top-left:focus-visible,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--center:hover,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--center:focus-visible,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-left:hover,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-left:focus-visible,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--middle-right:hover,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--middle-right:focus-visible,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-center:hover,
	.codecenter-special-categories.has-hover-effect .codecenter-special-categories__card--bottom-center:focus-visible {
		transform: translateY(calc(var(--ccsc-hover-move) * -1));
	}

	.codecenter-special-categories__booking {
		position: relative;
		right: auto;
		bottom: auto;
		width: 100%;
		height: auto;
		min-height: 235px;
		margin-top: 18px;
		border-radius: 42px;
	}

	.codecenter-special-categories__decor--blue {
		top: -15%;
		left: -15%;
		width: 55%;
		height: 38%;
	}

	.codecenter-special-categories__decor--pink {
		right: -18%;
		bottom: -12%;
		width: 65%;
		height: 28%;
	}
}

@media (max-width: 767px) {
	.codecenter-special-categories {
		min-height: 0;
		padding: 30px 16px;
	}

	.codecenter-special-categories__heading {
		margin-bottom: 26px;
	}

	.codecenter-special-categories__eyebrow {
		gap: 9px;
		font-size: 13px;
	}

	.codecenter-special-categories__eyebrow span {
		width: 32px;
	}

	.codecenter-special-categories__eyebrow span:last-child {
		width: 14px;
	}

	.codecenter-special-categories__title {
		font-size: clamp(30px, 10vw, 42px);
		line-height: 1.35;
	}

	.codecenter-special-categories__description {
		font-size: 14px;
	}

	.codecenter-special-categories__cards {
		grid-template-columns: 1fr;
	}

	.codecenter-special-categories--mobile-scroll .codecenter-special-categories__cards {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		padding: 5px 3px 18px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.codecenter-special-categories--mobile-scroll .codecenter-special-categories__card {
		flex: 0 0 min(86vw, 360px);
		scroll-snap-align: center;
	}

	.codecenter-special-categories__card,
	.codecenter-special-categories__card--top-left,
	.codecenter-special-categories__card--center,
	.codecenter-special-categories__card--bottom-left,
	.codecenter-special-categories__card--middle-right,
	.codecenter-special-categories__card--bottom-center,
	.codecenter-special-categories__card--auto-extra {
		min-height: 270px;
		border-radius: 30px 30px 44px 30px;
	}

	.codecenter-special-categories__card-content {
		width: 62%;
		padding: 22px;
	}

	.codecenter-special-categories__card--image-full .codecenter-special-categories__card-content {
		width: 72%;
	}

	.codecenter-special-categories__card-icon {
		width: 56px;
		height: 56px;
		font-size: 23px;
	}

	.codecenter-special-categories__card-title {
		font-size: 22px;
	}

	.codecenter-special-categories__card-description {
		font-size: 13px;
		line-height: 1.75;
	}

	.codecenter-special-categories__booking {
		min-height: 250px;
		padding: 34px 24px;
	}

	.codecenter-special-categories__booking-button {
		min-width: 180px;
	}

	.codecenter-special-categories__decor--line {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.codecenter-special-categories__card,
	.codecenter-special-categories__image-element,
	.codecenter-special-categories__card-arrow,
	.codecenter-special-categories__booking-button {
		transition: none !important;
	}
}

@media (max-width: 767px) {
	.codecenter-special-categories__decor--blue {
		top: -5%;
		left: -48%;
		width: 72%;
		height: 15%;
		opacity: .9;
	}
}

@media (max-width: 767px) {
	.codecenter-special-categories__decor--blue {
		top: -4%;
		left: -60%;
		width: 65%;
		height: 12%;
	}
}
