/* Fix invisible button text: Customizer's .entry-content a color overrides
   button classes. These restore the intended button text colors. */
.entry-content a.ap-btn--dark,
.entry-content a.ap-btn--dark:visited {
	color: #fff !important;
}
.entry-content a.ap-btn--dark:hover {
	color: #0B0B0C !important;
}
.entry-content a.ap-btn--gold,
.entry-content a.ap-btn--gold:visited {
	color: #0B0B0C !important;
}
.entry-content a.ap-btn--gold:hover {
	color: #0B0B0C !important;
}
.entry-content a.ap-btn--line,
.entry-content a.ap-btn--line:visited {
	color: #f5efe0 !important;
}
.entry-content a.ap-btn--line:hover {
	color: #0B0B0C !important;
}

.woocommerce ul.products li.product {
	position: relative;
}

.apde-bestseller-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	background: linear-gradient(135deg, #C6A15B 0%, #A8823D 100%);
	color: #1a1408;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	pointer-events: none;
	line-height: 1.4;
}

.apde-bestseller-badge-single {
	position: static;
	display: inline-block;
	margin: 0 0 10px;
}

.apde-trust-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 14px;
	margin: 18px 0 6px;
	padding: 14px 16px;
	border: 1px solid rgba(198, 161, 91, 0.4);
	border-radius: 8px;
	background: rgba(198, 161, 91, 0.08);
	font-size: 13px;
	color: #f5efe0;
}

.apde-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1.4;
}

.apde-trust-tick {
	color: #C6A15B;
	font-weight: 700;
}

@media (max-width: 480px) {
	.apde-trust-box {
		grid-template-columns: 1fr;
	}
}

/* ---------- Floating cart button (dark/gold) ---------- */
.apde-float-cart {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #0B0B0C;
	border: 2px solid #C9A227;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9998;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(201, 162, 39, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}
.apde-float-cart:hover {
	transform: scale(1.07);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 26px rgba(201, 162, 39, 0.55);
}
.apde-float-cart__icon {
	width: 30px;
	height: 30px;
	fill: #C9A227;
}
.apde-float-cart__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 26px;
	height: 26px;
	padding: 0 7px;
	border-radius: 13px;
	background: #C9A227;
	color: #0B0B0C;
	font-size: 13px;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	border: 2px solid #0B0B0C;
}
@keyframes apde-cart-pulse {
	0% { transform: scale(1); }
	40% { transform: scale(1.18); }
	100% { transform: scale(1); }
}
.apde-float-cart--pulse {
	animation: apde-cart-pulse 0.45s ease;
}
@media (max-width: 600px) {
	.apde-float-cart {
		bottom: 20px;
		right: 20px;
		width: 60px;
		height: 60px;
	}
	.apde-float-cart__icon {
		width: 26px;
		height: 26px;
	}
}
