/* Frill Thrills — Wishlist */

.ft-wl-page {
	padding: 40px 16px 60px;
	max-width: 920px;
	margin: 0 auto;
}

.ft-wl-guest-loading {
	padding: 28px 0;
	color: #777;
	font-size: 14px;
}

.ft-wl-guest-root .ft-wl-account__head {
	margin-bottom: 8px;
}

.ft-wl-btn {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #222;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	padding: 0;
	margin: 0;
	cursor: pointer;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ft-wl-btn:hover,
.ft-wl-btn.is-added {
	background: #f71358;
	border-color: #f71358;
	color: #fff;
}

/* Loading spinner styles live in ft-loaders.css */

.ft-wl-btn.is-added .ft-wl-heart path,
.ft-wl-btn:hover .ft-wl-heart path {
	fill: currentColor;
}

.ft-wl-heart {
	display: block;
	width: 18px;
	height: 18px;
}

/* Toast */
.ft-wl-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%) translateY(20px);
	z-index: 100001;
	background: #111;
	color: #fff;
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 24px);
}

.ft-wl-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.ft-wl-toast a {
	color: #ffc37d;
	text-decoration: underline;
	font-weight: 700;
}

.ft-wl-toast.is-error {
	background: #8a1238;
}

/* My Account wishlist */
.ft-wl-account__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.ft-wl-account__head h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #111;
}

.ft-wl-account__count {
	margin: 0;
	color: #666;
	font-size: 14px;
}

.ft-wl-empty {
	text-align: center;
	background: #fff;
	border: 1px dashed #ddd;
	border-radius: 12px;
	padding: 48px 20px;
}

.ft-wl-empty__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #fff0f5;
	color: #f71358;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ft-wl-empty__icon svg {
	width: 24px;
	height: 24px;
}

.ft-wl-empty h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.ft-wl-empty p {
	margin: 0 0 18px;
	color: #666;
}

.ft-wl-empty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f71358;
	color: #fff !important;
	text-decoration: none !important;
	padding: 11px 20px;
	border-radius: 999px;
	font-weight: 700;
}

.ft-wl-empty__btn:hover {
	background: #c1033d;
}

.ft-wl-account__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ft-wl-item {
	display: flex;
	gap: 16px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 14px;
	align-items: center;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ft-wl-item.is-removing {
	opacity: 0;
	transform: translateX(12px);
}

.ft-wl-item__image {
	flex-shrink: 0;
	width: 92px;
	height: 92px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
	display: block;
}

.ft-wl-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ft-wl-item__info {
	min-width: 0;
	flex: 1;
}

.ft-wl-item__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.ft-wl-item__title a {
	color: #111;
	text-decoration: none;
}

.ft-wl-item__title a:hover {
	color: #f71358;
}

.ft-wl-item__price {
	margin-bottom: 10px;
	font-weight: 700;
	color: #222;
}

.ft-wl-item__price del {
	color: #999;
	margin-right: 6px;
	font-weight: 500;
}

.ft-wl-item__price ins {
	text-decoration: none;
}

.ft-wl-item__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ft-wl-item__cart {
	background: #f71358 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	padding: 9px 14px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.ft-wl-item__cart:hover {
	background: #c1033d !important;
}

.ft-wl-item__remove {
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	cursor: pointer;
}

.ft-wl-item__remove:hover {
	border-color: #f71358;
	color: #f71358;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--wishlist a::before {
	content: none;
}

/* ========== Header icons group: Search → Account → Wishlist → Cart ========== */
.ft-header-icons {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-left: 12px;
	flex-shrink: 0;
}

.zak-header-right-col {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	flex-wrap: nowrap !important;
}

.ft-header-icons__item {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	line-height: 0;
}

.ft-header-icons__item > a,
.ft-header-icons .zak-header-search__toggle,
.ft-header-icons .zak-header-search > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #222 !important;
	position: relative;
	line-height: 1;
	text-decoration: none !important;
	overflow: visible !important;
	background: transparent !important;
	border-radius: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

.ft-header-icons__item > a:hover,
.ft-header-icons .zak-header-search__toggle:hover,
.ft-header-icons .zak-header-search > a:hover {
	color: #f71358 !important;
	background: transparent !important;
}

.ft-header-icons .zak-header-search {
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
}

/* Outline search icon — match account / wishlist / cart */
.ft-header-icons .zak-header-search a.zak-header-search__toggle,
.ft-header-icons .zak-header-search > a,
body .ft-header-icons .zak-header-search a {
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.ft-hdr-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	line-height: 0;
}

.ft-hdr-icon svg,
.zak-header-search__toggle .svg-search,
.ft-header-icons .zak-header-search svg {
	display: block;
	color: inherit;
	fill: currentColor;
}

.ft-hdr-icon--account .svg-user {
	width: 16px;
	height: 19px;
}

.ft-hdr-icon--wishlist .svg-heart {
	width: 20px;
	height: 18px;
}

.ft-hdr-icon--cart .svg-cart {
	width: 18px;
	height: 20px;
}

.ft-header-icons .zak-header-search__toggle .svg-search,
.ft-header-icons .zak-header-search svg.svg-search,
.ft-header-icons .zak-header-search svg {
	width: 18px !important;
	height: 18px !important;
	color: #222 !important;
	fill: currentColor !important;
}

.ft-header-icons .zak-header-search__toggle:hover .svg-search,
.ft-header-icons .zak-header-search > a:hover svg {
	color: #f71358 !important;
}

/* Hide cart text: "2 items" + "₹1,708.00" */
body .wpmenucart-contents .cartcontents,
body .wpmenucart-contents .amount,
body a.wpmenucart-contents span.cartcontents,
body a.wpmenucart-contents span.amount,
body li.wpmenucartli a span.cartcontents,
body li.wpmenucartli a span.amount,
.ft-header-icons .wpmenucart-contents .cartcontents,
.ft-header-icons .wpmenucart-contents .amount {
	display: none !important;
	font-size: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
	position: absolute !important;
	opacity: 0 !important;
}

a.wpmenucart-contents {
	font-size: 0 !important;
}

/* Replace WP Menu Cart font icon with custom SVG */
a.wpmenucart-contents .wpmenucart-icon-shopping-cart-0,
a.wpmenucart-contents i[class*="wpmenucart-icon"] {
	display: none !important;
}

/* Wishlist + cart count badges */
.ft-wl-count-badge,
.ft-cart-count-badge {
	position: absolute;
	right: -4px;
	top: -2px;
	bottom: auto;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #a66d21;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	display: none;
	box-sizing: border-box;
	z-index: 2;
	pointer-events: none;
}

.ft-wl-count-badge.is-visible,
.ft-cart-count-badge.is-visible {
	display: inline-block !important;
}

a.wpmenucart-contents {
	position: relative !important;
}

a.wpmenucart-contents .ft-cart-count-badge {
	right: -2px;
	bottom: 0;
}

@media screen and (max-width: 768px) {
	.ft-header-icons {
		gap: 6px;
		margin-left: 8px;
	}

	.ft-header-icons__item > a,
	.ft-header-icons .zak-header-search__toggle {
		width: 32px;
		height: 32px;
		min-width: 32px;
		min-height: 32px;
	}

	.ft-hdr-icon--account .svg-user {
		width: 15px;
		height: 18px;
	}

	.ft-hdr-icon--wishlist .svg-heart {
		width: 20px;
		height: 18px;
	}

	.ft-hdr-icon--cart .svg-cart {
		width: 17px;
		height: 19px;
	}
}

@media screen and (max-width: 600px) {
	.ft-wl-item {
		align-items: flex-start;
	}

	.ft-wl-item__image {
		width: 72px;
		height: 72px;
	}

	.ft-wl-account__head {
		flex-direction: column;
		align-items: flex-start;
	}
}
