/* Aiolos Checkout Pro: trust badges. */

.acwp-badges {
	--acwp-c: var(--acw-primary, #2b4bff);
	--acwp-tint: color-mix(in srgb, var(--acwp-c) 9%, #fff);
	--acwp-line: color-mix(in srgb, var(--acwp-c) 18%, #e5e7eb);
	--acwp-text: var(--acw-text, #111827);
	list-style: none !important; margin: 16px 0 0 !important; padding: 0 !important;
	font-family: inherit; color: var(--acwp-text);
}
.acwp-badges--dark { --acwp-c: #111827; --acwp-tint: #f3f4f6; --acwp-line: #e5e7eb; }
.acwp-badges--gold { --acwp-c: #a16207; --acwp-tint: #fef9e7; --acwp-line: #f3e3b0; }
.acwp-badges--green { --acwp-c: #15803d; --acwp-tint: #ecfdf3; --acwp-line: #c9eed6; }
.acwp-badges *, .acwp-badges *::before, .acwp-badges *::after { box-sizing: border-box; }
.acwp-badge { margin: 0 !important; padding: 0; list-style: none !important; }
.acwp-badge::before { display: none !important; }
.acwp-badge__mark { display: inline-flex; align-items: center; justify-content: center; color: var(--acwp-c); flex: none; }
.acwp-badge__icon { display: block; }
.acwp-badge__text { display: flex; flex-direction: column; min-width: 0; }
.acwp-badge__title { font-weight: 700; line-height: 1.25; }
.acwp-badge__subtitle { font-size: .86em; color: #6b7280; line-height: 1.3; margin-top: 2px; }
.acwp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Cards */
.acwp-badges--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; font-size: 14px; }
.acwp-badges--cards .acwp-badge {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px;
	border: 1px solid var(--acwp-line); border-radius: 14px;
	background: linear-gradient(180deg, #fff 0%, var(--acwp-tint) 140%);
	box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
}
.acwp-badges--cards .acwp-badge__mark {
	width: 42px; height: 42px; border-radius: 12px; background: var(--acwp-tint);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acwp-c) 14%, transparent);
}

/* Inline */
.acwp-badges--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 13px; color: #4b5563; }
.acwp-badges--inline .acwp-badge { display: inline-flex; align-items: center; gap: 6px; }
.acwp-badges--inline .acwp-badge__title { font-weight: 600; }

/* Seals */
.acwp-badges--seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.acwp-seal { display: block; width: 104px; height: 104px; overflow: visible; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--acwp-c) 18%, transparent)); }
.acwp-seal__outer { fill: #fff; stroke: var(--acwp-c); stroke-width: 1.6; }
.acwp-seal__dots { fill: none; stroke: var(--acwp-c); stroke-width: 1; stroke-dasharray: 1 3.2; opacity: .55; }
.acwp-seal__inner { fill: var(--acwp-c); }
.acwp-seal__text { fill: var(--acwp-c); font: 700 8.6px/1 ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.acwp-seal__icon { color: #fff; }
.acwp-seal__icon path { stroke-width: 1.5; }

/* Placements */
.acwp-badges--at-place_order { margin-top: 14px !important; }
.acwp-badges--at-side_cart.acwp-badges--inline { margin-top: 12px !important; }
.acwp-badges--at-product { margin-top: 20px !important; }
.acwp-badges--at-summary { margin-top: 18px !important; }
.acwp-badges--at-summary.acwp-badges--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Admin preview */
.acwp-badges-preview { margin-top: 16px; max-width: 760px; padding: 16px; background: #f6f7f7; border-radius: 8px; }
.acwp-badges-preview .description { margin: 16px 0 0; font-weight: 600; }
.acwp-badges-preview .description:first-child { margin-top: 0; }
