.skynsmfa-wishlist-button {
	margin-top: 0.5em;
	position: relative;
}

.skynsmfa-wishlist-button.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Button Customizer text-button tokens (inline CSS sets variables when configured). */
.woocommerce .skynsmfa-wishlist-button.button.skynsmfa-btn-style-custom:not(.is-added) {
	background-color: var(--skynsmfa-btn-bg) !important;
	color: var(--skynsmfa-btn-text) !important;
	border-color: var(--skynsmfa-btn-border) !important;
	border-radius: var(--skynsmfa-btn-radius) !important;
}

.woocommerce .skynsmfa-wishlist-button.button.skynsmfa-btn-style-custom.is-added {
	background-color: var(--skynsmfa-btn-active-bg, var(--skynsmfa-btn-bg)) !important;
	color: var(--skynsmfa-btn-active-text, var(--skynsmfa-btn-text)) !important;
	border-color: var(--skynsmfa-btn-border) !important;
	border-radius: var(--skynsmfa-btn-radius) !important;
}

.woocommerce .skynsmfa-wishlist-button.button.skynsmfa-btn-style-custom.skynsmfa-btn-has-border:not(.is-added),
.woocommerce .skynsmfa-wishlist-button.button.skynsmfa-btn-style-custom.skynsmfa-btn-has-border.is-added {
	border-style: solid !important;
	border-width: 1px !important;
}

/* Legacy text buttons without Button Customizer colors (pre-customizer added state). */
.woocommerce .skynsmfa-wishlist-button.button.is-added:not(.skynsmfa-btn-style-custom):not(.skynsmfa-icon-button) {
	border-color: #2e8540;
}

/* Variable product: wishlist outside hidden variation add-to-cart box */
.skynsmfa-single-wishlist-wrap {
	display: block;
	clear: both;
	margin: 0.75em 0 0;
}

.skynsmfa-single-wishlist-wrap--before-form {
	display: block;
	clear: both;
	width: 100%;
	margin: 0 0 1em;
}

.skynsmfa-single-wishlist-wrap--before-form .skynsmfa-wishlist-button {
	margin-top: 0;
	margin-left: 0;
	float: none;
}

.skynsmfa-single-wishlist-wrap .skynsmfa-wishlist-button {
	margin-top: 0;
}

/* Single product: align wishlist with quantity + add to cart row (in-form placement only) */
.woocommerce div.product form.cart .skynsmfa-wishlist-button {
	margin-top: 0;
	margin-bottom: 0;
	vertical-align: middle;
}

.woocommerce div.product form.cart .skynsmfa-wishlist-button.skynsmfa-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	margin-left: 0.35em;
}

.woocommerce div.product form.cart .skynsmfa-wishlist-button.button {
	margin-left: 0.5em;
}

/* Shop loop: align wishlist with add to cart link */
.woocommerce ul.products li.product .skynsmfa-wishlist-button {
	margin-top: 0;
	vertical-align: middle;
}

/* Icon Button Styles */
.skynsmfa-icon-button {
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	font-size: var(--skynsmfa-icon-size, 24px);
	line-height: 1;
	transition: color 0.3s ease, background 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	margin-top: 0;
	margin-left: 2px;
	margin-right: 2px;
	color: var(--skynsmfa-icon-color, currentColor);
}

.skynsmfa-icon-button .skynsmfa-wishlist-icon {
	width: var(--skynsmfa-icon-size, 24px);
	height: var(--skynsmfa-icon-size, 24px);
	display: inline-block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: fill 0.2s ease, stroke 0.2s ease;
}

.skynsmfa-icon-button.is-added .skynsmfa-wishlist-icon,
.skynsmfa-icon-button.skynsmfa-icon-fill-filled .skynsmfa-wishlist-icon {
	fill: currentColor;
}

.skynsmfa-icon-button:hover {
	color: var(--skynsmfa-icon-hover-color, #e74c3c);
}

.skynsmfa-icon-button.is-added {
	color: var(--skynsmfa-icon-active-color, #e74c3c);
}

.skynsmfa-icon-button.is-added:hover {
	color: var(--skynsmfa-icon-active-color, #c0392b);
}

/* Icon background shape (most visible over the product image) */
.skynsmfa-icon-button.skynsmfa-icon-shape-rounded,
.skynsmfa-icon-button.skynsmfa-icon-shape-circle {
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skynsmfa-icon-button.skynsmfa-icon-shape-rounded {
	border-radius: var(--skynsmfa-icon-shape-radius, 6px);
}

.skynsmfa-icon-button.skynsmfa-icon-shape-circle {
	border-radius: var(--skynsmfa-icon-shape-radius, 50%);
}

/* Custom uploaded icon keeps its own artwork (no stroke/fill theming) */
.skynsmfa-wishlist-icon--custom {
	width: var(--skynsmfa-icon-size, 24px);
	height: var(--skynsmfa-icon-size, 24px);
	object-fit: contain;
	fill: none;
	stroke: none;
}

/* Text button with an icon (Icon + text display mode) */
.skynsmfa-wishlist-button.button.skynsmfa-has-icon {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.skynsmfa-btn-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	padding: 0;
}

.skynsmfa-btn-icon .skynsmfa-wishlist-icon {
	width: 1.1em;
	height: 1.1em;
	display: inline-block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: fill 0.2s ease, stroke 0.2s ease;
}

.skynsmfa-wishlist-button.is-added.skynsmfa-has-icon .skynsmfa-btn-icon .skynsmfa-wishlist-icon,
.skynsmfa-wishlist-button.skynsmfa-has-icon.skynsmfa-icon-fill-filled .skynsmfa-btn-icon .skynsmfa-wishlist-icon {
	fill: currentColor;
}

.skynsmfa-btn-icon .skynsmfa-wishlist-icon--custom {
	fill: none;
}

.skynsmfa-tooltip {
	position: absolute;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 13px;
	white-space: nowrap;
	top: -34px;
	right: 50%;
	transform: translateX(50%);
	z-index: 20;
	opacity: 0;
	animation: skynsmfa-tooltip-in 0.2s ease forwards;
}

@keyframes skynsmfa-tooltip-in {
	from { opacity: 0; transform: translateX(50%) translateY(5px); }
	to { opacity: 1; transform: translateX(50%) translateY(0); }
}

.skynsmfa-toast-container {
	position: fixed;
	bottom: 16px;
	right: 16px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.skynsmfa-toast {
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 12px 16px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	max-width: 320px;
	font-size: 14px;
	opacity: 1;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.skynsmfa-toast-hidden {
	opacity: 0;
	transform: translateY(10px);
}

/* Over Image Positioning */
.skynsmfa-over-image {
	position: absolute;
	top: 10px;
	z-index: 10;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skynsmfa-over-image.skynsmfa-icon-button {
	border-radius: 50%;
}

.skynsmfa-over-image .skynsmfa-wishlist-icon {
	font-size: 20px;
}

/* Single product: top-left over the gallery image */
.woocommerce div.product .woocommerce-product-gallery {
	position: relative;
}

.woocommerce div.product .woocommerce-product-gallery .skynsmfa-over-image {
	left: 10px;
	right: auto;
}

.woocommerce div.product .woocommerce-product-gallery .skynsmfa-over-image.button {
	border-radius: 4px;
	padding: 0.5em 0.75em;
}

/* Shop loop: top-right over the product card image */
.woocommerce ul.products li.product {
	position: relative;
}

.woocommerce ul.products li.product .skynsmfa-over-image {
	right: 10px;
	left: auto;
}

.woocommerce ul.products li.product .skynsmfa-over-image.skynsmfa-icon-button {
	border-radius: 50%;
}

/* Single product: wishlist directly under the gallery (images column) */
.woocommerce div.product .skynsmfa-below-gallery {
	margin-top: 0;
	padding: 14px 0 8px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	text-align: center;
	width: 100%;
	clear: both;
	box-sizing: border-box;
}

.woocommerce div.product .skynsmfa-below-gallery .skynsmfa-wishlist-button {
	margin-top: 0;
}

.woocommerce div.product .skynsmfa-below-gallery-btn.skynsmfa-icon-button {
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	color: #1a1a1a;
}

.woocommerce div.product .skynsmfa-below-gallery-btn.skynsmfa-icon-button:hover {
	color: var(--skynsmfa-icon-hover-color, #e74c3c);
	background: #fffefd;
	border-color: rgba(231, 76, 60, 0.35);
}

.woocommerce div.product .skynsmfa-below-gallery-btn.skynsmfa-icon-button.is-added {
	color: var(--skynsmfa-icon-active-color, #e74c3c);
	border-color: rgba(231, 76, 60, 0.45);
	background: #fff8f8;
}

.woocommerce div.product .skynsmfa-below-gallery-btn .skynsmfa-wishlist-icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.75;
}

.woocommerce div.product .skynsmfa-below-gallery .skynsmfa-wishlist-button.button {
	margin-top: 0;
	padding: 10px 18px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Shortcode Styles */
.skynsmfa-shortcode {
	display: inline-block;
	margin: 0 5px;
}

.skynsmfa-wishlist-page__header {
	margin-bottom: 1.5rem;
}

.skynsmfa-wishlist-page__title {
	margin: 0 0 0.35em;
	font-size: 1.75rem;
}

.skynsmfa-wishlist-page__subtitle {
	margin: 0;
	color: #666;
}

.skynsmfa-wishlist-box__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.skynsmfa-wishlist-box__title {
	margin: 0;
	flex: 1 1 auto;
}

.skynsmfa-wishlist-box__actions .button {
	white-space: nowrap;
}

.skynsmfa-wishlist-box__actions .skynsmfa-delete-list-btn {
	margin-left: 8px;
}

.skynsmfa-wishlist-box__actions .skynsmfa-rename-list-btn {
	margin-left: 8px;
}

/* Wishlist page — grid layout (product cards) */
.skynsmfa-wishlist-page--layout-grid {
	--skynsmfa-grid-gap: 1.25rem;
	--skynsmfa-card-radius: 12px;
	--skynsmfa-card-border: rgba(0, 0, 0, 0.1);
	--skynsmfa-card-inner-border: rgba(0, 0, 0, 0.07);
	--skynsmfa-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
	--skynsmfa-card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
	--skynsmfa-card-body-x: 1rem;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box {
	background: #fafafa;
	border: 1px solid var(--skynsmfa-card-border);
	border-radius: calc(var(--skynsmfa-card-radius) + 4px);
	padding: 1.25rem 1.5rem 1.5rem;
	margin-bottom: 2rem;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box__head {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--skynsmfa-card-border);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box__title {
	font-size: 1.125rem;
	font-weight: 600;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box h3 {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table-wrap {
	overflow: visible;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table {
	display: block;
	width: 100%;
	border: none;
	margin-bottom: 0;
	border: 0px !important;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table thead {
	display: none;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tbody {
	display: grid;
	grid-template-columns: repeat(var(--skynsmfa-grid-columns, 4), minmax(0, 1fr));
	gap: var(--skynsmfa-grid-gap);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tbody tr {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--skynsmfa-card-border);
	border-radius: var(--skynsmfa-card-radius);
	padding: 0;
	background: #fff;
	box-shadow: var(--skynsmfa-card-shadow);
	overflow: hidden;
	transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tbody tr:hover {
	box-shadow: var(--skynsmfa-card-shadow-hover);
	transform: translateY(-2px);
	border-color: rgba(0, 0, 0, 0.14);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td {
	border: none !important;
	padding: 0;
	text-align: left !important;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-select {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	width: auto;
	padding: 5px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--skynsmfa-card-inner-border) !important;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	line-height: 0;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-select input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #f21368;
	cursor: pointer;
	vertical-align: middle;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-remove {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: auto;
	padding: 0;
	background: transparent;
	border: none !important;
	line-height: 0;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-remove-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: #555;
	font-size: 18px;
	line-height: 1;
	border: 1px solid var(--skynsmfa-card-inner-border);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
	text-decoration: none !important;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-remove-btn:hover,
.skynsmfa-wishlist-page--layout-grid .skynsmfa-remove-btn:focus {
	background: #fff;
	color: #d9534f;
	border-color: rgba(217, 83, 79, 0.25);
	transform: scale(1.04);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-name {
	order: 1;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f4f5f7;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid var(--skynsmfa-card-inner-border);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__thumb img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__details {
	padding: 0.75rem var(--skynsmfa-card-body-x) 0;
	text-align: left;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 600;
	font-size: 0.9375rem;
	color: #1a1a1a;
	text-decoration: none;
	text-align: left;
	line-height: 1.35;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__title:hover {
	color: #f21368;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-price {
	order: 3;
	padding: 0.35rem var(--skynsmfa-card-body-x) 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	text-align: left !important;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-price del {
	opacity: 0.55;
	font-weight: 400;
	font-size: 0.8125rem;
	margin-right: 0.25rem;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-price ins {
	text-decoration: none;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-price .price {
	display: block;
	text-align: left;
	margin: 0;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-action {
	order: 4;
	margin-top: auto;
	padding: 0.875rem var(--skynsmfa-card-body-x) 1rem;
	border-top: 1px solid var(--skynsmfa-card-inner-border);
	background: #fafbfc;
	text-align: left !important;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-move-to-cart-btn {
	width: 100%;
	text-align: center;
	padding: 0.6em 1em;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.875rem;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-out-of-stock {
	display: block;
	text-align: center;
	padding: 0.6em 1em;
	background: #f0f1f3;
	border-radius: 8px;
	font-size: 0.8125rem;
	color: #777;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-actions {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--skynsmfa-card-border);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-empty,
.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box__empty {
	text-align: center;
	padding: 2.5rem 1rem;
	color: #666;
	background: #fff;
	border-radius: var(--skynsmfa-card-radius);
	border: 1px dashed var(--skynsmfa-card-border);
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-controls {
	margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tbody {
		grid-template-columns: repeat(min(var(--skynsmfa-grid-columns, 4), 3), minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.skynsmfa-wishlist-page--layout-grid {
		--skynsmfa-card-body-x: 0.75rem;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tbody {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	/* Theme responsive-table labels must not appear on grid cards */
	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tr td::before,
	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table.shop_table_responsive tr td::before {
		content: none !important;
		display: none !important;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box {
		padding: 1rem;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box__actions {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-box__actions .button {
		flex: 1 1 auto;
		text-align: center;
		margin-left: 0 !important;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-product-cell__details {
		padding: 0.65rem 0.75rem 0;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-price {
		padding: 0.3rem 0.75rem 0.65rem;
		font-size: 0.875rem;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-action {
		padding: 0.75rem 0.75rem 0.875rem;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-select {
		top: 8px;
		left: 8px;
	}

	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table td.product-remove {
		top: 8px;
		right: 8px;
	}
}

@media (max-width: 480px) {
	.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tbody {
		grid-template-columns: 1fr;
	}
}

/* Grid: card layout — never show responsive table labels (all themes) */
.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table tr td::before,
.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table.shop_table_responsive tr td::before,
.woocommerce .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tr td::before,
.woocommerce-page .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tr td::before {
	content: none !important;
	display: none !important;
}

/* Prevent WooCommerce responsive table styles from breaking grid cards */
.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table.shop_table_responsive tbody,
.woocommerce .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tbody,
.woocommerce-page .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tbody {
	display: grid;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table.shop_table_responsive tr,
.woocommerce .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tr,
.woocommerce-page .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tr {
	display: flex;
}

.skynsmfa-wishlist-page--layout-grid .skynsmfa-wishlist-table.shop_table_responsive tr td,
.woocommerce .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tr td,
.woocommerce-page .skynsmfa-wishlist-page--layout-grid table.shop_table_responsive tr td {
	display: block;
	text-align: left !important;
}

.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table th,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table td {
	padding: 0.5rem 0.65rem;
	font-size: 0.875rem;
}

.skynsmfa-wishlist-page--layout-compact .skynsmfa-product-cell__thumb img {
	width: 52px;
}

.skynsmfa-wishlist-page--layout-compact .skynsmfa-remove-btn {
	font-size: 1.125rem;
	width: 1.35rem;
	height: 1.35rem;
}

/* Table + compact: WooCommerce cart-style rows */
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table-wrap,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table-wrap {
	overflow-x: auto;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	margin-bottom: 1.25rem;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table thead th,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table thead th {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	background: transparent;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table tbody td,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table tbody td {
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.skynsmfa-product-cell {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.skynsmfa-product-cell__thumb {
	flex-shrink: 0;
}

.skynsmfa-product-cell__thumb img {
	display: block;
	width: 72px;
	height: auto;
	border-radius: 4px;
}

.skynsmfa-product-cell__details {
	min-width: 0;
}

.skynsmfa-product-cell__title {
	display: block;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	line-height: 1.4;
}

.skynsmfa-product-cell__title:hover {
	color: #f21368;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table th.product-select,
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table td.product-select,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table th.product-select,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table td.product-select {
	width: 2.5rem;
	padding-right: 0.25rem;
	text-align: center;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table th.product-name,
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table td.product-name,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table th.product-name,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table td.product-name {
	width: auto;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table th.product-price,
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table td.product-price,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table th.product-price,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table td.product-price {
	width: 1%;
	white-space: nowrap;
	text-align: right;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table th.product-action,
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table td.product-action,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table th.product-action,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table td.product-action {
	width: 1%;
	white-space: nowrap;
	text-align: right;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table th.product-remove,
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table td.product-remove,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table th.product-remove,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table td.product-remove {
	width: 2rem;
	padding-left: 0.25rem;
	text-align: center;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-remove-btn,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-remove-btn {
	font-size: 1.25rem;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	line-height: 1;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table thead th.product-price,
.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table thead th.product-action,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table thead th.product-price,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table thead th.product-action {
	text-align: right;
}

.skynsmfa-wishlist-page--layout-table .skynsmfa-move-to-cart-btn,
.skynsmfa-wishlist-page--layout-compact .skynsmfa-move-to-cart-btn {
	white-space: nowrap;
}

/* Mobile: table/compact as compact product cards (no PRICE/ACTION column labels) */
@media (max-width: 768px) {
	.skynsmfa-wishlist-page--layout-table,
	.skynsmfa-wishlist-page--layout-compact {
		--skynsmfa-mobile-card-radius: 10px;
		--skynsmfa-mobile-card-border: rgba(0, 0, 0, 0.1);
		--skynsmfa-mobile-thumb: 72px;
	}

	.skynsmfa-wishlist-page--layout-compact {
		--skynsmfa-mobile-thumb: 56px;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-controls,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-controls {
		justify-content: stretch;
		margin-bottom: 1rem;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-controls .button,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-controls .button {
		width: 100%;
		margin-left: 0;
		text-align: center;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-box,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-box {
		margin-bottom: 1.75rem;
		padding-bottom: 0.25rem;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-box__head,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-box__head {
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
		margin-bottom: 1rem;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-box__title,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-box__title {
		font-size: 1.125rem;
		line-height: 1.3;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-box__actions,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-box__actions {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		width: 100%;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-box__actions .button,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-box__actions .button {
		flex: 1 1 calc(50% - 0.25rem);
		min-width: 7.5rem;
		margin-left: 0 !important;
		text-align: center;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table-wrap,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table-wrap {
		overflow: visible;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table {
		margin-bottom: 0.75rem;
		border-top: none;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive thead,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive thead {
		display: none;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tbody,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tbody {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
		width: 100%;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tbody tr.skynsmfa-wishlist-item,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tbody tr.skynsmfa-wishlist-item {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"main remove"
			"price price"
			"action action";
		gap: 0.5rem 0.65rem;
		align-items: start;
		padding: 0.875rem 1rem;
		margin: 0;
		border: 1px solid var(--skynsmfa-mobile-card-border);
		border-radius: var(--skynsmfa-mobile-card-radius);
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tbody tr.skynsmfa-wishlist-item:has(td.product-select),
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tbody tr.skynsmfa-wishlist-item:has(td.product-select) {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"select main remove"
			"price price price"
			"action action action";
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td,
	.woocommerce .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td,
	.woocommerce .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td,
	.woocommerce-page .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td,
	.woocommerce-page .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td {
		display: block !important;
		width: auto !important;
		max-width: none;
		padding: 0 !important;
		text-align: left !important;
		border: none !important;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td::before,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td::before,
	.woocommerce .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td::before,
	.woocommerce .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td::before,
	.woocommerce-page .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td::before,
	.woocommerce-page .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td::before {
		content: none !important;
		display: none !important;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-select,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-select {
		grid-area: select;
		align-self: center;
		padding-top: 0.35rem !important;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name {
		grid-area: main;
		min-width: 0;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-price,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-price {
		grid-area: price;
		padding-top: 0.15rem !important;
		font-size: 0.9375rem;
		font-weight: 600;
		white-space: normal;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-price .price,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-price .price {
		display: inline;
		margin: 0;
		font-weight: inherit;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-action,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-action {
		grid-area: action;
		padding-top: 0.65rem !important;
		margin-top: 0.15rem;
		border-top: 1px solid rgba(0, 0, 0, 0.07);
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-remove,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-remove {
		grid-area: remove;
		justify-self: end;
		text-align: right !important;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 0.75rem;
		min-width: 0;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__thumb,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__thumb {
		flex-shrink: 0;
		width: var(--skynsmfa-mobile-thumb);
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__thumb img,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__thumb img {
		width: var(--skynsmfa-mobile-thumb);
		height: var(--skynsmfa-mobile-thumb);
		object-fit: cover;
		border-radius: 6px;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__details,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__details {
		flex: 1;
		min-width: 0;
		padding-top: 0.15rem;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__title,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-name .skynsmfa-product-cell__title {
		font-size: 1rem;
		line-height: 1.35;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-action .button,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-action .button,
	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-action .skynsmfa-out-of-stock,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-action .skynsmfa-out-of-stock {
		display: block;
		width: 100%;
		max-width: 100%;
		margin: 0;
		box-sizing: border-box;
		text-align: center;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td.product-remove .skynsmfa-remove-btn,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td.product-remove .skynsmfa-remove-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2rem;
		height: 2rem;
		border-radius: 50%;
		background: rgba(0, 0, 0, 0.04);
		border: 1px solid rgba(0, 0, 0, 0.08);
		font-size: 1.25rem;
		line-height: 1;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-actions,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-actions {
		margin-top: 0.5rem;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-actions .button,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-actions .button {
		width: 100%;
		text-align: center;
	}
}

/* Desktop: keep a real table (don't stack like responsive cart on wide screens) */
@media (min-width: 769px) {
	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive thead,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive thead,
	.woocommerce .skynsmfa-wishlist-page--layout-table table.shop_table_responsive thead,
	.woocommerce .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive thead,
	.woocommerce-page .skynsmfa-wishlist-page--layout-table table.shop_table_responsive thead,
	.woocommerce-page .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive thead {
		display: table-header-group;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr,
	.woocommerce .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr,
	.woocommerce .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr,
	.woocommerce-page .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr,
	.woocommerce-page .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr {
		display: table-row;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td,
	.woocommerce .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td,
	.woocommerce .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td,
	.woocommerce-page .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td,
	.woocommerce-page .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td {
		display: table-cell;
		text-align: inherit !important;
	}

	.skynsmfa-wishlist-page--layout-table .skynsmfa-wishlist-table.shop_table_responsive tr td::before,
	.skynsmfa-wishlist-page--layout-compact .skynsmfa-wishlist-table.shop_table_responsive tr td::before,
	.woocommerce .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td::before,
	.woocommerce .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td::before,
	.woocommerce-page .skynsmfa-wishlist-page--layout-table table.shop_table_responsive tr td::before,
	.woocommerce-page .skynsmfa-wishlist-page--layout-compact table.shop_table_responsive tr td::before {
		content: none !important;
		display: none !important;
	}
}

.skynsmfa-out-of-stock {
	color: #999;
	font-size: 0.9em;
}

/* Frontend Shortcode Styles */
.skynsmfa-wishlist-container {
	margin-top: 2rem;
	font-family: inherit;
}

.skynsmfa-wishlist-controls {
	margin-bottom: 20px;
	display: flex;
	justify-content: flex-end;
}

.skynsmfa-wishlist-controls .button {
	margin-left: auto;
}

.skynsmfa-wishlist-box h3 {
	border-bottom: 2px solid #eaeaea;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

.skynsmfa-wishlist-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.skynsmfa-wishlist-table th, 
.skynsmfa-wishlist-table td {
	padding: 15px;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid #f2f2f2;
}

.skynsmfa-wishlist-table th {
	background-color: #fafafa;
	font-weight: 600;
	color: #333;
}

.skynsmfa-wishlist-table td.product-thumbnail img,
.skynsmfa-product-cell__thumb img {
	max-width: 80px;
	height: auto;
	border-radius: 4px;
}

.skynsmfa-wishlist-table td.product-name a,
.skynsmfa-product-cell__title {
	font-weight: 500;
	color: #2b2b2b;
	text-decoration: none;
}

.skynsmfa-wishlist-table td.product-name a:hover,
.skynsmfa-product-cell__title:hover {
	color: #f21368;
}

.skynsmfa-remove-btn {
	color: #b54747;
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.skynsmfa-remove-btn:hover,
.skynsmfa-remove-btn:focus {
	color: #c9302c;
}

.skynsmfa-wishlist-table th.product-select,
.skynsmfa-wishlist-table td.product-select {
	text-align: center;
	width: 2.5rem;
}

.skynsmfa-wishlist-table input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.skynsmfa-wishlist-actions {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #eaeaea;
	display: flex;
	justify-content: flex-end;
}

.skynsmfa-bulk-move-btn {
	background-color: #f21368 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px;
	padding: 10px 20px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.skynsmfa-bulk-move-btn:hover {
	background-color: #d10a56 !important;
}

.skynsmfa-move-to-cart-btn {
	white-space: nowrap;
}

/* List picker (shop / single, ask mode) */
body.skynsmfa-modal-open {
	overflow: hidden;
}

.skynsmfa-list-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.skynsmfa-list-modal__panel {
	background: #fff;
	border-radius: 8px;
	max-width: 420px;
	width: 100%;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.skynsmfa-list-modal__title {
	margin: 0 0 1rem;
	font-size: 1.125rem;
}

.skynsmfa-list-modal__lists {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
	max-height: 220px;
	overflow-y: auto;
}

.skynsmfa-list-modal__option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.95rem;
}

.skynsmfa-list-modal__new {
	margin-bottom: 1rem;
}

.skynsmfa-list-modal__input {
	margin-left: 0.35rem;
	min-width: 12rem;
	padding: 0.35rem 0.5rem;
}

.skynsmfa-list-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.skynsmfa-list-modal__panel.is-loading {
	position: relative;
}

.skynsmfa-list-modal--busy {
	cursor: wait;
}

.skynsmfa-list-modal__btn-add.is-loading {
	position: relative;
	min-width: 7.5rem;
	padding-left: 2.25rem;
	opacity: 0.92;
	cursor: wait;
}

.skynsmfa-list-modal__btn-add.is-loading::before {
	content: '';
	position: absolute;
	left: 0.75rem;
	top: 50%;
	width: 1em;
	height: 1em;
	margin-top: -0.5em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: skynsmfa-list-modal-spin 0.65s linear infinite;
}

@keyframes skynsmfa-list-modal-spin {
	to {
		transform: rotate(360deg);
	}
}

.skynsmfa-list-modal__option.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Header / menu favorites icon (mini-cart style) */
.skynsmfa-menu-icon {
	--skynsmfa-menu-icon-size: 28px;
	--skynsmfa-menu-icon-color: currentColor;
	--skynsmfa-badge-bg: #cc1818;
	--skynsmfa-badge-color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-decoration: none;
	color: var(--skynsmfa-menu-icon-color);
	vertical-align: middle;
	line-height: 1;
}

.skynsmfa-menu-icon:hover,
.skynsmfa-menu-icon:focus {
	color: inherit;
	text-decoration: none;
}

.skynsmfa-menu-icon:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.skynsmfa-menu-icon__quantity {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--skynsmfa-menu-icon-size);
	height: var(--skynsmfa-menu-icon-size);
	flex-shrink: 0;
}

.skynsmfa-menu-icon__icon {
	display: inline-flex;
	width: var(--skynsmfa-menu-icon-size);
	height: var(--skynsmfa-menu-icon-size);
	align-items: center;
	justify-content: center;
	color: var(--skynsmfa-menu-icon-color);
	flex-shrink: 0;
}

.skynsmfa-menu-icon__icon .skynsmfa-wishlist-icon {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.skynsmfa-menu-icon__custom-image {
	display: block;
	width: var(--skynsmfa-menu-icon-size);
	height: var(--skynsmfa-menu-icon-size);
	object-fit: contain;
}

.skynsmfa-menu-icon__badge {
	position: absolute;
	top: calc(var(--skynsmfa-menu-icon-size) * -0.12);
	right: calc(var(--skynsmfa-menu-icon-size) * -0.2);
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: calc(var(--skynsmfa-menu-icon-size) * 0.55);
	height: calc(var(--skynsmfa-menu-icon-size) * 0.55);
	padding: 0 calc(var(--skynsmfa-menu-icon-size) * 0.1);
	border-radius: 999px;
	background: var(--skynsmfa-badge-bg, #cc1818);
	color: var(--skynsmfa-badge-color, #fff);
	font-size: calc(var(--skynsmfa-menu-icon-size) * 0.38);
	font-weight: 600;
	line-height: 1;
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
	white-space: nowrap;
}

.skynsmfa-menu-icon__badge[hidden] {
	display: none !important;
}
