/**
 * Single Service (Product) Page Styles
 * URL: /catalog/{category-slug}/{service-slug}/
 *
 * @package gunesh
 */

/* ========================================
   REMOVE PINK GAPS (Astra padding reset)
   ======================================== */

.single-service .site-content,
.single-service .ast-container,
.single-service #primary,
.single-service #main {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.service-breadcrumbs-bar {
	background: var(--color-bg-light, #f8f9fa);
	padding: 15px 20px;
}

.service-breadcrumbs-container {
	max-width: var(--container-width, 1440px);
	margin: 0 auto;
	font-size: 14px;
}

.service-breadcrumbs-bar a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s;
}

.service-breadcrumbs-bar a:hover {
	color: var(--color-primary, #ff1da8);
}

.service-breadcrumbs-bar .separator {
	margin: 0 8px;
	color: #aaa;
}

.service-breadcrumbs-bar .current {
	color: var(--color-text, #1a1a1a);
	font-weight: 500;
}

/* ========================================
   PRODUCT CARD SECTION
   ======================================== */

.product-card-section {
	padding: 40px 20px 60px;
	background: #fff;
}

.product-card-container {
	max-width: var(--container-width, 1440px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
}

/* Product Gallery */
.product-card-gallery {
	position: sticky;
	top: 20px;
}

.product-main-image {
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-bg-light, #f8f9fa);
	margin-bottom: 16px;
}

.product-main-image img {
	width: 100%;
	height: auto;
	display: block;
}

.product-thumbnails {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.product-thumb {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.3s, opacity 0.3s;
	opacity: 0.7;
}

.product-thumb:hover,
.product-thumb.active {
	border-color: var(--color-primary, #ff1da8);
	opacity: 1;
}

.product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-no-image {
	aspect-ratio: 4 / 3;
	background: #f0f0f0;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
}

/* Product Info */
.product-card-info {
	padding-top: 10px;
}

.product-card-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--color-text, #1a1a1a);
	margin: 0 0 24px;
	line-height: 1.3;
}

.product-card-features {
	margin-bottom: 30px;
	color: #333;
	line-height: 1.8;
}

.product-card-features ul {
	margin: 0;
	padding-left: 20px;
}

.product-card-features li {
	margin-bottom: 8px;
}

.product-card-actions {
	margin-top: 30px;
}

.product-order-btn {
	display: inline-block;
	padding: 16px 40px;
	background: linear-gradient(135deg, var(--color-primary, #ff1da8), var(--color-primary-dark, #cf0080));
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.product-order-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 29, 168, 0.4);
	color: #fff;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.service-faq-section {
	padding: 60px 20px;
	background: var(--color-bg-light, #f8f9fa);
}

.service-faq-container {
	max-width: 900px;
	margin: 0 auto;
}

.service-faq-title {
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 40px;
}

.faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	gap: 16px;
}

.faq-question-text {
	font-size: 17px;
	font-weight: 600;
	color: var(--color-text, #1a1a1a);
	transition: color 0.3s;
}

.faq-item.active .faq-question {
	background: linear-gradient(135deg, var(--color-primary, #ff1da8), var(--color-primary-dark, #cf0080));
	border-radius: 12px 12px 0 0;
}

.faq-item.active .faq-question-text {
	color: #fff;
}

.faq-icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--color-primary, #ff1da8), var(--color-primary-dark, #cf0080));
	border-radius: 50%;
	transition: all 0.3s;
	flex-shrink: 0;
}

.faq-icon svg {
	stroke: #fff;
	transition: transform 0.3s;
}

.faq-item.active .faq-icon {
	background: #fff;
}

.faq-item.active .faq-icon svg {
	stroke: var(--color-primary, #ff1da8);
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
	max-height: 600px;
}

.faq-answer-content {
	padding: 16px 24px 28px;
	color: #555;
	line-height: 1.8;
	font-size: 15px;
	border-top: 1px solid #eee;
	margin-top: 8px;
}

/* ========================================
   CONSULTATION BLOCK
   ======================================== */

.consultation-section {
	padding: 60px 20px;
	background: #fff;
}

.consultation-container {
	display: flex;
	gap: 50px;
	max-width: var(--container-width, 1440px);
	margin: 0 auto;
}

.consultation-left {
	flex: 1;
	min-width: 0;
}

.consultation-right {
	flex: 1;
	min-width: 0;
}

.consultation-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--color-text, #1a1a1a);
}

.consultation-text {
	color: #555;
	line-height: 1.7;
	margin-bottom: 25px;
	word-break: break-word;
	overflow-wrap: break-word;
}

.consultation-text p {
	margin-bottom: 12px;
}

.consultation-btn {
	display: inline-block;
	padding: 16px 32px;
	background: linear-gradient(135deg, var(--color-primary, #ff1da8), var(--color-primary-dark, #cf0080));
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 10px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.consultation-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 29, 168, 0.4);
	color: #fff;
}

.consultation-right-title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--color-text, #1a1a1a);
}

.consultation-right-text {
	color: #555;
	line-height: 1.7;
	margin-bottom: 20px;
	word-break: break-word;
	overflow-wrap: break-word;
}

.consultation-image {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin-top: 15px;
}

/* ========================================
   RELATED ARTICLES
   ======================================== */

.related-articles-section {
	padding: 60px 20px;
	background: var(--color-bg-light, #f8f9fa);
}

.related-articles-container {
	max-width: var(--container-width, 1440px);
	margin: 0 auto;
}

.related-articles-title {
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 40px;
	color: var(--color-text, #1a1a1a);
}

.related-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.related-article-card {
	display: block;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s, box-shadow 0.3s;
}

.related-article-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-article-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.related-article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.related-article-card:hover .related-article-image img {
	transform: scale(1.05);
}

.related-article-content {
	padding: 16px 20px;
}

.related-article-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text, #1a1a1a);
	margin-bottom: 8px;
	line-height: 1.4;
}

.related-article-date {
	font-size: 13px;
	color: #888;
}

/* ========================================
   RELATED SERVICES
   ======================================== */

.related-services-section {
	padding: 60px 20px;
	background: var(--color-bg-light, #f8f9fa);
}

.related-services-container {
	max-width: var(--container-width, 1440px);
	margin: 0 auto;
}

.related-services-title {
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 40px;
	color: var(--color-text, #1a1a1a);
}

.related-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 30px;
}

.related-service-card {
	display: block;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s, box-shadow 0.3s;
}

.related-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-service-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.related-service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.related-service-card:hover .related-service-image img {
	transform: scale(1.05);
}

.related-service-title {
	padding: 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--color-text, #1a1a1a);
	margin: 0;
}

.related-services-more {
	text-align: center;
}

.view-all-services {
	display: inline-block;
	color: #1a1a1a !important;
	text-decoration: none;
	font-weight: 500;
}

.view-all-services:hover {
	text-decoration: underline;
}

/* ========================================
   DESIGN BLOCK
   ======================================== */

.design-block-section {
	padding: 60px 20px;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.design-block-container {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 50px;
}

.design-block-image {
	flex: 0 0 380px;
	border-radius: var(--border-radius, 16px);
	overflow: hidden;
}

.design-block-image img {
	width: 100%;
	height: auto;
	display: block;
}

.design-block-content {
	flex: 1;
	min-width: 0;
}

.design-block-title {
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 20px;
	line-height: 1.3;
}

.design-block-description {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 30px;
}

.design-block-btn {
	display: inline-block;
	padding: 16px 36px;
	background: linear-gradient(135deg, var(--color-primary, #ff1da8), var(--color-primary-dark, #cf0080));
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.design-block-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(255, 29, 168, 0.5);
	color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
	.product-card-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.product-card-gallery {
		position: static;
	}

	.product-card-title {
		font-size: 28px;
	}

	.related-articles-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.related-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.design-block-container {
		flex-direction: column;
		text-align: center;
	}

	.design-block-image {
		flex: none;
		max-width: 400px;
		width: 100%;
	}

	.design-block-title {
		font-size: 28px;
	}
}

@media (max-width: 768px) {
	.consultation-container {
		flex-direction: column;
		gap: 30px;
	}
}

@media (max-width: 576px) {
	.product-card-section {
		padding: 30px 16px 40px;
	}

	.product-card-title {
		font-size: 24px;
	}

	.product-thumb {
		width: 60px;
		height: 60px;
	}

	.related-articles-grid {
		grid-template-columns: 1fr;
	}

	.related-services-grid {
		grid-template-columns: 1fr;
	}

	.design-block-section {
		padding: 40px 16px;
	}

	.design-block-title {
		font-size: 24px;
	}

	.design-block-description {
		font-size: 15px;
	}
}
