/* Shop promo modal — perfume feature + instant first paint */
html.petcare-shop-promo-pending,
body.petcare-shop-promo-open {
	overflow: hidden;
}

html.petcare-shop-promo-pending #preloader-active,
body.petcare-shop-promo-open #preloader-active {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.petcare-has-shop-promo #preloader-active {
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

#shopPromoModal.shop-promo-modal {
	z-index: 100050 !important;
}

body.petcare-shop-promo-open .modal-backdrop {
	z-index: 100040 !important;
}

#shopPromoModal .shop-promo-modal-dialog {
	max-width: 860px;
	margin: 1rem auto;
}

#shopPromoModal .shop-promo-modal-content {
	border-radius: 28px;
	border: 1px solid #d8c4a0;
	box-shadow: 0 28px 70px rgba(44, 36, 22, 0.28);
	background: linear-gradient(165deg, #fffdf9 0%, #fdf8f1 55%, #f8f0e4 100%);
	overflow: hidden;
}

#shopPromoModal .shop-promo-modal-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 3;
	padding: 14px 18px 0;
	align-items: flex-start;
	justify-content: flex-end;
	pointer-events: none;
}

#shopPromoModal .shop-promo-modal-close {
	pointer-events: auto;
	color: #6d5847;
	opacity: 0.85;
	text-shadow: none;
	font-size: 1.75rem;
	line-height: 1;
	padding: 0;
	margin: 0;
	transition: color 0.2s ease, opacity 0.2s ease;
}

#shopPromoModal .shop-promo-modal-close:hover {
	color: #6b4423;
	opacity: 1;
}

#shopPromoModal .shop-promo-modal-body {
	padding: 0;
}

#shopPromoModal .shop-promo-modal-layout {
	display: grid;
	grid-template-columns: minmax(220px, 42%) 1fr;
	min-height: 100%;
}

#shopPromoModal .shop-promo-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1.5rem 2rem;
	background:
		radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.22) 0%, transparent 58%),
		linear-gradient(180deg, #c4a574 0%, #a88458 42%, #8b6b45 100%);
	overflow: hidden;
}

#shopPromoModal .shop-promo-visual__glow {
	position: absolute;
	inset: auto;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 248, 230, 0.55) 0%, transparent 72%);
	animation: shop-promo-glow 3.2s ease-in-out infinite;
}

#shopPromoModal .shop-promo-visual__ring {
	position: absolute;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	animation: shop-promo-ring 4.5s ease-in-out infinite;
}

#shopPromoModal .shop-promo-product-img {
	position: relative;
	z-index: 2;
	width: min(72%, 220px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 28px rgba(30, 18, 8, 0.35));
	animation: shop-promo-float 3.6s ease-in-out infinite;
	transform-origin: center bottom;
}

#shopPromoModal .shop-promo-product-badge {
	position: relative;
	z-index: 2;
	margin-top: 1rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a3d28;
	background: rgba(255, 252, 245, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.45);
}

#shopPromoModal .shop-promo-product-name {
	position: relative;
	z-index: 2;
	margin: 0.55rem 0 0;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: #f6e2b0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

#shopPromoModal .shop-promo-product-meta {
	position: relative;
	z-index: 2;
	margin: 0.2rem 0 0;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 248, 236, 0.92);
}

#shopPromoModal .shop-promo-copy {
	padding: 2.4rem 2rem 2rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#shopPromoModal .shop-promo-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9a7b2a;
}

#shopPromoModal .shop-promo-title {
	color: #6b4423;
	font-weight: 800;
	font-size: 1.65rem;
	line-height: 1.25;
	margin-bottom: 1.75rem;
}

#shopPromoModal .shop-promo-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#shopPromoModal .shop-promo-btn-primary,
#shopPromoModal .shop-promo-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#shopPromoModal .shop-promo-btn-primary {
	color: #fff !important;
	background: linear-gradient(145deg, #5a3820 0%, #6b4423 50%, #7a4f2a 100%);
	box-shadow: 0 8px 22px rgba(107, 68, 35, 0.28);
}

#shopPromoModal .shop-promo-btn-primary:hover {
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(107, 68, 35, 0.34);
}

#shopPromoModal .shop-promo-btn-secondary {
	color: #6b4423;
	background: transparent;
	border: 1px solid #d8c4a0;
}

#shopPromoModal .shop-promo-btn-secondary:hover {
	color: #6b4423;
	background: rgba(216, 196, 160, 0.2);
}

@keyframes shop-promo-float {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes shop-promo-glow {
	0%, 100% { transform: scale(1); opacity: 0.75; }
	50% { transform: scale(1.08); opacity: 1; }
}

@keyframes shop-promo-ring {
	0%, 100% { transform: scale(0.92); opacity: 0.35; }
	50% { transform: scale(1.05); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
	#shopPromoModal .shop-promo-product-img,
	#shopPromoModal .shop-promo-visual__glow,
	#shopPromoModal .shop-promo-visual__ring {
		animation: none;
	}
}

@media (max-width: 767.98px) {
	#shopPromoModal .shop-promo-modal-dialog {
		max-width: calc(100% - 1.25rem);
	}

	#shopPromoModal .shop-promo-modal-layout {
		grid-template-columns: 1fr;
	}

	#shopPromoModal .shop-promo-visual {
		padding: 2rem 1.25rem 1.5rem;
		min-height: 280px;
	}

	#shopPromoModal .shop-promo-copy {
		padding: 1.35rem 1.25rem 1.5rem;
		text-align: center;
	}

	#shopPromoModal .shop-promo-title {
		font-size: 1.32rem;
		margin-bottom: 1.35rem;
	}
}
