/* N14 Core: shop elements shared across pages */

/* Omnibus */
.n14-omnibus {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wp--preset--color--muted, #665858);
}
.n14-omnibus .woocommerce-Price-amount {
	font-weight: 500;
}

/* Wishlist hearts */
.n14-wish {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--ink, #1c1818);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.n14-wish svg {
	transition: transform 0.25s ease, fill 0.2s ease;
}
.n14-wish.is-active svg {
	fill: var(--wp--preset--color--rose, #9e4b57);
	stroke: var(--wp--preset--color--rose, #9e4b57);
}
.n14-wish.is-pop svg {
	transform: scale(1.25);
}
.n14-wish__text {
	display: none;
}
.wc-block-components-product-image {
	position: relative;
}
.n14-wish.is-card {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
}
.n14-wish.is-product {
	flex: 0 0 54px;
	width: 54px;
	min-height: 46px;
	border: 1px solid var(--wp--preset--color--line, #e8dcd6);
	background: var(--wp--preset--color--surface, #fff);
}
@media (prefers-reduced-motion: reduce) {
	.n14-wish svg { transition: none; }
}

/* Header counter */
.n14-actions__wishlist {
	position: relative;
}
.n14-wish-count {
	position: absolute;
	top: 5px;
	right: 3px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	box-sizing: border-box;
	border-radius: 9px;
	background: var(--wp--preset--color--rose, #9e4b57);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
}
.n14-wish-count[hidden] {
	display: none;
}

/* Toast */
.n14-toast {
	position: fixed;
	left: 50%;
	bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	z-index: 980;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1.125rem;
	background: var(--wp--preset--color--ink, #1c1818);
	color: #fff;
	font-size: 0.8125rem;
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.n14-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}
.n14-toast a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
}
@media (min-width: 1024px) {
	.n14-toast {
		bottom: 24px;
	}
}

/* Wishlist page */
.n14-wishlist__count {
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--muted, #665858);
}
.n14-wishlist__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 599.98px) {
	.n14-wishlist__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem 0.75rem;
	}
}
.n14-wishlist__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.n14-wishlist__link {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	color: inherit;
	text-decoration: none;
}
.n14-wishlist__link img,
.n14-wishlist__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	height: auto;
	object-fit: cover;
	background: var(--wp--preset--color--blush, #f4e7e2);
}
.n14-wishlist__name {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.n14-wishlist__price {
	font-size: 0.9375rem;
}
.n14-wishlist__add,
.n14-wishlist__out {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid var(--wp--preset--color--ink, #1c1818);
	color: var(--wp--preset--color--ink, #1c1818);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
.n14-wishlist__out {
	border-color: var(--wp--preset--color--line, #e8dcd6);
	color: var(--wp--preset--color--muted, #665858);
}
.n14-wishlist__remove {
	align-self: center;
	padding: 0.25rem;
	border: 0;
	background: none;
	color: var(--wp--preset--color--muted, #665858);
	font: inherit;
	font-size: 0.75rem;
	text-decoration: underline;
	cursor: pointer;
}
.n14-wishlist__empty {
	padding: 3rem 1rem;
	text-align: center;
}
.n14-wishlist__shop {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	margin-top: 1rem;
	padding: 0 1.5rem;
	background: var(--wp--preset--color--ink, #1c1818);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

/* Back in stock */
.n14-notify {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 1rem;
	padding: 1.125rem;
	background: var(--wp--preset--color--blush, #f4e7e2);
}
.n14-notify__title {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.n14-notify__text {
	margin: 0;
	font-size: 0.875rem;
}
.n14-notify__row {
	display: flex;
	gap: 0.5rem;
}
.n14-notify__row[hidden],
.n14-notify__consent[hidden],
.n14-notify__msg[hidden] {
	display: none;
}
.n14-notify__row input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 0.875rem;
	border: 1px solid var(--wp--preset--color--line, #e8dcd6);
	background: #fff;
	font: inherit;
	font-size: 16px;
}
.n14-notify__row button {
	height: 46px;
	padding: 0 1.25rem;
	border: 0;
	background: var(--wp--preset--color--ink, #1c1818);
	color: #fff;
	font: inherit;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}
.n14-notify__consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-size: 0.75rem;
	line-height: 1.5;
}
.n14-notify__msg {
	margin: 0;
	font-size: 0.8125rem;
}
.n14-notify__msg.is-ok {
	font-weight: 500;
}
.n14-notify__hp {
	position: absolute !important;
	left: -9999px;
}
