/* Wishlist page, design «Β» (2026-11-24): rows like the cart + summary card. See inc/wishlist.php, woocommerce/wishlist-view.php */
.dm-wishlist-page .entry-header, .dm-wishlist-page .wishlist-title-container, .dm-wishlist-page .yith-wcwl-share,
.dm-wishlist-page .yith_wcwl_wishlist_footer { display: none !important; }
.dm-wl {
	--dm-primary: #6F5876; --dm-text: #444; --dm-secondary: #666; --dm-accent: #A9573D; --dm-peach: #F6E2D6; --dm-cream: #FCF6F2; --dm-line: #ECE3E0; --dm-ok: #5E8A6B;
	max-width: 1240px; margin: 0 auto; padding: 10px 0 60px; color: var(--dm-text);
}
.dm-wl a { text-decoration: none !important; }
.dm-wl__head { margin-bottom: 26px; }
.dm-wl__eyebrow { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dm-accent); }
.dm-wl__title { margin: 8px 0 6px; font-size: clamp(30px, 3.4vw, 40px); font-weight: 400; line-height: 1.15; color: var(--dm-text); }
.dm-wl__lead { margin: 0; color: var(--dm-secondary); }
.dm-wl__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.dm-wl__list { background: #fff; border-radius: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, .07); overflow: hidden; }
.dm-wl__row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto 40px; gap: 18px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--dm-line); }
.dm-wl__row:last-child { border-bottom: 0; }
.dm-wl__img { display: grid; place-items: center; width: 96px; height: 96px; padding: 6px; border-radius: 14px; background: var(--dm-cream); }
.dm-wl__img img { display: block; max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; margin: 0 !important; }
.dm-wl__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dm-wl__brand { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dm-accent); }
.dm-wl__name { color: var(--dm-text) !important; font-size: 16px; line-height: 1.35; transition: color .2s; }
.dm-wl__name:hover { color: var(--dm-primary) !important; }
.dm-wl__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dm-ok); }
.dm-wl__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dm-wl__stock.is-out { color: var(--dm-accent); }
.dm-wl__price { font-size: 17px; font-weight: 700; white-space: nowrap; color: var(--dm-text); }
.dm-wl__price del { margin-right: 6px; font-weight: 400; opacity: .5; }
.dm-wl__price ins { text-decoration: none; }
.dm-wl__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid var(--dm-primary); border-radius: 8px; background: var(--dm-primary); color: #fff !important; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.dm-wl__btn:hover { background: #5D4863; border-color: #5D4863; }
.dm-wl__btn--line { background: #fff; color: var(--dm-primary) !important; }
.dm-wl__btn--line:hover { background: var(--dm-primary); color: #fff !important; }
.dm-wl__btn.loading { opacity: .6; }
.dm-wl__btn.added::after { content: " ✓"; }
.dm-wl .added_to_cart { display: none !important; }
.dm-wl__x { display: grid !important; place-items: center; width: 34px; height: 34px; border: 1px solid var(--dm-line); border-radius: 50%; background: #fff; color: var(--dm-secondary) !important; font-size: 20px; line-height: 1; transition: background-color .2s, color .2s; }
.dm-wl__x:hover { background: var(--dm-peach); color: var(--dm-primary) !important; }
.dm-wl__sum { position: sticky; top: 24px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .07); }
.admin-bar .dm-wl__sum { top: 56px; }
.dm-wl__sum h2 { margin: 0 0 12px; font-size: 22px; font-weight: 400; color: var(--dm-text); }
.dm-wl__line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--dm-line); color: var(--dm-secondary); }
.dm-wl__line b { color: var(--dm-text); font-weight: 400; }
.dm-wl__all { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; padding: 13px 18px; border: 2px solid var(--dm-primary); border-radius: 8px; background: var(--dm-primary); color: #fff !important; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.dm-wl__all:hover { background: #5D4863; }
.dm-wl__all.is-busy { opacity: .6; cursor: progress; }
.dm-wl__all--inline { display: inline-flex; width: auto; }
.dm-wl__more { display: block; margin-top: 10px; padding: 11px 18px; border: 2px solid var(--dm-primary); border-radius: 8px; color: var(--dm-primary) !important; text-align: center; font-weight: 700; transition: background-color .2s, color .2s; }
.dm-wl__more:hover { background: var(--dm-primary); color: #fff !important; }
.dm-wl__share { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dm-line); font-size: 14px; color: var(--dm-secondary); }
.dm-wl__share a, .dm-wl__share button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--dm-peach); color: var(--dm-primary) !important; cursor: pointer; transition: background-color .2s, color .2s; }
.dm-wl__share a:hover, .dm-wl__share button:hover, .dm-wl__share button.is-done { background: var(--dm-primary); color: #fff !important; }
.dm-wl__empty { padding: 50px 24px; border: 1.5px dashed #DCCBC4; border-radius: 20px; background: #fff; text-align: center; }
.dm-wl__heart { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--dm-peach); color: var(--dm-primary); }
.dm-wl__empty h2 { margin: 0 0 6px; font-size: 24px; font-weight: 400; color: var(--dm-text); }
.dm-wl__empty p { margin: 0 0 18px; color: var(--dm-secondary); }
@media (max-width: 991.98px) {
	.dm-wl__grid { grid-template-columns: 1fr; }
	.dm-wl__sum { position: static; }
}
@media (max-width: 640px) {
	.dm-wl__row { grid-template-columns: 72px minmax(0, 1fr) 34px; gap: 6px 14px; padding: 14px; }
	.dm-wl__img { width: 72px; height: 72px; grid-row: span 3; }
	.dm-wl__info { grid-column: 2; }
	.dm-wl__x { grid-column: 3; grid-row: 1; align-self: start; }
	.dm-wl__price, .dm-wl__act { grid-column: 2 / 4; }
	.dm-wl__btn { width: 100%; justify-content: center; }
}
/* WooCommerce's red «a.remove» must not win over the round button */
.woocommerce .dm-wl a.dm-wl__x, .dm-wl a.remove.dm-wl__x { display: grid !important; place-items: center; width: 34px !important; height: 34px !important; border: 1px solid var(--dm-line); border-radius: 50%; background: #fff !important; color: var(--dm-secondary) !important; font-size: 20px; font-weight: 400; line-height: 1 !important; text-indent: 0; }
.woocommerce .dm-wl a.dm-wl__x:hover, .dm-wl a.remove.dm-wl__x:hover { background: var(--dm-peach) !important; color: var(--dm-primary) !important; }
