/*
Theme Name: The Last Ones Watches
Theme URI: https://thelastoneswatches.com/
Description: Child theme of Twenty Twenty-One for The Last Ones Watches.
Author: The Last Ones Watches
Author URI: https://thelastoneswatches.com/
Template: twentytwentyone
Version: 1.0.0
Requires PHP: 8.5
License: GNU General Public License v2 or later

Text Domain: thelastoneswatches
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, blog
*/

/* -------------------------------------------------------------------------
   Brand tokens — The Last Ones Watches
   ------------------------------------------------------------------------- */
:root {
	--tlow-black: #070b09;
	--tlow-dark: #0d1f17;
	--tlow-charcoal: #13241c;
	--tlow-gold: #c4a574;
	--tlow-gold-light: #dfc9a4;
	--tlow-gold-dark: #8a6f45;
	--tlow-sage: #7d9b76;
	--tlow-cream: #f3efe6;
	--tlow-gray-muted: #8a918a;
	--tlow-font-display: "Cinzel", Georgia, serif;
	--tlow-font-serif: "Cormorant Garamond", Georgia, serif;
	--tlow-font-sans: "Montserrat", system-ui, sans-serif;
}

/* Child theme overrides go below.
   Parent Twenty Twenty-One styles load first via functions.php. */

/* Wishlist hearts on shop / PDP (Biolume tokens not loaded on those views). */
.tlow-wishlist-heart {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(13, 31, 23, 0.18);
	border-radius: 10px;
	background: rgba(243, 239, 230, 0.92);
	color: var(--tlow-charcoal);
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tlow-wishlist-heart:focus,
.tlow-wishlist-heart:focus-visible {
	outline: none;
}

.woocommerce ul.products li.product {
	position: relative;
}

.woocommerce ul.products li.product .tlow-wishlist-heart {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 4;
}

.tlow-wishlist-icon {
	width: 14px;
	height: 14px;
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}

.tlow-wishlist-heart .tlow-wishlist-icon--filled {
	display: none;
}

.tlow-wishlist-heart.is-on .tlow-wishlist-icon--empty,
.tlow-wishlist-heart.active .tlow-wishlist-icon--empty {
	display: none;
}

.tlow-wishlist-heart.is-on .tlow-wishlist-icon--filled,
.tlow-wishlist-heart.active .tlow-wishlist-icon--filled {
	display: block;
}

.tlow-wishlist-heart.is-on .tlow-wishlist-icon,
.tlow-wishlist-heart.active .tlow-wishlist-icon {
	filter: invert(28%) sepia(48%) saturate(900%) hue-rotate(126deg) brightness(90%) contrast(95%);
}

.tlow-wishlist-heart:hover,
.tlow-wishlist-heart.is-on,
.tlow-wishlist-heart.active {
	color: var(--tlow-sage);
	border-color: var(--tlow-sage);
	background: rgba(125, 155, 118, 0.14);
}

.tlow-wishlist-heart--pdp {
	display: inline-grid;
	margin-left: 0.5rem;
	vertical-align: middle;
}

.tlow-wishlist-toast {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	max-width: min(22rem, calc(100vw - 2rem));
	padding: 0.9rem 1.1rem;
	border: 1px solid rgba(125, 155, 118, 0.45);
	border-radius: 10px;
	background: #fff;
	color: var(--tlow-dark);
	box-shadow: 0 16px 40px rgba(7, 11, 9, 0.14);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.tlow-wishlist-toast.is-on {
	opacity: 1;
	transform: none;
}

.tlow-wishlist-toast strong {
	font-size: 0.9rem;
}

.tlow-wishlist-toast span {
	color: var(--tlow-gray-muted);
	font-size: 0.8rem;
}
