/* Favourite (heart) button styles */
.o60d-fav-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1.5px solid var(--warm-border, #e5dfd5);
	background: #fff;
	border-radius: 999px;
	color: var(--text, #1B2B48);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.18s ease;
	font-family: inherit;
	line-height: 1;
	min-height: 38px;
	white-space: nowrap;
}

.o60d-fav-btn:hover {
	border-color: var(--coral, #FF6B6B);
	color: var(--coral, #FF6B6B);
}

.o60d-fav-btn .o60d-fav-heart {
	color: #d0c8b8;
	flex-shrink: 0;
	transition: all 0.18s ease;
}

.o60d-fav-btn:hover .o60d-fav-heart {
	color: var(--coral, #FF6B6B);
	transform: scale(1.08);
}

.o60d-fav-btn.is-favourite {
	background: #fff0ee;
	border-color: var(--coral, #FF6B6B);
	color: var(--coral, #FF6B6B);
	font-weight: 600;
}

.o60d-fav-btn.is-favourite .o60d-fav-heart {
	color: var(--coral, #FF6B6B);
	animation: o60d-heart-pop 0.32s ease;
}

@keyframes o60d-heart-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.35); }
	100% { transform: scale(1); }
}

/* Brand page sidebar button — full width */
.o60d-fav-btn--brand-sidebar {
	width: 100%;
	justify-content: center;
	padding: 12px 16px;
	font-size: 14px;
	min-height: 44px;
	margin-top: 8px;
}

/* Brand directory tile — small, icon-only by default */
.brand-tile-wrap {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
.brand-tile-wrap > .brand-tile {
	width: 100%;
	height: 100%;
}
.o60d-fav-btn--tile {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	padding: 0;
	min-height: 32px;
	background: rgba(255,255,255,0.95);
	border: 1px solid var(--warm-border, #e5dfd5);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}
.o60d-fav-btn--tile .o60d-fav-heart {
	flex-shrink: 0;
	display: block;
}
.o60d-fav-btn--tile .o60d-fav-text {
	display: none;
}

/* Login-required toast (when guest clicks heart) */
.o60d-fav-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	background: var(--navy, #1B2B48);
	color: #fff;
	padding: 14px 22px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 8px 24px rgba(0,0,0,0.18);
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
}
.o60d-fav-toast.is-visible {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	pointer-events: auto;
}
.o60d-fav-toast a {
	color: var(--coral, #FF6B6B);
	text-decoration: underline;
	font-weight: 600;
}

/* Follow-CTA banner (homepage + top offers page) */
.o60d-follow-cta {
	background: linear-gradient(135deg, #fff5e6 0%, #ffe9dc 100%);
	border: 1.5px solid #ffd4b8;
	border-radius: 14px;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 28px 0;
	flex-wrap: wrap;
}
.o60d-follow-cta-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(255, 107, 107, 0.18);
}
.o60d-follow-cta-icon svg {
	width: 28px;
	height: 28px;
	display: block;
}
.o60d-follow-cta-text {
	flex: 1;
	min-width: 220px;
}
.o60d-follow-cta-title {
	font-family: 'Lora', serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--text, #1B2B48);
	margin-bottom: 4px;
}
.o60d-follow-cta-sub {
	font-size: 14px;
	color: var(--text-muted, #737373);
}
.o60d-follow-cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	background: var(--coral, #FF6B6B);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.18s;
}
.o60d-follow-cta-btn:hover {
	background: var(--navy, #1B2B48);
}

/* My Favourites panel in My Account page */
.o60d-favs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 16px;
}
.o60d-fav-card {
	background: #fff;
	border: 1.5px solid var(--warm-border, #e5dfd5);
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	transition: border-color 0.18s, transform 0.18s;
}
.o60d-fav-card:hover {
	border-color: var(--coral, #FF6B6B);
	transform: translateY(-2px);
}
.o60d-fav-card-logo {
	width: 96px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--warm-stone, #faf8f4);
	border-radius: 6px;
}
.o60d-fav-card-logo img {
	max-height: 40px;
	max-width: 80px;
	object-fit: contain;
}
.o60d-fav-card-name {
	font-weight: 600;
	font-size: 14px;
	color: var(--text, #1B2B48);
}
.o60d-fav-card-meta {
	font-size: 11px;
	color: var(--text-muted, #737373);
}
.o60d-fav-card-actions {
	display: flex;
	gap: 6px;
	width: 100%;
	margin-top: auto;
	padding-top: 8px;
}
.o60d-fav-card-actions a, .o60d-fav-card-actions button {
	flex: 1;
	padding: 8px 10px;
	font-size: 12px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	border: 1px solid transparent;
}
.o60d-fav-card-view {
	background: var(--navy, #1B2B48);
	color: #fff;
}
.o60d-fav-card-remove {
	background: transparent;
	border-color: var(--warm-border, #e5dfd5);
	color: var(--text-muted, #737373);
}
.o60d-fav-card-remove:hover {
	border-color: var(--coral, #FF6B6B);
	color: var(--coral, #FF6B6B);
}

.o60d-favs-empty {
	text-align: center;
	padding: 32px 20px;
	color: var(--text-muted, #737373);
}
.o60d-favs-empty a {
	color: var(--coral, #FF6B6B);
	font-weight: 600;
}
