/**
 * Custom WooCommerce Product Sections
 *
 * مسیر:
 * woocommerce/single-product/tabs/product-tabs.css
 */

/* ========================================
   تنظیمات اصلی
======================================== */

.custom-product-sections {
	--product-tabs-primary: #6c4cff;
	--product-tabs-primary-dark: #4d32d6;
	--product-tabs-primary-light: rgba(108, 76, 255, 0.09);

	--product-tabs-text: #18191f;
	--product-tabs-muted: #747783;
	--product-tabs-border: #e9eaf0;
	--product-tabs-background: #f7f7fa;
	--product-tabs-white: #ffffff;

	--product-tabs-radius: 20px;

	--product-tabs-sticky-top: 110px;
	--product-tabs-scroll-offset: 125px;

	display: grid;

	/* منو 3 ستون و محتوا 9 ستون */
	grid-template-columns: minmax(230px, 3fr) minmax(0, 9fr);

	/* منو چپ، محتوا راست */
	grid-template-areas: "sidebar content";

	align-items: start;
	gap: 28px;

	width: 100%;
	margin: 45px 0;

	/*
	 * ترتیب ستون‌های گرید از چپ به راست باشد،
	 * اما متن‌های داخلی همچنان راست‌چین می‌مانند.
	 */
	direction: ltr !important;
}

.custom-product-sections *,
.custom-product-sections *::before,
.custom-product-sections *::after {
	box-sizing: border-box;
}
.custom-product-sections {
    position: relative;
}

aside.custom-product-sections__sidebar {
    position: sticky;
    top: 130px;
}

/* ========================================
   ستون محتوای اصلی
======================================== */

.custom-product-sections__content {
	grid-area: content;

	display: flex;
	flex-direction: column;
	gap: 24px;

	min-width: 0;
	direction: rtl;
}

/* ========================================
   منوی کناری
======================================== */

.custom-product-sections__sidebar {
	grid-area: sidebar;

	min-width: 0;
	direction: rtl;
}

.custom-product-sections__navigation {
	position: sticky;
	top: var(--product-tabs-sticky-top);

	padding: 12px;
	border: 1px solid var(--product-tabs-border);
	border-radius: var(--product-tabs-radius);

	background: var(--product-tabs-white);

	box-shadow:
		0 2px 4px rgba(16, 24, 40, 0.03),
		0 16px 45px rgba(16, 24, 40, 0.07);
}

/* هدر منو */

.custom-product-sections__navigation-header {
	display: flex;
	align-items: center;
	gap: 11px;

	padding: 10px 10px 17px;
	margin-bottom: 7px;

	border-bottom: 1px solid var(--product-tabs-border);
}

.custom-product-sections__navigation-header-icon {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 40px;
	height: 40px;
	border-radius: 12px;

	color: #fff;
	background: linear-gradient(
		135deg,
		var(--product-tabs-primary),
		var(--product-tabs-primary-dark)
	);

	box-shadow: 0 8px 18px rgba(108, 76, 255, 0.22);
}

.custom-product-sections__navigation-header-icon svg {
	width: 20px;
	height: 20px;

	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-sections__navigation-heading {
	display: flex;
	flex-direction: column;
	gap: 2px;

	min-width: 0;
}

.custom-product-sections__navigation-heading strong {
	color: var(--product-tabs-text);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.6;
}

.custom-product-sections__navigation-heading span {
	color: var(--product-tabs-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.6;
}

/* لیست منو */

.custom-product-sections__navigation-list {
	display: flex;
	flex-direction: column;
	gap: 5px;

	margin: 0 !important;
	padding: 0 !important;

	list-style: none !important;
}

.custom-product-sections__navigation-item {
	margin: 0 !important;
	padding: 0 !important;
}

.custom-product-sections__navigation-link {
	position: relative;

	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 9px;

	min-height: 52px;
	padding: 7px 9px;

	border: 1px solid transparent;
	border-radius: 13px;

	color: var(--product-tabs-muted);
	background: transparent;

	font-size: 13px;
	font-weight: 800;
	line-height: 1.6;
	text-decoration: none !important;

	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.custom-product-sections__navigation-link:hover {
	color: var(--product-tabs-text);
	background: var(--product-tabs-background);
}

.custom-product-sections__navigation-link:focus {
	outline: none;
}

.custom-product-sections__navigation-link:focus-visible {
	outline: 2px solid var(--product-tabs-primary);
	outline-offset: 2px;
}

.custom-product-sections__navigation-link.is-active {
	color: var(--product-tabs-primary-dark);
	border-color: rgba(108, 76, 255, 0.13);
	background: var(--product-tabs-primary-light);
}

.custom-product-sections__navigation-link.is-active::before {
	position: absolute;
	top: 50%;
	right: -13px;

	width: 4px;
	height: 27px;
	border-radius: 50px;

	background: var(--product-tabs-primary);

	transform: translateY(-50%);

	content: "";
}

/* آیکن منو */

.custom-product-sections__navigation-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--product-tabs-border);
	border-radius: 11px;
	color: var(--product-tabs-muted);
	background: #fff;
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.custom-product-sections__navigation-link.is-active
.custom-product-sections__navigation-icon {
	color: #fff;
	border-color: transparent;

	background: linear-gradient(
		135deg,
		var(--product-tabs-primary),
		var(--product-tabs-primary-dark)
	);

	box-shadow: 0 7px 17px rgba(108, 76, 255, 0.2);
}

.custom-product-sections__navigation-icon svg,
.custom-product-sections__navigation-arrow svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-sections__navigation-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.custom-product-sections__navigation-arrow {
	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0.45;
}

.custom-product-sections__navigation-arrow svg {
	width: 16px;
	height: 16px;
}

/* ========================================
   باکس هر بخش
======================================== */

.custom-product-sections__section {
	overflow: hidden;

	border: 1px solid var(--product-tabs-border);
	border-radius: var(--product-tabs-radius);

	background: var(--product-tabs-white);

	box-shadow:
		0 2px 3px rgba(16, 24, 40, 0.025),
		0 12px 38px rgba(16, 24, 40, 0.045);

	scroll-margin-top: var(--product-tabs-scroll-offset);

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.custom-product-sections__section:target {
	border-color: rgba(108, 76, 255, 0.35);

	box-shadow:
		0 2px 3px rgba(16, 24, 40, 0.03),
		0 18px 50px rgba(108, 76, 255, 0.11);
}

/* هدر هر بخش */

.custom-product-sections__section-header {
	display: flex;
	align-items: center;
	gap: 14px;

	padding: 21px 25px;

	border-bottom: 1px solid var(--product-tabs-border);

	background: linear-gradient(
		135deg,
		rgba(108, 76, 255, 0.06),
		rgba(255, 255, 255, 0)
	);
}

.custom-product-sections__section-icon {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 48px;
	height: 48px;

	border-radius: 15px;

	color: #fff;

	background: linear-gradient(
		135deg,
		var(--product-tabs-primary),
		var(--product-tabs-primary-dark)
	);

	box-shadow: 0 10px 25px rgba(108, 76, 255, 0.22);
}

.custom-product-sections__section-icon svg {
	width: 23px;
	height: 23px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-sections__section-heading {
	display: flex;
	flex-direction: column;
	gap: 1px;

	min-width: 0;
}

.custom-product-sections__section-subtitle {
	color: var(--product-tabs-primary);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.6;
}

.custom-product-sections__section-title {
	margin: 0 !important;
	padding: 0 !important;

	color: var(--product-tabs-text);

	font-size: clamp(18px, 2vw, 23px);
	font-weight: 900;
	line-height: 1.55;
}

/* محتوای هر بخش */

.custom-product-sections__section-content {
	padding: 27px;

	color: #343640;
	font-size: 15px;
	line-height: 2;
}

.custom-product-sections__section-content::after {
	display: table;
	clear: both;
	content: "";
}

.custom-product-sections__section-content > :first-child {
	margin-top: 0;
}

.custom-product-sections__section-content > :last-child {
	margin-bottom: 0;
}

.custom-product-sections__section-content p {
	margin: 0 0 16px;
}

.custom-product-sections__section-content h2,
.custom-product-sections__section-content h3,
.custom-product-sections__section-content h4,
.custom-product-sections__section-content h5 {
	color: var(--product-tabs-text);
	font-weight: 900;
	line-height: 1.7;
}

.custom-product-sections__section-content h2 {
	margin: 30px 0 14px;
	font-size: 22px;
}

.custom-product-sections__section-content h3 {
	margin: 25px 0 12px;
	font-size: 19px;
}

.custom-product-sections__section-content h4 {
	margin: 22px 0 10px;
	font-size: 17px;
}

.custom-product-sections__section-content ul,
.custom-product-sections__section-content ol {
	margin: 14px 0 20px;
	padding-right: 23px;
}

.custom-product-sections__section-content li {
	margin-bottom: 7px;
}

.custom-product-sections__section-content img {
	max-width: 100%;
	height: auto;

	border-radius: 15px;
}

/* ========================================
   معرفی کوتاه
======================================== */

.custom-product-short-description {
	position: relative;

	padding: 21px 23px;

	border: 1px solid rgba(108, 76, 255, 0.15);
	border-radius: 16px;

	background: linear-gradient(
		135deg,
		rgba(108, 76, 255, 0.085),
		rgba(108, 76, 255, 0.02)
	);
}

.custom-product-short-description::before {
	position: absolute;
	top: 18px;
	right: 0;

	width: 4px;
	height: calc(100% - 36px);

	border-radius: 50px;

	background: var(--product-tabs-primary);

	content: "";
}

.custom-product-short-description__content > :last-child {
	margin-bottom: 0;
}

/* ========================================
   بررسی تخصصی
======================================== */

.custom-product-description__content {
	width: 100%;
}

.custom-product-description__content blockquote {
	margin: 20px 0;
	padding: 18px 22px;

	border-right: 4px solid var(--product-tabs-primary);
	border-radius: 12px;

	color: var(--product-tabs-muted);
	background: var(--product-tabs-background);
}

/* ========================================
   جدول مشخصات ووکامرس
======================================== */

.custom-product-sections table.shop_attributes {
	width: 100%;
	margin: 0 !important;

	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 8px !important;
}

.custom-product-sections table.shop_attributes tr {
	border: 0 !important;
}

.custom-product-sections table.shop_attributes th,
.custom-product-sections table.shop_attributes td {
	padding: 14px 17px !important;

	border: 0 !important;

	background: var(--product-tabs-background) !important;

	font-style: normal !important;
	text-align: right;
	vertical-align: middle;
}

.custom-product-sections table.shop_attributes th {
	width: 31%;

	border-radius: 0 12px 12px 0;

	color: var(--product-tabs-text);
	font-weight: 800;
}

.custom-product-sections table.shop_attributes td {
	border-radius: 12px 0 0 12px;

	color: var(--product-tabs-muted);
}

.custom-product-sections table.shop_attributes td p {
	margin: 0 !important;
	padding: 0 !important;
}

/* ========================================
   سوالات متداول
======================================== */

.custom-product-faq__list {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.custom-product-faq__item {
	overflow: hidden;

	border: 1px solid var(--product-tabs-border);
	border-radius: 15px;

	background: #fff;

	transition:
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.custom-product-faq__item[open] {
	border-color: rgba(108, 76, 255, 0.24);
	background: rgba(108, 76, 255, 0.025);
}

.custom-product-faq__question {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 12px;

	padding: 16px 18px;

	cursor: pointer;

	color: var(--product-tabs-text);

	font-weight: 800;
	line-height: 1.7;

	list-style: none;
}

.custom-product-faq__question::-webkit-details-marker {
	display: none;
}

.custom-product-faq__question::marker {
	display: none;
}

.custom-product-faq__number {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;

	border-radius: 10px;

	color: var(--product-tabs-primary-dark);
	background: var(--product-tabs-primary-light);

	font-size: 12px;
	font-weight: 900;
}

.custom-product-faq__toggle {
	display: flex;
	align-items: center;
	justify-content: center;

	color: var(--product-tabs-muted);

	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.custom-product-faq__toggle svg {
	width: 20px;
	height: 20px;

	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-faq__item[open]
.custom-product-faq__toggle {
	color: var(--product-tabs-primary);
	transform: rotate(180deg);
}

.custom-product-faq__answer {
	padding: 0 64px 18px 48px;

	color: var(--product-tabs-muted);
	line-height: 2;
}

.custom-product-faq__answer > :last-child {
	margin-bottom: 0;
}

/* حالت خالی FAQ */

.custom-product-faq__empty,
.custom-product-questions__empty {
	display: flex;
	align-items: center;
	gap: 15px;

	padding: 20px;

	border: 1px dashed rgba(108, 76, 255, 0.3);
	border-radius: 16px;

	background: rgba(108, 76, 255, 0.035);
}

.custom-product-faq__empty-icon,
.custom-product-questions__empty-icon {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 48px;
	height: 48px;

	border-radius: 15px;

	color: var(--product-tabs-primary);
	background: var(--product-tabs-primary-light);
}

.custom-product-faq__empty-icon svg,
.custom-product-questions__empty-icon svg {
	width: 23px;
	height: 23px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-faq__empty-content,
.custom-product-questions__empty-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.custom-product-faq__empty-content strong,
.custom-product-questions__empty-content strong {
	color: var(--product-tabs-text);
	font-size: 14px;
	font-weight: 900;
}

.custom-product-faq__empty-content p,
.custom-product-questions__empty-content p {
	margin: 0;

	color: var(--product-tabs-muted);
	font-size: 13px;
}

/* ========================================
   پرسش و پاسخ
======================================== */

.custom-product-questions__list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.custom-product-questions__item {
	padding: 19px;

	border: 1px solid var(--product-tabs-border);
	border-radius: 17px;

	background: #fff;
}

.custom-product-questions__question {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.custom-product-questions__avatar {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;

	border-radius: 13px;

	color: var(--product-tabs-primary);
	background: var(--product-tabs-primary-light);
}

.custom-product-questions__avatar svg {
	width: 21px;
	height: 21px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-questions__question-content {
	flex: 1;
	min-width: 0;
}

.custom-product-questions__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;

	margin-bottom: 5px;
}

.custom-product-questions__author {
	color: var(--product-tabs-text);
	font-size: 13px;
	font-weight: 900;
}

.custom-product-questions__date {
	color: var(--product-tabs-muted);
	font-size: 11px;
}

.custom-product-questions__question-text {
	color: var(--product-tabs-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.9;
}

/* پاسخ */

.custom-product-questions__answer {
	display: flex;
	align-items: flex-start;
	gap: 11px;

	margin-top: 15px;
	margin-right: 53px;
	padding: 15px;

	border-radius: 14px;

	background: var(--product-tabs-background);
}

.custom-product-questions__answer-icon {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;

	border-radius: 10px;

	color: var(--product-tabs-primary);
	background: #fff;
}

.custom-product-questions__answer-icon svg {
	width: 18px;
	height: 18px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-product-questions__answer-content {
	flex: 1;
	min-width: 0;
}

.custom-product-questions__answer-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;

	margin-bottom: 5px;
}

.custom-product-questions__answer-header strong {
	color: var(--product-tabs-text);
	font-size: 13px;
	font-weight: 900;
}

.custom-product-questions__answer-badge {
	display: inline-flex;
	align-items: center;

	padding: 3px 8px;

	border-radius: 50px;

	color: var(--product-tabs-primary-dark);
	background: var(--product-tabs-primary-light);

	font-size: 10px;
	font-weight: 800;
}

.custom-product-questions__answer-text {
	color: var(--product-tabs-muted);
	font-size: 13px;
	line-height: 1.9;
}

.custom-product-questions__answer-text > :last-child {
	margin-bottom: 0;
}

.custom-product-questions__waiting {
	margin-top: 14px;
	margin-right: 53px;
	padding: 11px 14px;

	border-radius: 11px;

	color: #8a6d1d;
	background: #fff8dc;

	font-size: 12px;
	font-weight: 700;
}

/* ========================================
   دیدگاه‌های ووکامرس
======================================== */

.custom-product-sections #reviews {
	margin: 0;
}

.custom-product-sections #reviews #comments,
.custom-product-sections #reviews #review_form_wrapper {
	float: none !important;
	width: 100% !important;
}

.custom-product-sections #reviews .woocommerce-Reviews-title {
	display: none;
}

.custom-product-sections #reviews .commentlist {
	margin: 0 !important;
	padding: 0 !important;

	list-style: none;
}

.custom-product-sections #reviews .commentlist li {
	margin: 0 0 14px !important;
	padding: 0 !important;
}

.custom-product-sections #reviews .comment_container {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.custom-product-sections #reviews .comment_container img.avatar {
	position: static !important;
	float: none !important;

	width: 45px !important;
	height: 45px !important;

	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
	border-radius: 13px;
}

.custom-product-sections #reviews .comment-text {
	flex: 1;

	margin: 0 !important;
	padding: 17px !important;

	border: 1px solid var(--product-tabs-border) !important;
	border-radius: 15px !important;

	background: #fff;
}

.custom-product-sections #reviews .meta {
	margin-bottom: 7px !important;
}

.custom-product-sections #reviews #review_form_wrapper {
	margin-top: 25px;
	padding: 21px;

	border: 1px solid var(--product-tabs-border);
	border-radius: 17px;

	background: var(--product-tabs-background);
}

.custom-product-sections #review_form input[type="text"],
.custom-product-sections #review_form input[type="email"],
.custom-product-sections #review_form textarea {
	width: 100%;

	border: 1px solid var(--product-tabs-border);
	border-radius: 12px;

	background: #fff;

	box-shadow: none;
}

.custom-product-sections #review_form input[type="text"],
.custom-product-sections #review_form input[type="email"] {
	min-height: 45px;
	padding: 8px 13px;
}

.custom-product-sections #review_form textarea {
	min-height: 135px;
	padding: 13px;

	resize: vertical;
}

.custom-product-sections #review_form input:focus,
.custom-product-sections #review_form textarea:focus {
	border-color: var(--product-tabs-primary);
	outline: none;
}

/* ========================================
   تبلت و موبایل
======================================== */

@media (max-width: 991px) {

	.custom-product-sections {
		--product-tabs-scroll-offset: 105px;
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin: 30px 0;
	}

	/*
	 * در موبایل، منو بالای محتوا قرار می‌گیرد.
	 */
	.custom-product-sections__sidebar {
		position: sticky;
		top: 0;
		z-index: 50;

		width: 100%;
	}

	.custom-product-sections__navigation {
		position: static;

		padding: 8px;

		border-radius: 16px;

		box-shadow: 0 8px 28px rgba(16, 24, 40, 0.11);
	}

	.custom-product-sections__navigation-header {
		display: none;
	}

	.custom-product-sections__navigation-list {
		flex-direction: row;
		gap: 7px;

		overflow-x: auto;
		overflow-y: hidden;

		padding: 0 1px 3px !important;

		scroll-behavior: smooth;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.custom-product-sections__navigation-list::-webkit-scrollbar {
		display: none;
	}

	.custom-product-sections__navigation-item {
		flex: 0 0 auto;
	}

	.custom-product-sections__navigation-link {
		display: flex;
		grid-template-columns: none;
		gap: 7px;

		min-height: 43px;
		padding: 5px 11px 5px 6px;

		border-radius: 50px;

		white-space: nowrap;
	}

	.custom-product-sections__navigation-link.is-active::before {
		display: none;
	}

	.custom-product-sections__navigation-icon {
		width: 32px;
		height: 32px;

		border-radius: 50%;
	}

	.custom-product-sections__navigation-icon svg {
		width: 17px;
		height: 17px;
	}

	.custom-product-sections__navigation-arrow {
		display: none;
	}

	.custom-product-sections__navigation-title {
		overflow: visible;
		text-overflow: clip;
	}

	.custom-product-sections__section {
		border-radius: 18px;
	}

	.custom-product-sections__section-header {
		padding: 18px 20px;
	}

	.custom-product-sections__section-content {
		padding: 22px;
	}
}

/* ========================================
   موبایل کوچک
======================================== */

@media (max-width: 600px) {

	.custom-product-sections {
		--product-tabs-scroll-offset: 95px;
	}

	.custom-product-sections__section-header {
		gap: 11px;
		padding: 15px;
	}

	.custom-product-sections__section-icon {
		width: 42px;
		height: 42px;

		border-radius: 13px;
	}

	.custom-product-sections__section-icon svg {
		width: 20px;
		height: 20px;
	}

	.custom-product-sections__section-title {
		font-size: 18px;
	}

	.custom-product-sections__section-subtitle {
		font-size: 10px;
	}

	.custom-product-sections__section-content {
		padding: 16px;

		font-size: 14px;
		line-height: 1.95;
	}

	/* جدول مشخصات در موبایل */

	.custom-product-sections table.shop_attributes,
	.custom-product-sections table.shop_attributes tbody,
	.custom-product-sections table.shop_attributes tr,
	.custom-product-sections table.shop_attributes th,
	.custom-product-sections table.shop_attributes td {
		display: block;
		width: 100%;
	}

	.custom-product-sections table.shop_attributes tr {
		overflow: hidden;

		margin-bottom: 10px;

		border: 1px solid var(--product-tabs-border) !important;
		border-radius: 13px;

		background: var(--product-tabs-background);
	}

	.custom-product-sections table.shop_attributes th,
	.custom-product-sections table.shop_attributes td {
		border-radius: 0;
	}

	.custom-product-sections table.shop_attributes th {
		padding-bottom: 5px !important;
	}

	.custom-product-sections table.shop_attributes td {
		padding-top: 5px !important;
	}

	/* FAQ موبایل */

	.custom-product-faq__question {
		grid-template-columns: 30px minmax(0, 1fr) 24px;
		gap: 9px;

		padding: 14px;

		font-size: 13px;
	}

	.custom-product-faq__number {
		width: 30px;
		height: 30px;
	}

	.custom-product-faq__answer {
		padding: 0 53px 16px 38px;

		font-size: 13px;
	}

	/* پرسش‌ها موبایل */

	.custom-product-questions__item {
		padding: 15px;
	}

	.custom-product-questions__avatar {
		width: 37px;
		height: 37px;
	}

	.custom-product-questions__answer,
	.custom-product-questions__waiting {
		margin-right: 0;
	}

	.custom-product-questions__answer {
		margin-top: 13px;
	}

	/* حالت خالی */

	.custom-product-faq__empty,
	.custom-product-questions__empty {
		align-items: flex-start;

		padding: 16px;
	}

	.custom-product-faq__empty-icon,
	.custom-product-questions__empty-icon {
		width: 42px;
		height: 42px;
	}
}

/* ========================================
   کاهش انیمیشن برای دسترس‌پذیری
======================================== */

@media (prefers-reduced-motion: reduce) {

	.custom-product-sections *,
	.custom-product-sections *::before,
	.custom-product-sections *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
/* ========================================
   راهنمای اسکرول منوی موبایل
======================================== */

.custom-product-sections__swipe-hint {
	display: none;
}

@media (max-width: 991px) {

	.custom-product-sections__navigation {
		/* position: relative; */
		overflow: hidden;
	}

	.custom-product-sections__swipe-hint {
		position: absolute;
		top: 50%;
		left: 0;
		z-index: 5;

		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 2px;

		width: 78px;
		height: calc(100% - 12px);
		padding: 0 7px;

		color: var(--product-tabs-primary-dark);

		background: linear-gradient(
			90deg,
			rgba(255, 255, 255, 1) 45%,
			rgba(255, 255, 255, 0.94) 68%,
			rgba(255, 255, 255, 0) 100%
		);

		font-size: 10px;
		font-weight: 800;
		white-space: nowrap;

		pointer-events: none;

		transform: translateY(-50%);

		opacity: 1;
		visibility: visible;

		transition:
			opacity 0.25s ease,
			visibility 0.25s ease;
	}

	.custom-product-sections__swipe-hint svg {
		width: 19px;
		height: 19px;

		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;

		animation: product-tabs-swipe-arrow 1.2s ease-in-out infinite;
	}

	.custom-product-sections__swipe-hint.is-hidden {
		opacity: 0;
		visibility: hidden;
	}

	.custom-product-sections__swipe-hint[hidden] {
		display: none !important;
	}
}

@keyframes product-tabs-swipe-arrow {

	0%,
	100% {
		transform: translateX(2px);
		opacity: 0.55;
	}

	50% {
		transform: translateX(-5px);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {

	.custom-product-sections__swipe-hint svg {
		animation: none;
	}
}