/* TE Wishlist — button + popover. Colors are CSS variables so themes can override.
 *
 * --te-wishlist-spinner   loading-circle colour. Set it per button, not globally,
 *                         when buttons differ: a white spinner suits a dark-filled
 *                         button and disappears on a white one.
 *                           .te-wishlist-add-cart { --te-wishlist-spinner: #fff; }
 */

.te-wishlist-button {
	--te-wishlist-color: #8a8a8a;
	--te-wishlist-color-hover: #4a4a4a;
	--te-wishlist-color-active: #e63946;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	margin: 0;
	background: none;
	border: none;
	line-height: 0;
	cursor: pointer;
	color: var(--te-wishlist-color);
	transition: color .15s ease, transform .15s ease, opacity .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.te-wishlist-button__icon,
.te-wishlist-button svg {
	display: inline-block;
	width: 24px;
	height: 24px;
}

/*
 * Tint only icons that carry no colour of their own.
 *
 * The built-in icon is a bare outline and needs the button's colour to be
 * visible at all. An uploaded SVG usually brings its own fills, and forcing
 * currentColor on every path flattened it to one colour — so the rule now
 * applies only where no fill is declared. :not([fill]) leaves any explicitly
 * coloured path alone.
 */
.te-wishlist-button__icon:not(.te-wishlist-button__icon--active) svg:not([fill]),
.te-wishlist-button__icon:not(.te-wishlist-button__icon--active) svg path:not([fill]):not([style*="fill"]) {
	fill: currentColor;
}

/* Two-icon variant: show default when idle, active when saved. */
.te-wishlist-button__icon--active { display: none; }
.te-wishlist-button.is-active .te-wishlist-button__icon--default { display: none; }
.te-wishlist-button.is-active .te-wishlist-button__icon--active { display: inline-block; }

.te-wishlist-button:hover { color: var(--te-wishlist-color-hover); }

.te-wishlist-button.is-active { color: var(--te-wishlist-color-active); }
.te-wishlist-button.is-active:active { transform: scale(.92); }

.te-wishlist-button[aria-disabled="true"] {
	opacity: .4;
	cursor: not-allowed;
}

/* Busy = waiting on the server. The icon is replaced by a spinner rather than
   just dimmed: a dimmed pin still looks like a pin, and the whole point is that
   the button's state is unknown until the response lands. */
.te-wishlist-button.is-busy {
	pointer-events: none;
	position: relative;
	cursor: default;
}
.te-wishlist-button.is-busy {
	/* covers a bare text label too, not only the icon span */
	color: transparent !important;
}
.te-wishlist-button.is-busy .te-wishlist-button__icon,
.te-wishlist-button.is-busy .te-wishlist-button__label {
	visibility: hidden;
}
.te-wishlist-button.is-busy::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border: 2px solid var(--te-wishlist-spinner, #888);
	border-top-color: transparent;
	border-radius: 50%;
	animation: te-wishlist-spin .6s linear infinite;
}

/* Item row mid-save: its actions are disabled in JS, this shows why. */
.te-wishlist-item.is-busy .te-wishlist-item__controls {
	opacity: .55;
	transition: opacity .12s ease;
}

/* Menu/header shortcode: empty and has-items states share one stable link. */
.te-wishlist-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: inherit;
	text-decoration: none;
}

.te-wishlist-menu-icon__state,
.te-wishlist-menu-icon svg {
	display: inline-block;
	width: 24px;
	height: 24px;
}

.te-wishlist-menu-icon__state--has-items { display: none; }
.te-wishlist-menu-icon.has-items .te-wishlist-menu-icon__state--empty { display: none; }
.te-wishlist-menu-icon.has-items .te-wishlist-menu-icon__state--has-items { display: inline-block; }

/* Popover (multi mode) */
.te-wishlist-popover {
	position: absolute;
	z-index: 99999;
	min-width: 220px;
	max-width: 300px;
	padding: 8px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
	font-size: 14px;
	color: #222;
}

.te-wishlist-popover__loading,
.te-wishlist-popover__error {
	padding: 8px 6px;
	color: #777;
}

.te-wishlist-popover__lists {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 260px;
	overflow: auto;
}

.te-wishlist-popover__lists li { padding: 2px 2px; }

.te-wishlist-popover__lists label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 5px 6px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.3;
}

.te-wishlist-popover__lists label:hover { background: #f5f5f5; }

.te-wishlist-popover__label { flex: 1 1 auto; min-width: 0; }

.te-wishlist-popover__status {
	flex: 0 0 auto;
	font-size: 11px;
	opacity: 0;
	transition: opacity .12s ease;
	white-space: nowrap;
}
.te-wishlist-popover__status.is-saving { opacity: 1; color: #999; }
.te-wishlist-popover__status.is-saved  { opacity: 1; color: #2e9e5b; }
.te-wishlist-popover__status.is-error  { opacity: 1; color: #d33; }

.te-wishlist-popover__new {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

.te-wishlist-popover__name {
	flex: 1 1 auto;
	min-width: 0;
	height: 30px;
	padding: 0 8px;
	font-size: 13px;
	line-height: 30px;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box;
}

.te-wishlist-popover__add {
	flex: 0 0 auto;
	height: 30px;
	padding: 0 12px;
	font-size: 13px;
	line-height: 1;
	border: none;
	border-radius: 6px;
	background: #222;
	color: #fff;
	cursor: pointer;
}

.te-wishlist-popover__add[disabled] { opacity: .5; cursor: default; }

.te-wishlist-popover__foot {
	display: flex;
	justify-content: center;
	margin-top: 8px;
	padding: 0 4px;
}

.te-wishlist-popover__done {
	text-align: center;
	min-width: 120px;
	height: 32px;
	padding: 0 18px;
	font-size: 13px;
	line-height: 1;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #333;
	cursor: pointer;
}
.te-wishlist-popover__done:hover { background: #f2f2f2; }

/* Merkliste — My Account page */
.te-wishlist-account .te-wishlist-list-title {
	margin: 1.2em 0 .5em;
	font-size: 1.05em;
}
.te-wishlist-account .te-wishlist-empty {
	color: #777;
	padding: 8px 0;
}
.te-wishlist-items {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}
.te-wishlist-remove {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 16px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #999;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.te-wishlist-remove:hover { background: #f0f0f0; color: #333; }
.te-wishlist-remove[disabled] { cursor: default; }

/* Merkliste tabs */
.te-wishlist-tabs__nav {
	display: flex;
	gap: 2px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 1em;
}
.te-wishlist-tabs__nav::-webkit-scrollbar { height: 6px; }
.te-wishlist-tabs__nav::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.te-wishlist-tabs__tab {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 8px 14px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	color: #666;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.3;
}
.te-wishlist-tabs__tab:hover { color: #333; }
.te-wishlist-tabs__tab.is-active { color: #111; border-bottom-color: #111; }
.te-wishlist-tabs__count { opacity: .55; font-size: 12px; margin-left: 4px; }

.te-wishlist-list-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.te-wishlist-list-rename,
.te-wishlist-list-delete {
	font-size: 12px;
	padding: 4px 12px;
	height: 30px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #555;
	cursor: pointer;
}
.te-wishlist-list-rename:hover { background: #f5f5f5; }
.te-wishlist-list-delete { color: #c0392b; border-color: #e3b7b2; }
.te-wishlist-list-delete:hover { background: #fbeae8; }

/* Small inline spinner (e.g. tab rename in progress) */
.te-wishlist-spinner {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 6px;
	vertical-align: middle;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	opacity: .6;
	animation: te-wishlist-spin .6s linear infinite;
}
@keyframes te-wishlist-spin { to { transform: rotate(360deg); } }

/* In-button loading spinner (remove, delete, add-new-list) */
.te-wishlist-loading {
	color: transparent !important;
	position: relative;
	pointer-events: none;
}
.te-wishlist-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border: 2px solid var(--te-wishlist-spinner, #999);
	border-top-color: transparent;
	border-radius: 50%;
	animation: te-wishlist-spin .6s linear infinite;
}

/* Merkliste item layout */
.te-wishlist-item {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.te-wishlist-item__main {
	min-width: 0;
	display: flex;
	flex-direction: row;
	gap: 16px;
	width: 100%;
}

.te-wishlist-item__img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 6px;
	flex: 0 0 auto;
}

.te-wishlist-item__row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	width: -webkit-fill-available;
}

.te-wishlist-item__name-note-container {
	display: flex;
	flex-direction: column;
	width: -webkit-fill-available;
	gap: 8px;
}

.te-wishlist-item__name-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: -webkit-fill-available;
	gap: 4px;
}

.te-wishlist-item__name {
	overflow: hidden;
}

.te-wishlist-item__link {
	text-decoration: none;
	color: inherit;
	width: fit-content;
}

.te-wishlist-note-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.te-wishlist-note {
	width: 60%;
	height: 32px;
	padding: 0 8px;
	font-size: 13px;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box;
	min-width: 16em;
}

.te-wishlist-item__flash {
	flex: 0 0 auto;
	margin-left: 8px;
	font-size: 11px;
	white-space: nowrap;
}
.te-wishlist-item__flash.is-saved { color: #2e9e5b; }
.te-wishlist-item__flash.is-error { color: #d33; }

.te-wishlist-item__controls {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
}

.te-wishlist-item__price {
	white-space: nowrap;
	font-size: 0.8em;
	width: fit-content;
}

.te-wishlist-add-cart,
.te-wishlist-add-all {
	height: 30px;
	padding: 0 12px;
	font-size: 12px;
	line-height: 1;
	border: 1px solid #222;
	border-radius: 6px;
	background: #222;
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
}
.te-wishlist-add-cart:hover,
.te-wishlist-add-all:hover { background: #000; }
.te-wishlist-add-cart[disabled],
.te-wishlist-add-all[disabled] { opacity: .7; cursor: default; }

/* 3-dot overflow menu */
.te-wishlist-menu { position: relative; flex: 0 0 auto; }

.te-wishlist-menu__toggle {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	border-radius: 50%;
	background: #fff;
	color: #666;
	cursor: pointer;
}
.te-wishlist-menu__toggle:hover { background: #f5f5f5; color: #222; }

.te-wishlist-menu__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 60;
	min-width: 180px;
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.te-wishlist-menu__panel[hidden] { display: none; }

.te-wishlist-menu__item {
	text-align: left;
	padding: 6px 8px;
	font-size: 13px;
	line-height: 1.3;
	border: none;
	border-radius: 5px;
	background: none;
	color: #333;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
}
.te-wishlist-menu__item:hover { background: #f3f3f3; }

.te-wishlist-menu__label {
	margin-top: 4px;
	padding: 6px 8px 2px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #999;
	border-top: 1px solid #eee;
}

/*
 * Add-to-cart and "Configure variation" live in the row on wider screens and
 * in the ⋮ menu on narrow ones. Both copies are always in the markup; these
 * rules only ever HIDE one, and they are !important on purpose. Site CSS that
 * gives every button a display value — `.te-wishlist-account .te-button
 * { display: inline-flex }` is a common, sensible rule — is more specific than
 * a plain class, and it unhid the copy meant for the other screen size: two
 * "Add to cart" buttons per row.
 */
@media not all and (max-width: 600px) {
	.te-wishlist-menu-cart,
	.te-wishlist-menu__panel .te-wishlist-configure { display: none !important; }
}
@media (max-width: 600px) {
	.te-wishlist-item__controls > .te-wishlist-add-cart,
	.te-wishlist-item__controls > .te-wishlist-configure { display: none !important; }
}

/* Same reason: whatever a site's CSS does to these elements, JS hides them
   with the hidden attribute (menus, notes, share box), and hidden has to win. */
.te-wishlist-account [hidden] { display: none !important; }

.te-wishlist-item__flash {
	flex: 0 0 auto;
	margin-left: 8px;
	font-size: 11px;
	white-space: nowrap;
}
.te-wishlist-item__flash.is-saved { color: #2e9e5b; }
.te-wishlist-item__flash.is-error { color: #d33; }

@media (max-width: 600px) {
	.te-wishlist-item__name { max-width: none; }
	.te-wishlist-item__img { width: 44px; height: 44px; }
}

@media (min-width: 720px) {
	/* Stays a column: it now holds the name, SKU, signature, attribute list and
	   price, which do not fit on one line. */
	.te-wishlist-item__name-container {
		flex-direction: column;
		padding: 6px 0;
		gap: 4px;
	}

	.te-wishlist-item__name {
		max-width: 420px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.te-wishlist-note-container {
		flex-direction: row;
		align-items: center;
	}

	.te-wishlist-item__price {
		margin-left: 0;
	}
}

/* Tabs bar + new-wishlist button */
.te-wishlist-tabs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 1em;
}
.te-wishlist-tabs__actions {
	display: flex;
	justify-content: flex-end;
}
.te-wishlist-tabs .te-wishlist-tabs__nav {
	width: 100%;
	margin-bottom: 0;
}
.te-wishlist-add-list {
	flex: 0 0 auto;
	height: 30px;
	padding: 0 12px;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid #bbb;
	border-radius: 6px;
	background: #fff;
	color: #444;
	cursor: pointer;
}
.te-wishlist-add-list:hover { background: #f5f5f5; color: #111; }
.te-wishlist-add-list[disabled] { opacity: .7; cursor: default; }

/* SKU, signature and attributes */
.te-wishlist-item__sku {
	display: inline-block;
	margin-left: 8px;
	font-size: .75em;
	color: #777;
	white-space: nowrap;
}
/* The 8px separates a bare SKU from the product name beside it. A labelled SKU
   reads as its own line, where that indent only misaligns it. */
.te-wishlist-item__sku--labelled { margin-left: 0; }

.te-wishlist-item__signature {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .7em;
	color: #555;
	background: #f2f2f2;
	border-radius: 4px;
	white-space: nowrap;
}

.te-wishlist-item__attributes {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}
.te-wishlist-item__attribute {
	display: block;
	margin: 0;
	font-size: .78em;
	line-height: 1.4;
	color: #666;
}
.te-wishlist-item__attribute-label { color: #999; }
.te-wishlist-item__attribute-label::after { content: ': '; }
.te-wishlist-item__attribute-value { color: #333; }

/* Shared base for every button the plugin renders. Selectable button text looks
   broken on double-click and on touch drag, so selection is disabled outright. */
.te-button,
.te-wishlist-button,
.te-wishlist-add-cart,
.te-wishlist-add-all,
.te-wishlist-add-list,
.te-wishlist-remove,
.te-wishlist-list-rename,
.te-wishlist-list-delete,
.te-wishlist-list-share,
.te-wishlist-share-copy,
.te-wishlist-share-revoke,
.te-wishlist-menu__toggle,
.te-wishlist-menu__item,
.te-wishlist-tabs__tab,
.te-wishlist-popover__done,
.te-wishlist-popover__add,
.te-wishlist-popover__list {
	cursor: pointer;
	-webkit-touch-callout: none;  /* iOS Safari */
	-webkit-user-select: none;    /* Safari */
	-khtml-user-select: none;     /* Konqueror HTML */
	-moz-user-select: none;       /* Firefox */
	-ms-user-select: none;        /* Internet Explorer/Edge */
	user-select: none;            /* Chrome, Opera, modern browsers */
}
.te-button[disabled],
.te-wishlist-button[disabled],
.te-wishlist-add-cart[disabled],
.te-wishlist-add-all[disabled],
.te-wishlist-add-list[disabled],
.te-wishlist-remove[disabled] { cursor: default; }

/* Standalone wishlist page: rendered by [te_wishlist] outside any theme
   container, so it supplies its own width and breathing room. */
.te-wishlist-account--standalone {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 20px 48px;
	box-sizing: border-box;
}

.te-wishlist-login-link {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 18px;
	font-size: 13px;
	line-height: 1;
	border: 1px solid #222;
	border-radius: 6px;
	background: #222;
	color: #fff;
	text-decoration: none;
}
.te-wishlist-login-link:hover { background: #000; color: #fff; }

@media (max-width: 600px) {
	.te-wishlist-account--standalone { padding: 20px 14px 32px; }
}

/* Standalone page: the theme renders the page title outside our container, so
   line it up with the content instead of letting it sit flush to the edge.
   Some builders (Bricks among them) output a bare, class-less <h1>, so the
   direct-child selectors below matter as much as the conventional classes. */
.te-wishlist-page .entry-title,
.te-wishlist-page .page-title,
.te-wishlist-page h1.wp-block-post-title,
.te-wishlist-page .woocommerce-products-header__title,
.te-wishlist-page #brx-content > h1,
.te-wishlist-page .brxe-post-content > h1,
.te-wishlist-page main > h1,
.te-wishlist-page article > h1 {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	box-sizing: border-box;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.2;
	overflow-wrap: break-word;
}

@media (max-width: 600px) {
	.te-wishlist-page .entry-title,
	.te-wishlist-page .page-title,
	.te-wishlist-page h1.wp-block-post-title,
	.te-wishlist-page .woocommerce-products-header__title,
	.te-wishlist-page #brx-content > h1,
	.te-wishlist-page .brxe-post-content > h1,
	.te-wishlist-page main > h1,
	.te-wishlist-page article > h1 {
		padding: 0 14px;
	}

	/* Full-width action row reads better than a floating button on a phone. */
	.te-wishlist-tabs__actions { justify-content: stretch; }
	.te-wishlist-add-list { width: 100%; }

	.te-wishlist-list-actions { flex-wrap: wrap; }
	.te-wishlist-item__main { gap: 12px; }
	.te-wishlist-note { min-width: 0; width: 100%; }
}

/* Catch-all, kept in its own block on purpose: a browser that does not support
   :has() discards the entire rule it appears in, which would take the selectors
   above down with it. Matches whatever heading immediately precedes the
   wishlist, whatever the theme decided to call it. */
.te-wishlist-page h1:has(+ .te-wishlist-account--standalone),
.te-wishlist-page h2:has(+ .te-wishlist-account--standalone) {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	box-sizing: border-box;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.2;
	overflow-wrap: break-word;
}

@media (max-width: 600px) {
	.te-wishlist-page h1:has(+ .te-wishlist-account--standalone),
	.te-wishlist-page h2:has(+ .te-wishlist-account--standalone) {
		padding: 0 14px;
	}
}
/* --- Sharing ---------------------------------------------------------- */

/* Share button: same shape as Rename / Delete so the row stays even. */
.te-wishlist-list-share {
	font-size: 12px;
	padding: 4px 12px;
	height: 30px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #555;
	cursor: pointer;
}
.te-wishlist-list-share:hover { background: #f5f5f5; }
.te-wishlist-list-share[aria-expanded="true"] { background: #f0f0f0; border-color: #ccc; }
.te-wishlist-list-share[disabled] { opacity: .6; cursor: default; }
/* te-wishlist-loading hides the label, so without a floor the button would shrink to
   the spinner and the row would jump. */
.te-wishlist-list-share.te-wishlist-loading,
.te-wishlist-share-copy.te-wishlist-loading,
.te-wishlist-share-revoke.te-wishlist-loading { min-width: 88px; opacity: 1; }

/* The box is a block BELOW the actions row, never a flex item inside it. */
.te-wishlist-share-box {
	display: block;
	margin: 0 0 12px;
	padding: 12px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fafafa;
}
.te-wishlist-share-box[hidden] { display: none; }

.te-wishlist-share-box__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.te-wishlist-share-url {
	flex: 1 1 260px;
	min-width: 0;
	height: 30px;
	padding: 0 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: #333;
	box-sizing: border-box;
}

.te-wishlist-share-copy,
.te-wishlist-share-revoke {
	flex: 0 0 auto;
	font-size: 12px;
	padding: 4px 12px;
	height: 30px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #555;
	cursor: pointer;
	white-space: nowrap;
}
.te-wishlist-share-copy:hover { background: #f0f0f0; }
.te-wishlist-share-revoke { color: #c0392b; border-color: #e3b7b2; }
.te-wishlist-share-revoke:hover { background: #fbeae8; }
.te-wishlist-share-copy[disabled],
.te-wishlist-share-revoke[disabled] { opacity: .6; cursor: default; }

.te-wishlist-share-hint {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #777;
}

/* --- Shared (read-only) view ------------------------------------------ */

.te-wishlist-shared__header {
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e5e5;
}
.te-wishlist-shared__title { margin: 0 0 4px; }
.te-wishlist-shared__meta { margin: 0; font-size: 13px; color: #777; }

.te-wishlist-item--shared .te-wishlist-item__row { padding-right: 0; }

.te-wishlist-item__note-shared {
	margin: 6px 0 0;
	padding: 8px 10px;
	font-size: 13px;
	line-height: 1.45;
	color: #444;
	background: #f6f6f6;
	border-left: 3px solid #d5d5d5;
	border-radius: 0 4px 4px 0;
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

.te-wishlist-item__qty { margin: 4px 0 0; font-size: 13px; color: #666; }

@media (max-width: 600px) {
	.te-wishlist-share-url { flex: 1 1 100%; }
	.te-wishlist-share-copy,
	.te-wishlist-share-revoke { flex: 1 1 auto; }
}
/* "Configure variation" replaces Add to cart on a variable parent. It is an
   <a>, not a <button>, so it needs the button styling spelled out. */
.te-wishlist-configure {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 14px;
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid #222;
	border-radius: 6px;
	background: #fff;
	color: #222;
	text-decoration: none;
}
.te-wishlist-configure:hover { background: #222; color: #fff; }

/* Inside the 3-dot menu it should read as a menu row, not a pill. */
.te-wishlist-menu__panel .te-wishlist-configure {
	display: block;
	height: auto;
	padding: 8px 12px;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	text-align: left;
}
.te-wishlist-menu__panel .te-wishlist-configure:hover { background: #f4f4f4; color: inherit; }