/* Mobile Skin Wishlist. Brand colors: black, white, gray. */

.msw-heart svg,
.msw-single svg,
.msw-header-icon svg,
.msw-empty__icon svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.msw-heart.is-active svg,
.msw-single.is-active svg {
	fill: currentColor;
}

/* Heart on product cards: top-right corner, opposite the stock badge. */
.wet-product-card__image {
	position: relative;
}

button.msw-heart,
button.msw-heart:hover,
button.msw-heart:focus,
button.msw-heart:active {
	align-items: center;
	background: #ffffff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: #111111;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 12px;
	top: 12px;
	transition: transform 0.15s ease;
	width: 36px;
	z-index: 3;
}

button.msw-heart:hover {
	transform: scale(1.08);
}

button.msw-heart svg {
	height: 18px;
	width: 18px;
}

button.msw-heart:focus-visible,
button.msw-single:focus-visible,
.msw-header-link:focus-visible {
	outline: 2px solid #111111;
	outline-offset: 2px;
}

/* Product page button. */
.msw-vt-actions {
	align-items: stretch;
	display: flex;
	gap: 8px;
}

button.msw-single,
button.msw-single:hover,
button.msw-single:focus,
button.msw-single:active {
	align-items: center;
	background: #ffffff;
	border: 1px solid #111111;
	border-radius: 8px;
	color: #111111;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	margin: 12px 0 0;
	padding: 10px 18px;
	transition: background-color 0.15s ease;
}

button.msw-single:hover {
	background: #f3f3f3;
}

button.msw-single svg {
	height: 20px;
	width: 20px;
}

button.msw-single--icon,
button.msw-single--icon:hover,
button.msw-single--icon:focus,
button.msw-single--icon:active {
	flex: 0 0 auto;
	margin: 0;
	min-height: 44px;
	padding: 0;
	width: 48px;
}

/* Header icon, matched to the cart trigger. */
.msw-header-link,
.msw-header-link:hover,
.msw-header-link:focus {
	align-items: center;
	color: #111111;
	display: inline-flex;
	justify-content: center;
	padding: 6px;
	position: relative;
	text-decoration: none;
}

.msw-header-link:hover {
	color: #666666;
}

.msw-header-icon svg {
	height: 22px;
	width: 22px;
}

.msw-count {
	align-items: center;
	background: #ef4444;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	inset-block-start: -4px;
	inset-inline-end: -6px;
	justify-content: center;
	line-height: 1;
	min-height: 20px;
	min-width: 20px;
	padding: 0 6px;
	position: absolute;
}

/* Toast. */
.msw-toast {
	align-items: center;
	background: #111111;
	border-radius: 8px;
	bottom: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	color: #ffffff;
	display: flex;
	font-size: 14px;
	gap: 16px;
	left: 50%;
	max-width: calc(100vw - 32px);
	opacity: 0;
	padding: 12px 18px;
	pointer-events: none;
	position: fixed;
	transform: translate(-50%, 12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 99999;
}

.msw-toast.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.msw-toast a,
.msw-toast a:hover,
.msw-toast a:focus {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

/* Wishlist page. */
.msw-page {
	margin: 0 auto;
	max-width: 1280px;
	padding: 48px 0 72px;
}

@media (max-width: 767px) {
	.msw-page {
		padding: 24px 0 48px;
	}
}

.msw-empty {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 64px 16px;
	text-align: center;
}

.msw-empty[hidden] {
	display: none;
}

.msw-empty__icon {
	color: #111111;
}

.msw-empty__icon svg {
	height: 48px;
	width: 48px;
}

.msw-empty__title {
	color: #111111;
	font-size: 22px;
	margin: 0;
}

.msw-empty__text {
	color: #666666;
	margin: 0;
}

.msw-empty__button,
.msw-empty__button:hover,
.msw-empty__button:focus {
	background: #111111;
	border-radius: 8px;
	color: #ffffff;
	font-weight: 600;
	margin-top: 8px;
	padding: 12px 28px;
	text-decoration: none;
}

.msw-empty__button:hover {
	background: #333333;
}

/* Off-canvas drawer: same size, side and motion as the toolkit's cart drawer. */
.msw-drawer[hidden] {
	display: none;
}

html.msw-drawer-open,
html.msw-drawer-open body {
	overflow: hidden;
}

.msw-drawer__overlay {
	background: rgba(15, 15, 20, 0.45);
	inset: 0;
	opacity: 0;
	position: fixed;
	transition: opacity 0.25s ease;
	z-index: 2147483000;
}

.msw-drawer__panel {
	background: #ffffff;
	block-size: 100dvh;
	color: #111111;
	display: flex;
	flex-direction: column;
	inline-size: min(420px, 92vw);
	inset-block: 0;
	inset-inline-end: 0;
	opacity: 0;
	outline: none;
	position: fixed;
	transform: translateX(104%);
	transition: transform 0.28s ease, opacity 0.28s ease;
	z-index: 2147483001;
}

[dir="rtl"] .msw-drawer__panel {
	transform: translateX(-104%);
}

.msw-drawer.is-open .msw-drawer__overlay {
	opacity: 1;
}

.msw-drawer.is-open .msw-drawer__panel {
	opacity: 1;
	transform: translateX(0);
}

.msw-drawer__head {
	align-items: center;
	border-block-end: 1px solid #eeeeee;
	display: flex;
	flex: 0 0 auto;
	gap: 14px;
	justify-content: space-between;
	padding: 16px 18px;
}

.msw-drawer__title {
	align-items: center;
	color: #111111;
	display: flex;
	font-size: 18px;
	font-weight: 800;
	gap: 10px;
	line-height: 1.25;
	margin: 0;
}

.msw-drawer__count {
	align-items: center;
	background: #ef4444;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	justify-content: center;
	min-height: 20px;
	min-width: 20px;
	padding: 0 6px;
}

button.msw-drawer__close,
button.msw-drawer__close:hover,
button.msw-drawer__close:focus,
button.msw-drawer__remove,
button.msw-drawer__remove:hover,
button.msw-drawer__remove:focus {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	color: #111111;
	cursor: pointer;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background-color 0.2s ease;
	width: 34px;
}

button.msw-drawer__close:hover,
button.msw-drawer__remove:hover {
	background: #f3f3f4;
}

button.msw-drawer__close:focus-visible,
button.msw-drawer__remove:focus-visible,
.msw-drawer a:focus-visible {
	outline: 2px solid #111111;
	outline-offset: 2px;
}

.msw-drawer__close svg,
.msw-drawer__remove svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 20px;
}

.msw-drawer__remove svg {
	height: 18px;
	width: 18px;
}

.msw-drawer__body {
	flex: 1 1 auto;
	min-block-size: 0;
	overflow-y: auto;
	padding: 8px 0;
}

.msw-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.msw-drawer__item {
	align-items: flex-start;
	border-block-end: 1px solid #eeeeee;
	display: grid;
	gap: 12px;
	grid-template-columns: 74px minmax(0, 1fr) auto;
	padding: 14px 18px;
	transition: background-color 0.2s ease;
}

.msw-drawer__item:hover {
	background: #fafafa;
}

.msw-drawer__thumb {
	background: #f5f5f6;
	block-size: 74px;
	border-radius: 8px;
	display: block;
	inline-size: 74px;
	overflow: hidden;
}

.msw-drawer__thumb img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: cover;
}

.msw-drawer__info {
	display: grid;
	gap: 8px;
	min-inline-size: 0;
}

.msw-drawer__name,
.msw-drawer__name:hover,
.msw-drawer__name:focus {
	color: #111111;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	text-decoration: none;
}

.msw-drawer__name:hover {
	text-decoration: underline;
}

.msw-drawer__price {
	color: #111111;
	font-size: 13px;
	font-weight: 700;
}

.msw-drawer__cart,
.msw-drawer__cart:hover,
.msw-drawer__cart:focus {
	align-items: center;
	background: #111111;
	border: 1px solid #111111;
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	justify-self: start;
	line-height: 1;
	min-height: 36px;
	padding: 0 14px;
	text-decoration: none;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.msw-drawer__cart:hover {
	background: #333333;
	border-color: #333333;
}

.msw-drawer__cart.loading {
	opacity: 0.6;
	pointer-events: none;
}

.msw-drawer__cart--link,
.msw-drawer__cart--link:hover,
.msw-drawer__cart--link:focus,
.msw-drawer__cart.is-added,
.msw-drawer__cart.is-added:hover,
.msw-drawer__cart.is-added:focus {
	background: #ffffff;
	color: #111111;
}

.msw-drawer__cart--link:hover,
.msw-drawer__cart.is-added:hover {
	background: #f5f5f5;
}

.msw-drawer__cart svg {
	fill: none;
	height: 16px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 16px;
}

/* WooCommerce adds a check icon to .added buttons; the drawer swaps the label instead. */
.msw-drawer__cart::after {
	content: none !important;
}

.msw-drawer__unavailable {
	color: #c62828;
	font-size: 13px;
	font-weight: 700;
}

.msw-drawer__foot {
	border-block-start: 1px solid #eeeeee;
	display: grid;
	flex: 0 0 auto;
	gap: 10px;
	padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
}

.msw-drawer__foot[hidden] {
	display: none;
}

.msw-drawer__primary,
.msw-drawer__primary:hover,
.msw-drawer__primary:focus {
	align-items: center;
	background: #111111;
	border-radius: 8px;
	color: #ffffff;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	text-decoration: none;
}

.msw-drawer__primary:hover {
	background: #333333;
}

button.msw-drawer__secondary,
button.msw-drawer__secondary:hover,
button.msw-drawer__secondary:focus {
	background: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 8px;
	box-shadow: none;
	color: #111111;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	min-height: 46px;
	padding: 0 20px;
}

button.msw-drawer__secondary:hover {
	background: #f5f5f5;
}

.msw-drawer__empty {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 56px 24px;
	text-align: center;
}

.msw-drawer__empty .msw-empty__icon svg {
	height: 44px;
	width: 44px;
}

.msw-drawer__empty-title {
	color: #111111;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.msw-drawer__empty-text {
	color: #666666;
	margin: 0 0 6px;
}

@media (prefers-reduced-motion: reduce) {
	button.msw-heart,
	.msw-toast,
	.msw-drawer__overlay,
	.msw-drawer__panel {
		transition: none;
	}
}
