.dnp-box {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 16px 18px 14px;
	direction: rtl;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	overflow: hidden;
	z-index: 2;
	background: rgba(255,255,255,.22);
}

.dnp-box__head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 8px;
}

.dnp-box__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: #111;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: 0;
}

.dnp-box__all,
.dnp-box__all:link,
.dnp-box__all:visited {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border-radius: 8px;
	background: #0984e3;
	color: #fff !important;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}

.dnp-box__all:hover {
	background: #0670c2;
}

.dnp-list {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: hidden;
}

.dnp-list.is-fading .dnp-row {
	opacity: 0;
	transform: translateY(-6px);
}

.dnp-row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 8px 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	font: inherit;
	text-align: right;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .35s ease, transform .35s ease, background .2s ease;
	position: relative;
}

.dnp-row + .dnp-row::before {
	content: "";
	position: absolute;
	top: -1px;
	right: 8%;
	left: 8%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(9, 132, 227, .28), transparent);
	pointer-events: none;
}

.dnp-row.is-visible {
	opacity: 1;
	transform: none;
}

.dnp-row.is-clickable {
	cursor: pointer;
}

.dnp-row.is-clickable:hover,
.dnp-row.is-clickable:focus-visible {
	background: rgba(255, 255, 255, .42);
	outline: none;
}

.dnp-row.is-clickable:hover .dnp-name,
.dnp-row.is-clickable:focus-visible .dnp-name {
	color: #0984e3;
}

.dnp-date {
	flex: 0 0 auto;
	color: #1e9e4a;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.45;
	white-space: nowrap;
}

.dnp-name,
.dnp-name:link,
.dnp-name:visited {
	flex: 1 1 auto;
	min-width: 0;
	color: #111;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.45;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dnp-empty {
	color: #4a5560;
	font-size: 14px;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
}

body.dnp-popup-open {
	overflow: hidden;
}

.dnp-popup[hidden] {
	display: none !important;
}

.dnp-popup {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	box-sizing: border-box;
}

.dnp-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 24, 40, .52);
	backdrop-filter: blur(4px);
}

.dnp-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: calc(100vh - 36px);
	overflow: auto;
	background: #fff;
	border: 1px solid #74b9ff;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(9, 132, 227, .22);
	padding: 22px 22px 20px;
	display: grid;
	grid-template-columns: 168px 1fr;
	gap: 18px 20px;
	direction: rtl;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	box-sizing: border-box;
}

.dnp-popup__close {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #f1f6fb;
	color: #1a3a52;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.dnp-popup__close:hover {
	background: #dfeaf5;
}

.dnp-popup__media {
	grid-row: span 1;
	align-self: start;
	background: #f4f8fc;
	border: 1px solid #d7e8f7;
	border-radius: 12px;
	overflow: hidden;
	min-height: 168px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dnp-popup__media img {
	display: block;
	width: 100%;
	height: 168px;
	object-fit: contain;
	background: #fff;
}

.dnp-popup__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dnp-popup__title {
	margin: 0 0 2px;
	padding-left: 36px;
	color: #102a43;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
}

.dnp-popup__brand {
	color: #4a5560;
	font-size: 14px;
}

.dnp-popup__brand strong {
	color: #102a43;
	font-weight: 700;
}

.dnp-popup__price {
	color: #0b6e2f;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.dnp-popup__price.is-plain {
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
}

.dnp-popup__price .dw-price-rtl {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

.dnp-popup__desc {
	color: #334155;
	font-size: 13px;
	line-height: 1.7;
	white-space: pre-wrap;
	background: #f7fbff;
	border: 1px solid #d7e8f7;
	border-radius: 8px;
	padding: 8px 10px;
}

.dnp-popup__note {
	color: #b42318;
	background: #fff4f3;
	border: 1px solid #ffd4d0;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
}

.dnp-popup__cart {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 4px;
	width: 100%;
}

.dnp-popup__qty {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.dnp-popup__qty-label {
	color: #334155;
	font-size: 14px;
	font-weight: 700;
}

.dnp-popup__stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid #9ecfff;
	border-radius: 10px;
	overflow: hidden;
	background: #f7fbff;
}

.dnp-popup__step,
.dnp-popup__qty-input {
	border: 0;
	background: transparent;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	color: #102a43;
}

.dnp-popup__step {
	width: 38px;
	height: 38px;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}

.dnp-popup__step:hover {
	background: #e7f3ff;
}

.dnp-popup__qty-input {
	width: 52px;
	height: 38px;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	border-right: 1px solid #d7e8f7;
	border-left: 1px solid #d7e8f7;
	-moz-appearance: textfield;
}

.dnp-popup__qty-input::-webkit-outer-spin-button,
.dnp-popup__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dnp-popup__add {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	height: 38px;
	min-height: 38px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: #0984e3;
	color: #fff !important;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
}

.dnp-popup__add:hover {
	background: #0670c2;
}

.dnp-popup__add.is-loading {
	background: #fdcb6e;
	color: #2d3436 !important;
}

.dnp-popup__add.is-success {
	background: #00b894;
}

.dnp-popup__add.is-error {
	background: #d63031;
}

.dnp-popup__add:disabled {
	cursor: default;
}

@media (max-width: 700px) {
	.dnp-box {
		padding: 12px 12px 10px;
	}
	.dnp-box__title {
		font-size: 20px;
	}
	.dnp-box__all {
		font-size: 12px;
		padding: 4px 10px;
	}
	.dnp-date {
		font-size: 12px;
	}
	.dnp-name {
		font-size: 14px;
	}
	.dnp-popup {
		padding: 10px;
		align-items: flex-end;
	}
	.dnp-popup__dialog {
		width: 100%;
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 18px 16px 16px;
		border-radius: 16px 16px 10px 10px;
		max-height: calc(100vh - 16px);
	}
	.dnp-popup__title {
		font-size: 18px;
		padding-left: 34px;
	}
	.dnp-popup__media img {
		height: 180px;
	}
	.dnp-popup__cart {
		flex-wrap: nowrap;
	}
	.dnp-popup__add {
		font-size: 14px;
		min-height: 42px;
	}
}

.dnp-archive {
	width: 1125px;
	max-width: 100%;
	margin: 10px auto 0;
	padding: 0 8px 20px;
	box-sizing: border-box;
	direction: rtl;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	color: #111;
}

.dnp-archive__head {
	margin: 0 0 14px;
}

.dnp-archive__title {
	margin: 0 0 6px;
	color: #102a43;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
}

.dnp-archive__meta {
	margin: 0;
	color: #4a5560;
	font-size: 15px;
}

.dnp-archive__empty {
	padding: 40px 16px;
	text-align: center;
	font-size: 22px;
	color: #334155;
}

.dnp-archive__table-wrap {
	overflow-x: auto;
	border: 1.5px solid #74b9ff;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(9, 132, 227, .10);
}

.dnp-archive__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.dnp-archive__table th,
.dnp-archive__table td {
	padding: 11px 12px;
	border-bottom: 1px solid #d7e8f7;
	text-align: right;
	vertical-align: middle;
}

.dnp-archive__table th {
	background: #0984e3;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.dnp-archive__table tbody tr:nth-child(even) {
	background: #f7fbff;
}

.dnp-archive__table tbody tr:hover {
	background: #eef6ff;
}

.dnp-archive__num {
	width: 64px;
	color: #0b6e2f;
	font-weight: 700;
	white-space: nowrap;
}

.dnp-archive__date {
	white-space: nowrap;
	color: #334155;
	font-variant-numeric: tabular-nums;
}

.dnp-archive__name {
	font-weight: 700;
}

.dnp-archive__price {
	white-space: nowrap;
	color: #0b6e2f;
	font-weight: 700;
}

.dnp-archive__desc,
.dnp-archive__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	height: 36px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.dnp-archive__desc {
	background: #fff;
	color: #0984e3;
	border: 1px solid #74b9ff;
}

.dnp-archive__desc:hover {
	background: #e7f3ff;
}

.dnp-archive__add {
	background: #0984e3;
	color: #fff;
}

.dnp-archive__add:hover {
	background: #0670c2;
}

.dnp-archive__oos {
	color: #b42318;
	font-size: 13px;
	font-weight: 700;
}

.dnp-archive__pager {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 20px;
	font-size: 20px;
	font-weight: 700;
}

.dnp-archive__pager a {
	color: #0984e3;
	text-decoration: none;
}

.dnp-desc-popup[hidden] {
	display: none !important;
}

.dnp-desc-popup {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	box-sizing: border-box;
}

.dnp-desc-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 24, 40, .52);
	backdrop-filter: blur(4px);
}

.dnp-desc-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	background: #fff;
	border: 1px solid #74b9ff;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(9, 132, 227, .22);
	padding: 22px 22px 20px;
	font-family: IRANSans, iransans, Tahoma, sans-serif;
}

.dnp-desc-popup__close {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #f1f6fb;
	color: #1a3a52;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.dnp-desc-popup__title {
	margin: 0 0 12px;
	padding-left: 36px;
	font-size: 20px;
	font-weight: 700;
	color: #102a43;
	line-height: 1.45;
}

.dnp-desc-popup__body {
	color: #334155;
	font-size: 15px;
	line-height: 1.8;
	white-space: pre-wrap;
}
