/* QADR Modesty - Wishlist Design (YITH styled as the TI Wishlist + Kadence design of the new site). */

@font-face {
	font-family: "qadr-wl-icons";
	font-display: block;
	src: url("fonts/tinvwl-webfont.woff2?v=1") format("woff2"), url("fonts/tinvwl-webfont.woff?v=1") format("woff");
	font-weight: normal;
	font-style: normal;
}

.qadr-wl-ico::before,
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a::before,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse .feedback::before,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse .feedback::before,
.qadr-wl-modal .qadr-wl-big::before {
	font-family: "qadr-wl-icons" !important;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
}
.qadr-wl-ico-check::before { content: "\e91e"; }
.qadr-wl-ico-times::before { content: "\e905"; }
.qadr-wl-ico-heart-o::before { content: "\e909"; }

/* YITH default bits that TI does not show */
.yith-wcwl-add-to-wishlist svg.yith-wcwl-icon-svg,
.yith-wcwl-add-to-wishlist .yith-wcwl-icon,
.yith-wcwl-add-to-wishlist .separator,
.yith-wcwl-add-to-wishlist .view-wishlist,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse > a,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse > a,
#yith-wcwl-popup-message {
	display: none !important;
}
.yith-wcwl-add-to-wishlist {
	margin: 0;
}

/* ------------------------------------------------------------------
 * 1. Product cards (shop, categories, related, upsells):
 *    heart in a white circle on the image's bottom-right corner,
 *    "Add to Wishlist" tooltip on hover (Kadence + TI).
 * ------------------------------------------------------------------ */
ul.products li.product .yith-wcwl-add-to-wishlist {
	position: absolute;
	bottom: 100%;
	right: 0;
	padding: .5em;
	margin: 0;
	z-index: 2;
	font-size: 16px;
	line-height: normal;
}
ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a,
ul.products li.product .yith-wcwl-add-to-wishlist .feedback {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	margin: 0;
	padding: 0;
	color: #4F535B;
	text-decoration: none;
	background: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}
ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a::before,
ul.products li.product .yith-wcwl-add-to-wishlist .feedback::before {
	content: "\e909";
	font-size: 20px;
	padding: .2em;
	margin: 0;
	background: #FFFFFF;
	color: #000000;
	border-radius: 50%;
}
ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a > span {
	position: relative;
	margin-right: .5em;
	padding: .2em .4em;
	font-size: 80%;
	white-space: nowrap;
	background: rgba(0, 0, 0, .5);
	color: #FFFFFF;
	opacity: 0;
	transition: opacity .2s;
}
ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a > span::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -12px;
	margin-top: -6px;
	border: 6px solid transparent;
	border-left-color: rgba(0, 0, 0, .5);
}
ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a:hover > span,
ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a:focus-visible > span {
	opacity: 1;
}
/* In wishlist: filled heart, no text */
ul.products li.product .yith-wcwl-add-to-wishlist .feedback {
	font-size: 0;
}
ul.products li.product .yith-wcwl-add-to-wishlist .feedback::before,
ul.products li.product .yith-wcwl-add-to-wishlist .delete_item::before {
	content: "\e908";
}
ul.products li.product .yith-wcwl-add-to-wishlist .delete_item {
	font-size: 0 !important;
}
ul.products li.product .yith-wcwl-add-to-wishlist .delete_item::before {
	font-size: 20px;
}

/* ------------------------------------------------------------------
 * 2. Product page: "♡ Add to Wishlist" under the add-to-cart row.
 * ------------------------------------------------------------------ */
/* Same box as TI: a full-width block on its own line inside the add-to-cart form. */
.summary .yith-wcwl-add-to-wishlist {
	display: block;
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 25.6px;
}
.summary .yith-wcwl-add-to-wishlist .yith-wcwl-add-button,
.summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse,
.summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse {
	display: block !important;
	text-align: left;
	margin: 0;
	padding: 0;
}
.summary .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a,
.summary .yith-wcwl-add-to-wishlist .feedback {
	display: inline-block;
	margin: 15px 0 0;
	padding: 0;
	color: #111A2E;
	font: inherit;
	text-decoration: none;
	background: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}
.summary .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a > span {
	display: inline;
	font: inherit;
	color: inherit;
}
.summary .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a::before,
.summary .yith-wcwl-add-to-wishlist .feedback::before {
	content: "\e909";
	font-size: 20px;
	vertical-align: sub;
	margin-right: 5px;
	color: #111A2E;
}
/* In wishlist: filled heart only */
.summary .yith-wcwl-add-to-wishlist .feedback,
.summary .yith-wcwl-add-to-wishlist .delete_item {
	font-size: 0 !important;
}
.summary .yith-wcwl-add-to-wishlist .feedback::before,
.summary .yith-wcwl-add-to-wishlist .delete_item::before {
	content: "\e908";
	font-size: 20px;
	margin-right: 0;
}

/* ------------------------------------------------------------------
 * 2b. Product block grids (e.g. empty cart "New in store"): TI prints
 *     "♡ Add to Wishlist" under the Add to Cart button.
 * ------------------------------------------------------------------ */
.wc-block-grid__product .yith-wcwl-add-to-wishlist {
	position: static;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: Manrope, Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 19.2px;
	color: #111A2E;
}
.wc-block-grid__product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button,
.wc-block-grid__product .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse,
.wc-block-grid__product .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse {
	display: block !important;
	text-align: left;
	margin: 0;
}
.wc-block-grid__product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a,
.wc-block-grid__product .yith-wcwl-add-to-wishlist .feedback {
	display: inline-block !important;
	margin: 15px 0 0;
	padding: 0;
	color: #111A2E;
	font: inherit;
	text-decoration: none !important;
	background: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}
.wc-block-grid__product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a > span {
	display: inline;
	font: inherit;
	color: inherit;
	text-decoration: none;
}
.wc-block-grid__product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > a::before,
.wc-block-grid__product .yith-wcwl-add-to-wishlist .feedback::before {
	content: "\e909";
	font-size: 20px;
	line-height: 20px;
	vertical-align: sub;
	margin-right: 5px;
	color: #111A2E;
}
.wc-block-grid__product .yith-wcwl-add-to-wishlist .feedback,
.wc-block-grid__product .yith-wcwl-add-to-wishlist .delete_item { font-size: 0 !important; }
.wc-block-grid__product .yith-wcwl-add-to-wishlist .feedback::before,
.wc-block-grid__product .yith-wcwl-add-to-wishlist .delete_item::before { content: "\e908"; font-size: 20px; margin-right: 0; }

/* ------------------------------------------------------------------
 * 3. "Added to wishlist" modal (TI design).
 * ------------------------------------------------------------------ */
.qadr-wl-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: block;
	text-align: center;
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 25.6px;
	color: #4F535B;
}
.admin-bar .qadr-wl-modal { padding-top: 32px; }
.qadr-wl-modal .qadr-wl-overlay {
	position: fixed;
	inset: 0;
	background: #191919;
	opacity: 0;
	transition: opacity .3s;
}
.qadr-wl-modal.is-open .qadr-wl-overlay { opacity: .5; }
.qadr-wl-modal .qadr-wl-table { display: table; width: 100%; height: 100%; position: relative; }
.qadr-wl-modal .qadr-wl-cell { display: table-cell; vertical-align: middle; padding: 0 16px; }
.qadr-wl-modal .qadr-wl-inner {
	position: relative;
	margin: 0 auto;
	max-width: 360px;
	padding: 40px;
	background: #FFFFFF;
	text-align: center;
	box-sizing: border-box;
}
.qadr-wl-modal .qadr-wl-big {
	display: block;
	width: 46px;
	height: 46px;
	margin: 0 auto 25px;
	font-size: 60px;
	line-height: 1;
	color: #4F535B;
}
.qadr-wl-modal .qadr-wl-big::before { position: relative; top: -7px; left: -7px; }
.qadr-wl-modal .qadr-wl-big-check::before { content: "\e90a"; }
.qadr-wl-modal .qadr-wl-big-times::before { content: "\e904"; }
.qadr-wl-modal .qadr-wl-txt { margin: 0 0 25px; }
.qadr-wl-modal .qadr-wl-buttons .button {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	padding: 7.2px 18px;
	border: 0;
	border-radius: 3px;
	background: #111A2E;
	color: #F8F6F1;
	font-family: Manrope, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 28.8px;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
}
.qadr-wl-modal .qadr-wl-buttons .button:hover,
.qadr-wl-modal .qadr-wl-buttons .button:focus-visible { background: #1F2B45; color: #F8F6F1; }
.qadr-wl-modal .qadr-wl-buttons .button .qadr-wl-ico::before {
	font-size: 20px;
	position: relative;
	top: 3px;
	margin-right: 6px;
}
body.qadr-wl-modal-open { overflow: hidden; }

/* ------------------------------------------------------------------
 * 4. Wishlist page table (TI layout).
 * ------------------------------------------------------------------ */
.wishlist-title-container { margin: 0; padding: 0; }
.wishlist-title { display: block; margin: 0 0 30px; padding: 0; }
.wishlist-title h2 { display: block; margin: 0; padding: 0 !important; }

/* Empty wishlist (TI layout). Title margin (30px) collapses into the 80px top margin. */
.yith-wcwl-form:has(.qadr-wl-empty) .wishlist-title { margin-bottom: 0; }
p.cart-empty.qadr-wl-empty {
	display: block;
	margin: 80px 0 24px;
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
	font-family: Manrope, Arial, sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 54.4px;
	color: #D9DCE2;
}
p.cart-empty.qadr-wl-empty::before { display: none !important; content: none !important; }
p.return-to-shop.qadr-wl-return { margin: 24px 0 0; padding: 0; text-align: center; }
p.return-to-shop.qadr-wl-return .button {
	display: inline-block;
	margin: 0;
	padding: 7.2px 18px;
	border: 0;
	border-radius: 3px;
	background: #111A2E;
	color: #F8F6F1;
	font-family: Manrope, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 28.8px;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
}
p.return-to-shop.qadr-wl-return .button:hover { background: #1F2B45; color: #F8F6F1; }
/* YITH's AJAX refresh shows a loading spinner over the list; TI shows none. */
.yith-wcwl-form .blockUI.blockOverlay,
.wishlist-fragment .blockUI.blockOverlay { background: transparent !important; opacity: 0 !important; }
.wishlist-title .show-title-form,
.wishlist-title a.btn { display: none !important; }

table.qadr-wl-table {
	position: relative;
	width: 100%;
	margin: 0 0 27px;
	table-layout: auto;
	border: 0 !important;
	border-collapse: collapse;
	background: transparent !important;
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 25.6px;
	color: #4F535B;
}
table.qadr-wl-table thead,
table.qadr-wl-table tbody,
table.qadr-wl-table tr,
table.qadr-wl-table th,
table.qadr-wl-table td {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
table.qadr-wl-table th,
table.qadr-wl-table td {
	padding: 1em;
	vertical-align: middle;
	text-align: left;
	color: #4F535B;
	font-size: 16px;
	line-height: 25.6px;
}
table.qadr-wl-table thead th {
	font-weight: 700;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
}
table.qadr-wl-table .qadr-wl-mobile { display: none; }

table.qadr-wl-table .product-remove { width: 35px; padding: 1em .5em; text-align: center; }
table.qadr-wl-table .product-remove > div { display: block; }
table.qadr-wl-table a.qadr-wl-remove {
	display: flex !important;
	align-items: flex-start;
	justify-content: center;
	width: 27px !important;
	height: 27px !important;
	margin: 0 auto;
	padding: 3px 0 0 1px;
	border: 0;
	border-radius: 50% !important;
	background: #F7F7F7 !important;
	color: #000000 !important;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	box-sizing: border-box;
}
table.qadr-wl-table a.qadr-wl-remove .qadr-wl-ico::before { position: relative; top: 1px; }

table.qadr-wl-table .product-thumbnail { width: 100px; min-width: 100px; max-width: 100%; }
table.qadr-wl-table .product-thumbnail img { display: block; width: 68px; height: auto; max-width: 100%; margin: 0; }

table.qadr-wl-table .product-name a {
	color: #111A2E;
	font-weight: 500;
	text-decoration: underline;
}
table.qadr-wl-table .product-name .variation,
table.qadr-wl-table .product-name dl { display: none; }

table.qadr-wl-table .product-price,
table.qadr-wl-table .product-price * { color: #4F535B; font-size: 16px; font-weight: 500; }
table.qadr-wl-table .product-price del { opacity: .6; }

table.qadr-wl-table .product-stock-status p.stock {
	display: table;
	margin: 0;
	color: #4F535B;
	font-size: 16px;
	font-weight: 500;
}
table.qadr-wl-table .product-stock-status p.stock::before { display: none; }
table.qadr-wl-table .product-stock-status p.stock > span { display: table-cell; vertical-align: middle; }
table.qadr-wl-table .product-stock-status .qadr-wl-ico { margin-right: 15px; font-size: 16px; }

table.qadr-wl-table .product-add-to-cart { width: 135px; text-align: center; }
table.qadr-wl-table .product-add-to-cart .qadr-wl-cart {
	display: block;
	width: 100%;
	margin: 0;
	padding: 7.2px 18px;
	border: 0;
	border-radius: 3px;
	background: #111A2E;
	color: #F8F6F1;
	font-family: Manrope, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 28.8px;
	letter-spacing: normal;
	text-transform: none;
	text-align: center;
	white-space: normal;
	box-shadow: none;
}
table.qadr-wl-table .product-add-to-cart .qadr-wl-cart:hover { background: #1F2B45; color: #F8F6F1; }
table.qadr-wl-table .product-add-to-cart .added_to_cart { display: block; margin-top: 6px; font-size: 14px; }
table.qadr-wl-table .wishlist-empty { text-align: center; }

/* Tablet (TI 769-1024px): icons only in stock & cart cells */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
	table.qadr-wl-table .product-stock-status p.stock { display: block; text-align: center; }
	table.qadr-wl-table .product-stock-status p.stock > span { display: block; }
	table.qadr-wl-table .product-stock-status .qadr-wl-ico { margin-right: 0; }
	table.qadr-wl-table .product-stock-status p.stock > span:last-child { display: none; }
	table.qadr-wl-table .product-thumbnail { width: 76px; min-width: 76px; max-width: 76px; }
	table.qadr-wl-table .product-add-to-cart { width: 60px; }
	table.qadr-wl-table .product-add-to-cart .qadr-wl-cart { font-size: 0; padding: 7.2px 0; }
	table.qadr-wl-table .product-add-to-cart .qadr-wl-cart::before {
		content: "\e913";
		font-family: "qadr-wl-icons" !important;
		font-size: 20px;
		line-height: 28.8px;
	}
}

/* Phone (TI <=768px): stacked, centred */
@media only screen and (max-width: 768px) {
	table.qadr-wl-table thead th:not(.product-name) { display: none; }
	table.qadr-wl-table thead th.product-name { display: block; width: 100%; text-align: center; }
	table.qadr-wl-table .qadr-wl-full { display: none; }
	table.qadr-wl-table .qadr-wl-mobile { display: block; }
	table.qadr-wl-table tbody td { display: block; width: 100% !important; max-width: none; text-align: center; box-sizing: border-box; }
	table.qadr-wl-table tbody td.product-remove { display: block; }
	table.qadr-wl-table .product-stock-status p.stock { margin: 0 auto; }
	table.qadr-wl-table .product-thumbnail img { margin: 0 auto; max-width: 80px; width: 80px; }
}
