.wpa-attrs {
	direction: rtl;
	text-align: right;
	width: 100%;
	margin: 1.25rem 0;
	font-family: inherit;
	color: #0c0c0c;
}

.wpa-attrs__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.wpa-attrs__title {
	margin: 0;
	padding: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0c0c0c;
}

.wpa-attrs__header-link {
	display: none;
	align-items: center;
	gap: 0.15rem;
	flex-shrink: 0;
	color: #81858b;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
}

.wpa-attrs__header-link:hover,
.wpa-attrs__header-link:focus {
	color: #62666d;
	text-decoration: none;
}

.wpa-attrs__chevron {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

.wpa-attrs__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
}

.wpa-attrs__card {
	background: #f8f8f8;
	border: 1px solid #efefef;
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.wpa-attrs__label {
	display: inline-flex;
	align-items: center;
	gap: 0.1rem;
	font-size: 0.75rem;
	line-height: 1.35;
	font-weight: 400;
	color: #9a9a9a;
}

.wpa-attrs__label .wpa-attrs__chevron {
	display: none;
	width: 12px;
	height: 12px;
	color: #a1a3a8;
}

.wpa-attrs__value {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.4;
	font-weight: 700;
	color: #0c0c0c;
	word-break: break-word;
}

.wpa-attrs__more {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
}

.wpa-attrs__more::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 1px;
	background: #ececec;
	z-index: 0;
}

.wpa-attrs__more-btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.45rem 0.95rem;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	color: #333;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wpa-attrs__more-btn:hover,
.wpa-attrs__more-btn:focus {
	border-color: #d4d4d4;
	background: #fafafa;
	color: #111;
	text-decoration: none;
}

/* Mobile: Digikala look + free-mode swipe */
@media (max-width: 768px) {
	.wpa-attrs {
		margin: 1rem 0;
	}

	.wpa-attrs__header {
		margin-bottom: 0.75rem;
	}

	.wpa-attrs__title {
		font-size: 0.9375rem;
		font-weight: 700;
		color: #0c0c0c;
	}

	.wpa-attrs__header-link {
		display: inline-flex;
	}

	.wpa-attrs__grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 0.5rem;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: none;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-inline: -1rem;
		padding-inline: 1rem;
	}

	.wpa-attrs__grid::-webkit-scrollbar {
		display: none;
	}

	.wpa-attrs__card {
		flex: 0 0 auto;
		width: max-content;
		min-width: 7.25rem;
		max-width: 10.5rem;
		background: #fff;
		border: 1px solid #e0e0e2;
		border-radius: 8px;
		padding: 0.75rem 0.85rem;
		gap: 0.35rem;
	}

	.wpa-attrs__label {
		font-size: 0.6875rem;
		color: #81858b;
	}

	.wpa-attrs__label .wpa-attrs__chevron {
		display: inline-block;
	}

	.wpa-attrs__value {
		font-size: 0.8125rem;
		font-weight: 700;
		color: #0c0c0c;
	}

	.wpa-attrs__more {
		display: none;
	}
}
