/* AA Conversion Enhancements v1.0 — bestseller badge + product trust signals. */

/* Ensure product cards can anchor the overlaid badge. */
.woocommerce ul.products li.product {
	position: relative;
}

/* Single product gallery anchor (custom Elementor template). */
.single-product .woocommerce-product-gallery {
	position: relative;
}

.aade-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.28);
	pointer-events: none;
	line-height: 1.4;
}

/* Inline (non-overlaid) variant for the single product page. */
.aade-bestseller-badge-single {
	position: static;
	display: inline-block;
	margin: 0 0 10px;
}

/* Trust-signal box below Add to Cart. */
.aade-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.45);
	border-radius: 8px;
	background: #fffdf8;
	font-size: 13px;
	color: #2a2419;
}

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

.aade-trust-tick {
	color: #A8823D;
	font-weight: 700;
}

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

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