/* DG Cart Total for Elementor */
.dgct {
	--dgct-pulse: rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

a.dgct:hover,
a.dgct:focus {
	text-decoration: none;
	color: inherit;
}

.dgct__label {
	color: #6b6b6b;
	font-size: 1rem;
	line-height: 1.3;
}

.dgct__amount,
.dgct__amount .amount {
	color: #000;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
}

.dgct-data[hidden] {
	display: none !important;
}

.dgct--hide-empty.dgct--empty {
	display: none;
}

/* Editor de Elementor: siempre visible para poder editarlo. */
.elementor-editor-active .dgct--hide-empty.dgct--empty {
	display: flex;
	opacity: 0.5;
}

.dgct--pulse {
	animation: dgct-pulse 0.6s ease-out;
}

.dgct--pulse .dgct__amount {
	animation: dgct-pop 0.35s ease-out;
}

@keyframes dgct-pulse {
	0% { background-color: var(--dgct-pulse); }
	100% { background-color: transparent; }
}

@keyframes dgct-pop {
	0% { transform: scale(1); }
	50% { transform: scale(1.06); }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.dgct--pulse,
	.dgct--pulse .dgct__amount {
		animation: none;
	}
}
