/* Dar Manhal wishlist — match cart / shop page chrome */

.dmah-wishlist-page {
	--wishlist-ink: #16181D;
	--wishlist-accent: #409A9D;
	--wishlist-rule: rgba(22, 24, 29, 0.08);
	background: #fff !important;
	background-image: none !important;
	padding: 28px 0 80px !important;
}

.dmah-wishlist-page > .container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.dmah-wishlist-page--empty {
	padding-top: 16px !important;
	padding-bottom: 40px !important;
}

.dmah-wishlist-page__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 20px;
	margin: 0 0 22px;
}

.dmah-wishlist-page__count {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: rgba(22, 24, 29, 0.55);
}

.dmah-wishlist-page__count strong {
	color: #16181D;
	font-weight: 600;
}

.dmah-wishlist-page__shop-link {
	font-size: 13px;
	font-weight: 600;
	color: #409A9D;
	text-decoration: none;
	border-bottom: 1px solid rgba(64, 154, 157, 0.35);
	padding-bottom: 1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.dmah-wishlist-page__shop-link:hover {
	color: #2f7578;
	border-color: #2f7578;
}

.dmah-wishlist-table {
	background: #fff;
	border: 1px solid rgba(22, 24, 29, 0.07);
	border-radius: var(--jg-settings-radius, 5px);
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(16, 18, 22, 0.04);
}

.dmah-wishlist-table__head {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) 0.7fr 0.7fr 0.55fr 40px;
	gap: 12px;
	padding: 14px 22px;
	background: #fff;
	border-bottom: 1px solid rgba(22, 24, 29, 0.08);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(22, 24, 29, 0.45);
}

.dmah-wishlist-row {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) 0.7fr 0.7fr 0.55fr 40px;
	gap: 12px;
	align-items: center;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(22, 24, 29, 0.06);
}

.dmah-wishlist-row:last-child {
	border-bottom: 0;
}

.dmah-wishlist-row__product {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.dmah-wishlist-row__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 96px;
	border-radius: var(--jg-settings-radius, 5px);
	overflow: hidden;
	background: #eef1f2;
	box-shadow: 0 8px 20px rgba(22, 24, 29, 0.08);
}

.dmah-wishlist-row__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dmah-wishlist-row__meta {
	min-width: 0;
}

.dmah-wishlist-row__category {
	display: block;
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #409A9D;
}

.dmah-wishlist-row__name {
	display: block;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: #16181D;
	text-decoration: none;
	line-height: 1.35;
}

.dmah-wishlist-row__name:hover {
	color: #409A9D;
}

.dmah-wishlist-row__price-mobile {
	display: none;
	margin-top: 6px;
	font-size: 13px;
	color: rgba(22, 24, 29, 0.65);
}

.dmah-wishlist-row__price {
	font-size: 15px;
	font-weight: 400;
	color: rgba(22, 24, 29, 0.72);
}

.dmah-wishlist-row__compare {
	display: inline-block;
	margin-right: 6px;
	font-size: 13px;
	color: rgba(22, 24, 29, 0.4);
	text-decoration: line-through;
}

.dmah-wishlist-row__sale {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #409A9D;
}

.dmah-wishlist-row__status {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #2f7578;
}

.dmah-wishlist-row__status--out {
	color: rgba(22, 24, 29, 0.45);
}

.dmah-wishlist-row__view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(22, 24, 29, 0.12);
	border-radius: var(--jg-settings-radius, 5px);
	font-size: 13px;
	font-weight: 500;
	color: #16181D;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dmah-wishlist-row__view:hover {
	color: #409A9D;
	border-color: rgba(64, 154, 157, 0.45);
	background: rgba(64, 154, 157, 0.06);
}

.dmah-wishlist-row__remove {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(22, 24, 29, 0.35);
	font-size: 22px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease;
}

.dmah-wishlist-row__remove:hover {
	color: #409A9D;
	background: rgba(64, 154, 157, 0.08);
}

.dmah-wishlist-row__remove:disabled {
	opacity: 0.45;
	cursor: wait;
}

.dmah-wishlist-page__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.dmah-wishlist-page__footer .btn-default {
	min-width: 180px;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Account shell — same table language */
.account-page .dmah-wishlist-table {
	margin-top: 8px;
}

.account-page .dmah-wishlist-table__head {
	display: none;
}

@media (max-width: 991px) {
	.dmah-wishlist-table__head {
		display: none;
	}

	.dmah-wishlist-row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			'product remove'
			'product actions';
		gap: 10px 12px;
		padding: 18px 16px;
	}

	.dmah-wishlist-row__product {
		grid-area: product;
	}

	.dmah-wishlist-row__price,
	.dmah-wishlist-row__status {
		display: none;
	}

	.dmah-wishlist-row__price-mobile {
		display: block;
	}

	.dmah-wishlist-row__actions {
		grid-area: actions;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
	}

	.dmah-wishlist-row__remove {
		grid-area: remove;
		justify-self: end;
		align-self: start;
	}

	.dmah-wishlist-row__status-mobile {
		display: inline-block;
		font-size: 12px;
		font-weight: 500;
		color: #2f7578;
	}

	.dmah-wishlist-row__status-mobile--out {
		color: rgba(22, 24, 29, 0.45);
	}
}

@media (min-width: 992px) {
	.dmah-wishlist-row__actions {
		display: contents;
	}

	.dmah-wishlist-row__status-mobile {
		display: none;
	}
}
