/**
 * Single Parsa linked product — same layout as project modal, full page.
 */

body.ccp-single-parsa-product-page .entry-header,
body.ccp-single-parsa-product-page .post-navigation,
body.ccp-single-parsa-product-page .entry-content > :not(.ccp-parsa-product-shell) {
	display: none;
}

.ccp-parsa-product-shell {
	background: #fafafa;
	padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 72px);
}

.ccp-parsa-product__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.ccp-parsa-product__header {
	margin: 0 0 clamp(20px, 3vw, 28px);
}

.ccp-parsa-product__title {
	margin: 0 0 8px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	color: #111;
}

.ccp-parsa-product__subtitle {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #666;
}

.ccp-parsa-product__panel.ccp-project-modal__dialog {
	position: static;
	width: 100%;
	max-height: none;
	overflow: visible;
	margin: 0;
	padding: 24px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	box-shadow: none;
}

.ccp-parsa-product__panel .ccp-project-modal__content {
	padding-top: 0;
}

@media (min-width: 961px) {
	.ccp-parsa-product__panel .ccp-project-modal__layout {
		align-items: stretch;
	}

	.ccp-parsa-product__panel .ccp-project-modal__media {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

.ccp-parsa-product__panel .ccp-project-modal__specs-wrap h2,
.ccp-parsa-product__panel .ccp-project-modal__specs-wrap h3 {
	margin: 0 0 12px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #111;
}

.ccp-parsa-product__description {
	margin-top: clamp(24px, 3vw, 32px);
	font-size: 15px;
	line-height: 1.65;
	color: #444;
}

.ccp-parsa-product__description p:first-child {
	margin-top: 0;
}

.ccp-parsa-gallery {
	position: relative;
}

.ccp-parsa-gallery__viewport {
	overflow: hidden;
	background: #f7f7f7;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.ccp-parsa-gallery__viewport.is-dragging {
	cursor: grabbing;
	transition: height 0s;
}

.ccp-parsa-gallery__track {
	display: flex;
	align-items: flex-start;
	will-change: transform;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ccp-parsa-gallery__track.is-dragging {
	transition: none;
}

.ccp-parsa-gallery__slide {
	flex: 0 0 100%;
	min-width: 100%;
	align-self: flex-start;
}

.ccp-parsa-gallery__slide .ccp-project-modal__image {
	width: 100%;
	height: auto;
	display: block;
	pointer-events: none;
	vertical-align: top;
}

.ccp-parsa-gallery__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding-bottom: clamp(12px, 2.5vw, 20px);
}

.ccp-parsa-gallery__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c8c8c8;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.85;
}

.ccp-parsa-gallery__dot.is-active {
	background: #111;
	transform: scale(1.15);
}

.ccp-parsa-gallery__dot:hover,
.ccp-parsa-gallery__dot:focus {
	background: #666;
	outline: none;
}

.ccp-parsa-product__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	margin-top: clamp(24px, 3vw, 32px);
}

.ccp-parsa-product__back {
	font-size: 14px;
	color: #333;
	text-decoration: none;
}

.ccp-parsa-product__back:hover,
.ccp-parsa-product__back:focus {
	color: #111;
	text-decoration: underline;
}

.ccp-parsa-product__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	background: #111;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 2px;
	transition: background 0.15s ease;
}

.ccp-parsa-product__cta:hover,
.ccp-parsa-product__cta:focus {
	background: #333;
	color: #fff;
}

@media (max-width: 960px) {
	.ccp-parsa-product__panel {
		padding: 18px;
	}
}
