/* =====================================================================
   Commerce deposit CTA
   - Hero variant: pet single, full-width prominent gradient.
   - Card variant: pet cards (homepage, archive, favorites) — subtle pill
     matching the existing Get-My-Info / phone group sizing.
===================================================================== */

/* ---------- Hero variant ----------------------------------------- */

.pep-deposit-btn--hero {
	background: linear-gradient( 135deg, #dc3545 0%, #bd2130 100% );
	border: 3px solid rgba( 255, 255, 255, 0.3 );
	font-size: 1.2rem;
	font-weight: 800;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.05s ease;
}

.pep-deposit-btn--hero:hover { opacity: 0.95; }
.pep-deposit-btn--hero:active { transform: translateY( 1px ); }

.pep-deposit-btn--hero .pep-deposit-btn__icon  { font-size: 1.8rem; }
.pep-deposit-btn--hero .pep-deposit-btn__arrow { font-size: 1.5rem; }

.pep-deposit-btn--hero .pep-deposit-btn__label {
	line-height: 1.2;
	letter-spacing: 0.5px;
}

.pep-deposit-btn--hero .pep-deposit-btn__sub {
	font-size: 0.75rem;
	font-weight: 500;
}

.pep-deposit-btn--hero.is-loading {
	cursor: wait;
	opacity: 0.7;
}

/* ---------- Card variant ----------------------------------------- */

.pep-deposit-btn--card {
	background: linear-gradient( 135deg, #dc3545 0%, #bd2130 100% );
	color: #fff;
	border: 0;
	padding: 0.4rem 0.85rem;
	font-size: 13px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.pep-deposit-btn--card:hover {
	opacity: 0.92;
	color: #fff;
}

.pep-deposit-btn--card.is-loading {
	cursor: wait;
	opacity: 0.65;
}

/* When the deposit button is added to the existing card button row, give
 * it a small top margin if the card already had a Get-My-Info / phone
 * group above it. This rule scopes only to the existing wrapper and is a
 * no-op when used in a fresh layout. */
.product-btns-wrapper .pep-deposit-btn--card {
	flex: 1 1 100%;
	margin-top: 4px;
}

/* ---------- Toast ----------------------------------------------- */

.pep-commerce-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX( -50% ) translateY( 12px );
	z-index: 1080;
	background: #1f2937;
	color: #fff;
	padding: 0.85rem 1.25rem;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, 0.25 );
	font-weight: 600;
	font-size: 0.9rem;
	max-width: 90vw;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

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

.pep-commerce-toast a,
.pep-commerce-toast .pep-commerce-notice-link {
	color: #fdba74;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pep-commerce-toast a:hover {
	color: #fff;
}

.pep-commerce-toast strong {
	color: #fff;
}
