/* Wishlist page (/wishlist/) styling. Scoped to .wishlistpage so the wishlist popup is untouched.
   Version in file name: the site strips ?ver from CSS. */
.wishlistpage .tinv-wishlist { --sv-ink: #1a1a1a; --sv-muted: #7a7a7a; --sv-line: #e8e6e2; --sv-tint: #f6f5f3; font-family: Roboto, sans-serif; color: var(--sv-ink); }
.wishlistpage .tinv-wishlist .tinv-header { margin: 0 0 8px; }
.wishlistpage .tinv-wishlist .tinv-header h2 { margin: 0; font-size: 22px; font-weight: 300; letter-spacing: .08em; text-transform: uppercase; color: var(--sv-ink); }
.wishlistpage .tinv-wishlist .tinv-header h2:empty::before { content: "Wishlist"; }

/* Table */
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list { width: 100%; border: 0; border-collapse: collapse; margin: 0; background: none; }
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list th,
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list td { border: 0; background: none; vertical-align: middle; }
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list thead th { padding: 18px 12px 14px; border-bottom: 1px solid var(--sv-ink); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--sv-muted); text-align: left; white-space: nowrap; }
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list thead th.product-price { text-align: right; }
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item td { padding: 24px 12px; border-bottom: 1px solid var(--sv-line); }
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item { transition: background .2s ease; }
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item:hover { background: #fcfbfa; }

/* Checkbox */
.wishlistpage .tinv-wishlist .product-cb { width: 28px; padding-left: 0 !important; }
.wishlistpage .tinv-wishlist input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--sv-ink); cursor: pointer; vertical-align: middle; }

/* Remove */
.wishlistpage .tinv-wishlist .product-remove { width: 44px; }
.wishlistpage .tinv-wishlist .product-remove button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; margin: 0; border: 1px solid var(--sv-line); border-radius: 50%; background: #fff; color: var(--sv-muted); font-size: 10px; line-height: 1; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.wishlistpage .tinv-wishlist .product-remove button:hover,
.wishlistpage .tinv-wishlist .product-remove button:focus-visible { border-color: var(--sv-ink); background: var(--sv-ink); color: #fff; outline: none; }

/* Image */
.wishlistpage .tinv-wishlist .product-thumbnail { width: 116px; }
.wishlistpage .tinv-wishlist .product-thumbnail a { display: block; width: 92px; background: var(--sv-tint); overflow: hidden; }
.wishlistpage .tinv-wishlist .product-thumbnail img { display: block; width: 92px !important; height: 130px !important; max-width: none; object-fit: cover; transition: transform .5s ease; }
.wishlistpage .tinv-wishlist .product-thumbnail a:hover img { transform: scale(1.04); }

/* Name, price, date, stock */
.wishlistpage .tinv-wishlist .product-name a { color: var(--sv-ink); font-size: 12px; font-weight: 400; letter-spacing: .1em; line-height: 1.6; text-transform: uppercase; text-decoration: none; }
.wishlistpage .tinv-wishlist .product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wishlistpage .tinv-wishlist .product-name .variation { margin-top: 6px; font-size: 12px; color: var(--sv-muted); }
.wishlistpage .tinv-wishlist td.product-price { text-align: right; font-size: 13px; letter-spacing: .04em; white-space: nowrap; color: var(--sv-ink); }
.wishlistpage .tinv-wishlist td.product-price del { color: var(--sv-muted); margin-right: 6px; }
.wishlistpage .tinv-wishlist td.product-price ins { text-decoration: none; }
.wishlistpage .tinv-wishlist td.product-date { font-size: 12px; color: var(--sv-muted); white-space: nowrap; }
.wishlistpage .tinv-wishlist td.product-stock p.stock { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sv-ink); white-space: nowrap; }
.wishlistpage .tinv-wishlist td.product-stock p.stock i { font-size: 10px; }
.wishlistpage .tinv-wishlist td.product-stock p.stock.out-of-stock { color: #a33; }

/* Buttons */
.wishlistpage .tinv-wishlist .product-action { text-align: right; width: 1%; white-space: nowrap; padding-right: 0 !important; }
.wishlistpage .tinv-wishlist .button,
.wishlistpage .tinv-wishlist .product-action .button,
.wishlistpage .tinv-wishlist .product-action button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; margin: 0; border: 1px solid var(--sv-ink); border-radius: 0; background: var(--sv-ink) !important; color: #fff !important; font-family: Roboto, sans-serif; font-size: 11px; font-weight: 400; letter-spacing: .16em; line-height: 1; text-transform: uppercase; text-decoration: none; box-shadow: none; cursor: pointer; transition: background .2s ease, color .2s ease; }
.wishlistpage .tinv-wishlist .button:hover,
.wishlistpage .tinv-wishlist .button:focus-visible { background: #fff !important; color: var(--sv-ink) !important; outline: none; }

/* Footer actions */
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot td { padding: 28px 0 0; }
.wishlistpage .tinv-wishlist tfoot td > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left { float: left; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { float: right; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-input-group { display: flex; gap: 10px; align-items: stretch; }
.wishlistpage .tinv-wishlist tfoot select { height: 44px; min-width: 180px; padding: 0 36px 0 14px; border: 1px solid var(--sv-line); border-radius: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231a1a1a'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sv-ink); -webkit-appearance: none; appearance: none; }
.wishlistpage .tinv-wishlist tfoot select:focus { border-color: var(--sv-ink); outline: none; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left .button,
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right .button[name="tinvwl-action-product_selected"] { background: #fff !important; color: var(--sv-ink) !important; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left .button:hover,
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right .button[name="tinvwl-action-product_selected"]:hover { background: var(--sv-ink) !important; color: #fff !important; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-mobile { display: none; }
.wishlistpage .tinv-wishlist .tinvwl-full { display: inline; }
.wishlistpage .tinv-wishlist thead .tinvwl-mobile { display: none; }

/* Empty wishlist */
.wishlistpage .tinv-wishlist .cart-empty,
.wishlistpage .tinv-wishlist p.cart-empty.woocommerce-info { border: 0; background: var(--sv-tint); padding: 40px 24px; text-align: center; font-size: 13px; letter-spacing: .06em; color: var(--sv-ink); }
.wishlistpage .tinv-wishlist .return-to-shop .button { margin-top: 16px; }

/* Tablet: drop the date column */
@media (max-width: 1024px) {
	.wishlistpage .tinv-wishlist th.product-date,
	.wishlistpage .tinv-wishlist td.product-date { display: none; }
}

/* Phones: each item becomes a card */
@media (max-width: 767px) {
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list,
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody,
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot,
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot tr,
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot td { display: block; width: 100%; }
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list thead { display: none; }
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item {
		position: relative; display: grid; grid-template-columns: 24px 92px 1fr; grid-template-areas: "cb thumb name" "cb thumb price" "cb thumb stock" "action action action";
		column-gap: 14px; row-gap: 6px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--sv-line);
	}
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item td { display: block; width: auto !important; padding: 0 !important; border: 0; text-align: left !important; }
	.wishlistpage .tinv-wishlist td.product-cb { grid-area: cb; padding-top: 4px !important; }
	.wishlistpage .tinv-wishlist td.product-thumbnail { grid-area: thumb; }
	.wishlistpage .tinv-wishlist td.product-name { grid-area: name; padding-right: 40px !important; }
	.wishlistpage .tinv-wishlist td.product-price { grid-area: price; }
	.wishlistpage .tinv-wishlist td.product-stock { grid-area: stock; }
	.wishlistpage .tinv-wishlist td.product-date { display: none !important; }
	.wishlistpage .tinv-wishlist td.product-action { grid-area: action; margin-top: 12px; }
	.wishlistpage .tinv-wishlist td.product-action .button,
	.wishlistpage .tinv-wishlist td.product-action button { width: 100%; }
	.wishlistpage .tinv-wishlist td.product-remove { position: absolute; top: 16px; right: 0; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left,
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { float: none; width: 100%; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { margin-top: 10px; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-input-group { width: 100%; }
	.wishlistpage .tinv-wishlist tfoot select { flex: 1; min-width: 0; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right .button { flex: 1 1 100%; }
}

/* 101: price ranges on one line, stock label size, share row */
.wishlistpage .tinv-wishlist td.product-price, .wishlistpage .tinv-wishlist td.product-price * { white-space: nowrap; }
.wishlistpage .tinv-wishlist td.product-stock .tinvwl-txt { font-size: 11px !important; letter-spacing: .12em; }
.wishlistpage .tinv-wishlist .social-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sv-line); clear: both; }
.wishlistpage .tinv-wishlist .social-buttons > span { font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--sv-muted); }
.wishlistpage .tinv-wishlist .social-buttons ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wishlistpage .tinv-wishlist .social-buttons li { margin: 0; }
.wishlistpage .tinv-wishlist .social-buttons a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--sv-line); border-radius: 50%; color: var(--sv-ink); text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.wishlistpage .tinv-wishlist .social-buttons a:hover { background: var(--sv-ink); border-color: var(--sv-ink); color: #fff; }
.wishlistpage .tinv-wishlist .social-buttons a i { font-size: 13px; }
@media (max-width: 767px) { .wishlistpage .tinv-wishlist .social-buttons { justify-content: flex-start; flex-wrap: wrap; } }

/* 103: price amounts inline (theme makes them blocks) */
.wishlistpage .tinv-wishlist td.product-price .amount { display: inline !important; }
.wishlistpage .tinv-wishlist td.product-price .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* 103: footer bar. The plugin floats the two groups at 35%/63% with a -10px offset and the theme forces a 20px top margin on every button, so they overlapped. */
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot td { display: table-cell !important; }
.wishlistpage .tinv-wishlist tfoot td::after { content: ""; display: table; clear: both; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left, .wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { width: auto !important; margin: 0 !important; display: flex !important; gap: 10px; align-items: stretch; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left { float: left !important; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { float: right !important; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-input-group { display: flex !important; gap: 10px; width: auto; }
.wishlistpage .tinv-wishlist tfoot .tinvwl-input-group-btn { display: flex; width: auto; }
.wishlistpage .tinv-wishlist .button { margin: 0 !important; padding: 0 26px !important; min-height: 44px; white-space: nowrap; }
@media (max-width: 767px) {
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-left, .wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { float: none !important; width: 100% !important; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right { flex-direction: column; margin-top: 10px !important; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-input-group { width: 100%; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-input-group select { flex: 1; min-width: 0; }
	.wishlistpage .tinv-wishlist tfoot .tinvwl-to-right .button { width: 100%; }
}

/* 104: keep the round remove button 30px on phones (the plugin stretches it to full width) */
.wishlistpage .tinv-wishlist td.product-remove button { width: 30px !important; min-width: 0 !important; height: 30px !important; flex: none; }
@media (max-width: 767px) { .wishlistpage .tinv-wishlist td.product-remove { width: 30px !important; left: auto !important; } }

/* 105: phones - hide the plugin's duplicate text Remove button (each card has the round x), keep names clear of the x */
@media (max-width: 767px) {
	.wishlistpage .tinv-wishlist td.product-action button[name="tinvwl-remove"] { display: none !important; }
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item td.product-name { padding-right: 44px !important; }
}

/* 106: phones - footer bar spans the full width */
@media (max-width: 767px) { .wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot td { display: block !important; width: 100% !important; } }

/* 107: no bulk-action bar (Actions / Apply / Add Selected / Add All) and so no selection checkboxes */
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tfoot { display: none !important; }
.wishlistpage .tinv-wishlist th.product-cb, .wishlistpage .tinv-wishlist td.product-cb { display: none !important; }
.wishlistpage .tinv-wishlist th.product-remove, .wishlistpage .tinv-wishlist td.product-remove { padding-left: 0 !important; }
@media (max-width: 767px) {
	.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item { grid-template-columns: 92px 1fr; grid-template-areas: "thumb name" "thumb price" "thumb stock" "action action"; }
}

/* 108: no double line above the share row - drop the last item's bottom border */
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item:last-child,
.wishlistpage .tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item:last-child td { border-bottom: 0 !important; }
