/**
 * pp-wishlist.css — Style dla schowka/ulubionych wtyczki PP Inspiracje.
 */

.pp-wishlist-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 10;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	outline: none;
	padding: 0;
}

.pp-wishlist-btn:hover {
	background: #fff;
	transform: scale(1.1);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.pp-wishlist-btn .pp-icon-heart {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #ff4757;
	stroke-width: 2;
	transition: all 0.3s ease;
}

.pp-wishlist-btn.is-active .pp-icon-heart {
	fill: #ff4757;
	animation: ppHeartBeat 0.4s ease-out;
}

@keyframes ppHeartBeat {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.3);
	}
	100% {
		transform: scale(1);
	}
}

/* Styl na stronie pojedynczej inspiracji (Single Page) */
.pp-single-wishlist-container {
	margin-top: 15px;
	margin-bottom: 15px;
}

.pp-single-wishlist-container .pp-wishlist-btn {
	position: relative;
	top: auto;
	right: auto;
	border: 1px solid #ff4757;
	border-radius: 8px;
	width: auto;
	height: auto;
	padding: 10px 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	font-weight: 600;
	color: #ff4757;
	box-shadow: none;
}

.pp-single-wishlist-container .pp-wishlist-btn:hover {
	background: #fff0f2;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 71, 87, 0.15);
}

.pp-single-wishlist-container .pp-wishlist-btn.is-active {
	background: #ff4757;
	color: #fff;
}

.pp-single-wishlist-container .pp-wishlist-btn.is-active .pp-icon-heart {
	fill: #fff;
	stroke: #fff;
}

/* Styl dla pustego stanu */
.pp-wishlist-empty {
	text-align: center;
	padding: 50px 20px;
	background: #fdfdfd;
	border: 2px dashed #eee;
	border-radius: 12px;
	margin: 20px 0;
}

.pp-wishlist-empty p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 20px;
}

/* =============================================================================
   ZAKŁADKA „ULUBIONE INSPIRACJE" W KONCIE KLIENTA
   Mechanizm ulubionych istniał od dawna, ale bez miejsca w koncie klient nie miał
   jak zobaczyć swojej listy — shortcode wymagał ręcznego wstawienia na stronę.
   ========================================================================== */
.pp-account-wishlist > p {
    margin: 0 0 18px;
    color: #586a80;
    font-size: .9rem;
}
.pp-account-wishlist .pp-wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 18px !important;
    margin-top: 0 !important;
}
.pp-account-wishlist .pp-inspiration-card {
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.pp-account-wishlist .pp-inspiration-card:hover {
    border-color: #12a37c;
    box-shadow: 0 8px 24px -12px rgba(16, 30, 54, .22);
    transform: translateY(-2px);
}
.pp-account-wishlist .pp-inspiration-card h3 {
    font-size: 1rem !important;
    line-height: 1.35;
}
.pp-account-wishlist .pp-inspiration-card h3 a {
    color: #16273f;
    text-decoration: none;
}
.pp-account-wishlist .pp-inspiration-card h3 a:hover {
    color: #0c8061;
}
.pp-wishlist-empty {
    text-align: center;
    padding: 40px 24px;
    border: 1px dashed #d7dee8;
    border-radius: 14px;
    background: #f7f9fb;
}
.pp-wishlist-empty p {
    margin: 0 0 16px;
    color: #586a80;
}
